/* Bottom mini player polish based on 美化.html. */
.mini-player {
    --bottom-polish-pink: #ff6fa3;
    --bottom-polish-pink-soft: #ffdbec;
    --bottom-polish-ink: #a13e64;
}

.mini-player .mini-player-cover {
    flex: 0 0 56px;
    min-width: 56px;
    width: 56px;
    height: 56px;
    border: 3px solid rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    overflow: visible;
    background: linear-gradient(135deg, #ffb7cf, #ff90b5);
    box-shadow:
        0 12px 18px rgba(255, 80, 120, 0.25),
        0 0 0 7px rgba(255, 221, 236, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.mini-player .mini-player-cover::before {
    content: "";
    position: absolute;
    inset: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 16px;
    pointer-events: none;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.28);
}

.mini-player .mini-player-cover::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: auto;
    bottom: -8px;
    z-index: 0;
    height: 14px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at center, rgba(255, 111, 163, 0.58) 0%, rgba(255, 182, 214, 0.28) 48%, transparent 72%);
    filter: blur(2px);
    transform: none;
    pointer-events: none;
}

.mini-player .mini-player-cover img {
    position: absolute;
    inset: 7px;
    z-index: 3;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(140, 58, 92, 0.22);
}

.mini-player .mini-player-cover-fallback {
    inset: 7px;
    z-index: 3;
    border-radius: 15px;
    background: rgba(255, 245, 250, 0.36);
    color: rgba(161, 62, 100, 0.7);
}

.mini-player .mini-player-progress-track {
    top: -7px;
    left: 18px;
    right: 18px;
    height: 11px;
    z-index: 1;
    overflow: visible;
    border: 0;
    border-radius: 60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0) 48%),
        var(--bottom-polish-pink-soft);
    box-shadow:
        inset 0 1px 4px rgba(170, 70, 100, 0.2),
        0 1px 0 rgba(255, 255, 210, 0.8),
        0 4px 12px rgba(255, 128, 175, 0.14);
}

.mini-player .mini-player-main,
.mini-player .mini-player-controls,
.mini-player .mini-player-queue-btn {
    z-index: 20;
}

.mini-player .mini-player-queue-btn {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

.mini-player .mini-player-controls {
    opacity: 1;
    filter: none;
}

.mini-player .mini-player-btn {
    opacity: 1;
    color: #8f3158;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 5px 0 rgba(232, 170, 194, 0.88),
        0 10px 18px rgba(255, 80, 120, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mini-player .mini-player-btn:hover {
    color: var(--bottom-polish-ink);
    background: #fff7fb;
}

.mini-player .mini-player-btn i {
    display: inline-block;
    color: #8f3158 !important;
    opacity: 1 !important;
    font-size: 15px;
    line-height: 1;
}

.mini-player .mini-player-btn i::before {
    color: #8f3158 !important;
    opacity: 1 !important;
}

.mini-player .mini-player-btn-primary i {
    display: none;
}

.mini-player #miniPlayerPrev,
.mini-player #miniPlayerNext,
.mini-player #miniPlayerQueue {
    display: inline-flex;
}

.mini-player .mini-player-progress-track::before {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 3px;
    height: 2px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.62);
    pointer-events: none;
}

.mini-player .mini-player-progress {
    position: relative;
    min-width: 0;
    height: 100%;
    border-radius: 60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 52%),
        linear-gradient(90deg, #ff9bc2, var(--bottom-polish-pink), #ff89b5) !important;
    box-shadow: 0 1px 5px rgba(255, 80, 120, 0.48) !important;
}

.mini-player .mini-player-progress::after {
    content: "\1F380";
    position: absolute;
    right: -10px;
    top: 50%;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 23px;
    line-height: 1;
    box-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(255, 60, 120, 0.5));
    text-shadow: 0 0 2px #fff;
    transform: translateY(-50%);
    pointer-events: none;
}

.mini-player .mini-player-btn-primary {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--bottom-polish-ink);
    background:
        radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.92) 0 13%, transparent 14%),
        linear-gradient(145deg, #ffe3ef 0%, #ff9bc2 46%, #ff5f98 100%);
    box-shadow:
        0 7px 0 #cf6f99,
        0 16px 26px rgba(255, 80, 120, 0.34),
        inset 0 2px 0 rgba(255, 255, 255, 0.84),
        inset 0 -4px 8px rgba(207, 75, 128, 0.18);
}

.mini-player .mini-player-btn-primary:hover {
    color: var(--bottom-polish-ink);
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.82) 0 12%, transparent 13%),
        linear-gradient(145deg, #ffe1ee 0%, #ffa8c9 48%, #ff82b2 100%);
    transform: translateY(-1px);
    box-shadow:
        0 8px 0 #dd88aa,
        0 15px 22px rgba(255, 80, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mini-player .mini-player-btn-primary:focus,
.mini-player .mini-player-btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 7px 0 #dd88aa,
        0 0 0 5px rgba(255, 137, 185, 0.24),
        0 13px 20px rgba(255, 80, 120, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mini-player .mini-player-btn-primary:active {
    transform: translateY(3px);
    box-shadow:
        0 3px 0 #dd88aa,
        0 8px 14px rgba(255, 80, 120, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mini-player .mini-player-btn-primary::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #ffffff;
    filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.45));
}

.mini-player .mini-player-btn-primary.is-playing::before,
.mini-player .mini-player-btn-primary.is-playing::after {
    content: "";
    width: 6px;
    height: 21px;
    margin: 0 3px;
    border: 0;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.45);
}

@media (min-width: 769px) {
    .mini-player .mini-player-main {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mini-player .mini-player-controls {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 16px;
    }

    .mini-player .mini-player-queue-btn {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .mini-player .mini-player-progress-track {
        top: -6px;
        left: 24px;
        right: 24px;
        height: 10px;
        box-shadow:
            inset 0 1px 4px rgba(170, 70, 100, 0.18),
            0 1px 0 rgba(255, 255, 210, 0.8),
            0 5px 14px rgba(255, 128, 175, 0.16);
    }

    .mini-player .mini-player-btn-primary {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }

    .mini-player .mini-player-progress::after {
        right: -11px;
        font-size: 24px;
    }
}

@media (min-width: 1280px) {
    .mini-player .mini-player-progress-track {
        left: 28px;
        right: 28px;
    }
}

@media (max-width: 768px) {
    .mini-player .mini-player-progress-track {
        top: -7px;
        left: 18px;
        right: 18px;
        height: 11px;
    }

    .mini-player .mini-player-progress {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 52%),
            linear-gradient(90deg, #ff8fba, #ff5f98, #ff88b8) !important;
        box-shadow: 0 1px 7px rgba(255, 80, 120, 0.6) !important;
    }
}

/* Softer final palette pass: make the app feel like the bottom player. */
:root {
    --primary: #ff82b4;
    --primary-dark: #b989ef;
    --primary-light: rgba(206, 255, 244, 0.24);
    --secondary: #fff4c8;
    --accent: #d9fff5;
    --surface: rgba(255, 255, 255, 0.78);
    --bg-gray: #fffdfb;
    --border: rgba(255, 208, 228, 0.72);
    --border-light: rgba(214, 255, 246, 0.58);
    --text-primary: #514355;
    --text-secondary: rgba(81, 67, 85, 0.66);
    --player-primary: #ff82b4;
    --player-secondary: #b989ef;
}

body {
    background:
        linear-gradient(90deg, rgba(214, 255, 246, 0.36) 0%, rgba(255, 246, 199, 0.34) 32%, rgba(255, 211, 231, 0.34) 62%, rgba(203, 201, 255, 0.3) 100%),
        #fffdfb !important;
}

.sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 255, 252, 0.72)),
        rgba(255, 255, 255, 0.72) !important;
}

