/* ============================================================
   微圣经风格主题系统
   5 种主题 + 底部工具栏 + 书卷导航 + 经文阅读 + 注解浮层
   ============================================================ */

/* ── 灰白（默认浅色） ── */
[data-theme="gray-white"] {
    --bg-color: #FFFFFF;
    --text-color: #3D2B1F;
    --text-muted: #7A6E64;
    --surface: #FFFFFF;
    --surface-alt: #F5F5F5;
    --border: #E0E0E0;
    --brand: #8B4513;
    --brand-rgb: 139,69,19;
    --brand-text: #FFFFFF;
    --brand-light: rgba(139,69,19,0.08);
    --heading: #2C1810;
    --card-bg: #FFFFFF;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --overlay-bg: rgba(0,0,0,0.5);
    --toolbar-bg: #FFFFFF;
    --toolbar-border: #E0E0E0;
    --toolbar-text: #666666;
    --toolbar-active: #8B4513;
    --nav-tab-bg: #F5F5F5;
    --nav-tab-active: #8B4513;
    --nav-tab-text: #666666;
    --chapter-hover: #FFF5EE;
    --verse-num: #8B4513;
    --fn-ref: #C07818;
    --xr-ref: #2E7D32;
    --divider: #F0E8E0;
}

/* ── 浅黄 ── */
[data-theme="light-yellow"] {
    --bg-color: #FFF8E7;
    --text-color: #3D2B1F;
    --text-muted: #8B7355;
    --surface: #FFF8E7;
    --surface-alt: #FFF0D0;
    --border: #E8D8B8;
    --brand: #8B4513;
    --brand-rgb: 139,69,19;
    --brand-text: #FFFFFF;
    --brand-light: rgba(139,69,19,0.08);
    --heading: #2C1810;
    --card-bg: #FFFCF0;
    --card-shadow: 0 2px 12px rgba(80,50,0,0.08);
    --overlay-bg: rgba(0,0,0,0.5);
    --toolbar-bg: #FFF8E7;
    --toolbar-border: #E8D8B8;
    --toolbar-text: #8B7355;
    --toolbar-active: #8B4513;
    --nav-tab-bg: #FFF0D0;
    --nav-tab-active: #8B4513;
    --nav-tab-text: #8B7355;
    --chapter-hover: #FFF5D6;
    --verse-num: #8B4513;
    --fn-ref: #C07818;
    --xr-ref: #2E7D32;
    --divider: #F0E0C0;
}

/* ── 米黄 ── */
[data-theme="warm-yellow"] {
    --bg-color: #F5F0E6;
    --text-color: #3D2B1F;
    --text-muted: #7A6E64;
    --surface: #F5F0E6;
    --surface-alt: #EDE5D5;
    --border: #D8CCB8;
    --brand: #8B4513;
    --brand-rgb: 139,69,19;
    --brand-text: #FFFFFF;
    --brand-light: rgba(139,69,19,0.08);
    --heading: #2C1810;
    --card-bg: #F8F4EC;
    --card-shadow: 0 2px 12px rgba(60,40,0,0.08);
    --overlay-bg: rgba(0,0,0,0.5);
    --toolbar-bg: #F5F0E6;
    --toolbar-border: #D8CCB8;
    --toolbar-text: #7A6E64;
    --toolbar-active: #8B4513;
    --nav-tab-bg: #EDE5D5;
    --nav-tab-active: #8B4513;
    --nav-tab-text: #7A6E64;
    --chapter-hover: #F0E8D8;
    --verse-num: #8B4513;
    --fn-ref: #C07818;
    --xr-ref: #2E7D32;
    --divider: #E0D8C8;
}

