.tag-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.tag-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.tag-info h1 {
    font-size: 28px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hot-badge {
    font-size: 12px;
    background: #ff4646;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: normal;
}

.tag-stats {
    color: var(--text-muted);
    font-size: 14px;
}

.tag-stats span {
    margin-right: 24px;
}

.tag-stats strong {
    color: var(--primary);
}

.book-list {
    display: flex;
    flex-direction: column;
}

.book-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--border);
}

.book-item:last-child {
    border-bottom: none;
}

.book-cover {
    width: 120px;
    height: 160px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.book-author {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.book-intro {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.meta-tag {
    color: var(--primary);
    border: 1px solid rgba(240, 68, 68, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 14px;
    background: #fff;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .disabled span {
    opacity: 0.5;
    background: #f5f5f5;
}

.tag-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .tag-header {
        flex-direction: column;
        text-align: center;
    }

    .book-item {
        gap: 12px;
        padding: 16px 0;
    }

    .book-cover {
        width: 90px;
        height: 120px;
    }
}