.top-list,
.search-input,
.search-suggestions {
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 255, 252, 0.76) 36%, rgba(255, 250, 229, 0.58) 62%, rgba(255, 244, 250, 0.64) 100%) !important;
    border: 1px solid rgba(255, 211, 231, 0.68) !important;
    box-shadow: 0 18px 44px rgba(185, 137, 239, 0.09) !important;
}

.list-header {
    border-bottom-color: rgba(214, 255, 246, 0.7) !important;
}

.sidebar-logo,
.menu-toggle,
.song-play,
.page-btn,
.suggestion-hot,
.playlist-panel-action-btn,
.confirm-btn-primary {
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.66) 0 12%, transparent 13%),
        linear-gradient(135deg, #ff86b6 0%, #bd86ee 100%) !important;
    box-shadow: 0 10px 22px rgba(185, 137, 239, 0.14) !important;
}

.sidebar-logo {
    color: #fff !important;
}

.nav-item.active,
.nav-item:hover {
    background:
        linear-gradient(90deg, rgba(214, 255, 246, 0.46), rgba(255, 246, 199, 0.34), rgba(255, 211, 231, 0.28)) !important;
    border-left-color: #ff82b4 !important;
    color: #7d578f !important;
}

.nav-item.active i,
.nav-item:hover i,
.list-title i,
.search-icon,
.song-count {
    color: #ff6fa8 !important;
}

.song-item,
.result-item {
    border-bottom-color: rgba(214, 255, 246, 0.54) !important;
}

.song-item:hover,
.result-item:hover,
.suggestion-item:hover {
    background:
        linear-gradient(90deg, rgba(214, 255, 246, 0.34), rgba(255, 246, 199, 0.24), rgba(255, 211, 231, 0.24)) !important;
}

.song-rank {
    background:
        linear-gradient(135deg, rgba(214, 255, 246, 0.86), rgba(255, 246, 199, 0.78)) !important;
    color: #735f7a !important;
    box-shadow: 0 8px 16px rgba(185, 137, 239, 0.08) !important;
}

.song-item:nth-child(2) .song-rank,
.song-item:nth-child(3) .song-rank,
.song-item:nth-child(4) .song-rank {
    background:
        linear-gradient(135deg, rgba(255, 246, 199, 0.92), rgba(255, 211, 231, 0.68)) !important;
    color: #7a5a63 !important;
}

.search-input:focus {
    border-color: rgba(255, 130, 180, 0.52) !important;
    box-shadow:
        0 0 0 4px rgba(214, 255, 246, 0.34),
        0 18px 36px rgba(185, 137, 239, 0.12) !important;
}

.panda-ear {
    background: #ff9bc1 !important;
}

.panda-nose {
    background: #b989ef !important;
}

.mini-player .mini-player-progress-ring {
    display: none;
}

.player-overlay.show .player-download-btn:hover {
    color: #fff !important;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.78) 0 13%, transparent 14%),
        linear-gradient(135deg, #ff86b6 0%, #bd86ee 100%) !important;
    box-shadow:
        0 14px 30px rgba(185, 137, 239, 0.2),
        0 0 0 7px rgba(214, 255, 246, 0.24) !important;
}

/* Cleaner playlist panel actions. */
.playlist-panel-actions {
    padding: 12px 18px !important;
    gap: 10px !important;
    background:
        linear-gradient(90deg, rgba(214, 255, 246, 0.24), rgba(255, 246, 199, 0.18), rgba(255, 211, 231, 0.18)) !important;
}

.playlist-panel-action-btn {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255, 211, 231, 0.68) !important;
    border-radius: 999px !important;
    color: #7b5a84 !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 255, 252, 0.72)) !important;
    box-shadow:
        0 6px 14px rgba(185, 137, 239, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.playlist-panel-action-btn i {
    margin-right: 5px;
    color: #ff82b4;
}

.playlist-panel-action-btn:hover {
    color: #8a4eb8 !important;
    border-color: rgba(185, 137, 239, 0.42) !important;
    background:
        linear-gradient(90deg, rgba(214, 255, 246, 0.56), rgba(255, 246, 199, 0.42), rgba(255, 211, 231, 0.42)) !important;
    transform: translateY(-1px);
}

.playlist-panel-action-btn.danger {
    color: #ad5b78 !important;
}

.playlist-panel-action-btn.danger i {
    color: #ff6fa8;
}

.playlist-panel-action-btn.danger:hover {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #ff86b6 0%, #bd86ee 100%) !important;
}

/* Decorative TOP10 rank badges. */
.top-list .song-rank {
    position: relative;
    overflow: visible;
    border-radius: 13px !important;
    background:
        linear-gradient(135deg, rgba(214, 255, 246, 0.86), rgba(255, 246, 199, 0.78)) !important;
    color: #735f7a !important;
    box-shadow:
        0 8px 16px rgba(185, 137, 239, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.top-list .song-rank::after {
    content: "";
    position: absolute;
    right: -5px;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
    opacity: 0;
}

.top-list .song-rank[data-rank="1"] {
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.82) 0 16%, transparent 17%),
        linear-gradient(135deg, #ffe58f 0%, #ffbd58 100%) !important;
    color: #7b5617 !important;
    box-shadow: 0 10px 20px rgba(255, 189, 88, 0.22) !important;
}

.top-list .song-rank[data-rank="1"]::before {
    content: "\f521";
    position: absolute;
    left: -8px;
    top: -12px;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #ffbd58;
    transform: rotate(-18deg);
    filter: drop-shadow(0 2px 2px rgba(123, 86, 23, 0.18));
}

.top-list .song-rank[data-rank="2"] {
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.82) 0 16%, transparent 17%),
        linear-gradient(135deg, #f4f7ff 0%, #bfc8dc 100%) !important;
    color: #566074 !important;
    box-shadow: 0 10px 20px rgba(155, 166, 190, 0.18) !important;
}

.top-list .song-rank[data-rank="2"]::before {
    content: "\f005";
    position: absolute;
    right: -7px;
    top: -9px;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: #bfc8dc;
}

.top-list .song-rank[data-rank="3"] {
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.78) 0 16%, transparent 17%),
        linear-gradient(135deg, #ffd4a8 0%, #d18a42 100%) !important;
    color: #6b421d !important;
    box-shadow: 0 10px 20px rgba(209, 138, 66, 0.18) !important;
}

.top-list .song-rank[data-rank="3"]::before {
    content: "\f005";
    position: absolute;
    right: -7px;
    top: -9px;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: #d18a42;
}

.top-list .song-rank[data-rank="1"]::after,
.top-list .song-rank[data-rank="2"]::after,
.top-list .song-rank[data-rank="3"]::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .mini-player .mini-player-progress-track,
    .mini-player .mini-player-time-row {
        display: none !important;
    }

    .mini-player .mini-player-progress-ring {
        display: block;
        position: absolute;
        inset: -6px;
        width: calc(100% + 12px);
        height: calc(100% + 12px);
        z-index: 0;
        pointer-events: none;
        transform: rotate(-90deg);
        overflow: visible;
    }

    .mini-player .mini-player-progress-ring-bg,
    .mini-player .mini-player-progress-ring-fill {
        fill: none;
        stroke-width: 4;
        stroke-linecap: round;
    }

    .mini-player .mini-player-progress-ring-bg {
        stroke: rgba(255, 255, 255, 0.68);
    }

    .mini-player .mini-player-progress-ring-fill {
        stroke: url(#mini-player-ring-gradient);
        stroke: #ff63a0;
        stroke-dasharray: 182.22;
        stroke-dashoffset: 182.22;
        filter: drop-shadow(0 2px 5px rgba(255, 99, 160, 0.26));
        transition: stroke-dashoffset 0.12s linear;
    }

    .mini-player .mini-player-btn-primary {
        overflow: visible !important;
    }

    .mini-player .mini-player-btn-primary::before,
    .mini-player .mini-player-btn-primary::after,
    .mini-player .mini-player-play-ripple {
        z-index: 2 !important;
    }
}

@media (max-width: 360px) {
    .mini-player .mini-player-progress-track {
        left: 14px;
        right: 14px;
    }
}

/* Full player page controls, matched to the bottom player polish. */
.player-stage .player-progress-section {
    width: min(100%, 430px);
}

.player-stage .player-progress-bar {
    height: 13px;
    overflow: visible;
    border-radius: 60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0) 48%),
        var(--bottom-polish-pink-soft);
    box-shadow:
        inset 0 1px 4px rgba(170, 70, 100, 0.2),
        0 1px 0 rgba(255, 255, 210, 0.8),
        0 8px 16px rgba(255, 128, 175, 0.16);
}

