.img-thumbnail {
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-group .btn {
    border-radius: 20px;
    margin: 0 5px;
}

.list-group-item {
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* 相关推荐样式优化 */
.recommendation-item {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recommendation-item:hover .book-cover-container {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.book-link {
    display: block;
    text-decoration: none;
}

.book-cover-container {
    position: relative;
    width: 100%;
    padding-bottom: 128.57%; /* 90/70 比例 */
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.book-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 20px 12px 12px;
    color: #fff;
    transition: all 0.3s ease;
}

.book-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.book-views {
    font-size: 11px;
    opacity: 0.9;
}

.book-views i {
    margin-right: 4px;
    font-size: 10px;
}

.recommendation-item:hover .book-cover {
    transform: scale(1.05);
}

.recommendation-item:hover .book-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
}


/* 响应式调整 */
@media (max-width: 768px) {
    .panel-title {
        font-size: 16px;
    }

    .btn-group .btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    .media-object {
        width: 50px !important;
        height: 65px !important;
    }

    .book-overlay {
        padding: 18px 10px 10px;
    }

    .book-title {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .book-views {
        font-size: 10px;
    }

    .book-views i {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .book-overlay {
        padding: 15px 8px 8px;
    }

    .book-title {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .book-views {
        font-size: 9px;
    }

    .book-views i {
        font-size: 8px;
    }
}