
.content-wrapper {
      height: 100%;
    display: flex;
    flex-direction: column;
  }

.content-wrapper .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* 行与行间距统一为 10px */
    padding: 20px;
    height: 100%;

    overflow-y: auto; /* 内容超出时滚动 */
}

/* 手机端自动变成1列布局 */
@media (max-width: 768px) {
    .content-wrapper .card-wrapper {
        grid-template-columns: 1fr;
        padding: 5px;
    }
}

/* ------- 卡片样式（深色质感 + 固定高度）------ */
.content-wrapper .card-wrapper .music-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 12px;
    height: 200px;     /* PC端高度 */
    transition: 0.25s;
}

.content-wrapper .card-wrapper .music-card:hover {
    background: var(--grad);
  }


/* 手机端卡片高度：80px */
@media (max-width: 768px) {
    .content-wrapper .card-wrapper .music-card {
        height: 150px;
    }
}

.content-wrapper .card-wrapper .music-card .cover-wrapper{
        height: 100%;
        aspect-ratio: 1 / 1; /* 宽度 = 高度 */
}

/* 封面图 */
.content-wrapper .card-wrapper .music-card .cover {
    /*width: 95px;*/
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* 中间信息区整体布局 */
.content-wrapper .music-card .info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中更漂亮 */
    gap: 5px;                /* 三段之间间距 */
    flex: 1;                 /* 占据中间空间 */
}

/* ————————————————
   标题（加粗、大一点）
   ———————————————— */
.content-wrapper .music-card .info .audio-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

/* ————————————————
   描述（小一点、浅色、细字体）
   ———————————————— */
.content-wrapper .music-card .info .desc {
    font-size: 12px;
    font-weight: 500;
    color: #bbb;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7; /* 限制显示 7行 */
    overflow: hidden;
    text-overflow: ellipsis;

    word-break: break-word;
    overflow-wrap: break-word;
    line-break: anywhere;
}
@media (max-width: 768px) {
    .content-wrapper .music-card .info .desc{
        font-size: 10px;
    }

}


/* ————————————————
   标签栏（水平排列）
   ———————————————— */
.content-wrapper .music-card .info .info_tag {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* info_tag 内单个模块（avatar / play / clock） */
.content-wrapper .music-card .info .info_tag > div {
    display: flex;
    align-items: center;
    gap: 2px;
}


/* 小图标统一尺寸 */
.content-wrapper .music-card .info .avatar img {
    width: 30px;
    height: 30px;
    opacity: 1.0;
    border-radius: 50%;   /* ⭐ 变成圆形 */
    object-fit: cover;    /* ⭐（可选）防止图像拉伸变形 */
}

.content-wrapper .music-card .info .play img {
    width: 20px;
    height: 20px;
    opacity: 1.0;

}
.content-wrapper .music-card .info .clock img {
    width: 20px;
    height: 20px;
    opacity: 1.0;

}


/* 手机端封面随高度缩小 */
@media (max-width: 768px) {
    .content-wrapper .music-card .info .avatar img {
        width: 30px;
        height: 30px;
    }
    .content-wrapper .music-card .info .play img {
        width: 20px;
        height: 20px;
    }
    .content-wrapper .music-card .info .clock img {
        width: 20px;
        height: 20px;
    }

}


/* 小文字与 desc 一致 */
.content-wrapper .music-card .info .info_tag .name,
.content-wrapper .music-card .info .info_tag .num {
    font-size: 14px;
    color: #ccc;
}


/* 手机端封面随高度缩小 */
@media (max-width: 768px) {
    .content-wrapper .music-card .info .info_tag .name,
    .content-wrapper .music-card .info .info_tag .num {
        font-size: 12px;
        color: #ccc;
    }

}



.content-wrapper .music-card .right-icons {
    display: flex;
    flex-direction: column;  /* 垂直排列 */
    justify-content: center; /* 垂直居中 */
    align-items: center;       /* 横向靠右 */
    gap: 14px;                /* 图标之间间距 */
    width: 40px;             /* 让它靠右保持稳定 */
    margin-left: auto;
}


.content-wrapper .music-card .right-icons img {
    width: 22px;
    height: 22px;
}


.content-wrapper .player-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.content-wrapper .p-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-wrapper .p-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.content-wrapper .p-title {
    color: #fff;
    font-size: 14px;
}

.content-wrapper .p-time {
    color: #aaa;
    font-size: 12px;
}

.content-wrapper .p-center {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 40%;
}

.content-wrapper .btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
}

.content-wrapper .play {
    font-size: 22px;
}

.content-wrapper .progress {
    width: 60%;
}

.content-wrapper .p-right {
    font-size: 16px;
    color: #fff;
}