.player-stage .player-progress-bar::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 4px;
    height: 2px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.62);
    pointer-events: none;
}

.player-stage .player-progress-fill {
    position: relative;
    min-width: 0;
    height: 100%;
    border-radius: 60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 52%),
        linear-gradient(90deg, #ff9bc2, var(--bottom-polish-pink), #ff89b5);
    box-shadow: 0 1px 6px rgba(255, 80, 120, 0.58);
}

.player-stage .player-progress-fill::after {
    content: "\1F380";
    position: absolute;
    right: -11px;
    top: 50%;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    opacity: 1;
    box-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(255, 60, 120, 0.5));
    text-shadow: 0 0 2px #fff;
    transform: translateY(-50%);
    pointer-events: none;
}

.player-stage .player-control-row {
    gap: 14px;
}

.player-stage .player-control-btn {
    min-width: 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
    color: #9b4b6e;
    background: rgba(255, 245, 249, 0.9);
    box-shadow:
        0 6px 0 #e8aac2,
        0 12px 20px rgba(255, 80, 120, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.player-stage .player-control-btn:hover {
    color: var(--bottom-polish-ink);
    background: #fff7fb;
    transform: translateY(-1px);
}

.player-stage .player-control-btn:focus,
.player-stage .player-control-btn:focus-visible {
    outline: none;
    box-shadow:
        0 6px 0 #e8aac2,
        0 0 0 5px rgba(255, 137, 185, 0.2),
        0 12px 20px rgba(255, 80, 120, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.player-stage .player-control-btn-primary {
    min-width: 76px;
    width: 76px;
    height: 76px;
    color: var(--bottom-polish-ink);
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.78) 0 12%, transparent 13%),
        linear-gradient(145deg, #ffd8e8 0%, #ff9fc3 48%, #ff78ab 100%);
    box-shadow:
        0 9px 0 #dd88aa,
        0 18px 28px rgba(255, 80, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.player-stage .player-control-btn-primary:hover {
    color: var(--bottom-polish-ink);
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.84) 0 12%, transparent 13%),
        linear-gradient(145deg, #ffe1ee 0%, #ffa8c9 48%, #ff82b2 100%);
    transform: translateY(-2px);
}

.player-stage .player-control-btn-primary:active {
    transform: translateY(4px);
    box-shadow:
        0 5px 0 #dd88aa,
        0 11px 18px rgba(255, 80, 120, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
    .player-stage .player-progress-section {
        width: min(100%, 340px);
    }

    .player-stage .player-control-row {
        gap: 10px;
    }

    .player-stage .player-control-btn {
        min-width: 44px;
        width: 44px;
        height: 44px;
    }

    .player-stage .player-control-btn-primary {
        min-width: 62px;
        width: 62px;
        height: 62px;
    }
}

/* Final mini-player cover and controls pass. */
.mini-player {
    --bottom-polish-pink: #ff6f9f;
    --bottom-polish-pink-deep: #e94f86;
    --bottom-polish-pink-soft: #ffd9e8;
    --bottom-polish-ink: #8d3156;
}

.mini-player .mini-player-cover {
    flex: 0 0 66px;
    min-width: 66px;
    width: 66px;
    height: 66px;
    border: 0 !important;
    border-radius: 18px !important;
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
}

.mini-player .mini-player-cover::before {
    display: none !important;
    content: none !important;
}

.mini-player .mini-player-cover::after {
    content: "\1F380";
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -12px;
    z-index: 4;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--bottom-polish-pink-deep);
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 3px 4px rgba(211, 54, 112, 0.32));
    text-shadow: 0 1px 0 #fff, 0 0 5px rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
}

.mini-player .mini-player-cover img {
    position: absolute;
    inset: 0 !important;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
    border-radius: 18px !important;
    object-fit: cover;
    box-shadow:
        0 12px 22px rgba(82, 42, 58, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.82);
}

.mini-player .mini-player-cover-fallback {
    inset: 0 !important;
    z-index: 2;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #fff2f7, #ffd5e5);
}

.mini-player .mini-player-progress-track {
    height: 12px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 247, 251, 0.52) 46%, rgba(255, 202, 223, 0.72) 100%),
        linear-gradient(90deg, #ffe4ef, #ffd0e2);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(211, 83, 128, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.9),
        0 7px 18px rgba(255, 111, 159, 0.2);
}

.mini-player .mini-player-progress-track::before {
    left: 11px;
    right: 11px;
    top: 3px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.32));
}

