/* Тема «Экосистема» для mscexb.ru
   Раскладка: строка поиска сверху, под ней список текстов и боковая колонка; на телефоне — одна колонка и нижняя панель. */
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-italic.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-700.woff") format("woff"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
	--bg: #f5f5f9;
	--surface: #ffffff;
	--ink: #1e1f33;
	--muted: #55576e;
	--line: #e2e2ec;
	--line-2: #ececf3;
	--accent: #353b8a;
	--accent-ink: #ffffff;
	--accent-soft: #e7e8f6;
	--ref: #8f3a22;
	--ref-soft: #f6ebe6;
	--mark: #fff0b3;
	--today: #1f6b45;
	--shadow: 0 1px 2px rgba(30, 31, 51, .06), 0 8px 24px rgba(30, 31, 51, .06);
	--serif: "Alegreya", "PT Serif", Georgia, "Times New Roman", serif;
	--sans: "Alegreya Sans", "PT Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--read: var(--serif);
	--fs: 1;
	--r: 12px;
	--wrap: 1200px;
	--tab-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	color-scheme: light;
}
:root[data-font="sans"] { --read: var(--sans); }
:root[data-theme="sepia"] {
	--bg: #efe6d2; --surface: #fbf5e7; --ink: #3a2e1f; --muted: #6a5a43; --line: #e0d3b8; --line-2: #e9dfc8;
	--accent: #6b4a1f; --accent-soft: #efe2c6; --ref: #8a3b1c; --ref-soft: #f1dfcf; --mark: #f5dd8a; --today: #3f6b2a;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]):not([data-theme="sepia"]) {
		--bg: #14151d; --surface: #1c1e29; --ink: #e6e7f0; --muted: #a3a6bd; --line: #2d3040; --line-2: #262836;
		--accent: #a5abf2; --accent-ink: #14151d; --accent-soft: #2a2d48; --ref: #eba58b; --ref-soft: #3a2721; --mark: #5b4a12; --today: #7fd3a3;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #14151d; --surface: #1c1e29; --ink: #e6e7f0; --muted: #a3a6bd; --line: #2d3040; --line-2: #262836;
	--accent: #a5abf2; --accent-ink: #14151d; --accent-soft: #2a2d48; --ref: #eba58b; --ref-soft: #3a2721; --mark: #5b4a12; --today: #7fd3a3;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 17px/1.55 var(--sans);
	text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; text-wrap: balance; margin: 0; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
kbd { font: 600 .82em var(--sans); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--surface); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
.main { display: block; padding-block: 20px 48px; outline: none; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } .main { padding-block: 32px 64px; } }

/* ---------- кнопки и метки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink); font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn--primary:hover { filter: brightness(1.08); }
.btn--small { min-height: 36px; padding: 0 12px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn--round { width: 48px; padding: 0; border-radius: 24px; font-weight: 700; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; color: var(--ink); }
.iconbtn:hover { background: var(--accent-soft); }
.iconbtn .i { width: 24px; height: 24px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ref); color: #fff; font: 700 11px/18px var(--sans); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips--tight { gap: 6px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
	border-radius: 19px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; list-style: none;
}
.chip:hover { border-color: var(--accent); text-decoration: none; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-on .chip__n { color: inherit; opacity: .8; }
.chip--more::-webkit-details-marker { display: none; }
.ref {
	display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border-radius: 6px;
	background: var(--ref-soft); color: var(--ref); font: 700 14px var(--sans); text-decoration: none; white-space: nowrap;
}
.ref:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 8px 0 12px; border-radius: 17px; background: var(--accent-soft); color: var(--ink); text-decoration: none; font-size: 15px; }
.pill .i { width: 16px; height: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pills__reset { font-size: 15px; }

/* ---------- шапка ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
/* на компьютере шапка остаётся вверху при прокрутке; на телефоне есть нижняя панель, место под текст важнее */
@media (min-width: 1000px) { .top { position: sticky; top: var(--top-off, 0px); } }
.top__in { display: flex; align-items: center; gap: 12px 24px; min-height: 60px; padding-block: 8px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; max-width: 300px; flex: 0 1 auto; }
.brand:hover { text-decoration: none; }
.brand__name { font: 800 21px/1.1 var(--serif); }
.brand__tag { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.brand__name { overflow-wrap: anywhere; }
.adminwarn { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); z-index: 95; background: #8f1d1d; color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.nav { display: none; gap: 16px; flex-wrap: nowrap; white-space: nowrap; font-weight: 500; min-width: 0; flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--accent); }
.topsearch { display: none; position: relative; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 240px; color: var(--muted); }
.topsearch input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-width: 0; }
.topsearch:focus-within { border-color: var(--accent); }
@media (min-width: 1000px) {
	.nav { display: flex; }
	.brand { margin-right: 0; }
	.nav { margin-right: auto; }
}
@media (min-width: 1480px) { .topsearch { display: flex; } }

