* { margin: 0; padding: 0; box-sizing: border-box; }

a { text-decoration: none; color: inherit; }

ul, ol { list-style: none; }

.nav-links { display: flex; gap: 20px; }

.breadcrumb a { color: #333; }

.breadcrumb a:hover { color: var(--primary-color); }

:root { --primary-color: #e53935; --text-color: #333; --bg-color: #f5f5f5; --box-bg: #fff; }

body { font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

header { background: var(--box-bg); box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; }

.logo { font-size: 24px; font-weight: bold; color: var(--primary-color); }

.nav-links a { font-size: 16px; padding: 5px 0; border-bottom: 2px solid transparent; transition: all 0.3s; }

.nav-links a:hover, .nav-links a.active { border-color: var(--primary-color); color: var(--primary-color); }

.search-box { display: flex; }

.search-box input { border: 1px solid #ddd; padding: 5px 10px; border-radius: 4px 0 0 4px; outline: none; }

.search-box button { background: var(--primary-color); color: #fff; border: none; padding: 5px 15px; border-radius: 0 4px 4px 0; cursor: pointer; }

main { padding: 20px 0; }

.breadcrumb { padding: 10px 15px; background: var(--box-bg); border-radius: 4px; margin-bottom: 20px; font-size: 14px; color: #666; }

.filter-box { background: var(--box-bg); padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.filter-row { display: flex; margin-bottom: 15px; align-items: flex-start; }

.filter-row:last-child { margin-bottom: 0; }

.filter-label { font-weight: bold; color: #555; width: 60px; flex-shrink: 0; margin-top: 5px; }

.filter-items { display: flex; flex-wrap: wrap; gap: 10px; }

.filter-items a { padding: 4px 12px; border-radius: 4px; font-size: 14px; color: #555; transition: 0.3s; }

.filter-items a:hover { background: #f0f0f0; color: var(--primary-color); }

.filter-items a.active { background: var(--primary-color); color: #fff; }

.list-wrap { background: var(--box-bg); padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.book-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }

.book-item:last-child { border-bottom: none; }

.book-cover { width: 120px; height: 160px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }

.book-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }

.book-title { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 5px; }

.book-title:hover { color: var(--primary-color); }

.book-meta { font-size: 13px; color: #888; margin-bottom: 10px; display: flex; gap: 15px; }

.book-meta span i { color: var(--primary-color); font-style: normal; }

.book-desc { font-size: 14px; color: #666; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.8; }

.book-latest { font-size: 13px; color: #888; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.book-latest a { color: #555; margin-left: 5px; }

.book-latest a:hover { color: var(--primary-color); }

.pagination { display: flex; justify-content: center; margin-top: 30px; gap: 5px; }

.pagination a, .pagination span { padding: 8px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: #fff; color: #333; }

.pagination a:hover { background: #f5f5f5; color: var(--primary-color); border-color: var(--primary-color); }

.pagination .active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

footer { background: #333; color: #ccc; text-align: center; padding: 20px 0; margin-top: 30px; font-size: 14px; }

footer a { color: #fff; }

.mobile-nav { display: none; }

@media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-nav { display: flex; overflow-x: auto; white-space: nowrap; background: var(--box-bg); padding: 10px 15px; gap: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
            .mobile-nav::-webkit-scrollbar { display: none; }
            .mobile-nav a { font-size: 15px; }
            .search-box { display: none; }
            
            .filter-label { width: 50px; }
            .book-cover { width: 90px; height: 120px; }
            .book-title { font-size: 16px; }
            .book-desc { -webkit-line-clamp: 2; }
            .book-meta { gap: 10px; }
        }