.mini-player .mini-player-progress {
    min-width: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 54%),
        linear-gradient(90deg, #ff9bc0 0%, var(--bottom-polish-pink) 52%, #ff4f8e 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 0 9px rgba(255, 91, 145, 0.5) !important;
}

.mini-player .mini-player-progress::after {
    right: -12px;
    font-size: 25px;
    filter: drop-shadow(0 3px 4px rgba(211, 54, 112, 0.36));
}

.mini-player .mini-player-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 202, 222, 0.86);
    color: var(--bottom-polish-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 247, 0.9));
    box-shadow:
        0 8px 18px rgba(255, 111, 159, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mini-player .mini-player-btn:hover {
    background:
        linear-gradient(180deg, #fff, #ffe7f0);
    transform: translateY(-2px);
    box-shadow:
        0 10px 20px rgba(255, 111, 159, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mini-player .mini-player-btn-primary {
    width: 58px;
    min-width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 236, 244, 0.95);
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.96) 0 11%, transparent 12%),
        linear-gradient(145deg, #ffd9e8 0%, #ff8cb8 46%, #f24d89 100%);
    box-shadow:
        0 9px 0 #c94d7d,
        0 18px 30px rgba(242, 77, 137, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -5px 10px rgba(159, 39, 88, 0.18);
}

.mini-player .mini-player-btn-primary:hover {
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.96) 0 11%, transparent 12%),
        linear-gradient(145deg, #ffe2ef 0%, #ff9ec3 48%, #ff669b 100%);
    box-shadow:
        0 10px 0 #d66591,
        0 18px 28px rgba(242, 77, 137, 0.28),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.mini-player .mini-player-btn-primary::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
    border-left-color: #fff;
}

.mini-player .mini-player-btn-primary.is-playing::before,
.mini-player .mini-player-btn-primary.is-playing::after {
    width: 7px;
    height: 23px;
    border-radius: 6px;
    background: #fff;
}

@media (min-width: 769px) {
    .mini-player .mini-player-main {
        left: 14px;
    }

    .mini-player .mini-player-progress-track {
        top: -8px;
        left: 20px;
        right: 20px;
    }

    .mini-player .mini-player-controls {
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .mini-player .mini-player-cover {
        flex-basis: 60px;
        min-width: 60px;
        width: 60px;
        height: 60px;
        border-radius: 16px !important;
    }

    .mini-player .mini-player-cover img,
    .mini-player .mini-player-cover-fallback {
        border-radius: 16px !important;
    }

    .mini-player .mini-player-cover::after {
        bottom: -11px;
        font-size: 20px;
    }

    .mini-player .mini-player-progress-track {
        top: -8px;
        left: 12px;
        right: 12px;
        height: 11px;
    }

    .mini-player .mini-player-btn-primary {
        width: 52px;
        min-width: 52px;
        height: 52px;
    }
}

/* Mobile full-player progress must show a clear played segment. */
.player-stage {
    --bottom-polish-pink: #ff6f9f;
    --bottom-polish-pink-deep: #e94f86;
    --bottom-polish-pink-soft: #ffd9e8;
}

@media (min-width: 769px) {
    .player-stage .player-progress-section,
    .player-stage .player-control-row {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .player-stage .player-progress-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        margin-top: 24px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .player-stage .player-control-row {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }

    .player-stage .player-time-row {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 10px !important;
        color: rgba(128, 72, 98, 0.78) !important;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
    }

    .player-stage .player-progress-bar {
        height: 12px !important;
        border-radius: 999px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 248, 251, 0.58) 48%, rgba(255, 217, 232, 0.86) 100%),
            #ffdbe9 !important;
        box-shadow:
            inset 0 1px 2px rgba(255, 255, 255, 0.95),
            inset 0 -2px 4px rgba(218, 92, 137, 0.16),
            0 2px 0 rgba(255, 255, 255, 0.96),
            0 7px 18px rgba(255, 111, 159, 0.2) !important;
    }

    .player-stage .player-progress-bar::before {
        top: 3px;
        height: 3px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35));
    }

    .player-stage .player-progress-fill {
        min-width: 10px;
        height: 100%;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 52%),
            linear-gradient(90deg, #ff9bc0 0%, #ff6f9f 48%, #e94f86 100%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.62),
            0 0 10px rgba(255, 82, 143, 0.58),
            0 2px 6px rgba(233, 79, 134, 0.28) !important;
    }

    .player-stage .player-progress-fill::after {
        right: -13px;
        font-size: 25px;
        filter: drop-shadow(0 3px 4px rgba(211, 54, 112, 0.38));
    }

}

/* Raised and lighter desktop mini-player balance. */
.mini-player {
    bottom: 22px !important;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 82px;
}

body.player-overlay-open .global-player-shell {
    z-index: 1500 !important;
}

body.player-overlay-open .mini-player {
    z-index: 1501 !important;
    pointer-events: auto !important;
}

body.player-overlay-open .mini-player .mini-player-cover {
    pointer-events: auto !important;
}

.mini-player .mini-player-time-row {
    position: absolute;
    left: 22px;
    right: 22px;
    top: -8px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    color: rgba(143, 49, 88, 0.82);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 8px rgba(255, 255, 255, 0.85);
}

.mini-player .mini-player-progress-track {
    top: -19px !important;
    height: 7px !important;
    left: 22px !important;
    right: 22px !important;
    border: 1px solid rgba(255, 164, 198, 0.72);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 251, 0.82) 50%, rgba(255, 224, 236, 0.92) 100%),
        #ffe4ef !important;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.96),
        inset 0 -1px 2px rgba(218, 92, 137, 0.12),
        0 2px 7px rgba(255, 111, 159, 0.16) !important;
}

.mini-player .mini-player-progress-track::before {
    left: 8px;
    right: 8px;
    top: 1px;
    height: 1px;
    opacity: 0.85;
}

.mini-player .mini-player-progress {
    min-width: 0 !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 58%),
        linear-gradient(90deg, #ff8fb8 0%, #ff5f98 54%, #e94482 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        0 0 6px rgba(255, 82, 143, 0.38) !important;
}

.mini-player .mini-player-progress::after {
    right: -9px;
    font-size: 20px;
    filter: drop-shadow(0 2px 3px rgba(211, 54, 112, 0.34));
}

.mini-player .mini-player-cover::after {
    bottom: -10px;
    font-size: 20px;
}

.mini-player .mini-player-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-color: rgba(255, 203, 224, 0.92);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 242, 248, 0.94)) !important;
    box-shadow:
        0 5px 12px rgba(255, 111, 159, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.mini-player .mini-player-btn i,
.mini-player .mini-player-btn i::before {
    color: #9a3a5f !important;
}

.mini-player .mini-player-btn-primary {
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    border: 2px solid rgba(255, 240, 247, 0.98) !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.96) 0 12%, transparent 13%),
        linear-gradient(145deg, #ffe2ee 0%, #ff92bc 48%, #ec4d86 100%) !important;
    box-shadow:
        0 6px 0 #c95783,
        0 13px 22px rgba(236, 77, 134, 0.28),
        inset 0 2px 0 rgba(255, 255, 255, 0.92),
        inset 0 -4px 8px rgba(159, 39, 88, 0.16) !important;
}