/* ---------- большая строка поиска ---------- */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); margin-bottom: 32px; }
@media (min-width: 720px) { .finder { padding: 30px 32px; } }
.finder__h { font-size: clamp(28px, 5vw, 42px); font-weight: 800; }
.finder__form { position: relative; }
.finder__field { display: flex; align-items: center; gap: 10px; border: 2px solid var(--accent); border-radius: 12px; padding: 4px 4px 4px 14px; background: var(--surface); color: var(--accent); }
.finder__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); height: 48px; }
.finder__field .btn { min-height: 48px; }
.finder__hint { margin: 8px 2px 0; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .finder__field .btn { padding: 0 14px; } .finder__field input { font-size: 17px; } }
.filters { display: flex; flex-direction: column; gap: 10px; }
.filters__row { display: flex; gap: 6px 12px; align-items: flex-start; flex-direction: column; }
.filters__label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding-top: 9px; min-width: 70px; }
@media (min-width: 720px) { .filters__row { flex-direction: row; } }
.filters .chips { flex: 1; min-width: 0; }
@media (max-width: 719px) {
	.filters .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.filters .chips::-webkit-scrollbar { display: none; }
}
.more { position: relative; }
.more > summary { list-style: none; }
.more[open] > summary { border-color: var(--accent); }
.more__list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(340px, 86vw); max-height: 60vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.more__list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.more__list a:hover { background: var(--accent-soft); }
@media (max-width: 719px) { .more { position: static; } .more__list { left: 16px; right: 16px; width: auto; } .filters__row { position: relative; } }

/* подсказки */
.suggest { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; max-height: 70vh; overflow: auto; color: var(--ink); }
.suggest a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.suggest a:hover, .suggest a.is-active { background: var(--accent-soft); }
.suggest small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.suggest__h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px 2px; font-weight: 700; }
.suggest__all { font-weight: 700; color: var(--accent) !important; }