/* ── 深灰 ── */
[data-theme="dark-gray"] {
    --bg-color: #3E3E3E;
    --text-color: #E8E0D8;
    --text-muted: #AAAAAA;
    --surface: #3E3E3E;
    --surface-alt: #333333;
    --border: #555555;
    --brand: #D4956B;
    --brand-rgb: 212,149,107;
    --brand-text: #1A1A1A;
    --brand-light: rgba(212,149,107,0.12);
    --heading: #F0E8E0;
    --card-bg: #484848;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.3);
    --overlay-bg: rgba(0,0,0,0.7);
    --toolbar-bg: #333333;
    --toolbar-border: #555555;
    --toolbar-text: #AAAAAA;
    --toolbar-active: #D4956B;
    --nav-tab-bg: #333333;
    --nav-tab-active: #D4956B;
    --nav-tab-text: #AAAAAA;
    --chapter-hover: #484848;
    --verse-num: #D4956B;
    --fn-ref: #E0A060;
    --xr-ref: #81C784;
    --divider: #505050;
}

/* ── 黑夜 ── */
[data-theme="night"] {
    --bg-color: #1A1A1A;
    --text-color: #C8C0B8;
    --text-muted: #777777;
    --surface: #1A1A1A;
    --surface-alt: #111111;
    --border: #333333;
    --brand: #D4956B;
    --brand-rgb: 212,149,107;
    --brand-text: #1A1A1A;
    --brand-light: rgba(212,149,107,0.1);
    --heading: #E0D8D0;
    --card-bg: #252525;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.5);
    --overlay-bg: rgba(0,0,0,0.85);
    --toolbar-bg: #111111;
    --toolbar-border: #333333;
    --toolbar-text: #777777;
    --toolbar-active: #D4956B;
    --nav-tab-bg: #111111;
    --nav-tab-active: #D4956B;
    --nav-tab-text: #777777;
    --chapter-hover: #252525;
    --verse-num: #D4956B;
    --fn-ref: #E0A060;
    --xr-ref: #81C784;
    --divider: #2A2A2A;
}