.mini-player .mini-player-btn-primary:hover {
    box-shadow:
        0 7px 0 #d66a92,
        0 14px 22px rgba(236, 77, 134, 0.26),
        inset 0 2px 0 rgba(255, 255, 255, 0.92) !important;
}

.mini-player .mini-player-btn-primary::before {
    border-left-color: #fff !important;
}

.mini-player .mini-player-btn-primary.is-playing::before,
.mini-player .mini-player-btn-primary.is-playing::after {
    background: #fff !important;
}

@media (min-width: 769px) {
    .mini-player {
        left: 16px !important;
        right: 16px !important;
        bottom: 8px !important;
        min-height: 104px;
        padding: 18px 24px 26px !important;
        border: 1px solid rgba(255, 255, 255, 0.58) !important;
        border-radius: 14px !important;
        background:
            linear-gradient(90deg, rgba(206, 255, 244, 0.62) 0%, rgba(255, 246, 197, 0.64) 30%, rgba(255, 211, 231, 0.66) 58%, rgba(203, 201, 255, 0.68) 100%),
            rgba(255, 255, 255, 0.36) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.62),
            0 10px 28px rgba(120, 96, 150, 0.16) !important;
        backdrop-filter: blur(18px) saturate(128%) !important;
    }

    .mini-player .mini-player-progress-track {
        top: auto !important;
        bottom: 16px !important;
        left: 78px !important;
        right: 78px !important;
        height: 5px !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
            rgba(255, 255, 255, 0.34) !important;
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.7),
            0 0 9px rgba(255, 111, 159, 0.16) !important;
    }

    .mini-player .mini-player-progress::after {
        right: -8px;
        font-size: 18px;
    }

    .mini-player .mini-player-time-row {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 8px;
        color: rgba(95, 78, 105, 0.78);
        font-size: 12px;
        font-weight: 700;
    }

    .mini-player .mini-player-main {
        left: 24px;
        top: 18px;
        transform: none;
        width: clamp(360px, 34vw, 560px);
        gap: 14px;
    }

    .mini-player .mini-player-cover {
        flex: 0 0 56px !important;
        min-width: 56px !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 10px !important;
    }

    .mini-player .mini-player-cover::after {
        top: -11px;
        right: -9px;
        bottom: auto;
        transform: rotate(23deg);
        font-size: 19px;
    }

    .mini-player .mini-player-cover img,
    .mini-player .mini-player-cover-fallback {
        border-radius: 8px !important;
    }

    .mini-player .mini-player-info {
        align-self: center;
        max-width: min(32vw, 460px);
    }

    .mini-player .mini-player-title {
        font-size: 15px;
        font-weight: 700;
        color: rgba(52, 48, 62, 0.9);
    }

    .mini-player .mini-player-artist {
        margin-top: 5px;
        font-size: 12px;
        color: rgba(66, 55, 72, 0.68);
    }

    .mini-player .mini-player-controls {
        top: 42px;
        gap: 15px;
    }

    .mini-player .mini-player-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
        border: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mini-player .mini-player-btn:hover {
        background: rgba(255, 255, 255, 0.36) !important;
        transform: translateY(-1px);
    }

    .mini-player .mini-player-btn-primary {
        width: 58px !important;
        min-width: 58px !important;
        height: 58px !important;
        margin-inline: 2px;
        background:
            radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.7) 0 12%, transparent 13%),
            linear-gradient(135deg, #ff8dbc 0%, #9d5df2 100%) !important;
        box-shadow:
            0 10px 20px rgba(147, 92, 218, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    }

    .mini-player .mini-player-queue-btn {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }

    .mini-player .mini-player-volume {
        position: absolute;
        right: 28px;
        top: 37px;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 178px;
        z-index: 4;
    }

    .mini-player .mini-player-volume-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border: 0;
        border-radius: 999px;
        color: rgba(74, 62, 84, 0.78);
        background: transparent;
        cursor: pointer;
    }

    .mini-player .mini-player-volume-btn:hover {
        background: rgba(255, 255, 255, 0.36);
        color: rgba(233, 79, 134, 0.9);
    }

    .mini-player .mini-player-volume-range {
        --volume-percent: 100%;
        width: 120px;
        height: 5px;
        margin: 0;
        border-radius: 999px;
        outline: none;
        appearance: none;
        background:
            linear-gradient(90deg, #ff63a0 0 var(--volume-percent), rgba(255, 255, 255, 0.52) var(--volume-percent) 100%);
        box-shadow: inset 0 1px 1px rgba(120, 80, 110, 0.12);
        cursor: pointer;
    }

    .mini-player .mini-player-volume-range::-webkit-slider-thumb {
        appearance: none;
        width: 13px;
        height: 13px;
        border: 2px solid rgba(255, 255, 255, 0.94);
        border-radius: 999px;
        background: #ff63a0;
        box-shadow: 0 2px 7px rgba(233, 79, 134, 0.28);
    }

    .mini-player .mini-player-volume-range::-moz-range-thumb {
        width: 13px;
        height: 13px;
        border: 2px solid rgba(255, 255, 255, 0.94);
        border-radius: 999px;
        background: #ff63a0;
        box-shadow: 0 2px 7px rgba(233, 79, 134, 0.28);
    }

    .mini-player .mini-player-controls {
        z-index: 45;
        pointer-events: auto;
    }

    .mini-player .mini-player-btn-primary {
        position: relative;
        overflow: hidden;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.68) !important;
        background:
            radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.68) 0 12%, transparent 13%),
            linear-gradient(135deg, #ff7fb4 0%, #b469f4 100%) !important;
        box-shadow:
            0 0 0 8px rgba(255, 255, 255, 0.14),
            0 8px 20px rgba(139, 83, 207, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    .mini-player .mini-player-btn-primary:hover {
        filter: saturate(1.06) brightness(1.03);
        transform: translateY(-1px);
        background:
            radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.76) 0 12%, transparent 13%),
            linear-gradient(135deg, #ff8fbd 0%, #a95dee 100%) !important;
        box-shadow:
            0 0 0 10px rgba(255, 255, 255, 0.18),
            0 10px 24px rgba(139, 83, 207, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
    }

    .mini-player .mini-player-btn-primary:active {
        transform: translateY(1px) scale(0.98);
    }

    .mini-player .mini-player-btn-primary.is-rippling {
        animation: none;
    }

    .mini-player .mini-player-play-ripple {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 18px;
        height: 18px;
        z-index: 0;
        border-radius: 999px;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.62);
        transform: translate(-50%, -50%) scale(0.2);
        animation: miniPlayRippleLayer 0.62s ease-out forwards;
    }

    .mini-player .mini-player-btn-primary::before {
        position: relative;
        z-index: 1;
        content: "";
        width: 0 !important;
        height: 0 !important;
        margin: 0 0 0 4px !important;
        border-top: 10px solid transparent !important;
        border-bottom: 10px solid transparent !important;
        border-left: 15px solid #fff !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mini-player .mini-player-btn-primary::after {
        content: none !important;
    }

    .mini-player .mini-player-btn-primary.is-playing::before,
    .mini-player .mini-player-btn-primary.is-playing::after {
        position: relative;
        z-index: 1;
        content: "" !important;
        width: 6px !important;
        height: 21px !important;
        margin: 0 3px !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .mini-player .mini-player-btn-primary.is-playing::after {
        display: block !important;
    }
}

@keyframes miniPlayWave {
    0% {
        box-shadow:
            0 0 0 0 rgba(255, 111, 159, 0.34),
            0 0 0 8px rgba(255, 255, 255, 0.14),
            0 8px 20px rgba(139, 83, 207, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }
    58% {
        box-shadow:
            0 0 0 18px rgba(255, 111, 159, 0),
            0 0 0 10px rgba(255, 255, 255, 0.16),
            0 10px 24px rgba(139, 83, 207, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }
    100% {
        box-shadow:
            0 0 0 8px rgba(255, 255, 255, 0.14),
            0 8px 20px rgba(139, 83, 207, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }
}

@keyframes miniPlayRippleLayer {
    0% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(0.2);
    }
    70% {
        opacity: 0.22;
        transform: translate(-50%, -50%) scale(4.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(5);
    }
}

@media (min-width: 769px) {
    .player-overlay.show .player-download-btn {
        position: fixed !important;
        right: 92px !important;
        bottom: 154px !important;
        z-index: 1605 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.82) !important;
        border-radius: 999px !important;
        color: #a13e64 !important;
        background:
            radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94) 0 13%, transparent 14%),
            linear-gradient(145deg, #fff6fb 0%, #ffd4e5 55%, #ff9bc1 100%) !important;
        box-shadow:
            0 10px 24px rgba(233, 79, 134, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    }

    .player-overlay.show .player-download-btn span {
        display: none !important;
    }

    .player-overlay.show .player-download-btn:hover {
        transform: translateY(-2px);
        color: #fff !important;
        background:
            radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.7) 0 13%, transparent 14%),
            linear-gradient(145deg, #ff8fbd 0%, #b469f4 100%) !important;
    }
}

@media (max-width: 768px) {
    .mini-player .mini-player-volume {
        display: none !important;
    }

    .player-overlay {
        padding: 0 !important;
        background: rgba(241, 242, 242, 0.82) !important;
    }

    .player-overlay-backdrop {
        inset: 0 !important;
        background: rgba(241, 242, 242, 0.82) !important;
        backdrop-filter: blur(18px) saturate(108%) !important;
    }

    .player-modal {
        height: 100vh !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .player-modal::before,
    .player-modal::after {
        opacity: 0 !important;
        background: transparent !important;
    }

    .player-stage,
    .player-lyrics-panel {
        background: transparent !important;
        box-shadow: none !important;
    }

    body.player-overlay-open .mini-player {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(120%) !important;
    }

    body.player-overlay-open .player-stage {
        padding-top: 78px !important;
        align-content: start !important;
    }

    body.player-overlay-open .player-stage .player-song-meta {
        margin-top: 38px !important;
    }

    body.player-overlay-open .player-stage .player-progress-section {
        margin-top: 32px !important;
    }

    body.player-overlay-open .player-stage .player-control-row {
        margin-top: 44px !important;
    }

    body.player-overlay-open .player-overlay.is-lyrics-view .player-lyrics-panel {
        padding-top: 18px !important;
    }

    body.player-overlay-open .player-overlay.is-lyrics-view .player-lyrics-container {
        padding-top: 50px !important;
    }

    .mini-player {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: 78px;
    }

    .mini-player .mini-player-progress-track {
        top: -10px !important;
        left: 14px !important;
        right: 14px !important;
        height: 7px !important;
    }

    .mini-player .mini-player-time-row {
        left: 14px;
        right: 14px;
        top: 2px;
        font-size: 11px;
    }

    .mini-player .mini-player-btn-primary {
        width: 50px !important;
        min-width: 50px !important;
        height: 50px !important;
    }
}

/* Unified music-box theme, matched with the desktop bottom player. */
:root {
    --primary: #ff8fbd;
    --primary-dark: #b469f4;
    --primary-light: #f7fff8;
    --secondary: #fff6c5;
    --accent: #cdfdf4;
    --surface: rgba(255, 255, 255, 0.82);
    --bg-gray: #fffafd;
    --border: rgba(255, 211, 231, 0.78);
    --border-light: rgba(206, 255, 244, 0.56);
    --text-primary: #55435a;
    --text-secondary: rgba(85, 67, 90, 0.68);
    --text-disabled: rgba(85, 67, 90, 0.42);
    --shadow: 0 10px 24px rgba(180, 105, 244, 0.08);
    --shadow-card: 0 18px 46px rgba(180, 105, 244, 0.1);
    --shadow-hover: 0 20px 52px rgba(255, 143, 189, 0.16);
    --player-primary: #ff8fbd;
    --player-secondary: #b469f4;
    --player-cover-image: linear-gradient(135deg, #cdfdf4 0%, #fff6c5 34%, #ffd3e7 64%, #cbc9ff 100%);
}

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(206, 255, 244, 0.44), transparent 28%),
        radial-gradient(circle at 82% 8%, rgba(203, 201, 255, 0.36), transparent 28%),
        linear-gradient(180deg, #fffafd 0%, #fafffb 48%, #fff7fb 100%) !important;
    color: var(--text-primary);
}

.sidebar,
.top-list,
.search-input,
.search-suggestions,
.playlist-panel,
.confirm-dialog,
.player-download-dialog {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 255, 251, 0.76)),
        rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(255, 211, 231, 0.66) !important;
    box-shadow: var(--shadow-card) !important;
    backdrop-filter: blur(14px) saturate(118%);
}

.sidebar-header,
.list-header,
.song-item,
.result-item,
.suggestion-item {
    border-color: rgba(206, 255, 244, 0.56) !important;
}

.sidebar-logo,
.menu-toggle,
.song-play,
.page-btn,
.suggestion-hot,
.playlist-panel-action-btn,
.confirm-btn-primary {
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62) 0 12%, transparent 13%),
        linear-gradient(135deg, #ff8fbd 0%, #b469f4 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(180, 105, 244, 0.16) !important;
}

