/* 基础重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-text-size-adjust: 100%;
            -webkit-tap-highlight-color: transparent;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
            background: #f8f9fa;
            max-width: 100%;
            overflow-x: hidden;
        }
        
        a {
            color: #1a73e8;
            text-decoration: none;
            transition: color 0.2s;
        }
        
        a:hover {
            color: #0d47a1;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        ul {
            list-style: none;
        }
        
        /* 头部样式 */
        .site-header {
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            color: white;
            padding: 12px 15px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .site-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-text {
            font-size: 22px;
            font-weight: bold;
            background: white;
            color: #1e3c72;
            padding: 3px 10px;
            border-radius: 6px;
            letter-spacing: 1px;
        }
        
        .site-domain {
            font-size: 12px;
            opacity: 0.9;
            color: rgba(255,255,255,0.9);
        }
        
        .header-actions {
            display: flex;
            gap: 10px;
        }
        
        .header-btn {
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            text-decoration: none;
        }
        
        /* 搜索框 */
        .search-container {
            background: rgba(255,255,255,0.1);
            border-radius: 25px;
            padding: 8px;
            backdrop-filter: blur(10px);
        }
        
        .search-form {
            display: flex;
        }
        
        .search-input {
            flex: 1;
            border: none;
            background: white;
            padding: 10px 15px;
            border-radius: 20px 0 0 20px;
            font-size: 14px;
            outline: none;
        }
        
        .search-button {
            background: #ff6b35;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 0 20px 20px 0;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
        }
        
        /* 主导航 */
        .main-nav {
            background: white;
            border-bottom: 1px solid #e0e0e0;
            position: sticky;
            top: 86px;
            z-index: 999;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .nav-container {
            display: flex;
            min-width: max-content;
            padding: 0 10px;
        }
        
        .nav-item {
            padding: 14px 16px;
            white-space: nowrap;
            color: #555;
            font-size: 14px;
            position: relative;
            text-decoration: none;
            border-bottom: 3px solid transparent;
        }
        
        .nav-item.active {
            color: #1e3c72;
            border-bottom-color: #1e3c72;
            font-weight: 500;
        }
        
        /* 主要内容区 */
        .main-container {
            padding: 15px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #1e3c72;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }
        
        .section-more {
            font-size: 13px;
            color: #666;
        }
        
        /* 热门小说推荐 */
        .hot-books {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .hot-book-item {
            display: flex;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .hot-book-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .book-cover {
            width: 100px;
            height: 130px;
            flex-shrink: 0;
            margin-right: 15px;
            border-radius: 6px;
            overflow: hidden;
            background: #f5f5f5;
        }
        
        .book-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .book-info {
            flex: 1;
        }
        
        .book-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        
        .book-title a {
            color: #333;
        }
        
        .book-description {
            color: #666;
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .book-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #888;
        }
        
        .book-author {
            color: #666;
        }
        
        .book-stats {
            display: flex;
            gap: 15px;
        }
        
        .word-count {
            color: #ff6b35;
        }
        
        .update-time {
            color: #1e3c72;
        }
        
        /* 人气小说榜 */
        .popular-rank {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .rank-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .rank-column {
            flex: 1;
            min-width: 0;
        }
        
        .rank-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
        }
        
        .rank-category {
            display: inline-block;
            padding: 2px 8px;
            background: #f0f7ff;
            color: #1e3c72;
            border-radius: 4px;
            font-size: 12px;
            margin-right: 10px;
            min-width: 36px;
            text-align: center;
        }
        
        .rank-title {
            flex: 1;
            font-size: 14px;
            margin-right: 10px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .rank-title a {
            color: #333;
        }
        
        .rank-author {
            font-size: 12px;
            color: #888;
            min-width: 60px;
            text-align: right;
        }
        
        /* 分类小说列表 */
        .category-lists {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .category-box {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .category-header {
            margin-bottom: 15px;
        }
        
        .category-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }
        
        .book-list {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .book-list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px dashed #f0f0f0;
        }
        
        .book-list-item:last-child {
            border-bottom: none;
        }
        
        .list-book-title {
            flex: 1;
            font-size: 14px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-right: 10px;
        }
        
        .list-book-author {
            font-size: 12px;
            color: #888;
            min-width: 50px;
            text-align: right;
        }
        
        /* 最新入库和最近更新 */
        .new-updates {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .update-box {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .update-list {
            max-height: 400px;
            overflow-y: auto;
        }
        
        .update-item {
            display: flex;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
        }
        
        .update-item:last-child {
            border-bottom: none;
        }
        
        .update-category {
            width: 36px;
            font-size: 12px;
            color: #888;
            margin-right: 10px;
            flex-shrink: 0;
        }
        
        .update-content {
            flex: 1;
            min-width: 0;
        }
        
        .update-title {
            font-size: 14px;
            margin-bottom: 3px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .update-chapter {
            font-size: 12px;
            color: #666;
            margin-bottom: 3px;
        }
        
        .update-meta {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: #999;
        }
        
        /* 页脚 */
        .site-footer {
            background: #333;
            color: #aaa;
            padding: 25px 15px;
            margin-top: 30px;
            font-size: 13px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin: 15px 0;
        }
        
        .footer-links a {
            color: #ddd;
            text-decoration: none;
        }
        
        .copyright {
            color: #888;
            margin-top: 15px;
            line-height: 1.6;
        }
        
        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: #1e3c72;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 20px;
            box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
            z-index: 1000;
            border: none;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .back-to-top.show {
            opacity: 1;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-actions {
                gap: 6px;
            }
            
            .header-btn {
                padding: 5px 10px;
                font-size: 12px;
            }
            
            .logo-text {
                font-size: 20px;
                padding: 3px 8px;
            }
            
            .nav-item {
                padding: 12px 14px;
                font-size: 13px;
            }
            
            .hot-book-item {
                flex-direction: column;
            }
            
            .book-cover {
                width: 100%;
                height: 180px;
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .category-lists,
            .new-updates {
                grid-template-columns: 1fr;
            }
            
            .rank-list {
                grid-template-columns: 1fr;
            }
            
            .main-container {
                padding: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .site-header {
                padding: 10px 12px;
            }
            
            .header-top {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .header-actions {
                width: 100%;
                justify-content: space-between;
            }
            
            .search-input {
                padding: 8px 12px;
                font-size: 13px;
            }
            
            .search-button {
                padding: 8px 15px;
            }
            
            .section-title {
                font-size: 16px;
            }
        }
        
        /* 滚动条样式 */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        /* 工具类 */
        .clearfix::after {
            content: "";
            display: table;
            clear: both;
        }
        
        .text-ellipsis {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .mb-15 {
            margin-bottom: 15px;
        }
        
        .mt-20 {
            margin-top: 20px;
        }