/* ==================== AI音乐分享网站 - 极简自定义样式 ==================== */

body {
    background-color: #f5f5f5;
    font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

/* 品牌图标 */
.brand-icon {
    color: #ff6b6b;
    font-size: 1.3em;
}

/* 轮播图高度限制 */
.carousel-img {
    height: 320px;
    object-fit: cover;
}

/* 排行榜序号徽章 */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #6c757d;
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* 前 3 名特殊颜色 */
.list-group-item:nth-child(1) .rank-badge { background-color: #dc3545; }
.list-group-item:nth-child(2) .rank-badge { background-color: #fd7e14; }
.list-group-item:nth-child(3) .rank-badge { background-color: #ffc107; color: #333; }

/* 音乐卡片 */
.music-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.music-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 音乐缩略图 */
.music-thumb {
    height: 160px;
    object-fit: cover;
}

/* 播放页封面 */
.play-cover {
    max-height: 360px;
    object-fit: contain;
}

/* 小缩略图 */
.thumb-sm {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* 点赞按钮动画 */
#likeBtn.liked {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
#likeBtn.liked #likeIcon::after {
    content: '❤';
}

/* 卡片阴影统一 */
.card {
    border: none;
    border-radius: 0.5rem;
}

/* 页脚固定底部 */
.footer {
    margin-top: 3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-img { height: 200px; }
    .music-thumb { height: 120px; }
}
