:root {
    --bg: #f4f0e8;
    --surface: rgba(255, 253, 248, 0.92);
    --surface-strong: #fffdf8;
    --text: #18342d;
    --muted: #6e7d76;
    --accent: #b8783e;
    --accent-dark: #8f5628;
    --accent-rgb: 184, 120, 62;
    --focus: #35a95d;
    --focus-dark: #237c43;
    --focus-rgb: 53, 169, 93;
    --line: rgba(24, 52, 45, 0.14);
    --shadow: 0 24px 70px rgba(45, 52, 46, 0.13);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; overflow-y: auto; }

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--accent-rgb), 0.13), transparent 34rem),
        linear-gradient(135deg, #f7f2e9, #edf1eb);
}

button, input, select { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(22px, 5vw, 70px);
}

.brand { color: var(--text); text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: .23em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; color: #fff; background: var(--text); border-radius: 50%; letter-spacing: 0; }

.icon-button {
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
    background: rgba(255,255,255,.5); cursor: pointer; font-size: 20px;
}

.hero { flex: 0 0 auto; width: min(860px, calc(100% - 40px)); margin: auto; padding: 36px 0 80px; text-align: center; }
.eyebrow { color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.bible-tools { display: flex; justify-content: center; margin-bottom: 12px; }
.bible-open-button { min-height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 750; }

.verse-card {
    position: relative; margin: 25px 0 18px; padding: clamp(48px, 8vw, 82px) clamp(28px, 8vw, 90px) clamp(38px, 6vw, 62px);
    max-height: 62vh; overflow: hidden; overscroll-behavior: contain; scrollbar-gutter: stable;
    border: 1px solid rgba(255,255,255,.8); border-radius: 32px;
    background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}

.verse-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -85px; bottom: -105px; border: 1px solid rgba(var(--accent-rgb),.22); border-radius: 50%; box-shadow: 0 0 0 24px rgba(var(--accent-rgb),.035), 0 0 0 48px rgba(var(--accent-rgb),.025); }
.quote-mark { position: absolute; top: 15px; left: 28px; color: rgba(var(--accent-rgb),.22); font-family: Georgia, serif; font-size: 94px; line-height: 1; }
blockquote { position: relative; z-index: 1; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 4.5vw, 48px); line-height: 1.4; }
.verse-comparison { position: relative; z-index: 1; }
.verse-edition-secondary { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.verse-edition[hidden] { display: none; }
.verse-card.scrollable-verse { overflow-y: auto; }
.verse-card.scrollable-verse::after { display: none; }
.verse-edition.chapter-link { cursor: pointer; border-radius: 14px; }
.verse-edition.chapter-link:hover { background: rgba(var(--focus-rgb),.07); }
.verse-edition.chapter-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 7px; }
.verse-card footer { position: relative; z-index: 1; display: flex; justify-content: center; gap: 10px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.verse-card footer strong { color: var(--text); }

.status { min-height: 24px; margin: 14px auto; color: var(--muted); font-size: 14px; }
.status.error { color: #9d3b31; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.primary-button, .secondary-button { min-height: 46px; padding: 0 22px; border-radius: 14px; cursor: pointer; font-weight: 700; }
.primary-button { border: 1px solid var(--text); color: #fff; background: var(--text); }
.secondary-button { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.full-width { width: 100%; margin-top: 8px; }

.calendar-panel {
    width: min(470px, 100%); margin: 24px auto 0; padding: 22px;
    scroll-margin-top: 14px;
    border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 16px 42px rgba(45,52,46,.09);
}
.calendar-panel[hidden] { display: none; }
.calendar-heading { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; margin-bottom: 16px; }
.calendar-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 22px; text-transform: capitalize; }
.calendar-nav { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.calendar-nav:disabled { cursor: default; opacity: .28; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 750; }
.calendar-day { aspect-ratio: 1; min-width: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.calendar-day:hover:not(:disabled) { border-color: var(--line); background: rgba(var(--focus-rgb),.1); }
.calendar-day.today { border-color: var(--focus); }
.calendar-day.selected { color: #fff; border-color: var(--focus-dark); background: var(--focus-dark); font-weight: 800; }
.calendar-day:disabled { color: var(--muted); cursor: default; opacity: .28; }
.calendar-today { margin-top: 18px; border: 0; color: var(--accent-dark); background: transparent; cursor: pointer; font-weight: 750; }

.settings { position: fixed; z-index: 10; inset: 0; display: grid; justify-items: end; visibility: hidden; background: rgba(18,31,27,.32); opacity: 0; transition: opacity .2s, visibility .2s; }
.settings.open { visibility: visible; opacity: 1; }
.settings-card { width: min(440px, 100%); height: 100%; padding: 30px; overflow-y: auto; background: var(--surface-strong); box-shadow: -20px 0 70px rgba(0,0,0,.15); transform: translateX(30px); transition: transform .2s; }
.settings.open .settings-card { transform: translateX(0); }
.settings-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 26px; }
.settings h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: 34px; }
.settings label { display: block; margin: 18px 0 7px; font-size: 14px; font-weight: 750; }
.settings input, .settings select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: #fff; }
.field-note, .legal { color: var(--muted); font-size: 12px; line-height: 1.5; }
.legal { margin-top: 24px; }
.app-footer { flex: 0 0 auto; padding: 14px 20px 20px; color: var(--muted); text-align: center; font-size: 12px; letter-spacing: .03em; }
body.chapter-open { overflow: hidden; }
body.share-open { overflow: hidden; }
.chapter-view { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 16px; visibility: hidden; background: rgba(12,24,19,.68); opacity: 0; transition: opacity .2s, visibility .2s; }
.chapter-view.open { visibility: visible; opacity: 1; }
.chapter-card { display: flex; flex-direction: column; width: min(820px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-strong); box-shadow: 0 26px 90px rgba(0,0,0,.3); }
.chapter-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.chapter-heading h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: clamp(25px, 4vw, 36px); }
.chapter-heading-actions { display: flex; align-items: center; gap: 8px; }
.chapter-heading-actions .chapter-nav-button { width: 42px; }
.bible-collapsibles { flex: 0 0 auto; border-bottom: 1px solid var(--line); }
.bible-collapsible + .bible-collapsible { border-top: 1px solid var(--line); }
.bible-collapsible summary { padding: 11px 20px; cursor: pointer; color: var(--text); font-size: 13px; font-weight: 800; list-style-position: inside; text-align: left; }
.bible-collapsible summary:hover { background: rgba(var(--focus-rgb),.09); }
.bible-collapsible[open] summary { color: var(--focus-dark); }
.bible-navigation { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(130px, 1.4fr) minmax(76px, .7fr) minmax(66px, .6fr) auto; gap: 8px; align-items: end; padding: 3px 20px 14px; }
.bible-navigation label, .bible-search label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 750; text-align: left; }
.bible-navigation select, .bible-search input { width: 100%; height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface-strong); }
.chapter-nav-button, .chapter-action-button { height: 38px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface); cursor: pointer; font-weight: 750; }
.chapter-nav-button { font-size: 23px; }
.chapter-nav-button:disabled { cursor: default; opacity: .3; }
.bible-search { padding: 10px 20px 8px; }
.bible-search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.bible-search small { display: block; margin-top: 5px; color: var(--muted); text-align: left; }
.bible-result-summary { min-height: 22px; padding: 0 20px 5px; color: var(--muted); font-size: 13px; }
.bible-result-summary.error { color: #b4483d; }
.chapter-text, .bible-search-results { flex: 1 1 auto; min-height: 0; padding: 18px clamp(18px, 5vw, 42px) 34px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.bible-search-results[hidden], .chapter-text[hidden] { display: none; }
.bible-search-result { display: block; width: 100%; margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); cursor: pointer; text-align: left; }
.bible-search-result strong, .bible-search-result span { display: block; }
.bible-search-result strong { margin-bottom: 5px; color: var(--focus-dark); }
.bible-search-result span { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.5; }
.chapter-verse { margin: 0; padding: 8px 12px; border-left: 3px solid transparent; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.65; text-align: left; }
.chapter-number { display: inline-block; min-width: 28px; color: var(--accent-dark); font-family: "Segoe UI", sans-serif; font-size: .65em; font-weight: 800; vertical-align: super; }
.chapter-verse.selected { border-left-color: var(--focus); border-radius: 0 12px 12px 0; background: rgba(var(--focus-rgb),.16); }
.chapter-loading { color: var(--muted); text-align: center; }

.share-view { position: fixed; z-index: 30; inset: 0; display: grid; place-items: end center; padding: 18px; visibility: hidden; background: rgba(12,24,19,.58); opacity: 0; transition: opacity .2s, visibility .2s; }
.share-view.open { visibility: visible; opacity: 1; }
.share-card { width: min(520px, 100%); padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-strong); box-shadow: 0 26px 90px rgba(0,0,0,.3); transform: translateY(28px); transition: transform .2s; }
.share-view.open .share-card { transform: translateY(0); }
.share-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 20px; }
.share-heading h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 27px; }
.share-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share-option { display: grid; justify-items: center; gap: 8px; min-width: 0; padding: 13px 6px; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 750; }
.share-option:hover, .share-option:focus-visible { border-color: var(--focus); background: rgba(var(--focus-rgb),.1); }
.share-option:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.share-option-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #fff; background: #60736a; font-size: 15px; font-weight: 850; }
.share-option-icon.whatsapp { background: #218c45; }
.share-option-icon.email { background: #4b6f8f; font-size: 21px; }
.share-option-icon.facebook { background: #315a9a; font-family: Arial, sans-serif; font-size: 24px; }
.share-option-icon.instagram { background: linear-gradient(135deg, #7251a2, #c43c72 55%, #dc8c36); font-size: 24px; }
.share-option-icon.more { background: #60736a; letter-spacing: 1px; }
.share-option-icon.copy { background: var(--accent-dark); font-size: 19px; }
.share-note { margin: 16px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: left; }

@media (prefers-color-scheme: dark) {
    :root { --bg: #14221e; --surface: rgba(27,43,37,.94); --surface-strong: #1c2d27; --text: #f5f0e6; --muted: #b1bdb6; --line: rgba(255,255,255,.14); --shadow: 0 24px 70px rgba(0,0,0,.28); }
    body { background: radial-gradient(circle at 18% 18%, rgba(184,120,62,.18), transparent 34rem), linear-gradient(135deg, #192a24, #111c19); }
    .settings input, .settings select { background: #243a32; }
}

html[data-scheme="light"] {
    --bg: #f4f0e8; --surface: rgba(255, 253, 248, 0.92); --surface-strong: #fffdf8;
    --text: #18342d; --muted: #6e7d76; --line: rgba(24, 52, 45, 0.14);
    --shadow: 0 24px 70px rgba(45, 52, 46, 0.13);
}
html[data-scheme="light"] body { background: radial-gradient(circle at 18% 18%, rgba(40,137,76,.11), transparent 34rem), linear-gradient(135deg, #f7f2e9, #edf1eb); }

html[data-scheme="dark"] {
    --bg: #14221e; --surface: rgba(27,43,37,.94); --surface-strong: #1c2d27;
    --text: #f5f0e6; --muted: #b1bdb6; --line: rgba(255,255,255,.14);
    --shadow: 0 24px 70px rgba(0,0,0,.28);
}
html[data-scheme="dark"] body { background: radial-gradient(circle at 18% 18%, rgba(53,169,93,.17), transparent 34rem), linear-gradient(135deg, #192a24, #111c19); }
html[data-scheme="dark"] .settings input,
html[data-scheme="dark"] .settings select,
html[data-scheme="dark"] .bible-navigation select,
html[data-scheme="dark"] .bible-search input { color: #f5f0e6; background: var(--surface); }
html[data-scheme="dark"] .icon-button { color: #f5f0e6; background: var(--surface); }

/* Ruhige, bibelgerechte Farbwelten für die öffentliche WordPress-Ausgabe. */
html[data-platform="wordpress"][data-palette="blue"][data-scheme="light"] {
    --surface: rgba(249,252,253,.95); --surface-strong: #fbfdfe; --text: #263d47; --muted: #687c84;
    --accent: #89a7b4; --accent-dark: #587d8d; --accent-rgb: 137,167,180;
    --focus: #7fa5b5; --focus-dark: #557d8e; --focus-rgb: 127,165,181; --line: rgba(38,61,71,.14);
}
html[data-platform="wordpress"][data-palette="blue"][data-scheme="light"] body { background: radial-gradient(circle at 18% 18%, rgba(127,165,181,.16), transparent 34rem), linear-gradient(135deg, #f1f6f8, #e5eef2); }
html[data-platform="wordpress"][data-palette="green"][data-scheme="light"] {
    --surface: rgba(251,253,249,.95); --surface-strong: #fcfefb; --text: #30443a; --muted: #6f7e75;
    --accent: #9aae88; --accent-dark: #647d58; --accent-rgb: 154,174,136;
    --focus: #8cab79; --focus-dark: #617e52; --focus-rgb: 140,171,121; --line: rgba(48,68,58,.14);
}
html[data-platform="wordpress"][data-palette="green"][data-scheme="light"] body { background: radial-gradient(circle at 18% 18%, rgba(140,171,121,.16), transparent 34rem), linear-gradient(135deg, #f2f6ef, #e7eee4); }
html[data-platform="wordpress"][data-palette="brown"][data-scheme="light"] {
    --surface: rgba(255,251,246,.95); --surface-strong: #fffdf9; --text: #493b31; --muted: #7c7066;
    --accent: #b89574; --accent-dark: #89674b; --accent-rgb: 184,149,116;
    --focus: #b59473; --focus-dark: #806247; --focus-rgb: 181,148,115; --line: rgba(73,59,49,.14);
}
html[data-platform="wordpress"][data-palette="brown"][data-scheme="light"] body { background: radial-gradient(circle at 18% 18%, rgba(181,148,115,.17), transparent 34rem), linear-gradient(135deg, #f8f2ea, #eee4d9); }
html[data-platform="wordpress"][data-palette="gray"][data-scheme="light"] {
    --surface: rgba(251,252,251,.95); --surface-strong: #fdfdfc; --text: #39403d; --muted: #727a76;
    --accent: #989f9b; --accent-dark: #68716d; --accent-rgb: 152,159,155;
    --focus: #929c97; --focus-dark: #69746f; --focus-rgb: 146,156,151; --line: rgba(57,64,61,.14);
}
html[data-platform="wordpress"][data-palette="gray"][data-scheme="light"] body { background: radial-gradient(circle at 18% 18%, rgba(146,156,151,.15), transparent 34rem), linear-gradient(135deg, #f3f4f2, #e9ece9); }

html[data-platform="wordpress"][data-palette="blue"][data-scheme="dark"] { --surface: rgba(28,43,49,.95); --surface-strong: #1d3038; --accent: #9bb8c5; --accent-dark: #b5ced8; --accent-rgb: 155,184,197; --focus: #8fb6c7; --focus-dark: #b0cfdb; --focus-rgb: 143,182,199; }
html[data-platform="wordpress"][data-palette="blue"][data-scheme="dark"] body { background: radial-gradient(circle at 18% 18%, rgba(143,182,199,.16), transparent 34rem), linear-gradient(135deg, #1b2d35, #132128); }
html[data-platform="wordpress"][data-palette="green"][data-scheme="dark"] { --surface: rgba(30,44,35,.95); --surface-strong: #203129; --accent: #a9bd98; --accent-dark: #c1d0b4; --accent-rgb: 169,189,152; --focus: #9bbb87; --focus-dark: #bdd1af; --focus-rgb: 155,187,135; }
html[data-platform="wordpress"][data-palette="green"][data-scheme="dark"] body { background: radial-gradient(circle at 18% 18%, rgba(155,187,135,.16), transparent 34rem), linear-gradient(135deg, #203026, #15221a); }
html[data-platform="wordpress"][data-palette="brown"][data-scheme="dark"] { --surface: rgba(49,39,31,.95); --surface-strong: #382c23; --accent: #c2a283; --accent-dark: #d8bda3; --accent-rgb: 194,162,131; --focus: #bc9b7a; --focus-dark: #d5b89d; --focus-rgb: 188,155,122; }
html[data-platform="wordpress"][data-palette="brown"][data-scheme="dark"] body { background: radial-gradient(circle at 18% 18%, rgba(188,155,122,.17), transparent 34rem), linear-gradient(135deg, #34291f, #241c16); }
html[data-platform="wordpress"][data-palette="gray"][data-scheme="dark"] { --surface: rgba(40,45,43,.95); --surface-strong: #2c3230; --accent: #aab1ad; --accent-dark: #c4cbc7; --accent-rgb: 170,177,173; --focus: #a0aaa5; --focus-dark: #c1c9c5; --focus-rgb: 160,170,165; }
html[data-platform="wordpress"][data-palette="gray"][data-scheme="dark"] body { background: radial-gradient(circle at 18% 18%, rgba(160,170,165,.14), transparent 34rem), linear-gradient(135deg, #2a302d, #1d2220); }

/* WordPress lässt die Seite selbst scrollen; die eingebettete App wächst mit. */
html[data-platform="wordpress"], html[data-platform="wordpress"] body { min-height: 0; }
html[data-platform="wordpress"] body { overflow-y: hidden; }
html[data-platform="wordpress"] .app-shell { min-height: 0; }
html[data-platform="wordpress"] .hero { margin: 0 auto; }
html[data-platform="wordpress"] .verse-card,
html[data-platform="wordpress"] .verse-card.scrollable-verse { max-height: none; overflow: visible; scrollbar-gutter: auto; }

html[data-platform="wordpress"][data-display-size="small"] .topbar { padding: 12px clamp(16px,4vw,34px); }
html[data-platform="wordpress"][data-display-size="small"] .brand { font-size: 14px; }
html[data-platform="wordpress"][data-display-size="small"] .brand-mark { width: 28px; height: 28px; margin-right: 7px; }
html[data-platform="wordpress"][data-display-size="small"] .icon-button { width: 36px; height: 36px; font-size: 17px; }
html[data-platform="wordpress"][data-display-size="small"] .hero { width: min(760px,calc(100% - 28px)); padding: 10px 0 24px; }
html[data-platform="wordpress"][data-display-size="small"] .bible-tools { margin-bottom: 7px; }
html[data-platform="wordpress"][data-display-size="small"] .verse-card { margin: 12px 0 9px; padding: 34px clamp(20px,5vw,50px) 26px; border-radius: 22px; }
html[data-platform="wordpress"][data-display-size="small"] .quote-mark { top: 8px; left: 18px; font-size: 64px; }
html[data-platform="wordpress"][data-display-size="small"] .verse-card footer { margin-top: 18px; font-size: 12px; }
html[data-platform="wordpress"][data-display-size="small"] .verse-edition-secondary { margin-top: 18px; padding-top: 18px; }
html[data-platform="wordpress"][data-display-size="small"] .status { min-height: 18px; margin: 7px auto; font-size: 12px; }
html[data-platform="wordpress"][data-display-size="small"] .primary-button,
html[data-platform="wordpress"][data-display-size="small"] .secondary-button { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
html[data-platform="wordpress"][data-display-size="small"] .calendar-panel { margin-top: 15px; padding: 16px; }
html[data-platform="wordpress"][data-display-size="small"] .app-footer { padding: 8px 16px 12px; font-size: 10px; }

html[data-platform="wordpress"][data-display-size="medium"] .topbar { padding: 16px clamp(18px,4.5vw,48px); }
html[data-platform="wordpress"][data-display-size="medium"] .hero { width: min(810px,calc(100% - 34px)); padding: 20px 0 42px; }
html[data-platform="wordpress"][data-display-size="medium"] .verse-card { margin: 18px 0 13px; padding: 42px clamp(24px,6vw,68px) 32px; border-radius: 26px; }
html[data-platform="wordpress"][data-display-size="medium"] .quote-mark { font-size: 78px; }
html[data-platform="wordpress"][data-display-size="medium"] .verse-card footer { margin-top: 25px; }
html[data-platform="wordpress"][data-display-size="medium"] .primary-button,
html[data-platform="wordpress"][data-display-size="medium"] .secondary-button { min-height: 42px; padding: 0 18px; }

@media (max-width: 520px) {
    .topbar { padding: 16px 18px; }
    .hero { width: min(100% - 24px, 860px); padding-top: 20px; }
    .verse-card { max-height: 58vh; padding: 46px 24px 34px; border-radius: 22px; }
    blockquote { font-size: clamp(24px, 8vw, 34px); }
    .verse-card footer { flex-direction: column; gap: 4px; }
    .calendar-panel { margin-bottom: 20px; }
    .chapter-view { padding: 0; }
    .chapter-card { width: 100%; max-height: 100vh; max-height: 100dvh; border-radius: 0; }
    .chapter-heading { padding: 16px 18px 13px; }
    .chapter-heading-actions { gap: 5px; }
    .chapter-heading-actions .chapter-nav-button { width: 36px; }
    .bible-collapsible summary { padding: 10px 12px; }
    .bible-navigation { grid-template-columns: 1fr 70px; padding: 3px 12px 12px; }
    .bible-navigation label:first-of-type, .bible-navigation label:nth-of-type(2) { grid-column: 1 / 3; }
    .chapter-action-button#bible-show-button { grid-column: 1 / 3; }
    .bible-search { padding: 9px 12px 7px; }
    .chapter-text, .bible-search-results { padding: 12px 14px 28px; }
    .chapter-verse { padding: 7px 9px; font-size: 18px; }
    .share-view { padding: 0; align-items: end; }
    .share-card { border-radius: 24px 24px 0 0; padding: 20px 16px max(18px, env(safe-area-inset-bottom)); }
}

@media (max-height: 650px) {
    .hero { padding-top: 12px; padding-bottom: 28px; }
    .verse-card { max-height: 52vh; margin-top: 14px; padding-top: 42px; padding-bottom: 30px; }
}
