
    .recommend-container {
    padding: 20px;
}

.category-tabs {
    margin-bottom: 20px;
}

.category-tabs a {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    border-radius: 16px;
    color: #666;
    text-decoration: none;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}
.category-tabs a.active {
    background: #e6f3ff;
    color: #1890ff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    padding: 15px;
}


.video-cover {
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-stats {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.voice-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.make-btn {
    width: 100%;
    padding: 8px;
    border: none;
    background: #1890ff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.make-btn:hover {
    background: #40a9ff;
}
.video-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-cover .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-cover .play-icon i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.video-cover:hover .play-icon {
    opacity: 1;
}

.video-cover:hover img {
    transform: scale(1.05);
}
/* 保持原有样式 */
.voice-card-preview {
    padding: 20px;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 4px;
    margin-bottom: 4px;
    color: white;
}

.tag-green { background-color: #52c41a; }
.tag-blue { background-color: #1890ff; }
.tag-orange { background-color: #fa8c16; }
.tag-red { background-color: #f5222d; }
.tag-purple { background-color: #722ed1; }
.tag-yellow { background-color: #fadb14; color: #000; }
</style>

<style>
.voice-name {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.voice-name:hover {
    text-decoration: underline;
}

.voice-card-preview {
    padding: 20px;
}
.voice-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.voice-name {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #007bff;
}

.voice-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.likes {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 14px;
}

.likes i {
    color: #999;
}
