.verse-block.verse-highlight { border-radius: 4px; }
.chapter-tts-player {
max-width: 70ch;
margin: 0 auto var(--space-lg);
}
.nav-select-btn {
font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
padding: 0.5rem 1.25rem;
background: var(--color-reader-bg-panel);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-lg); color: var(--color-reader-text); cursor: pointer;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px;
transition: var(--transition-standard);
}
.nav-select-btn:hover { border-color: var(--color-reader-accent); box-shadow: var(--shadow-xs); }
.reader-canvas { min-height: 60vh; }
.ai-features-wrapper {
display: flex;
flex-direction: column;
gap: 0.75rem;
align-items: center;
margin-top: 1rem;
}
.summary-wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.summary-trigger {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1.25rem;
background-color: var(--color-reader-bg-panel);
color: var(--color-reader-text-muted);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-lg);
font-size: 0.85rem;
font-family: var(--font-sans);
font-weight: 600;
cursor: pointer;
transition: var(--transition-standard);
user-select: none;
position: relative;
z-index: 2;
}
.summary-trigger:hover {
background-color: var(--color-reader-bg);
border-color: var(--color-reader-accent);
color: var(--color-reader-accent);
box-shadow: var(--shadow-sm);
}
.summary-trigger.is-open {
background-color: var(--color-reader-bg);
color: var(--color-reader-accent);
border-color: var(--color-reader-accent);
}
.summary-trigger i.fa-chevron-down { transition: transform var(--transition-base); }
.summary-trigger.is-open i.fa-chevron-down { transform: rotate(180deg); }
.summary-content-container {
width: 100%;
max-width: 70ch;
max-height: 0;
margin-top: 0;
overflow: hidden;
opacity: 0;
transition:
max-height 0.4s ease,
margin-top 0.4s ease,
opacity 0.25s ease;
}
.summary-content-container.is-open {
max-height: 2000px;
opacity: 1;
margin-top: 1rem;
}
.summary-text-inner {
font-family: var(--reader-font, var(--font-merri));
font-size: 1rem;
line-height: 1.7;
color: var(--color-reader-text);
padding: 1.5rem;
}
.chapter-header-area {
text-align: center;
margin-bottom: 2.25rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--color-reader-border);
}
.main-chapter-title {
font-family: var(--font-crimson);
font-size: 2.75rem;
font-weight: 700;
line-height: 1.05;
letter-spacing: -0.015em;
color: var(--color-reader-text);
margin: 0 0 1rem;
text-wrap: balance;
}
.header-chap {
color: var(--color-reader-accent);
font-weight: 500;
margin-inline-start: 0.3em;
}
.header-meta {
font-family: var(--font-sans);
font-size: 0.85rem;
color: var(--color-reader-text-muted);
display: inline-flex;
align-items: center;
}
@media (width <= 768px) {
.main-chapter-title { font-size: 2.1rem; }
.chapter-header-area { margin-bottom: 1.5rem; }
}
.chapter-metav-wrapper {
width: 100%;
margin-top: 0.75rem;
}
.chapter-metav-content {
padding: 1rem 1.25rem;
margin: 0 auto;
}
.metav-quick-facts {
display: flex;
gap: 1.5rem;
justify-content: center;
flex-wrap: wrap;
}
.metav-fact {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.35rem;
min-width: 80px;
}
.metav-fact i {
font-size: 1.25rem;
color: var(--color-reader-accent);
opacity: 0.8;
}
.metav-fact-label {
font-family: var(--font-sans);
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--color-reader-text-muted);
font-weight: 600;
}
.metav-fact-value {
font-family: var(--font-sans);
font-size: 0.95rem;
font-weight: 700;
color: var(--color-reader-text);
text-align: center;
}
.metav-fact-value a {
color: var(--color-reader-accent);
text-decoration: none;
transition: opacity var(--transition-standard);
}
.metav-fact-value a:hover {
opacity: 0.75;
}
@media (width <= 480px) {
.metav-quick-facts {
gap: 1rem;
}
.metav-fact {
min-width: 70px;
}
.chapter-metav-content {
padding: 0.75rem 1rem;
}
}
.picker-dialog {
background: var(--color-reader-bg);
width: 95%;
max-width: 980px;
height: auto;
max-height: min(80vh, 780px);
padding: 0;
border-radius: var(--radius-lg);
display: flex;
flex-direction: column;
overflow: hidden;
color: var(--color-reader-text);
border: 1px solid var(--color-reader-border);
}
@media (width > 640px) {
.picker-dialog[data-view="testament"] {
max-height: min(80vh, 320px);
}
}
.picker-header {
display: grid;
grid-template-columns: 44px 1fr 44px;
align-items: center;
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--color-reader-border);
background: var(--color-reader-bg-panel);
gap: 0.5rem;
}
.picker-title {
font-family: var(--font-display, 'Crimson Pro', serif);
font-size: 1.2rem;
font-weight: 700;
text-align: center;
letter-spacing: 0.01em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.picker-back,
.picker-dialog .trv-modal-close {
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-md);
color: var(--color-reader-text-muted);
font-size: 1rem;
cursor: pointer;
transition: var(--transition-standard);
position: static;
}
.picker-back:hover,
.picker-dialog .trv-modal-close:hover {
background: var(--color-reader-bg);
border-color: var(--color-reader-border);
color: var(--color-reader-text);
}
.picker-back[hidden] { visibility: hidden; display: inline-flex; }
.picker-dialog .trv-modal-close::before,
.picker-dialog .trv-modal-close::after { content: none; }
.picker-body {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
}
.picker-view { width: 100%; }
.testament-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
max-width: 820px;
margin: 1.5rem auto;
}
.testament-card {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 0.35rem;
padding: 1.5rem 1.5rem;
min-height: 120px;
background: var(--color-reader-bg-panel);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-lg);
color: var(--color-reader-text);
cursor: pointer;
text-align: left;
transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
font-family: inherit;
}
.testament-card:hover,
.testament-card:focus-visible {
border-color: var(--color-reader-accent);
background: var(--color-reader-bg);
box-shadow: var(--shadow-sm);
outline: none;
}
.testament-card[hidden] { display: none; }
.testament-name {
font-family: var(--font-display, 'Crimson Pro', serif);
font-size: 1.65rem;
font-weight: 700;
line-height: 1.1;
}
.testament-count {
font-family: var(--font-sans);
font-size: 0.8rem;
color: var(--color-reader-text-muted);
font-weight: 600;
}
.book-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 0.5rem;
}
.book-tile {
padding: 0.85rem 0.9rem;
background: var(--color-reader-bg-panel);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-md);
color: var(--color-reader-text);
font-family: var(--font-sans);
font-size: 0.9rem;
font-weight: 600;
text-align: left;
cursor: pointer;
transition: var(--transition-standard);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.book-tile:hover,
.book-tile:focus-visible {
border-color: var(--color-reader-accent);
background: var(--color-reader-bg);
outline: none;
}
.book-tile.active {
background: var(--color-reader-accent);
color: var(--color-primary-contrast);
border-color: var(--color-reader-accent);
}
.chapter-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
gap: 0.4rem;
max-width: 820px;
margin: 0 auto;
}
.chap-btn {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
background: var(--color-reader-bg-panel);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-sm);
cursor: pointer;
color: var(--color-reader-text);
font-family: var(--font-sans);
font-weight: 600;
font-size: 0.9rem;
transition: var(--transition-standard);
}
.chap-btn:hover,
.chap-btn:focus-visible {
border-color: var(--color-reader-accent);
background: var(--color-reader-bg);
outline: none;
}
.chap-btn.active {
background: var(--color-reader-accent);
color: var(--color-primary-contrast);
border-color: var(--color-reader-accent);
}
.chap-loading {
grid-column: 1 / -1;
text-align: center;
padding: 2rem;
color: var(--color-reader-text-muted);
}
@media (width <= 640px) {
#selector-modal.trv-modal {
padding: 0;
align-items: flex-end;
}
.picker-dialog {
width: 100%;
height: auto;
max-height: 90dvh;
max-width: none;
border-radius: 16px 16px 0 0;
border: none;
border-top: 1px solid var(--color-reader-border);
}
.picker-header {
padding: 0.75rem 0.75rem;
grid-template-columns: 44px 1fr 44px;
min-height: 52px;
}
.picker-title { font-size: 1.1rem; }
.picker-back,
.picker-dialog .trv-modal-close {
width: 44px;
height: 44px;
font-size: 1.1rem;
}
.picker-body {
padding: 0.75rem 0.75rem calc(1rem + env(safe-area-inset-bottom, 0px));
}
.testament-grid {
display: flex;
flex-direction: column;
gap: 0.6rem;
margin: 0;
max-width: none;
}
.testament-card {
min-height: 96px;
padding: 1.1rem 1.25rem;
justify-content: center;
align-items: flex-start;
}
.testament-name { font-size: 1.5rem; }
.book-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
}
.book-tile {
padding: 0.9rem 0.75rem;
min-height: 52px;
font-size: 0.95rem;
text-align: center;
white-space: normal;
line-height: 1.2;
display: flex;
align-items: center;
justify-content: center;
}
.chapter-grid {
grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
gap: 0.4rem;
}
.chap-btn { font-size: 1rem; }
}
.chapter-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-reader-border); }
.keyboard-hint {
display: none;
text-align: center;
}
.keyboard-hint-text {
font-family: var(--font-sans);
font-size: 0.85rem;
color: var(--color-reader-text-muted);
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.keyboard-hint kbd {
display: inline-block;
padding: 0.2rem 0.5rem;
font-family: var(--font-mono, monospace);
font-size: 0.75rem;
font-weight: 600;
line-height: 1;
color: var(--color-reader-text);
background: var(--color-reader-bg-panel);
border: 1px solid var(--color-reader-border);
border-radius: var(--radius-sm);
box-shadow: var(--shadow-sm);
}
@media (width >= 768px) {
.keyboard-hint {
display: block;
}
}
@media (width <= 600px) {
.nav-select-btn { max-width: 200px; font-size: 0.9rem; }
.reader-canvas { padding: 1rem 0.75rem; }
}
.study-heading {
font-family: var(--reader-font, var(--font-merri));
font-size: calc(var(--reader-size) * 0.95);
font-style: italic;
font-weight: 600;
color: var(--color-reader-text);
margin: 2.25rem 0 0.75rem;
text-align: center;
text-align-last: center;
line-height: 1.4;
}
.bible-text > .study-heading:first-child {
margin-top: 0;
}
.study-note-tag {
display: inline-flex;
align-items: center;
justify-content: center;
width: 0.95em;
height: 0.95em;
margin: 0 0.1em 0 0.08em;
padding: 0;
background: transparent;
border: none;
border-radius: 50%;
color: var(--color-reader-accent);
opacity: 0.38;
cursor: pointer;
transition: opacity 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
user-select: none;
vertical-align: super;
font-size: 0.62em;
line-height: 1;
}
.study-note-tag:hover,
.study-note-tag:focus-visible {
opacity: 1;
background: color-mix(in srgb, var(--color-reader-accent) 18%, transparent);
outline: none;
}
.study-note-tag i {
font-size: 0.85em;
line-height: 1;
}
.study-note-popup {
position: absolute;
z-index: 200;
display: none;
width: 400px;
max-width: calc(100vw - 20px);
max-height: 60vh;
overflow-y: auto;
box-sizing: border-box;
background-color: var(--color-surface-solid);
border: 1px solid var(--color-border);
color: var(--color-text);
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
font-family: var(--font-sans);
text-align: left;
scrollbar-width: thin;
scrollbar-color: var(--color-border) transparent;
}
.study-note-popup.visible {
display: block;
}
.study-note-popup::-webkit-scrollbar {
width: 8px;
}
.study-note-popup::-webkit-scrollbar-track {
background: transparent;
}
.study-note-popup::-webkit-scrollbar-thumb {
background-color: var(--color-border);
border-radius: var(--radius-sm);
}
.study-note-popup-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
border-bottom: 1px solid var(--color-border);
padding: 0.75rem 1rem;
background-color: var(--color-surface);
}
.study-note-popup-title {
font-family: var(--font-sans);
font-size: 0.85rem;
font-weight: 700;
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.study-note-popup-close {
position: absolute;
top: 8px;
right: 8px;
z-index: 10;
width: 30px;
height: 30px;
background: transparent;
border: none;
padding: 0;
font-size: 1.2rem;
color: var(--color-text-muted);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 0;
transition: var(--transition-standard);
}
.study-note-popup-close:hover {
color: var(--color-danger);
background: var(--color-border);
}
.study-note-popup-content {
font-family: var(--font-sans);
font-size: 0.95rem;
line-height: 1.65;
color: var(--color-text);
padding: 1rem;
}
@media (width <= 480px) {
.study-note-popup {
width: calc(100vw - 20px);
max-height: 70vh;
}
}
.center-grp {
flex: 1;
min-width: 0;
justify-content: center;
gap: 8px;
padding: 0 4px;
}
@media (width <= 480px) {
.reader-toolbar {
padding: 0.5rem 0.25rem;
gap: 2px;
}
.nav-select-btn {
flex: 1;
min-width: 0;
width: auto;
max-width: none;
padding: 0.4rem 0.5rem;
font-size: 0.85rem;
}
.nav-select-btn span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.center-grp {
gap: 4px;
}
.reader-toolbar .btn-icon {
width: 44px;
height: 44px;
padding: 0;
}
.chapter-nav {
margin-top: 2rem;
padding-top: 1.5rem;
}
.chapter-nav .nav-select-btn {
padding: 0.5rem 0.75rem;
font-size: 0.8rem;
}
}
.study-banner {
position: fixed;
top: calc(var(--header-height) + var(--space-md));
left: 50%;
transform: translateX(-50%);
padding: 1rem 1.5rem;
border-radius: 8px;
box-shadow: var(--shadow-xl);
z-index: 1000;
font-family: var(--font-sans);
font-size: 0.95rem;
font-weight: 600;
max-width: 90%;
}
.study-banner--info {
background: var(--color-primary);
color: var(--color-primary-contrast);
display: flex;
align-items: center;
gap: 0.75rem;
}
.study-banner--error {
background: var(--color-danger);
color: var(--color-primary-contrast);
font-weight: 400;
font-size: 0.9rem;
}
.summary-trigger .fa-chevron-down { margin-left: 4px; }
.keyboard-hint .fas { opacity: 0.7; }