/* ---------- колонки и карточки ---------- */
.cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cols__main { flex: 999 1 560px; min-width: 0; }
.cols__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sect-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.sect-h h2, h2.sect-h { font-size: 26px; font-weight: 800; }
.sect-h__note { color: var(--muted); font-size: 15px; }
.sect-h__more { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--accent); text-decoration: none; }
.card__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.card--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.card__eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; opacity: .85; }
.card__big { font: 700 22px/1.25 var(--serif); }
.card__more { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.notice { margin: 0; font-size: 15px; color: var(--muted); border-left: 3px solid var(--line); padding: 4px 0 4px 12px; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.links a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 4px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.links a:hover { background: var(--accent-soft); }
.links .i { color: var(--accent); margin-top: 3px; }
.links span { display: flex; flex-direction: column; min-width: 0; }
.links small { color: var(--muted); font-size: 14px; }

/* собрания */
.meet__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.meet__tab { min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 15px; }
.meet__tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.meet__panel { display: flex; flex-direction: column; gap: 8px; }
.meet__next { margin: 4px 0 0; display: flex; align-items: baseline; gap: 10px; }
.meet__when { font-weight: 700; }
.meet__time { font: 800 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.meet__next.is-today .meet__when { color: var(--today); }
.meet__all { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.meet__all li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 3px 0; }
.meet__all span { color: var(--muted); }
.meet__addr { display: inline-flex; gap: 6px; align-items: flex-start; font-size: 15px; }

/* ---------- строки списка ---------- */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr 44px; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row__date { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.row__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__title { font-size: 21px; font-weight: 700; line-height: 1.25; }
.row__title a { color: var(--ink); text-decoration: none; }
.row__title a:hover { color: var(--accent); text-decoration: underline; }
.row__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 15px; color: var(--muted); }
.row__who { color: var(--ink); font-weight: 700; text-decoration: none; }
.row__cat { color: var(--muted); text-decoration: none; }
.row__cat:hover, .row__who:hover { color: var(--accent); text-decoration: underline; }
.row__snip { margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.row--sticky .row__title::before { content: "Важно · "; color: var(--ref); }
.bm { grid-row: 2; grid-column: 2; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bm:hover { background: var(--accent-soft); color: var(--accent); }
.bm[aria-pressed="true"] { color: var(--accent); }
.bm[aria-pressed="true"] .i, .tool[aria-pressed="true"] .i, .actbar__b[aria-pressed="true"] .i { fill: currentColor; }
@media (min-width: 720px) {
	.row { grid-template-columns: 120px 1fr 44px; }
	.row__date { grid-column: 1; padding-top: 5px; }
	.bm { grid-row: 1; grid-column: 3; }
}

/* листание */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; }
.pager__nums { display: flex; flex-wrap: wrap; gap: 4px; }
.pager__n { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.pager__n:hover { background: var(--accent-soft); text-decoration: none; }
.pager__n.is-cur { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pager__gap { align-self: center; color: var(--muted); padding: 0 4px; }
.pager__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.pager__btn:hover { border-color: var(--accent); text-decoration: none; }

/* ---------- Библейский указатель ---------- */
.bindex { margin-top: 48px; }
.bindex__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 16px; }
.bindex__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.bindex__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.bindex__books { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.bk { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 8px; border-radius: 6px; text-decoration: none; color: var(--accent); font-weight: 500; }
.bk:hover { background: var(--accent-soft); text-decoration: none; }
.bk__n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk--empty { color: var(--muted); font-weight: 400; opacity: .75; }
.btiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 6px; }
.btile { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; }
.btile:hover { border-color: var(--accent); text-decoration: none; }
.btile__name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.btile__n { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.btile--empty { opacity: .6; }
.btile--empty .btile__n { color: var(--muted); font-weight: 400; }
.topch { margin-top: 32px; }
.topch .sect-h { font-size: 22px; margin-bottom: 12px; }
.chgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; margin: 4px 0 28px; }
.chcell { position: relative; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.chcell:hover { border-color: var(--accent); text-decoration: none; }
.chcell.lvl-1 { background: var(--accent-soft); font-weight: 700; }
.chcell.lvl-2 { background: var(--accent-soft); background: color-mix(in srgb, var(--accent) 30%, var(--surface)); font-weight: 700; }
.chcell.lvl-3 { background: var(--accent); background: color-mix(in srgb, var(--accent) 55%, var(--surface)); color: var(--accent-ink); font-weight: 700; }
.chcell.lvl-4 { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.chcell.is-cur { outline: 3px solid var(--ref); outline-offset: 1px; }
.chgrid { margin-top: 14px; row-gap: 14px; }
.chcell__n, .vcell__n {
	position: absolute; top: -9px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--ref); color: #fff; font: 700 12px/20px var(--sans); text-align: center; font-variant-numeric: tabular-nums;
	box-shadow: 0 0 0 2px var(--bg);
}
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -12px 0 28px; font-size: 14px; color: var(--muted); }
.legend__t { flex-basis: 100%; }
.legend__i { display: inline-flex; align-items: center; gap: 6px; }
.chcell--sw { width: 22px; height: 22px; display: inline-block; border-radius: 5px; }
.chcell--sw.is-cur { outline-width: 2px; }
.verses { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 24px; }
.verses__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 16px; }
.vgrid { display: flex; flex-wrap: wrap; gap: 14px 10px; }
.vcell { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; background: var(--ref-soft); color: var(--ref); font-weight: 700; text-decoration: none; }
.vcell:hover { text-decoration: none; outline: 2px solid var(--ref); }
.vcell.is-cur { background: var(--ref); color: #fff; }
.vcell.is-cur .vcell__n { background: var(--ink); color: var(--bg); }
.verses__note { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.bnav { display: flex; justify-content: space-between; gap: 12px; padding-top: 28px; flex-wrap: wrap; }
.bnav a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 500; }

/* ---------- заголовки страниц, крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs a + a::before { content: "›"; margin: 0 8px 0 4px; color: var(--muted); display: inline-block; }
.phead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.phead h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.phead__lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 70ch; }
.phead--center { align-items: center; text-align: center; padding: 40px 0; }
.phead__code { font: 800 72px/1 var(--serif); color: var(--accent); margin: 0; }
.inline-search { position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 520px; width: 100%; color: var(--muted); }
.inline-search input[type="search"] { border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); width: 100%; min-width: 0; }
.inline-search:focus-within { border-color: var(--accent); }
.inline-search--big { height: 56px; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; margin: 16px 0 4px; }
.empty { padding: 24px 0; font-size: 17px; }
.empty ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.results .sect-h h2 { font-size: 24px; }

/* ---------- чтение ---------- */
.read__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1080px) { .read__grid { grid-template-columns: minmax(0, 1fr) 280px; } }
.post { min-width: 0; max-width: 46rem; }
:root[data-wide="1"] .post { max-width: none; }
.post__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.post__title { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; line-height: 1.12; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; align-items: center; }
.post__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.post__meta .i { width: 18px; height: 18px; vertical-align: 0; }
.post__who { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 17px; }
.post__who:hover { color: var(--accent); }
.post__edit { color: var(--muted); }
.post__refs { display: flex; flex-wrap: wrap; gap: 6px; }
.post__cover { margin: 0 0 20px; }
.post__cover img { border-radius: var(--r); display: block; }
.post__text {
	font-family: var(--read); font-size: calc(20px * var(--fs)); line-height: 1.7; overflow-wrap: break-word;
	hyphens: auto; -webkit-hyphens: auto;
}
.post__text p { margin: 0 0 1em; }
.post__text h2, .post__text h3, .post__text h4 { font-family: var(--serif); margin: 1.6em 0 .6em; line-height: 1.25; scroll-margin-top: 80px; }
.post__text h2 { font-size: 1.4em; }
.post__text h3 { font-size: 1.2em; }
.post__text blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--ref); color: var(--ink); font-style: italic; }
.post__text ul, .post__text ol { padding-left: 1.3em; }
.post__text li { margin-bottom: .4em; }
.post__text img { border-radius: 8px; }
.post__text table { display: block; overflow-x: auto; border-collapse: collapse; font-size: .85em; }
.post__text td, .post__text th { border: 1px solid var(--line); padding: 6px 10px; }
.post__text a { color: var(--accent); }
.post__text .xref { color: var(--ref); text-decoration: none; border-bottom: 1px dotted currentColor; }
.post__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.post__begin:empty, .post__end:empty { display: none; }
.post__end { margin-top: 32px; }
.resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 16px; }
.resume[hidden] { display: none; }

.read__side { display: none; }
@media (min-width: 1080px) { .read__side { display: block; } }
.side-sticky { position: sticky; top: calc(84px + var(--top-off, 0px)); display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - 100px); overflow: auto; }
.toc__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px; }
.toc__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.toc__list a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.35; }
.toc__list a:hover { color: var(--ink); }
.toc__list a.is-on { color: var(--accent); border-left-color: var(--accent); font-weight: 700; }
.toc__list .lvl3 a { padding-left: 26px; font-size: 14px; }
.toc__list--sheet a { font-size: 17px; padding-block: 10px; }
.tools { display: flex; flex-direction: column; gap: 4px; }
.tool { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none; font-size: 16px; }
.tool:hover { background: var(--accent-soft); text-decoration: none; }
.tool .i { color: var(--accent); }
.tool--main { background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 6px; }
.tool--main .i { color: inherit; }
.tool--main:hover { background: var(--accent); filter: brightness(1.08); }