.nav-item:hover,
.nav-item.active,
.song-item:hover,
.result-item:hover,
.suggestion-item:hover,
.clear-btn:hover {
    background:
        linear-gradient(90deg, rgba(206, 255, 244, 0.42), rgba(255, 246, 197, 0.34), rgba(255, 211, 231, 0.3)) !important;
    color: #8a4eb8 !important;
}

.list-title i,
.search-icon,
.song-count,
.nav-item.active i,
.nav-item:hover i {
    color: #ff6fa8 !important;
}

.search-input:focus {
    border-color: rgba(180, 105, 244, 0.42) !important;
    box-shadow:
        0 0 0 4px rgba(206, 255, 244, 0.38),
        0 18px 38px rgba(180, 105, 244, 0.12) !important;
}

.song-rank {
    background: linear-gradient(135deg, rgba(206, 255, 244, 0.95), rgba(255, 246, 197, 0.9)) !important;
    color: #7b5185 !important;
}

.panda-ear {
    background: #ff9bc7 !important;
}

@media (min-width: 769px) {
    .player-overlay.show .player-download-btn {
        color: #8a4eb8 !important;
        background:
            radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94) 0 13%, transparent 14%),
            linear-gradient(145deg, #cdfdf4 0%, #fff6c5 42%, #ffd3e7 72%, #cbc9ff 100%) !important;
        box-shadow:
            0 12px 28px rgba(180, 105, 244, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    }

    .player-overlay.show .player-download-btn:hover {
        color: #fff !important;
        background:
            radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72) 0 13%, transparent 14%),
            linear-gradient(135deg, #ff8fbd 0%, #b469f4 100%) !important;
        box-shadow:
            0 14px 32px rgba(180, 105, 244, 0.22),
            0 0 0 7px rgba(206, 255, 244, 0.24) !important;
    }
}

