/* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
            transition: background-color 0.3s, color 0.3s;
        }

        body.night-mode {
            background-color: #1a1a1a;
            color: #d9d9d9;
        }

        a {
            text-decoration: none;
            color: #2c3e50;
            transition: color 0.3s;
        }

        a:hover {
            color: #3498db;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* 头部样式 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s;
        }

        body.night-mode header {
            background-color: #2d2d2d;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #2c3e50;
        }

        body.night-mode .logo {
            color: #d9d9d9;
        }

        .logo span {
            color: #3498db;
        }

        .search-box {
            display: flex;
            width: 50%;
        }

        .search-box input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 4px 0 0 4px;
            font-size: 16px;
            background-color: #fff;
            color: #333;
            transition: all 0.3s;
        }

        body.night-mode .search-box input {
            background-color: #3a3a3a;
            border-color: #555;
            color: #d9d9d9;
        }

        .search-box button {
            padding: 10px 20px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .search-box button:hover {
            background-color: #2980b9;
        }

        .user-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-actions a {
            font-size: 14px;
        }

        .login-btn {
            padding: 8px 16px;
            background-color: #3498db;
            color: white;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .login-btn:hover {
            background-color: #2980b9;
            color: white;
        }

        nav {
            background-color: #2c3e50;
            transition: background-color 0.3s;
        }

        body.night-mode nav {
            background-color: #252525;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu a {
            display: block;
            padding: 15px 20px;
            color: white;
            font-size: 16px;
        }

        .nav-menu a:hover {
            background-color: #34495e;
        }

        body.night-mode .nav-menu a:hover {
            background-color: #3a3a3a;
        }

        /* 阅读器头部信息 */
        .reader-header {
            background-color: white;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s;
        }

        body.night-mode .reader-header {
            background-color: #2d2d2d;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .novel-title {
            font-size: 28px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
            text-align: center;
        }

        body.night-mode .novel-title {
            color: #d9d9d9;
        }

        .chapter-title {
            font-size: 22px;
            color: #3498db;
            margin-bottom: 15px;
            text-align: center;
        }

        .novel-meta {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #7f8c8d;
        }

        body.night-mode .novel-meta {
            color: #a0a0a0;
        }

        .chapter-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .chapter-nav a {
            padding: 8px 16px;
            background-color: #f1f1f1;
            border-radius: 4px;
            transition: all 0.3s;
        }

        body.night-mode .chapter-nav a {
            background-color: #3a3a3a;
            color: #d9d9d9;
        }

        .chapter-nav a:hover {
            background-color: #3498db;
            color: white;
        }

        /* 阅读器控制栏 */
        .reader-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: white;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s;
        }

        body.night-mode .reader-controls {
            background-color: #2d2d2d;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .font-controls, .theme-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .control-btn {
            padding: 8px 12px;
            background-color: #f1f1f1;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        body.night-mode .control-btn {
            background-color: #3a3a3a;
            color: #d9d9d9;
        }

        .control-btn:hover {
            background-color: #3498db;
            color: white;
        }

        .font-size-display {
            min-width: 40px;
            text-align: center;
        }

        /* 阅读内容区域 */
        .reader-content {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            line-height: 1.8;
            font-size: 18px;
            transition: all 0.3s;
        }

        body.night-mode .reader-content {
            background-color: #2d2d2d;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .reader-content p {
            margin-bottom: 1.5em;
            text-indent: 2em;
            text-align: justify;
        }

        #comparison-translation-content p {
            margin-bottom: 1.5em;
            text-indent: 2em;
            text-align: justify;
        }

        #comparison-original-content p {
            margin-bottom: 1.5em;
            text-indent: 2em;
            text-align: justify;
        }

        #translation-container p {
            margin-bottom: 1.5em;
            text-indent: 2em;
            text-align: justify;
        }

        .reader-content .chapter-end {
            text-align: center;
            margin: 30px 0;
            color: #7f8c8d;
            font-style: italic;
        }

        body.night-mode .reader-content .chapter-end {
            color: #a0a0a0;
        }

        /* 阅读器底部导航 */
        .reader-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            margin: 30px 0px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s;
        }

        body.night-mode .reader-footer {
            background-color: #2d2d2d;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .progress-bar {
            flex: 1;
            height: 6px;
            background-color: #f1f1f1;
            border-radius: 3px;
            margin: 0 20px;
            overflow: hidden;
        }

        body.night-mode .progress-bar {
            background-color: #3a3a3a;
        }

        .progress {
            height: 100%;
            background-color: #3498db;
            width: 65%;
            transition: width 0.3s;
        }

        .progress-text {
            font-size: 14px;
            color: #7f8c8d;
            min-width: 80px;
            text-align: center;
        }

        body.night-mode .progress-text {
            color: #a0a0a0;
        }

        /* 相关推荐 */
        .related-section {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s;
        }

        body.night-mode .related-section {
            background-color: #2d2d2d;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        body.night-mode .section-header {
            border-bottom-color: #444;
        }

        .section-title {
            font-size: 22px;
            color: #2c3e50;
            font-weight: bold;
        }

        body.night-mode .section-title {
            color: #d9d9d9;
        }

        .more-link {
            font-size: 14px;
            color: #3498db;
        }

        .novel-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
        }

        .novel-item {
            text-align: center;
            transition: transform 0.3s;
        }

        .novel-item:hover {
            transform: translateY(-5px);
        }

        .novel-cover {
            width: 100%;
            height: 240px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 10px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        }

        .novel-title-small {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .novel-author {
            font-size: 14px;
            color: #7f8c8d;
        }

        body.night-mode .novel-author {
            color: #a0a0a0;
        }

        /* 底部样式优化 */
        footer {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 40px 0 20px;
            margin-top: 40px;
            transition: background-color 0.3s;
        }

        body.night-mode footer {
            background-color: #252525;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
            padding: 0 15px;
            margin-bottom: 20px;
        }

        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #3498db;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: #3498db;
        }

        .footer-desc {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #bdc3c7;
        }

        .contact-info p {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            font-size: 14px;
        }

        .contact-info .icon {
            margin-right: 10px;
            font-size: 16px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #bdc3c7;
            transition: all 0.3s;
            font-size: 14px;
            display: block;
            padding: 5px 0;
        }

        .footer-links a:hover {
            color: #3498db;
            padding-left: 5px;
        }

        /* 社交媒体链接样式 */
        .social-links {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #34495e;
            border-radius: 50%;
            color: white;
            transition: all 0.3s;
            position: relative;
        }

        body.night-mode .social-link {
            background-color: #3a3a3a;
        }

        .social-link:hover {
            background-color: #3498db;
            transform: translateY(-3px);
        }

        .social-link span {
            font-size: 12px;
        }

        /* 订阅表单样式 */
        .newsletter p {
            font-size: 14px;
            margin-bottom: 10px;
            color: #bdc3c7;
        }

        .subscribe-form {
            display: flex;
            margin-top: 10px;
        }

        .subscribe-form input {
            flex: 1;
            padding: 10px;
            border: 1px solid #34495e;
            border-radius: 4px 0 0 4px;
            background-color: #34495e;
            color: white;
            font-size: 14px;
        }

        body.night-mode .subscribe-form input {
            background-color: #3a3a3a;
            border-color: #555;
        }

        .subscribe-form input::placeholder {
            color: #95a5a6;
        }

        .subscribe-form button {
            padding: 10px 15px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s;
            font-size: 14px;
        }

        .subscribe-form button:hover {
            background-color: #2980b9;
        }

        /* 友情链接样式 */
        .friend-links {
            border-top: 1px solid #34495e;
            padding-top: 20px;
            margin-bottom: 20px;
        }

        body.night-mode .friend-links {
            border-top-color: #444;
        }

        .friend-links h4 {
            font-size: 16px;
            margin-bottom: 15px;
            color: #bdc3c7;
        }

        .friend-links-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .friend-links-container a {
            color: #95a5a6;
            font-size: 13px;
            transition: color 0.3s;
        }

        .friend-links-container a:hover {
            color: #3498db;
        }

        /* 版权信息样式 */
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #34495e;
            font-size: 12px;
            color: #95a5a6;
        }

        body.night-mode .copyright {
            border-top-color: #444;
        }

        .copyright p {
            margin-bottom: 10px;
        }

        .copyright a {
            color: #95a5a6;
            transition: color 0.3s;
        }

        .copyright a:hover {
            color: #3498db;
        }

        /* 返回顶部按钮样式 */
        #back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: all 0.3s;
            opacity: 0;
            visibility: hidden;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        #back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        #back-to-top:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
        }

        /* 移动端优化样式 */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: #2c3e50;
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        body.night-mode .mobile-menu-toggle {
            color: #d9d9d9;
        }

        .mobile-menu-toggle:hover {
            background-color: #f1f1f1;
        }

        body.night-mode .mobile-menu-toggle:hover {
            background-color: #3a3a3a;
        }

        .mobile-search-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            color: #2c3e50;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            background-color: #f1f1f1;
            transition: all 0.3s;
        }

        body.night-mode .mobile-search-toggle {
            color: #d9d9d9;
            background-color: #3a3a3a;
        }

        .mobile-search-toggle:hover {
            background-color: #e0e0e0;
            transform: scale(1.1);
        }

        body.night-mode .mobile-search-toggle:hover {
            background-color: #444;
        }

        .mobile-search-toggle.active {
            background-color: #3498db;
            color: white;
        }

        .mobile-search-container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
        }

        .mobile-search-container.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .mobile-search-box {
            width: 100%;
            max-width: 500px;
            display: flex;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transform: translateY(0);
            animation: slideUp 0.3s ease;
        }

        body.night-mode .mobile-search-box {
            background: #2d2d2d;
        }

        .mobile-search-box input {
            flex: 1;
            padding: 15px;
            border: none;
            font-size: 16px;
            outline: none;
            background: transparent;
            color: #333;
        }

        body.night-mode .mobile-search-box input {
            color: #d9d9d9;
        }

        .mobile-search-box button {
            padding: 0 20px;
            background-color: #3498db;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .mobile-search-box button:hover {
            background-color: #2980b9;
        }

        .mobile-search-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .mobile-search-close:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        /* 移动端登录按钮样式 */
        .mobile-login-btn {
            display: none;
            padding: 8px 16px;
            background-color: #3498db;
            color: white;
            border-radius: 4px;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .mobile-login-btn:hover {
            background-color: #2980b9;
        }

        /* 目录模态框样式 */
        .toc-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            overflow: hidden;
        }

        .toc-modal.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .toc-container {
            width: 90%;
            max-width: 800px;
            height: 80%;
            background-color: white;
            border-radius: 8px;
            margin: auto;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: translateY(0);
            animation: slideUp 0.3s ease;
        }

        body.night-mode .toc-container {
            background-color: #2d2d2d;
        }

        .toc-header {
            padding: 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.night-mode .toc-header {
            border-bottom-color: #444;
        }

        .toc-title {
            font-size: 22px;
            font-weight: bold;
            color: #2c3e50;
        }

        body.night-mode .toc-title {
            color: #d9d9d9;
        }

        .toc-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #7f8c8d;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .toc-close:hover {
            background-color: #f1f1f1;
            color: #333;
        }

        body.night-mode .toc-close:hover {
            background-color: #3a3a3a;
            color: #d9d9d9;
        }

        .toc-search {
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
        }

        body.night-mode .toc-search {
            border-bottom-color: #444;
        }

        .toc-search input {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            background-color: #fff;
            color: #333;
            transition: all 0.3s;
        }

        body.night-mode .toc-search input {
            background-color: #3a3a3a;
            border-color: #555;
            color: #d9d9d9;
        }

        .toc-content {
            flex: 1;
            overflow-y: auto;
            padding: 0 20px 20px;
        }

        .toc-list {
            list-style: none;
        }

        .toc-item {
            padding: 12px 0;
            border-bottom: 1px solid #f1f1f1;
            transition: background-color 0.3s;
        }

        body.night-mode .toc-item {
            border-bottom-color: #444;
        }

        .toc-item:hover {
            background-color: #f9f9f9;
        }

        body.night-mode .toc-item:hover {
            background-color: #3a3a3a;
        }

        .toc-item.current {
            background-color: #e8f4fd;
        }

        body.night-mode .toc-item.current {
            background-color: #1a3a5f;
        }

        .toc-item a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #333;
            font-size: 16px;
            transition: color 0.3s;
        }

        body.night-mode .toc-item a {
            color: #d9d9d9;
        }

        .toc-item a:hover {
            color: #3498db;
        }

        .toc-item.current a {
            color: #3498db;
            font-weight: bold;
        }

        .toc-chapter-title {
            flex: 1;
        }

        .toc-chapter-info {
            font-size: 14px;
            color: #7f8c8d;
            margin-left: 15px;
        }

        body.night-mode .toc-chapter-info {
            color: #a0a0a0;
        }

        .toc-empty {
            text-align: center;
            padding: 40px 20px;
            color: #7f8c8d;
        }

        body.night-mode .toc-empty {
            color: #a0a0a0;
        }

        .toc-load-more {
            text-align: center;
            padding: 20px 0;
        }

        .toc-load-more button {
            padding: 10px 20px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .toc-load-more button:hover {
            background-color: #2980b9;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .novel-list {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .footer-content {
                flex-direction: column;
            }

            .footer-section {
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
                padding: 10px 0;
            }

            .logo {
                font-size: 24px;
                margin-bottom: 10px;
            }

            .search-box {
                display: none;
            }

            .mobile-search-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .user-actions {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .user-actions a {
                font-size: 12px;
            }

            .login-btn {
                display: none;
            }

            .mobile-login-btn {
                display: block;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #2c3e50;
                z-index: 1001;
            }

            body.night-mode .nav-menu {
                background-color: #252525;
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid #34495e;
            }

            body.night-mode .nav-menu li {
                border-bottom-color: #444;
            }

            .nav-menu a {
                padding: 12px 20px;
            }

            .novel-list {
                grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            }

            .reader-content {
                padding: 20px;
                font-size: 16px;
            }

            .reader-controls {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }

            .reader-footer {
                flex-direction: column;
                gap: 15px;
            }

            .progress-bar {
                margin: 10px 0;
                width: 100%;
            }

            .toc-container {
                width: 95%;
                height: 90%;
            }

            .toc-header {
                padding: 15px;
            }

            .toc-search {
                padding: 10px 15px;
            }

            .toc-content {
                padding: 0 15px 15px;
            }

            .toc-item a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .nav-menu li {
                flex: 1 0 100%;
            }

            .novel-list {
                grid-template-columns: repeat(2, 1fr);
            }

            .section-title {
                font-size: 18px;
            }

            #back-to-top {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .logo {
                font-size: 20px;
            }

            .user-actions {
                gap: 8px;
            }

            .mobile-login-btn {
                padding: 6px 12px;
                font-size: 12px;
            }

            .novel-title {
                font-size: 24px;
            }

            .chapter-title {
                font-size: 18px;
            }

            .toc-title {
                font-size: 18px;
            }
        }
        
        /* 阅读器控制栏 */
        .reader-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .font-controls, .theme-controls, .translation-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .control-btn {
            padding: 6px 12px;
            background-color: #ecf0f1;
            border: 1px solid #bdc3c7;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .control-btn:hover {
            background-color: #d5dbdb;
        }
        
        .font-size-display {
            min-width: 40px;
            text-align: center;
        }
        
        /* 阅读内容区域 */
        .reader-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            font-size: 18px;
            line-height: 1.8;
            transition: all 0.3s;
        }
        
        body.night-mode .reader-content {
            color: #ddd;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .reader-content p {
            margin-bottom: 1.2em;
            text-indent: 2em;
        }
        
        .chapter-end {
            text-align: center;
            font-style: italic;
            color: #95a5a6;
            margin-top: 30px;
            text-indent: 0;
        }
        
        /* 翻译相关样式 */
        .translation-container {
            display: none;
            margin-top: 20px;
        }
        
        .translation-content {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            font-size: 18px;
            line-height: 1.8;
        }
        
        body.night-mode .translation-content {
            background-color: #2d2d2d;
            color: #ddd;
        }
        
        .comparison-mode {
            display: flex;
            flex-direction: row;
            gap: 20px;
        }
        
        .comparison-original, .comparison-translation {
            flex: 1;
            background-color: #f8f9fa;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        body.night-mode .comparison-original,
        body.night-mode .comparison-translation {
            background-color: #2d2d2d;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .comparison-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        body.night-mode .comparison-header {
            border-bottom-color: #4a5f7a;
        }
        
        .comparison-title {
            font-weight: bold;
            color: #3498db;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            .reader-controls {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .font-controls, .theme-controls, .translation-controls {
                width: 100%;
                justify-content: space-between;
                margin-bottom: 10px;
            }
            
            .reader-content, .translation-content {
                padding: 20px;
                font-size: 16px;
            }
            
            .comparison-mode {
                flex-direction: column;
            }
            
            .comparison-original, .comparison-translation {
                margin-bottom: 20px;
            }
        }