.prevnext { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 40px; max-width: 46rem; }
.prevnext__a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); }
.prevnext__a:hover { border-color: var(--accent); text-decoration: none; }
.prevnext__a--r { text-align: right; align-items: flex-end; }
.prevnext__l { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.prevnext__t { font: 700 18px/1.3 var(--serif); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 24px; }
.mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mini li { padding: 8px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.mini li:last-child { border-bottom: 0; }
.mini a { font: 700 17px/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.mini a:hover { color: var(--accent); text-decoration: underline; }
.mini small { color: var(--muted); font-size: 14px; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress__bar { height: 100%; width: 0; background: var(--ref); transition: width .1s linear; }

/* ---------- подвал ---------- */
.foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; padding-block: 32px; }
.foot__name { font: 800 20px var(--serif); margin: 0 0 6px; }
.foot__desc, .foot__hint { color: var(--muted); margin: 0 0 8px; }
.foot__h { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul span { color: var(--muted); font-size: 13px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- нижние панели ---------- */
.tabbar, .actbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
	background: var(--surface); border-top: 1px solid var(--line);
	padding: 4px 4px calc(4px + var(--safe-b));
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
}
.tabbar__b, .actbar__b {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 54px; border: 0; background: transparent; color: var(--muted); text-decoration: none;
	font-size: 11.5px; font-weight: 500; cursor: pointer; border-radius: 10px; padding: 0 2px;
}
.tabbar__b .i, .actbar__b .i { width: 24px; height: 24px; }
.tabbar__b[aria-current], .actbar__b[aria-pressed="true"] { color: var(--accent); font-weight: 700; }
.tabbar__b:hover, .actbar__b:hover { background: var(--accent-soft); text-decoration: none; }
.actbar__b[hidden] { display: none; }
.tabbar .badge { top: 4px; right: calc(50% - 22px); }
body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
@media (min-width: 1000px) {
	.tabbar { display: none; }
	body.view-home, body.view-search, body.view-bible, body.view-list, body.view-404 { padding-bottom: 0; }
}
@media (min-width: 1080px) {
	.actbar { display: none; }
	body.view-page { padding-bottom: 0; }
}
.totop { position: fixed; right: 16px; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); z-index: 45; width: 44px; height: 44px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.is-on { opacity: 1; pointer-events: auto; }
@media (min-width: 1080px) { .totop { bottom: 24px; } }
/* сдвигаем плавающие кнопки других плагинов над нижней панелью */
@media (max-width: 999px) {
	#gt_float_wrapper, .gt_float_switcher, .go-up, .prayer-topics-float, .pt-floating-link { bottom: calc(var(--tab-h) + var(--safe-b) + 12px) !important; }
}

.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 20, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__box { background: var(--surface); color: var(--ink); width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 12px 18px calc(24px + var(--safe-b)); display: flex; flex-direction: column; gap: 18px; animation: up .22s ease-out; }
@media (min-width: 1000px) {
	.sheet { align-items: stretch; justify-content: flex-end; }
	.sheet__box { max-width: 420px; max-height: none; height: 100%; border-radius: 0; animation: side .22s ease-out; }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes side { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet__top { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -12px; background: var(--surface); padding-top: 4px; z-index: 2; }
.sheet__top h2 { font-size: 24px; }
.sheet__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 8px; }
.sheet .inline-search { max-width: none; }
.sheet__plugins { border-top: 1px solid var(--line); padding-top: 12px; font-size: 16px; }
.sheet__plugins h2, .sheet__plugins .plugin-label { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 8px; }
.sheet__plugins ul { padding-left: 18px; }
.bmlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bmlist li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); }
.bmlist a { flex: 1; min-width: 0; padding: 10px 0; color: var(--ink); text-decoration: none; font: 700 16px/1.3 var(--serif); }
.bmlist a:hover { color: var(--accent); }
.bmlist button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; }
.bmlist button:hover { background: var(--accent-soft); color: var(--ink); }
.bm-empty { color: var(--muted); font-size: 15px; margin: 0; }

.rd { display: flex; flex-direction: column; gap: 18px; }
.rd__row { display: flex; flex-direction: column; gap: 8px; }
.rd__label { font-weight: 700; }
.rd__size { display: flex; align-items: center; gap: 16px; }
.rd__val { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 16px); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-size: 15px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }

/* плагины Bludit внутри темы */
.post__begin .bsb-outline { display: none; } /* кнопка конспекта уже есть в панели темы */
.post__end .bsb-outline { display: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.top, .tabbar, .actbar, .read__side, .crumbs, .prevnext, .more-grid, .foot, .post__end, .post__begin, .resume, .totop, .progress, .sheet { display: none !important; }
	body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
	.post { max-width: none; }
	.post__text { font-size: 12pt; }
	a { color: #000; text-decoration: none; }
}

/* =================== Экосистема =================== */
:root { --eco: #22265e; --eco-ink: #e9eafb; --eco-soft: #c9cbf2; --ok: #1f6b45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="sepia"]) { --eco: #0e0f17; --eco-ink: #d9dbf5; --eco-soft: #8f94d6; --ok: #7fd3a3; } }
:root[data-theme="dark"] { --eco: #0e0f17; --eco-ink: #d9dbf5; --eco-soft: #8f94d6; --ok: #7fd3a3; }
:root[data-theme="sepia"] { --eco: #4a3517; --eco-ink: #f6ead2; --eco-soft: #e2c99a; }

/* верхняя полоска экосистемы */
.ecobar { background: var(--eco); color: var(--eco-ink); font-size: 14px; }
.ecobar__in { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.ecobar__name { color: var(--eco-ink); font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.ecobar__name:hover { color: #fff; text-decoration: none; }
.ecobar__links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.ecobar__links::-webkit-scrollbar { display: none; }
.ecobar__links a { color: var(--eco-soft); text-decoration: none; padding: 9px 10px; white-space: nowrap; border-radius: 6px; }
.ecobar__links a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.ecobar__links a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--eco-soft); }
.ecobar__all { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255, 255, 255, .1); color: var(--eco-ink); border-radius: 8px; padding: 0 10px; min-height: 32px; cursor: pointer; white-space: nowrap; }
.ecobar__all:hover { background: rgba(255, 255, 255, .18); }
.ecobar__all .i { width: 18px; height: 18px; }
@media (max-width: 640px) { .ecobar__all span { display: none; } .ecobar__in { gap: 8px; } }

/* главный блок */
.hub { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 16px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); margin-bottom: 36px; }
@media (min-width: 720px) { .hub { padding: 34px 36px; } }
.hub__h { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; max-width: 22ch; }
.hub__lead { margin: -6px 0 0; color: var(--muted); font-size: 17px; }
.scopes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.scope { position: relative; cursor: pointer; }
.scope input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scope span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.scope input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.scope input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.intents { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
@media (min-width: 720px) { .intents { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
@media (max-width: 719px) { .intent { min-height: 48px; padding: 8px 10px; font-size: 15px; } }
.intent { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.intent:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.intent .i { color: var(--accent); width: 22px; height: 22px; }

/* сегодня */
.today { margin-bottom: 40px; }
.sect-h--plain { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; font-size: 26px; font-weight: 800; }
.today__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.today__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card--soft { background: var(--accent-soft); border-color: transparent; }
.card__small { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.prayer__title { margin: 0; font: 700 21px/1.3 var(--serif); }
.prayer__list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 16px; }
.prayer__refs { margin: 0; color: var(--ref); font-weight: 700; font-size: 14px; }

/* карта сервисов */
.eco { margin-bottom: 40px; }
.eco__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); margin-top: 16px; }
.svc { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.svc:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; }
.svc__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.svc__ico .i { width: 24px; height: 24px; }
.svc__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.svc__t { font: 700 19px/1.25 var(--serif); }
.svc__n { color: var(--muted); font-size: 15px; }
.svc__live { margin-top: 4px; font-size: 14px; color: var(--ok); font-weight: 700; overflow-wrap: anywhere; }
.svc__go { color: var(--muted); width: 18px; height: 18px; margin-top: 4px; }

/* новое на сайте: вкладки */
.news { margin-bottom: 40px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0 6px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700; }
.tab[aria-selected="true"] .chip__n { color: inherit; opacity: .75; }
.row--compact { padding: 12px 0; }
.row--compact .row__title { font-size: 19px; }
.more-link { display: inline-flex; align-items: center; gap: 4px; padding: 14px 0 0; font-weight: 700; text-decoration: none; }
.people { margin-bottom: 32px; }
.people .chips { margin-top: 14px; }

/* все сервисы (лист) */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); text-align: center; font-size: 14px; line-height: 1.25; }
.app:hover { background: var(--accent-soft); text-decoration: none; }
.app__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.app__ico .i { width: 26px; height: 26px; }

/* проповедники по алфавиту */
.abc { columns: 3 260px; column-gap: 32px; }
.abc__g { break-inside: avoid; margin-bottom: 20px; }
.abc__l { font: 800 24px var(--serif); color: var(--accent); margin-bottom: 6px; }
.abc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.abc__list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.abc__list a:hover { color: var(--accent); text-decoration: underline; }

/* поиск */
.selects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.selects select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; font-size: 15px; max-width: 100%; }
.ctx summary { cursor: pointer; color: var(--accent); font-size: 15px; margin-top: 4px; }
.note--warn { background: var(--ref-soft); }
.adminerr { white-space: pre-wrap; background: var(--ref-soft); color: var(--ref); padding: 10px; border-radius: 8px; font-size: 13px; overflow-x: auto; }

/* встроенный Библейский указатель (плагин) */
.bible-embed .container, .bible-embed .row, .bible-embed [class*="col-"] { max-width: none; width: auto; margin: 0; padding: 0; display: block; flex: none; }
.bible-embed { font-size: 16px; }
.bible-embed h1 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; margin: 0 0 8px; }
.bible-embed input, .bible-embed select, .bible-embed button { font: inherit; }
.bible-embed a { color: var(--accent); }
