/* 章节页面专用样式 */

/* 完全重置页面样式 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    overflow-x: hidden !important;
}

/* 重置所有可能的继承样式 */
* {
    box-sizing: border-box !important;
}

/* 确保没有浮动影响布局 */
.chapter-main::before,
.chapter-main::after {
    content: "";
    display: table;
    clear: both;
}

/* 导航栏样式 */
.chapter-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    height: 60px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #8b9dc3;
}

.nav-title {
    font-weight: 500;
    color: #495057;
    font-size: 1.1rem;
}

.nav-controls {
    display: flex;
    gap: 0.5rem;
}

.nav-controls button {
    background: none;
    border: 1px solid #e0e0e0;
    padding: 0.5rem;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-controls button:hover {
    background: #f8f9fa;
    border-color: #8b9dc3;
    color: #8b9dc3;
}

/* 主要内容区域 */
.chapter-main {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    background: #fff;
}

.reading-container {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    line-height: 1.8 !important;
    background: transparent !important;
    font-size: inherit !important;
    width: 100% !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
}

/* 章节标题区域 */
.reading-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 2px solid #f8f9fa !important;
    clear: both !important;
    width: 100% !important;
    position: relative !important;
    float: none !important;
    display: block !important;
}

.reading-header h1 {
    font-size: 2.5rem !important;
    color: #495057 !important;
    font-weight: 300 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
}

.reading-header .subtitle {
    font-size: 1.2rem !important;
    color: #8b9dc3 !important;
    font-weight: 300 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
}

.overview-image {
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
}

/* 章节内容区域 */
.reading-section {
    margin-bottom: 3rem !important;
    font-size: 1.1rem !important;
    clear: both !important;
    width: 100% !important;
    float: none !important;
    position: relative !important;
}

.reading-section h2 {
    font-size: 2.2rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 2rem;
    border-left: 4px solid #8b9dc3;
    padding-left: 1rem;
    line-height: 1.3;
}

.reading-section h3 {
    font-size: 1.7rem;
    color: #495057;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.reading-section h4 {
    font-size: 1.4rem;
    color: #495057;
    font-weight: 500;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3;
}

.reading-section p {
    color: #495057;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
}

.reading-section ul, .reading-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.reading-section li {
    color: #495057;
    margin-bottom: 0.5rem;
}

.reading-section strong {
    color: #343a40;
    font-weight: 600;
}

.reading-section em {
    color: #6c757d;
    font-style: italic;
}

/* 章节图片 */
.section-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* 章节导航 */
.chapter-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
    gap: 2rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 60px;
    flex: 1;
    max-width: 300px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.nav-btn.prev-btn {
    justify-content: flex-start;
}

.nav-btn.next-btn {
    justify-content: flex-end;
}

