/* =========================================================
   迷你播放器（音乐/视频列表页底部，统一风格）
   粉色马卡龙风：呼应主页可爱二次元风格
   ========================================================= */

.mini-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 250, 252, 0.94);
    border-top: 1px solid rgba(255, 143, 192, 0.35);
    box-shadow: 0 -4px 20px rgba(255, 143, 192, 0.25);
    color: #5c4a55;
    box-sizing: border-box;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mini-cover {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd9e8, #c9e9f7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid rgba(255, 158, 203, 0.55);
    box-shadow: 0 3px 12px rgba(255, 143, 192, 0.35);
}

.mini-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.mini-video {
    width: 176px;
    height: 99px;
    flex: 0 0 176px;
    border-radius: 14px;
    background: #000;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid rgba(255, 158, 203, 0.35);
}

.mini-info {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    padding: 2px 0;
}

.mini-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5c4a55;
}

.mini-artist {
    font-size: 11px;
    color: #b0889c;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #ff77b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 10px rgba(255, 143, 192, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.mini-btn:hover {
    background: #fff0f6;
    transform: scale(1.05);
}

.mini-btn svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.mini-btn-play {
    background: linear-gradient(135deg, #ffb3d9, #ff8fc0);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 143, 192, 0.45);
}

.mini-btn-play:hover {
    background: linear-gradient(135deg, #ff8fc0, #ff77b0);
}

.mini-btn-play svg {
    width: 18px;
    height: 18px;
}

.mini-progress {
    flex: 0 1 200px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 143, 192, 0.2);
    cursor: pointer;
    position: relative;
    min-width: 80px;
    max-width: 240px;
}

.mini-progress-current {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffb3d9, #ff8fc0 55%, #7ec8e3);
    width: 0;
    box-shadow: 0 0 8px rgba(255, 143, 192, 0.6);
}

.mini-time {
    flex: 0 0 auto;
    font-size: 11px;
    color: #b0889c;
    min-width: 34px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.mini-vol {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-vol-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #d9759f;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mini-vol-btn:hover {
    background: #fff0f6;
    color: #ff77b0;
}

.mini-vol-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.mini-vol-slider {
    width: 64px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 143, 192, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.mini-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ff8fc0;
    border: 2px solid #fff;
    cursor: pointer;
}

.mini-vol-slider::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ff8fc0;
    border: 2px solid #fff;
    cursor: pointer;
}

.mini-close {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #c4a8b8;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-close:hover {
    background: #fff0f6;
    color: #ff77b0;
}

.mini-close svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

@media (max-width: 560px) {
    .mini-player {
        gap: 8px;
        padding: 8px 10px;
    }

    .mini-cover {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mini-video {
        width: 128px;
        height: 72px;
        flex-basis: 128px;
    }

    .mini-artist {
        display: none;
    }

    .mini-time {
        display: none;
    }

    .mini-progress {
        flex-basis: 110px;
        min-width: 60px;
    }

    .mini-vol-slider {
        width: 46px;
    }
}

@media (max-width: 380px) {
    .mini-vol {
        display: none;
    }
}