@media (max-width: 768px) {
    .player-overlay,
    .player-overlay-backdrop {
        background:
            radial-gradient(circle at 18% 12%, rgba(206, 255, 244, 0.34), transparent 30%),
            radial-gradient(circle at 82% 8%, rgba(203, 201, 255, 0.28), transparent 30%),
            rgba(250, 252, 249, 0.84) !important;
    }

    .player-cover-card::before {
        background: linear-gradient(135deg, rgba(206, 255, 244, 0.48), rgba(255, 211, 231, 0.5), rgba(203, 201, 255, 0.38)) !important;
    }

    .player-stage .player-progress-bar {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.32)),
            rgba(255, 255, 255, 0.52) !important;
        border-color: rgba(255, 211, 231, 0.62) !important;
    }

    .player-stage .player-progress-fill {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0) 52%),
            linear-gradient(90deg, #ff8fbd 0%, #ff63a0 48%, #b469f4 100%) !important;
    }

    .player-stage .player-control-btn {
        color: #7b5185 !important;
        border-color: rgba(255, 255, 255, 0.86) !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 255, 251, 0.76)) !important;
        box-shadow:
            0 8px 18px rgba(180, 105, 244, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
    }

    .player-stage .player-control-btn-primary {
        color: #fff !important;
        background:
            radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.68) 0 12%, transparent 13%),
            linear-gradient(135deg, #ff8fbd 0%, #b469f4 100%) !important;
        box-shadow:
            0 12px 24px rgba(180, 105, 244, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
    }

    .player-title-download-btn,
    .player-header-btn {
        color: #7b5185 !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 255, 251, 0.76)) !important;
        box-shadow: 0 8px 18px rgba(180, 105, 244, 0.1) !important;
    }
}