.nav-btn span {
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-title {
        font-size: 0.9rem;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .reading-container {
        padding: 1rem;
    }
    
    .reading-header h1 {
        font-size: 2rem;
    }
    
    .reading-header .subtitle {
        font-size: 1rem;
    }
    
    .reading-section {
        font-size: 1rem;
    }
    
    .reading-section p {
        font-size: 1rem;
    }
    
    .reading-section h2 {
        font-size: 1.8rem;
    }
    
    .reading-section h3 {
        font-size: 1.5rem;
    }
    
    .reading-section h4 {
        font-size: 1.3rem;
    }
    
    .chapter-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-title {
        max-width: 150px;
    }
    
    .reading-container {
        padding: 0.5rem;
    }
    
    .reading-header h1 {
        font-size: 1.8rem;
    }
    
    .reading-section {
        font-size: 0.95rem;
    }
    
    .reading-section p {
        font-size: 0.95rem;
    }
    
    .reading-section ul, .reading-section ol {
        padding-left: 1.5rem;
    }
}

/* 字体大小调节 */
.font-size-small {
    font-size: 0.9rem;
}

.font-size-medium {
    font-size: 1rem;
}

.font-size-large {
    font-size: 1.1rem;
}

.font-size-extra-large {
    font-size: 1.2rem;
}

/* 打印样式 */
@media print {
    .chapter-nav,
    .chapter-navigation {
        display: none;
    }
    
    .chapter-main {
        margin-top: 0;
    }
    
    .reading-container {
        max-width: 100%;
        padding: 0;
    }
    
    .reading-section {
        break-inside: avoid;
    }
}

.highlight-box h4 {
    color: #8b9dc3;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.theory-box {
    background: #fff3e0;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #ffcc80;
}

.theory-box h4 {
    color: #e65100;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.comparison-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.type-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.type-emoji {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
}

.type-item h5 {
    color: #e65100;
    margin-bottom: 0.8rem;
}

/* 案例研究样式 */
.case-study {
    background: #f1f8e9;
    border-left: 4px solid #66bb6a;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.case-study h4 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* 数据可视化 */
.data-visualization {
    background: #fafafa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e0e0e0;
}

.data-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.data-point {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #8b9dc3;
    margin-bottom: 0.5rem;
}

.data-point p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* 列表样式 */
.feature-list,
.problem-list,
.insight-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.feature-list li,
.problem-list li,
.insight-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.feature-list li:before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #8b9dc3;
}

.problem-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.insight-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* 机制网格 */
.mechanism-grid,
.algorithm-effects,
.psychology-mechanisms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mechanism-item,
.effect-item,
.mechanism {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.mechanism-item:hover,
.effect-item:hover,
.mechanism:hover {
    border-color: #8b9dc3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 157, 195, 0.15);
}

.mechanism-item h5,
.effect-item h5,
.mechanism h5 {
    color: #8b9dc3;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* 引用样式 */
blockquote {
    border-left: 4px solid #8b9dc3;
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
}

blockquote:before {
    content: """;
    font-size: 4rem;
    color: #8b9dc3;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: normal;
}

/* 策略相关样式 */
.strategy-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 4px solid #8b9dc3;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strategy-item h5 {
    color: #8b9dc3;
    margin-bottom: 0.8rem;
}

.strategy-group {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.strategy-group h5 {
    color: #8b9dc3;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.strategy-details p {
    margin-bottom: 1rem;
}

.strategy-details strong {
    color: #495057;
}

/* 文化比较 */
.cultural-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.culture-item {
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    border: 2px solid #ffcc80;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.culture-item h5 {
    color: #e65100;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* 警告征象 */
.bdd-warning-signs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.warning-category {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 10px;
    padding: 1.5rem;
}

.warning-category h5 {
    color: #e65100;
    margin-bottom: 1rem;
}

.warning-category ul {
    margin: 0;
    padding-left: 1.5rem;
}

.warning-category li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* 练习框 */
.practice-box,
.exercise-box,
.reflection-box {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px solid #81c784;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.practice-box h4,
.exercise-box h4,
.reflection-box h4 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.exercise-box ol {
    padding-left: 1.5rem;
}

.exercise-box li {
    margin-bottom: 0.8rem;
    color: #495057;
}

/* 专业帮助 */
.professional-help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.help-option {
    background: #f3e5f5;
    border: 1px solid #ce93d8;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.help-option h5 {
    color: #7b1fa2;
    margin-bottom: 1rem;
}

/* 章节总结 */
.chapter-summary {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
    border: 2px solid #34495e;
}

.chapter-summary h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.chapter-summary p {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 章节导航 */
.chapter-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #8b9dc3, #9ab4d3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 157, 195, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 157, 195, 0.3);
    color: white;
}

.prev-btn:hover {
    transform: translateY(-2px) translateX(-3px);
}

.next-btn:hover {
    transform: translateY(-2px) translateX(3px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .chapter-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chapter-sidebar {
        position: static;
        order: 2;
        margin-top: 2rem;
    }
    
    .comparison-types {
        grid-template-columns: 1fr;
    }
    
    .data-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chapter-container {
        padding: 1rem;
    }
    
    .chapter-header h1 {
        font-size: 2.2rem;
    }
    
    .chapter-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.15rem !important;
        padding: 1rem;
    }
    
    .mechanism-grid,
    .algorithm-effects,
    .psychology-mechanisms {
        grid-template-columns: 1fr;
    }
    
    .chapter-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .chapter-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.7rem;
    }
    
    .data-number {
        font-size: 2rem;
    }
    
    .theory-box,
    .highlight-box,
    .practice-box,
    .exercise-box {
        padding: 1.5rem;
    }
}

/* 第六章特定样式 */

/* 权威维度展示 */
.authority-dimensions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.dimension-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.dimension-item h5 {
    color: #8b9dc3;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* 话术策略网格 */
.tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tactic-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tactic-item h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tactic-item blockquote {
    background: #f8f9fa;
    border-left: 4px solid #8b9dc3;
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

/* 积极消极对比 */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros-item, .cons-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.pros-item {
    border-left: 4px solid #28a745;
}

.cons-item {
    border-left: 4px solid #dc3545;
}

.pros-item h5 {
    color: #28a745;
    margin-bottom: 1rem;
}

.cons-item h5 {
    color: #dc3545;
    margin-bottom: 1rem;
}

/* 准备清单 */
.preparation-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.prep-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.prep-category h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 问题分类框 */
.question-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.question-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.question-box h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.question-note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* 专业 vs 营销对比 */
.professional-vs-marketing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-table {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.professional-traits {
    list-style: none;
    padding: 0;
}

.professional-traits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: #28a745;
}

.professional-traits li:before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 0.5rem;
}

.marketing-traits {
    list-style: none;
    padding: 0;
}

.marketing-traits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: #dc3545;
}

.marketing-traits li:before {
    content: "⚠ ";
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 沟通技巧列表 */
.communication-tips {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.communication-tips li {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

/* 压力处理 */
.pressure-handling {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pressure-type {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pressure-type h5 {
    color: #495057;
    margin-bottom: 1rem;
}

/* 行动清单 */
.action-checklist {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid #28a745;
}

.action-checklist h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.action-checklist ul {
    list-style: none;
    padding: 0;
}

.action-checklist li {
    padding: 0.5rem 0;
    color: #495057;
}

.action-checklist li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 案例分析 */
.case-analysis {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.scenario {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.scenario h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
}

/* 对话框 */
.dialogue-section {
    margin: 2rem 0;
}

.dialogue-box {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
}

.speaker {
    margin-bottom: 0.5rem;
}

.speaker.counselor {
    color: #dc3545;
}

.speaker.customer {
    color: #495057;
}

.speaker.doctor {
    color: #6f42c1;
}

.analysis {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-left: 4px solid #8b9dc3;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* 战术分解 */
.tactics-breakdown {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.tactics-breakdown h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

/* 更好的回应 */
.better-response {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.better-response h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

/* 危险信号 */
.red-flags {
    background: #ffebee;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid #dc3545;
}

.red-flags h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

/* 更好的问题 */
.better-questions {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.better-questions h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

/* 防护策略 */
.defense-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-category {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strategy-category h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 章节总结 - 备用样式 */
.chapter-summary-alt {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 2px solid #34495e;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
    text-align: center;
}

.chapter-summary-alt h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 价格策略 */
.pricing-tactics {
    margin: 2rem 0;
}

.tactic-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tactic-box h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.analysis {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.analysis h5 {
    color: #8b9dc3;
    margin-bottom: 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 反策略 */
.counter-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.strategy-item h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
}

/* 实用技巧 */
.tip-box {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.tip-box h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

/* 图片样式 */
.section-image {
    text-align: center;
    margin: 2rem 0;
}

.section-svg, .overview-svg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chapter-overview-image {
    text-align: center;
    margin: 2rem 0;
}

/* 第七章特定样式 */

/* 命名策略卡片 */
.naming-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.strategy-card h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 案例分析网格 */
.case-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.case-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.case-item h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.case-breakdown {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 操控策略 */
.manipulation-tactics {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tactic-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tactic-box h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.example {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 消费者防护 */
.consumer-defense {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.defense-strategy {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #28a745;
}

.defense-strategy h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.action-items {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 叙事模式 */
.narrative-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pattern-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pattern-card h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.pattern-structure {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* 情感技巧 */
.emotional-techniques {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.technique-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.technique-item h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.technique-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 负面影响 */
.negative-impacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.impact-item {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ffeaa7;
    text-align: center;
}

.impact-item h4 {
    color: #856404;
    margin-bottom: 1rem;
}

/* 应对策略 */
.coping-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strategy-box h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.strategy-tips {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 心理基础 */
.psychological-foundations {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.foundation-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.foundation-item h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.principle-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* KOL层级 */
.kol-hierarchy {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tier-level {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tier-level h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.tier-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* 营销阶段 */
.marketing-tactics {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tactic-stage {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tactic-stage h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
}

.stage-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* 商业模式 */
.business-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.model-item h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.model-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 算法机制 */
.algorithm-mechanics {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mechanism-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mechanism-item h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.mechanism-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 算法应用 */
.algorithm-applications {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.application-case {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.application-case h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.case-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 牢笼构建 */
.cage-construction {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.construction-step {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.construction-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #8b9dc3, #9ab4d3);
    border-radius: 2px 0 0 2px;
}

.construction-step h4 {
    color: #8b9dc3;
    margin-bottom: 1rem;
}

.step-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 算法危害 */
.algorithm-harms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.harm-item {
    background: #ffebee;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ffcdd2;
}

.harm-item h4 {
    color: #c62828;
    margin-bottom: 1rem;
}

.harm-details {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 逃脱策略 */
.escape-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-method {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strategy-method h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.method-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 技术小贴士 */
.tech-tips {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #90caf9;
    margin: 2rem 0;
}

.tech-tips h4 {
    color: #1565c0;
    margin-bottom: 1rem;
}

/* 警告框 */
.warning-box {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ffeaa7;
    margin: 2rem 0;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .naming-strategies,
    .case-analysis-grid,
    .consumer-defense,
    .narrative-patterns,
    .negative-impacts,
    .coping-strategies,
    .business-models,
    .algorithm-harms,
    .escape-strategies {
        grid-template-columns: 1fr;
    }
    
    .kol-hierarchy,
    .marketing-tactics,
    .cage-construction,
    .algorithm-applications,
    .algorithm-mechanics {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计适配 */
@media (max-width: 768px) {
    .pros-cons-grid,
    .professional-vs-marketing,
    .defense-strategies {
        grid-template-columns: 1fr;
    }
    
    .pressure-handling,
    .question-categories {
        grid-template-columns: 1fr;
    }
    
    .authority-dimensions {
        grid-template-columns: 1fr;
    }
}

/* 全书目录导航 */
.book-nav {
    position: fixed;
    right: -350px;
    top: 60px;
    width: 330px;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-left: 1px solid #e0e0e0;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.book-nav.show {
    right: 0;
}

.book-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.book-nav-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
}

.nav-close-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-close-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.book-chapters-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-chapter-item {
    margin-bottom: 0.5rem;
}

.book-chapter-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.book-chapter-link:hover {
    background: #f8f9fa;
    color: #495057;
    border-left-color: #8b9dc3;
}

.book-chapter-link.current {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-left-color: #667eea;
}

.book-chapter-number {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.book-chapter-title {
    font-size: 0.85rem;
    opacity: 0.9;
}

.book-nav-toggle {
    position: fixed;
    right: 20px;
    top: 80px;
    width: 40px;
    height: 40px;
    background: #8b9dc3;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.book-nav-toggle:hover {
    background: #667eea;
    transform: scale(1.1);
}

/* 章节内导航增强 */
.chapter-toc {
    position: fixed;
    left: -300px;
    top: 60px;
    width: 280px;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-right: 1px solid #e0e0e0;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.chapter-toc.show {
    left: 0;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.toc-close-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toc-close-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: #f8f9fa;
    color: #495057;
    border-left-color: #8b9dc3;
}

.toc-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-left-color: #667eea;
}

.toc-link.section {
    padding-left: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.toc-link.subsection {
    padding-left: 2.25rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 导航按钮组 */
.nav-buttons {
    position: fixed;
    left: 20px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

.nav-btn-primary {
    width: 40px;
    height: 40px;
    background: #8b9dc3;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn-primary:hover {
    background: #667eea;
    transform: scale(1.1);
}

.nav-btn-primary.active {
    background: #667eea;
    transform: scale(1.05);
}

/* 面包屑导航 */
.breadcrumb-nav {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #e9ecef;
    padding: 0.5rem 2rem;
    z-index: 998;
    font-size: 0.85rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #495057;
}

.breadcrumb-link.current {
    color: #495057;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #adb5bd;
}

/* 章节快速导航 */
.quick-nav {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-nav.show {
    opacity: 1;
    visibility: visible;
}

.quick-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-nav-item {
    width: 8px;
    height: 20px;
    background: #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quick-nav-item:hover {
    background: #8b9dc3;
    width: 12px;
}

.quick-nav-item.active {
    background: #667eea;
    width: 12px;
}

.quick-nav-tooltip {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.quick-nav-item:hover .quick-nav-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 双层覆盖层 */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .chapter-toc,
    .book-nav {
        width: 100%;
        left: -100%;
        right: -100%;
    }
    
    .chapter-toc.show {
        left: 0;
    }
    
    .book-nav.show {
        right: 0;
    }
    
    .nav-buttons {
        left: 10px;
        top: 70px;
    }
    
    .nav-btn-primary {
        width: 35px;
        height: 35px;
    }
    
    .book-nav-toggle {
        right: 10px;
        top: 70px;
        width: 35px;
        height: 35px;
    }
    
    .breadcrumb-nav {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.25rem;
    }
    
    .quick-nav {
        display: none;
    }
}

/* SVG图片缩放功能 */
.zoomable-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.zoomable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal.show {
    display: flex;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    transition: transform 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.image-zoom-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 阅读进度指示器 */
.reading-progress {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(139, 157, 195, 0.1);
    z-index: 1000;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .chapter-toc {
        width: 100%;
        left: -100%;
    }
    
    .toc-toggle {
        left: 10px;
        top: 70px;
        width: 35px;
        height: 35px;
    }
    
    .image-modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .image-zoom-controls {
        bottom: 20px;
        gap: 8px;
        padding: 8px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}