/* 基础重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
            background-color: #f5f5f5;
            min-height: 100vh;
        }
        
        a {
            text-decoration: none;
            color: #333;
        }
        
        ul, ol {
            list-style: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
            vertical-align: middle;
        }
        
        /* 头部样式 */
        .site-header {
            background: linear-gradient(to right, #1e87f0, #0a6bca);
            padding: 10px 12px;
            color: white;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .site-logo {
            display: flex;
            flex-direction: column;
        }
        
        .logo-text {
            font-size: 22px;
            font-weight: bold;
            line-height: 1.2;
        }
        
        .site-domain {
            font-size: 12px;
            opacity: 0.9;
            margin-top: 2px;
        }
        
        .header-actions {
            display: flex;
            gap: 8px;
        }
        
        .header-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 12px;
            border: none;
            white-space: nowrap;
        }
        
        .header-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .search-container {
            margin-top: 10px;
        }
        
        .search-form {
            display: flex;
            gap: 8px;
        }
        
        .search-input {
            flex: 1;
            padding: 10px 12px;
            border: none;
            border-radius: 20px;
            font-size: 14px;
            background: white;
        }
        
        .search-button {
            background: #ff6b35;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            white-space: nowrap;
        }
        
        .search-button:hover {
            background: #ff5722;
        }
        
        /* 主导航 */
        .main-nav {
            background: white;
            border-bottom: 1px solid #e0e0e0;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            padding: 0 12px;
        }
        
        .nav-container {
            display: inline-flex;
            min-width: 100%;
        }
        
        .nav-item {
            padding: 12px 10px;
            font-size: 14px;
            color: #666;
            position: relative;
            display: inline-block;
        }
        
        .nav-item.active {
            color: #1e87f0;
            font-weight: bold;
        }
        
        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: #1e87f0;
            border-radius: 1.5px;
        }
        
        /* 主要内容区域 */
        .main-container {
            padding: 12px;
        }
        
        /* 热门小说推荐 */
        .hot-books {
            background: white;
            border-radius: 8px;
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .section-header {
            padding: 12px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            position: relative;
            padding-left: 10px;
        }
        
        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 16px;
            background: #1e87f0;
            border-radius: 1.5px;
        }
        
        .section-more {
            color: #1e87f0;
            font-size: 12px;
        }
        
        .hot-book-item {
            padding: 12px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            gap: 12px;
        }
        
        .hot-book-item:last-child {
            border-bottom: none;
        }
        
        .book-cover {
            width: 80px;
            flex-shrink: 0;
        }
        
        .book-cover img {
            width: 80px;
            height: 106px;
            object-fit: cover;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .book-info {
            flex: 1;
            min-width: 0;
        }
        
        .book-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 6px;
            line-height: 1.3;
        }
        
        .book-title a:hover {
            color: #1e87f0;
        }
        
        .book-description {
            font-size: 13px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .book-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #999;
        }
        
        .book-author {
            color: #1e87f0;
        }
        
        .book-stats {
            display: flex;
            gap: 10px;
        }
        
        /* 人气小说榜 */
        .popular-rank {
            background: white;
            border-radius: 8px;
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .rank-list {
            padding: 12px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        
        .rank-column {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .rank-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            border-bottom: 1px dashed #f0f0f0;
        }
        
        .rank-item:last-child {
            border-bottom: none;
        }
        
        .rank-category {
            font-size: 11px;
            background: #f0f7ff;
            color: #1e87f0;
            padding: 2px 6px;
            border-radius: 3px;
            flex-shrink: 0;
        }
        
        .rank-title {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .rank-title a:hover {
            color: #1e87f0;
        }
        
        .rank-author {
            font-size: 12px;
            color: #999;
            flex-shrink: 0;
        }
        
        /* 小说分类列表 */
        .category-lists {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .category-box {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .category-header {
            padding: 12px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .category-title {
            font-size: 16px;
            font-weight: bold;
        }
        
        .category-title a:hover {
            color: #1e87f0;
        }
        
        .book-list {
            padding: 0 12px;
        }
        
        .book-list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px dashed #f0f0f0;
        }
        
        .book-list-item:last-child {
            border-bottom: none;
        }
        
        .list-book-title {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-right: 10px;
        }
        
        .list-book-title a:hover {
            color: #1e87f0;
        }
        
        .list-book-author {
            font-size: 12px;
            color: #999;
            flex-shrink: 0;
        }
        
        /* 最新入库和最近更新 */
        .new-updates {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }
        
        @media (min-width: 768px) {
            .new-updates {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .update-box {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .update-list {
            padding: 12px;
        }
        
        .update-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px dashed #f0f0f0;
        }
        
        .update-item:last-child {
            border-bottom: none;
        }
        
        .update-category {
            font-size: 11px;
            background: #f0f7ff;
            color: #1e87f0;
            padding: 2px 6px;
            border-radius: 3px;
            flex-shrink: 0;
        }
        
        .update-content {
            flex: 1;
            min-width: 0;
        }
        
        .update-title {
            margin-bottom: 4px;
        }
        
        .update-title a {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .update-title a:hover {
            color: #1e87f0;
        }
        
        .update-chapter {
            margin-bottom: 4px;
        }
        
        .update-chapter a {
            font-size: 12px;
            color: #666;
        }
        
        .update-chapter a:hover {
            color: #1e87f0;
        }
        
        .update-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }
        
        /* 页脚 */
        .site-footer {
            background: white;
            padding: 20px 12px;
            margin-top: 20px;
            border-top: 1px solid #e0e0e0;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }
        
        .footer-links a {
            color: #666;
            font-size: 13px;
        }
        
        .footer-links a:hover {
            color: #1e87f0;
        }
        
        .copyright {
            text-align: center;
            font-size: 12px;
            color: #999;
            line-height: 1.6;
        }
        
        .copyright p {
            margin-bottom: 5px;
        }
        
        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: #1e87f0;
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background: #0a6bca;
            transform: translateY(-2px);
        }
        
        /* 响应式调整 */
        @media (max-width: 480px) {
            .header-actions {
                display: none;
            }
            
            .rank-list {
                grid-template-columns: 1fr;
            }
            
            .category-lists {
                grid-template-columns: 1fr;
            }
            
            .book-description {
                -webkit-line-clamp: 2;
            }
        }
        
        @media (max-width: 375px) {
            .site-header {
                padding: 8px 10px;
            }
            
            .main-container {
                padding: 10px;
            }
            
            .book-cover {
                width: 70px;
            }
            
            .book-cover img {
                width: 70px;
                height: 93px;
            }
            
            .book-title {
                font-size: 15px;
            }
            
            .book-description {
                font-size: 12px;
            }
        }
        
        /* 滚动条样式 */
        ::-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;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .hot-book-item,
        .rank-item,
        .book-list-item,
        .update-item {
            animation: fadeIn 0.3s ease-out;
        }