/* Final mobile player alignment and thinner full-player progress. */
@media (max-width: 768px) {
    body:not(.player-overlay-open) .mini-player {
        min-height: 76px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-controls {
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        align-items: center !important;
        gap: 10px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary {
        width: 50px !important;
        min-width: 50px !important;
        height: 50px !important;
        margin-top: 0 !important;
        transform: translateY(0) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary:hover {
        transform: translateY(0) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary:active {
        transform: translateY(1px) scale(0.98) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-progress-ring {
        inset: -4px !important;
        width: calc(100% + 8px) !important;
        height: calc(100% + 8px) !important;
    }

    body.player-overlay-open .player-stage .player-progress-section {
        width: min(100%, 330px) !important;
        margin-top: 26px !important;
    }

    body.player-overlay-open .player-stage .player-progress-bar {
        height: 7px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 211, 231, 0.58) !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.34)),
            rgba(255, 255, 255, 0.54) !important;
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.78),
            0 3px 10px rgba(185, 137, 239, 0.08) !important;
    }

    body.player-overlay-open .player-stage .player-progress-bar::before {
        top: 1px !important;
        height: 1px !important;
        left: 8px !important;
        right: 8px !important;
    }

    body.player-overlay-open .player-stage .player-progress-fill {
        min-width: 0 !important;
        height: 100% !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 52%),
            linear-gradient(90deg, #ff9bc1 0%, #ff63a0 58%, #b989ef 100%) !important;
        box-shadow:
            0 0 7px rgba(255, 99, 160, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
    }

    body.player-overlay-open .player-stage .player-progress-fill::after {
        right: -10px !important;
        font-size: 21px !important;
        filter: drop-shadow(0 2px 3px rgba(211, 54, 112, 0.3)) !important;
    }

    body.player-overlay-open .player-stage .player-time-row {
        margin-top: 8px !important;
        font-size: 12px !important;
    }
}

/* Final mobile floating-player control cleanup. */
@media (max-width: 768px) {
    body:not(.player-overlay-open) .mini-player {
        min-height: 74px !important;
        padding: 9px 12px 9px 12px !important;
        overflow: visible !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-main {
        width: calc(100% - 188px) !important;
        min-width: 0 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-controls {
        left: auto !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        width: auto !important;
        z-index: 35 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        flex: 0 0 36px !important;
        box-shadow:
            0 6px 13px rgba(185, 137, 239, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        flex-basis: 48px !important;
        margin: 0 !important;
        overflow: visible !important;
        background:
            radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.88) 0 11%, transparent 12%),
            linear-gradient(145deg, #ff9bc1 0%, #ff63a0 52%, #b989ef 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow:
            0 9px 18px rgba(255, 99, 160, 0.22),
            0 0 0 5px rgba(255, 143, 189, 0.1),
            inset 0 2px 0 rgba(255, 255, 255, 0.78) !important;
        transform: none !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary:hover {
        transform: none !important;
        filter: saturate(1.04) brightness(1.02) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary:active {
        transform: scale(0.96) !important;
        box-shadow:
            0 6px 14px rgba(255, 99, 160, 0.2),
            0 0 0 5px rgba(255, 143, 189, 0.1),
            inset 0 2px 0 rgba(255, 255, 255, 0.72) !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary::before {
        position: relative !important;
        z-index: 2 !important;
        margin-left: 3px !important;
        border-top-width: 10px !important;
        border-bottom-width: 10px !important;
        border-left-width: 15px !important;
        border-left-color: #fff !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary.is-playing::before,
    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary.is-playing::after {
        width: 6px !important;
        height: 20px !important;
        margin: 0 2px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-progress-ring {
        inset: -5px !important;
        width: calc(100% + 10px) !important;
        height: calc(100% + 10px) !important;
        pointer-events: none !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-progress-ring-bg,
    body:not(.player-overlay-open) .mini-player .mini-player-progress-ring-fill {
        stroke-width: 3.4 !important;
    }
}

/* Final TOP10 badge corner effects and mobile mini-player balance. */
.top-list .song-rank[data-rank="1"]::before,
.top-list .song-rank[data-rank="2"]::before,
.top-list .song-rank[data-rank="3"]::before {
    left: -7px !important;
    right: auto !important;
    top: -11px !important;
    transform: rotate(-16deg) !important;
    transform-origin: center !important;
    font-size: 11px !important;
    filter: drop-shadow(0 2px 3px rgba(185, 137, 239, 0.16)) !important;
}

.top-list .song-rank[data-rank="1"]::before {
    color: #ffc84f !important;
}

.top-list .song-rank[data-rank="2"]::before {
    color: #b8c2dd !important;
}

.top-list .song-rank[data-rank="3"]::before {
    color: #d79655 !important;
}

.top-list .song-rank[data-rank="1"]::after,
.top-list .song-rank[data-rank="2"]::after,
.top-list .song-rank[data-rank="3"]::after {
    left: -4px !important;
    right: auto !important;
    top: -3px !important;
    width: 9px !important;
    height: 9px !important;
    opacity: 0.95 !important;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 30%, transparent 31%),
        linear-gradient(135deg, rgba(255, 143, 189, 0.72), rgba(185, 137, 239, 0.58)) !important;
}

@media (max-width: 768px) {
    body:not(.player-overlay-open) .mini-player {
        padding: 9px 10px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-main {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: calc(100% - 152px) !important;
        max-width: calc(100% - 152px) !important;
        min-width: 0 !important;
        gap: 9px !important;
        z-index: 32 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-cover {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-info {
        display: block !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow: hidden !important;
        text-align: left !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-title,
    body:not(.player-overlay-open) .mini-player .mini-player-artist {
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-title {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-artist {
        margin-top: 4px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-controls {
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        gap: 5px !important;
        height: 52px !important;
        align-items: center !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-loop-btn {
        display: none !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
        line-height: 1 !important;
        transform: none !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-btn-primary {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        flex-basis: 46px !important;
        align-self: center !important;
        transform: none !important;
    }
}

/* Mobile mini-player hard layout: cover/title | controls | queue. */
@media (max-width: 768px) {
    body:not(.player-overlay-open) .mini-player {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        align-items: center !important;
        column-gap: 6px !important;
        min-height: 74px !important;
        padding: 9px 10px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: static !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        overflow: visible !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-cover {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        overflow: visible !important;
        z-index: 5 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-info {
        flex: 1 1 auto !important;
        display: flex !important;
        min-width: 0 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        height: 46px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-title,
    body:not(.player-overlay-open) .mini-player .mini-player-artist {
        display: block !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-title {
        font-size: 14px !important;
        line-height: 18px !important;
        font-weight: 800 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-artist {
        margin-top: 2px !important;
        font-size: 11px !important;
        line-height: 15px !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-controls {
        grid-column: 2 / 4 !important;
        grid-row: 1 !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: 52px !important;
        display: grid !important;
        grid-template-columns: 32px 46px 32px 32px !important;
        align-items: center !important;
        justify-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-loop-btn {
        display: none !important;
    }

    body:not(.player-overlay-open) .mini-player .mini-player-controls .mini-player-btn {
        position: relative !important;
        inset: auto !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: center !important;
    }

    body:not(.player-overlay-open) .mini-player #miniPlayerPrev,
    body:not(.player-overlay-open) .mini-player #miniPlayerNext,
    body:not(.player-overlay-open) .mini-player #miniPlayerQueue {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
    }

    body:not(.player-overlay-open) .mini-player #miniPlayerPlay {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        transform: none !important;
    }
}

/* Match the mobile mini-player cover decoration to desktop. */
@media (max-width: 768px) {
    body:not(.player-overlay-open) .mini-player .mini-player-cover::after {
        content: "\1F380" !important;
        left: auto !important;
        right: -10px !important;
        top: -11px !important;
        bottom: auto !important;
        transform: rotate(23deg) !important;
        transform-origin: center !important;
        font-size: 19px !important;
        z-index: 12 !important;
        filter: drop-shadow(0 2px 3px rgba(211, 54, 112, 0.35)) !important;
    }
}

/* Search result play buttons should match the polished player palette. */
.search-results .result-item .play-btn {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    margin-left: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.84) 0 11%, transparent 12%),
        linear-gradient(145deg, #ff7fb5 0%, #dc6cdf 58%, #b989ef 100%) !important;
    box-shadow:
        0 10px 22px rgba(198, 92, 219, 0.26),
        0 6px 14px rgba(255, 111, 163, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.search-results .result-item .play-btn::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.search-results .result-item .play-btn i {
    position: relative;
    z-index: 1;
    margin-left: 3px;
    font-size: 16px;
    color: #fff !important;
    filter: drop-shadow(0 1px 2px rgba(124, 43, 128, 0.28));
}

.search-results .result-item:hover .play-btn {
    transform: translateY(-1px) scale(1.06) !important;
    filter: saturate(1.08) brightness(1.03);
    box-shadow:
        0 14px 28px rgba(198, 92, 219, 0.32),
        0 8px 16px rgba(255, 111, 163, 0.28),
        0 0 0 6px rgba(255, 130, 180, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.64) !important;
}

.search-results .result-item:active .play-btn {
    transform: scale(0.96) !important;
}

@media (max-width: 768px) {
    .search-results .result-item .play-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        margin-left: 12px !important;
    }

    .search-results .result-item .play-btn i {
        font-size: 15px;
    }
}

/* Desktop progress polish: one consistent rail height and smoother scrubbing. */
@media (min-width: 769px) {
    .mini-player .mini-player-progress-track {
        height: 7px !important;
        border: 0 !important;
        border-radius: 999px !important;
        overflow: visible !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 251, 0.42)),
            linear-gradient(90deg, rgba(255, 222, 237, 0.96), rgba(255, 218, 234, 0.74), rgba(224, 214, 255, 0.82)) !important;
        box-shadow:
            inset 0 0 0 1px rgba(255, 128, 180, 0.22),
            0 1px 6px rgba(255, 112, 166, 0.2) !important;
    }

    .mini-player .mini-player-progress-track::before {
        left: 7px !important;
        right: 7px !important;
        top: 1px !important;
        height: 1px !important;
        opacity: 0.72 !important;
    }

    .mini-player .mini-player-progress {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
        min-width: 0 !important;
        border-radius: inherit !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0) 56%),
            linear-gradient(90deg, #ff8fbd 0%, #ff63a0 56%, #b989ef 100%) !important;
        box-shadow:
            0 1px 5px rgba(255, 87, 148, 0.42),
            inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
        transition: width 0.06s linear !important;
    }

    .mini-player .mini-player-progress::after {
        right: -10px !important;
        top: 50% !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }
}

body.is-scrubbing-progress .mini-player .mini-player-progress,
body.is-scrubbing-progress .player-stage .player-progress-fill {
    transition: none !important;
}
