.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: 10px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 12px;
    height: 100px;     /* 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: 80px;
    }
}

.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;
}

/* 手机端封面随高度缩小 */
/*@media (max-width: 768px) {*/
/*    */
/*    .content-wrapper .card-wrapper .music-card .cover {*/
/*            !*width: 85px;*!*/
/*            height: 100%;*/
/*        }*/
/*}*/


/* 中间信息区整体布局 */
.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: 11px;
    font-weight: 400;
    color: #bbb;
    line-height: 1.3;
}

/* ————————————————
   标签栏（水平排列）
   ———————————————— */
.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: 40px;
    height: 40px;
    opacity: 1.0;
    border-radius: 50%;   /* ⭐ 变成圆形 */
    object-fit: cover;    /* ⭐（可选）防止图像拉伸变形 */
}

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

}
.content-wrapper .music-card .info .clock img {
    width: 25px;
    height: 25px;
    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: 15px;
        height: 15px;
    }
    .content-wrapper .music-card .info .clock img {
        width: 15px;
        height: 15px;
    }

}


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


/* 手机端封面随高度缩小 */
@media (max-width: 768px) {
    .content-wrapper .music-card .info .info_tag .name,
    .content-wrapper .music-card .info .info_tag .num {
        font-size: 10px;
        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;
}


 /*{#滚动音乐卡片封面上的图标样式---播放图标，动态音柱-----------------------------------#}*/
.cover-wrapper {
    position: relative;
    display: inline-block;
}
.cover {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.play-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* 半透明圆 + 箭头 */
.play-circle {
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cover-wrapper:hover .play-circle {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
}
.play-arrow {
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* 暂停两竖条 */
.pause-bars {
    display: flex;
    gap: 6px;
}
.pause-bars div {
    width: 8px;
    height: 24px;
    background: white;
    border-radius: 2px;
}

/* 音波三条柱子 */
.audio-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 24px;
}
.audio-bars div {
    width: 6px;
    background: linear-gradient(to top, #fff, #ccc);
    border-radius: 2px;
    animation: bounce 0.6s infinite alternate;
}
.audio-bars div:nth-child(2) { animation-delay: 0.2s; }
.audio-bars div:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0% { height: 6px; }
    50% { height: 24px; }
    100% { height: 6px; }
}


/*{#播放条上的封面上的图标样式---播放图标，动态音柱-----------------------------------#}*/

/* 播放条封面整体容器 */
.p-cover-wrapper {
    position: relative;
    width: 60px; /* 你可以改成你播放器封面想要的尺寸 */
    height: 60px;
}

/* 播放条封面图片 */
.p-cover-wrapper .p-cover {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* 覆盖层（放播放箭头 / 音波） */
.p-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* 让点击事件落到 wrapper */
}

/* 播放条 — 播放箭头尺寸缩小 */
.p-cover-wrapper .play-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-cover-wrapper .play-arrow {
    width: 0;
    height: 0;
    border-left: 14px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

/* 播放条 — 音波三条柱子（尺寸更小） */
.p-cover-wrapper .audio-bars {
    display: flex;
    gap: 3px;
}

.p-cover-wrapper .audio-bars div {
    width: 3px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: barDance 0.9s infinite ease-in-out;
}

.p-cover-wrapper .audio-bars div:nth-child(1) {
    animation-delay: 0s;
}
.p-cover-wrapper .audio-bars div:nth-child(2) {
    animation-delay: 0.2s;
}
.p-cover-wrapper .audio-bars div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes barDance {
    0% { height: 6px; }
    50% { height: 16px; }
    100% { height: 6px; }
}



