/* ── 底部工具栏 ── */
.bottom-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 52px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--toolbar-bg, #fff);
    border-top: 1px solid var(--toolbar-border, #e0e0e0);
    z-index: 900;
    box-shadow: 0 -1px 6px rgba(0,0,0,0.06);
}
.toolbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--toolbar-text, #666);
    font-size: 20px;
    min-width: 48px;
    height: 48px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
    padding: 0;
}
.toolbar-btn:active {
    color: var(--toolbar-active, #8B4513);
}
.toolbar-btn.active {
    color: var(--toolbar-active, #8B4513);
}

/* ── 书卷导航双栏布局 ── */
.book-nav {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--bg-color, var(--surface, #fff));
}
.book-nav-header {
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--border, #e0e0e0);
}
.book-nav-search {
    width: 100%;
    padding: 8px 14px;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 20px;
    background: var(--surface-alt, #f5f5f5);
    color: var(--text-color, var(--text, #333));
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.book-nav-search::placeholder {
    color: var(--text-muted, #999);
}
.book-nav-tabs {
    display: flex;
    gap: 0;
    padding: 8px 16px;
    background: var(--bg-color, var(--surface, #fff));
}
.book-nav-tab {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--nav-tab-text, #666);
    background: var(--nav-tab-bg, #f5f5f5);
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.15s;
}
.book-nav-tab:first-child {
    border-radius: 6px 0 0 6px;
}
.book-nav-tab:last-child {
    border-radius: 0 6px 6px 0;
}
.book-nav-tab.active {
    background: var(--nav-tab-active, #8B4513);
    color: #fff;
}
.book-nav-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}
.book-list {
    width: 45%;
    overflow-y: auto;
    border-right: 1px solid var(--border, #e0e0e0);
    -webkit-overflow-scrolling: touch;
}
.book-list-item {
    display: flex;
    align-items: center;
    padding: 11px 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
    font-size: 14px;
    color: var(--text-color, var(--text, #333));
    border-bottom: 1px solid var(--divider, #f0e8e0);
}
.book-list-item:active,
.book-list-item.active {
    background: var(--brand-light, rgba(139,69,19,0.08));
}
.book-list-item.active {
    color: var(--brand, #8B4513);
    font-weight: 600;
}
.book-list-item .book-index {
    width: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted, #999);
    flex-shrink: 0;
}
.book-list-item.active .book-index {
    color: var(--brand, #8B4513);
}
.book-list-item .book-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chapter-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.chapter-list-item {
    padding: 11px 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
    font-size: 14px;
    color: var(--text-color, var(--text, #333));
    border-bottom: 1px solid var(--divider, #f0e8e0);
}
.chapter-list-item:active {
    background: var(--chapter-hover, #FFF5EE);
}
.testament-tabs {
    display: flex;
    border-top: 1px solid var(--border, #e0e0e0);
    background: var(--bg-color, var(--surface, #fff));
    flex-shrink: 0;
}
.testament-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.15s;
    color: var(--nav-tab-text, #666);
    background: var(--nav-tab-bg, #f5f5f5);
}
.testament-tab.active {
    background: var(--nav-tab-active, #8B4513);
    color: #fff;
}

/* ── 经文阅读样式 ── */
.bible-reading {
    padding: 20px 16px 80px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-color, var(--surface, #fff));
    color: var(--text-color, var(--text, #333));
    min-height: 100vh;
}
.bible-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--heading, #2C1810);
    margin-bottom: 20px;
    padding-top: 8px;
}
.bible-metadata {
    font-size: 13px;
    color: var(--text-muted, #7A6E64);
    line-height: 1.8;
    margin-bottom: 16px;
}
.bible-metadata p {
    margin: 2px 0;
}
.bible-metadata .meta-label {
    font-weight: 500;
    color: var(--text-color, var(--text, #333));
    margin-right: 4px;
}
.bible-theme-text {
    font-weight: 700;
    font-size: 15px;
    color: var(--heading, #2C1810);
    margin: 16px 0 12px;
    line-height: 1.6;
}
.bible-outline {
    margin: 12px 0 20px;
    line-height: 1.8;
}
.bible-outline-item {
    padding: 2px 0;
    cursor: default;
}
.bible-outline-item .outline-ref {
    color: var(--text-muted, #7A6E64);
    font-size: 13px;
    margin-left: 4px;
}
.outline-level-0 {
    font-weight: 700;
    font-size: 15px;
    margin-top: 8px;
}
.outline-level-1 {
    padding-left: 20px;
    font-weight: 600;
    font-size: 14px;
}
.outline-level-2 {
    padding-left: 40px;
    font-size: 14px;
}
.outline-level-3 {
    padding-left: 60px;
    font-size: 13px;
    color: var(--text-muted, #7A6E64);
}
.bible-verse {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 4px;
    text-indent: 2em;
}
/* 注解和串珠内联块不缩进 */
.bible-footnote-inline,
.bible-bead-inline,
.verse-num {
    text-indent: 0;
}
.bible-verse .verse-num {
    color: var(--verse-num, #8B4513);
    font-weight: 700;
    font-size: 14px;
    margin-right: 2px;
    vertical-align: super;
}
.bible-verse .fn-ref {
    color: var(--fn-ref, #C07818);
    font-size: 11px;
    cursor: pointer;
    vertical-align: super;
    font-weight: 600;
}
.bible-verse .xref-ref {
    color: var(--xr-ref, #2E7D32);
    font-size: 11px;
    cursor: pointer;
    vertical-align: super;
    font-weight: 600;
}
.verse-divider {
    border: none;
    border-top: 1px solid var(--divider, #f0e8e0);
    margin: 12px 0;
}
.bible-footnote-inline {
    background: var(--brand-light, rgba(139,69,19,0.08));
    border-left: 3px solid var(--brand, #8B4513);
    padding: 8px 12px;
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-color, var(--text, #333));
    border-radius: 0 6px 6px 0;
}
.bible-footnote-inline .fn-num {
    color: var(--fn-ref, #C07818);
    font-weight: 700;
    margin-right: 4px;
}
.bible-bead-inline {
    background: rgba(46,125,50,0.06);
    border-left: 3px solid var(--xr-ref, #2E7D32);
    padding: 6px 12px;
    margin: 6px 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-color, var(--text, #333));
    border-radius: 0 6px 6px 0;
}
.bible-bead-inline .bead-letter {
    color: var(--xr-ref, #2E7D32);
    font-weight: 700;
    margin-right: 4px;
}
.bible-bead-inline .scripture-ref {
    color: var(--brand, #8B4513);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(139,69,19,0.3);
}

/* ── 注解浮层 ── */
.verse-detail-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg, rgba(0,0,0,0.5));
    z-index: 950;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.verse-detail-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.verse-detail-card {
    background: var(--card-bg, #fff);
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px 18px;
    box-shadow: var(--card-shadow);
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.verse-detail-overlay.open .verse-detail-card {
    transform: translateY(0);
}
.verse-detail-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color, var(--text, #333));
    margin-bottom: 16px;
}
.verse-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border, #e0e0e0);
}
.verse-detail-source {
    font-size: 13px;
    color: var(--text-muted, #7A6E64);
}
.verse-detail-copy {
    padding: 6px 16px;
    background: var(--brand, #8B4513);
    color: var(--brand-text, #fff);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.verse-detail-copy:active {
    opacity: 0.8;
}
.verse-segment-nav {
    display: flex;
    gap: 6px;
    padding: 10px 0;
    flex-wrap: wrap;
}
.verse-segment-btn {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 6px;
    background: var(--surface-alt, #f5f5f5);
    color: var(--text-color, var(--text, #333));
    font-size: 13px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.verse-segment-btn.active {
    background: var(--brand, #8B4513);
    color: var(--brand-text, #fff);
    border-color: var(--brand, #8B4513);
}

/* ── 主题色选择器 ── */
.theme-selector {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    justify-content: center;
}
.theme-swatch {
    width: 56px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s;
}
.theme-swatch.active {
    border-color: var(--brand, #8B4513);
}
.theme-swatch[data-theme-value="gray-white"] {
    background: #FFFFFF;
    color: #333;
    border-color: #E0E0E0;
}
.theme-swatch[data-theme-value="gray-white"].active {
    border-color: #8B4513;
}
.theme-swatch[data-theme-value="light-yellow"] {
    background: #FFF8E7;
    color: #333;
}
.theme-swatch[data-theme-value="warm-yellow"] {
    background: #F5F0E6;
    color: #333;
}
.theme-swatch[data-theme-value="dark-gray"] {
    background: #3E3E3E;
    color: #F5F5F5;
}
.theme-swatch[data-theme-value="night"] {
    background: #1A1A1A;
    color: #E0E0E0;
}

/* ── 字号滑块 ── */
.font-size-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.font-size-slider .slider-label {
    font-size: 14px;
    color: var(--text-muted, #999);
    font-weight: 600;
}
.font-size-slider .slider-label.small { font-size: 12px; }
.font-size-slider .slider-label.large { font-size: 18px; }
.font-size-slider input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border, #e0e0e0);
    border-radius: 2px;
    outline: none;
}
.font-size-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand, #8B4513);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ── 内容开关 ── */
.content-toggles {
    padding: 8px 0;
}
.content-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--divider, #f0e8e0);
}
.content-toggle:last-child {
    border-bottom: none;
}
.content-toggle-label {
    font-size: 14px;
    color: var(--text-color, var(--text, #333));
}
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-switch .toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.toggle-switch .toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
    background: var(--brand, #8B4513);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* ── 设置面板 ── */
.settings-panel {
    padding: 16px;
    background: var(--bg-color, var(--surface, #fff));
    max-width: 600px;
    margin: 0 auto;
}
.settings-section {
    margin-bottom: 20px;
}
.settings-section-title {
    font-size: 13px;
    color: var(--text-muted, #999);
    margin-bottom: 8px;
    font-weight: 500;
}

/* ── 书卷阅读页返回按钮 ── */
.bible-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: none;
    border: none;
    color: var(--brand, #8B4513);
    font-size: 14px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    margin-bottom: 8px;
}
.bible-back-btn:active {
    opacity: 0.7;
}

/* ── 响应式 ── */
@media (min-width: 768px) {
    .bible-reading {
        padding: 30px 24px 80px;
    }
    .bible-title {
        font-size: 26px;
    }
    .bible-verse {
        font-size: 17px;
    }
    .book-list {
        width: 40%;
    }
    .verse-detail-card {
        border-radius: 16px;
        margin-bottom: 40px;
    }
    .verse-detail-overlay {
        align-items: center;
    }
}

/* ── 主题切换过渡动画 ── */
body,
.bible-reading,
.book-nav,
.settings-panel,
.bottom-toolbar,
.verse-detail-overlay {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    body, .bible-reading, .book-nav,
    .settings-panel, .bottom-toolbar, .verse-detail-overlay {
        transition: none !important;
    }
}

/* ── 书卷列表分组标题 ── */
.book-list-group-header {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #999);
    background: var(--surface-alt, #f5f5f5);
    border-bottom: 1px solid var(--divider, #f0e8e0);
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 1;
    text-transform: uppercase;
}

/* 深色模式适配 */
[data-theme="dark-gray"] .book-list-group-header,
[data-theme="night"] .book-list-group-header {
    background: var(--surface-alt, #1a1a1a);
    border-bottom-color: var(--divider, #333);
}

/* ── 空状态组件 ── */
.bible-empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted, #999);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bible-empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
    animation: cx-empty-float 3s ease-in-out infinite;
}
.bible-empty-state .empty-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}
.bible-empty-state .empty-hint {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.5;
    max-width: 240px;
}
@keyframes cx-empty-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── 阅读统计卡片 ── */
.bible-charts-container { padding: 16px; }
.bible-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.bible-stat-card {
    background: var(--surface-alt, #f5f5f5);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
}
.bible-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand, #667eea);
    line-height: 1.2;
}
.bible-stat-label {
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-top: 4px;
}

/* ── 阅读日历 ── */
.bible-calendar-section { margin-bottom: 20px; }
.bible-calendar-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text-color, var(--text, #333)); }
.bible-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.bible-calendar-day {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: var(--surface-alt, #f5f5f5);
    color: var(--text-muted, #999);
}
.bible-calendar-day.active {
    background: var(--brand, #667eea);
    color: #fff;
}
.bible-calendar-day .day-label { font-size: 10px; opacity: 0.7; }
.bible-calendar-day .day-count { font-size: 14px; font-weight: 600; }

/* ── 进度条 ── */
.bible-progress-section { margin-bottom: 16px; }
.bible-progress-item { margin-bottom: 12px; }
.bible-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-color, var(--text, #333));
}
.bible-progress-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--surface-alt, #e0e0e0);
    overflow: hidden;
}
.bible-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--brand, #667eea);
    transition: width 0.5s ease;
}

/* ── 收藏列表 ── */
.bible-fav-list { padding: 8px 0; }
.bible-fav-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--divider, #f0e8e0);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}
.bible-fav-item:active {
    background: var(--brand-light, rgba(102,126,234,0.06));
}
.bible-fav-title { font-size: 15px; font-weight: 500; color: var(--text-color, var(--text, #333)); }
.bible-fav-meta { font-size: 12px; color: var(--text-muted, #999); margin-top: 2px; }
.bible-fav-delete {
    font-size: 18px;
    color: var(--text-muted, #ccc);
    padding: 4px 8px;
    cursor: pointer;
}
.bible-fav-delete:active { color: #e74c3c; }

/* ── 更多菜单 ── */
.more-menu { padding: 8px 0; }
.more-menu-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-color, var(--text, #333));
    cursor: pointer;
    border-bottom: 1px solid var(--divider, #f0e8e0);
    transition: background 0.15s;
}
.more-menu-item:last-child { border-bottom: none; }
.more-menu-item:active {
    background: var(--brand-light, rgba(102,126,234,0.06));
}
.more-menu-icon { font-size: 20px; width: 28px; text-align: center; }

/* ── 收藏按钮 ── */
.bible-fav-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-muted, #999);
    transition: color 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.bible-fav-btn:active {
    transform: scale(1.2);
}
.bible-fav-btn.active {
    color: #f5a623;
}
