/*
 * HarmonyDrop dedicated player skin.
 * Scope every override to .hdp-shell / .hdp-player so the global theme stays untouched.
 */

.hdp-shell {
    --hdp-bg: rgba(14, 18, 24, 0.94);
    --hdp-bg-strong: rgba(8, 11, 16, 0.98);
    --hdp-panel: rgba(255, 255, 255, 0.075);
    --hdp-panel-strong: rgba(255, 255, 255, 0.12);
    --hdp-line: rgba(255, 255, 255, 0.11);
    --hdp-text: #f6f8fb;
    --hdp-muted: rgba(246, 248, 251, 0.58);
    --hdp-soft: rgba(246, 248, 251, 0.34);
    --hdp-accent: rgb(41, 214, 139);
    --hdp-warm: #ffd166;
    --hdp-coral: #ff6b6b;
    --hdp-height: 72px;
    --hdp-radius: 18px;
    position: fixed;
    bottom: 0;
    z-index: 99;
    isolation: isolate;
}

.hdp-shell.closed {
    bottom: calc(-1 * var(--hdp-height) - 28px);
    transition: bottom 180ms ease;
}

.hdp-shell #hdp-ambient {
    position: absolute;
    inset: auto 0 0;
    height: calc(var(--hdp-height) + 26px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.72;
    transition: background 1.2s ease, opacity 220ms ease;
}

.hdp-shell #hdp-ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(41, 214, 139, 0.14), transparent 34%),
        linear-gradient(270deg, rgba(255, 209, 102, 0.1), transparent 32%);
    mix-blend-mode: screen;
}

.hdp-shell .hdp-player {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: var(--hdp-height);
    height: var(--hdp-height);
    padding: 8px 18px 8px 0;
    gap: 16px;
    color: var(--hdp-text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 46%),
        linear-gradient(92deg, rgba(41, 214, 139, 0.12), rgba(255, 255, 255, 0.025) 38%, rgba(255, 209, 102, 0.08)),
        var(--hdp-bg);
    border-top: 0;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.48), 0 -1px 0 rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);
    overflow: visible;
}

.hdp-shell .hdp-player::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
    opacity: 0.24;
}

.hdp-shell .hdp-left {
    flex: 0 1 30%;
    width: 30%;
    min-width: 210px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hdp-shell .hdp-player .song_details.hdp-left {
    width: 30%;
    flex: 0 1 30%;
    min-width: 210px;
    user-select: none;
}

.hdp-shell .hdp-left .song_details_inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.hdp-shell .hdp-player .song_details .song_details_inner {
    position: static;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.hdp-shell .hdp-art,
.hdp-shell .hdp-art a {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: block;
}

.hdp-shell .hdp-art {
    position: relative;
    margin: 0;
    overflow: visible;
    border-radius: 0;
}

.hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art {
    float: none;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    margin: 0;
}

.hdp-shell .hdp-art::after {
    content: "";
    position: absolute;
    inset: 8px 0 -8px 10px;
    background: var(--hdp-accent);
    filter: blur(24px);
    opacity: 0.22;
    z-index: -1;
}

.hdp-shell .hdp-art img {
    display: block;
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 0 14px 14px 0;
    background: #171d25;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    transform: translateY(0);
    transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    display: block;
    border-radius: 0 14px 14px 0;
    background: #171d25;
}

body.audio_playing .hdp-shell .hdp-art img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hdp-shell .hdp-info {
    min-width: 0;
    max-width: 100%;
    padding: 0 4px 0 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
}

.hdp-shell .hdp-player .song_details .song_title.hdp-info {
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0 4px 0 16px;
}

.hdp-shell .hdp-info a {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.hdp-shell .hdp-song-name,
.hdp-shell .hdp-artist-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: 0;
}

.hdp-shell .hdp-song-name {
    color: var(--hdp-text);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.hdp-shell .hdp-artist-name {
    color: var(--hdp-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}

.hdp-shell .hdp-artist-link:hover .hdp-artist-name {
    color: #fff;
}

.hdp-shell .hdp-info-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 16px;
    margin-top: 3px;
}

.hdp-shell .hdp-mini-time,
.hdp-shell .hdp-time-label {
    color: var(--hdp-soft);
    font-size: 10.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hdp-shell .hdp-time-label {
    position: relative;
    z-index: 7;
    min-width: 34px;
    color: rgba(246, 248, 251, 0.42);
    text-align: center;
    pointer-events: none;
}

.hdp-shell .hdp-time-cur {
    position: absolute;
    left: 31%;
    top: 16px;
    text-align: left;
}

.hdp-shell .hdp-time-tot {
    position: absolute;
    right: 31%;
    top: 16px;
    text-align: right;
}

.hdp-shell .hdp-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    opacity: 0;
    transition: opacity 180ms ease;
}

body.audio_playing .hdp-shell .hdp-eq {
    opacity: 1;
}

.hdp-shell .hdp-eq-bar {
    width: 3px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--hdp-warm), var(--hdp-accent));
    animation: hdp-eq-bounce 820ms ease-in-out infinite alternate;
    animation-play-state: paused;
}

body.audio_playing .hdp-shell .hdp-eq-bar {
    animation-play-state: running;
}

.hdp-shell .hdp-eq-bar:nth-child(2) { animation-delay: 100ms; animation-duration: 1080ms; }
.hdp-shell .hdp-eq-bar:nth-child(3) { animation-delay: 220ms; animation-duration: 690ms; }
.hdp-shell .hdp-eq-bar:nth-child(4) { animation-delay: 60ms; animation-duration: 940ms; }

@keyframes hdp-eq-bounce {
    from { height: 4px; }
    to { height: 14px; }
}

.hdp-shell .hdp-center {
    flex: 1 1 420px;
    width: auto;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 18px 8px 0;
    position: static;
}

.hdp-shell .hdp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.hdp-shell .hdp-player .song_progress .song_controls.hdp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hdp-shell .hdp-ctrl,
.hdp-shell .song_queue > svg,
.hdp-shell .song_progress_right > .btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.hdp-shell .hdp-player .song_progress .song_controls .hdp-ctrl,
.hdp-shell .hdp-player .song_progress .song_controls .amplitude-prev.hdp-ctrl,
.hdp-shell .hdp-player .song_progress .song_controls .amplitude-next.hdp-ctrl,
.hdp-shell .hdp-player .song_progress .song_controls .amplitude-shuffle.hdp-ctrl,
.hdp-shell .hdp-player .song_progress .song_controls .amplitude-repeat.hdp-ctrl {
    width: 34px;
    height: 34px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
}

.hdp-shell .hdp-ctrl:hover,
.hdp-shell .song_queue > svg:hover,
.hdp-shell .song_progress_right > .btn:hover {
    color: #fff;
    background: var(--hdp-panel);
    transform: translateY(-1px);
}

.hdp-shell .hdp-ctrl.amplitude-shuffle-on,
.hdp-shell .hdp-ctrl.amplitude-repeat-on {
    color: var(--hdp-accent);
    background: rgba(41, 214, 139, 0.12);
}

.hdp-shell .hdp-ctrl.amplitude-shuffle-on::after,
.hdp-shell .hdp-ctrl.amplitude-repeat-on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hdp-accent);
    transform: translateX(-50%);
}

.hdp-shell .hdp-playbtn,
.hdp-shell #play-pause,
.ma_player.hdp-shell #play-pause,
body .ma_player.hdp-shell .player #play-pause,
.hdp-shell #play-pause.amplitude-play-pause,
.hdp-shell #play-pause.amplitude-paused,
.hdp-shell #play-pause.amplitude-playing,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-paused,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-playing {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: visible;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    color: #07110c;
    background: linear-gradient(135deg, #ffffff 0%, #d9ffe9 52%, #b8f7d1 100%) !important;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.65) !important;
    transition: transform 170ms ease, box-shadow 170ms ease;
}

.hdp-shell .hdp-playbtn:hover,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn:hover {
    transform: translateY(-1px) scale(1.045);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 0 6px rgba(41, 214, 139, 0.12);
}

.hdp-shell .hdp-playbtn:active,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn:active {
    transform: scale(0.94);
}

.hdp-shell .hdp-icon-play,
.hdp-shell .hdp-icon-pause,
.hdp-shell #play-pause .hdp-icon-play,
.hdp-shell #play-pause .hdp-icon-pause {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block !important;
    pointer-events: none;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    transition: opacity 130ms ease, transform 130ms ease;
}

.hdp-shell .hdp-icon-play path,
.hdp-shell .hdp-icon-pause path,
.hdp-shell #play-pause .hdp-icon-play path,
.hdp-shell #play-pause .hdp-icon-pause path {
    fill: currentColor !important;
}

.hdp-shell .hdp-playbtn .hdp-icon-play {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .hdp-playbtn .hdp-icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-playbtn.amplitude-paused .hdp-icon-play,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-paused .hdp-icon-play {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .hdp-playbtn.amplitude-paused .hdp-icon-pause,
.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-paused .hdp-icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-playbtn.amplitude-playing .hdp-icon-play {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-playbtn.amplitude-playing .hdp-icon-pause {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn .hdp-icon-play {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn .hdp-icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-paused .hdp-icon-play {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-paused .hdp-icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-playing .hdp-icon-play {
    opacity: 0;
    transform: scale(0.5);
}

.hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn.amplitude-playing .hdp-icon-pause {
    opacity: 1;
    transform: scale(1);
}

body.audio_playing .hdp-shell .hdp-playbtn::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(41, 214, 139, 0.34);
    animation: hdp-play-pulse 1.9s ease-out infinite;
}

@keyframes hdp-play-pulse {
    from { transform: scale(0.82); opacity: 0.7; }
    to { transform: scale(1.45); opacity: 0; }
}

.hdp-shell .song_prog_mobi {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18px;
    z-index: 4;
}

@media (min-width: 901px) {
    .hdp-shell .song_prog_mobi {
        display: none !important;
    }
}

.hdp-shell .progress_container,
.hdp-shell .hdp-prog-wrap {
    position: relative;
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
}

.hdp-shell .hdp-scrub-row {
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    bottom: auto;
    width: auto;
    height: 16px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 6;
    pointer-events: auto;
}

.hdp-shell .hdp-prog-wrap,
.hdp-shell .song_prog_mobi .progress_container {
    height: 18px;
    display: flex;
    align-items: center;
    cursor: ew-resize;
    touch-action: pan-y;
}

.hdp-shell .hdp-prog-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    flex: none;
    width: 100%;
    min-width: 0;
    height: 16px;
    pointer-events: auto;
    z-index: 8;
}

.hdp-shell .song_prog_mobi .progress_container {
    width: 100%;
}

.hdp-shell .progress_container input[type=range] {
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    bottom: auto;
    z-index: 20;
    width: 100%;
    height: 30px;
    margin: 0;
    opacity: 1;
    cursor: ew-resize;
    background: transparent !important;
    color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: 0;
    -webkit-user-drag: none;
    pointer-events: none !important;
    display: block;
}

.hdp-shell .progress_container input[type=range]::-webkit-slider-runnable-track {
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.hdp-shell .progress_container input[type=range]::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -4.5px;
    border: 2px solid rgba(7, 17, 12, 0.7);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(41, 214, 139, 0.12);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 120ms ease, transform 120ms ease, box-shadow 120ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.hdp-shell .progress_container input[type=range]::-moz-range-track {
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.hdp-shell .progress_container input[type=range]::-moz-range-progress {
    height: 3px;
    background: transparent;
}

.hdp-shell .progress_container input[type=range]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(7, 17, 12, 0.7);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(41, 214, 139, 0.12);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.hdp-shell .progress_container:hover input[type=range]::-webkit-slider-thumb,
.hdp-shell .progress_container.is-seeking input[type=range]::-webkit-slider-thumb,
.hdp-shell .progress_container input[type=range]:focus-visible::-webkit-slider-thumb,
.hdp-shell .progress_container input[type=range]:active::-webkit-slider-thumb {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .progress_container:hover input[type=range]::-moz-range-thumb,
.hdp-shell .progress_container.is-seeking input[type=range]::-moz-range-thumb,
.hdp-shell .progress_container input[type=range]:focus-visible::-moz-range-thumb,
.hdp-shell .progress_container input[type=range]:active::-moz-range-thumb {
    opacity: 1;
    transform: scale(1);
}

.hdp-shell .progress_container .audio-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    transform: none;
    display: block;
    border: 0;
    border-radius: 999px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    overflow: hidden;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    transition: height 160ms ease;
}

.hdp-shell .progress_container:hover .audio-progress,
.hdp-shell .progress_container.is-seeking .audio-progress {
    height: 5px;
}

.hdp-shell .progress_container .audio-progress--buffered {
    z-index: 1;
    opacity: 0.34;
}

.hdp-shell .progress_container .audio-progress--played {
    z-index: 2;
}

.hdp-shell .progress_container .audio-progress--buffered[value]::-webkit-progress-bar,
.hdp-shell .progress_container .audio-progress--played[value]::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
}

.hdp-shell .progress_container .audio-progress--buffered[value]::-webkit-progress-value {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.hdp-shell .progress_container .audio-progress--played[value]::-webkit-progress-value {
    background: linear-gradient(90deg, #e7c7d8 0%, var(--hdp-accent) 52%, var(--hdp-warm) 100%);
    border-radius: 999px;
}

.hdp-shell .progress_container .audio-progress--buffered::-moz-progress-bar {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.hdp-shell .progress_container .audio-progress--played::-moz-progress-bar {
    background: var(--hdp-accent);
    border-radius: 999px;
}

.hdp-shell .song_progress_right.hdp-right {
    flex: 0 1 30%;
    width: 30%;
    min-width: 210px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.hdp-shell .volume_controls {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 184px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hdp-shell .volume_controls .amplitude-mute {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    opacity: 0.88;
    cursor: pointer;
    transition: opacity 160ms ease, transform 160ms ease;
}

.hdp-shell .volume_controls .amplitude-mute:hover {
    opacity: 1;
    transform: scale(1.08);
}

.hdp-shell .plyr_vol_mobi {
    position: relative;
    width: 112px;
    height: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.hdp-shell .rangeSlider {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    cursor: ew-resize;
}

.hdp-shell .rangeSlider .rangeSlider__fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e7c7d8 0%, var(--hdp-warm) 100%);
}

.hdp-shell .rangeSlider .rangeSlider__handle {
    position: absolute;
    top: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
    transition: opacity 140ms ease, transform 140ms ease;
}

.hdp-shell .volume_controls:hover .rangeSlider__handle {
    opacity: 1;
}

.hdp-shell .volume_controls .amplitude-volume-slider {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 16px;
    opacity: 0;
    cursor: ew-resize;
}

.hdp-shell .song_queue {
    color: var(--hdp-text);
    cursor: pointer;
}

.hdp-shell .song_queue > svg {
    margin: 0;
}

.hdp-shell .song_progress_right > .btn {
    padding: 0;
    border: 0;
    margin: 0;
    line-height: 1;
}

.hdp-shell .song_progress_right > .btn svg path.active_path {
    display: none;
}

.expand_plr .hdp-shell .song_progress_right > .btn svg path {
    display: none;
}

.expand_plr .hdp-shell .song_progress_right > .btn svg path.active_path {
    display: block;
}

.hdp-shell .ma_player_playlist.dropdown-menu {
    bottom: 52px;
    right: 0;
    width: min(680px, calc(100vw - 28px));
    min-width: 420px;
    padding: 10px;
    border: 1px solid var(--hdp-line);
    border-radius: var(--hdp-radius);
    background: rgba(13, 17, 23, 0.96);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    transform-origin: right bottom;
    overflow: hidden;
}

.hdp-shell .ma_player_playlist.dropdown-menu::before {
    border-color: rgba(13, 17, 23, 0.96) transparent transparent;
    right: 22px;
}

.hdp-shell .ma_player_playlist .queue_head {
    padding: 8px 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hdp-shell .ma_player_playlist .queue_head h4 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.hdp-shell .ma_player_playlist .queue_head span {
    margin-left: auto;
    color: var(--hdp-coral);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.hdp-shell .ma_player_playlist .queue_mode_selector {
    margin: 10px 0;
    padding: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055) !important;
}

.hdp-shell .ma_player_playlist .queue_mode_selector label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--hdp-muted) !important;
    font-size: 12px;
    font-weight: 700;
}

.hdp-shell .ma_player_playlist .queue_mode_selector label svg,
.hdp-shell .ma_player_playlist #queue-mode-info svg {
    flex: 0 0 auto;
}

.hdp-shell .ma_player_playlist .queue_mode_selector select {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    border-radius: 10px !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    background: rgba(7, 10, 14, 0.78) !important;
    color: #fff !important;
    font-size: 13px;
}

.hdp-shell .ma_player_playlist #queue-mode-info {
    display: none;
    align-items: flex-start;
    gap: 5px;
    margin-top: 7px;
    color: var(--hdp-soft);
    font-size: 11px;
    line-height: 1.35;
}

.hdp-shell .ma_player_playlist #queue-mode-info a {
    color: var(--hdp-accent);
    font-weight: 700;
}

.hdp-shell .ma_player_playlist .queue_list {
    max-height: min(520px, calc(100vh - 220px));
    height: auto;
    overflow-y: auto;
    padding-right: 4px;
}

.hdp-shell .ma_player_playlist .queue_list::-webkit-scrollbar {
    width: 8px;
}

.hdp-shell .ma_player_playlist .queue_list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.hdp-shell .ma_player_playlist .song {
    min-height: 58px;
    padding: 9px 66px 9px 9px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 140ms ease, transform 140ms ease;
}

.hdp-shell .ma_player_playlist .song:hover,
.hdp-shell .ma_player_playlist .song.amplitude-active-song-container.amplitude-paused {
    background: rgba(255, 255, 255, 0.07);
}

.hdp-shell .ma_player_playlist .song.amplitude-playing {
    background: linear-gradient(90deg, rgba(41, 214, 139, 0.18), rgba(255, 255, 255, 0.055));
}

.hdp-shell .ma_player_playlist .song .song_icon_container {
    width: 42px;
    height: 42px;
    margin-right: 12px;
    border-radius: 10px;
    background: #151b23;
    overflow: hidden;
}

.hdp-shell .ma_player_playlist .song .song_icon_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdp-shell .ma_player_playlist .song .song_meta_data {
    min-width: 0;
    margin-right: 0;
}

.hdp-shell .ma_player_playlist .song .song_meta_data .song_title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hdp-shell .ma_player_playlist .song .song_meta_data .song_artist {
    color: var(--hdp-muted);
    font-size: 12px;
}

.hdp-shell .ma_player_playlist .song .song_duration {
    right: 12px;
    width: 48px;
    color: var(--hdp-soft);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.hdp-shell .player-video-preview {
    right: 18px;
    bottom: calc(var(--hdp-height) + 14px);
    width: min(420px, calc(100vw - 36px));
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #05070a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.hdp-shell .player-video-preview iframe,
.hdp-shell .player-video-preview .plyr__video-embed {
    width: 100%;
    height: 100%;
}

.hdp-shell .player_exit {
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
}

html.day-mode .hdp-shell {
    --hdp-bg: rgba(248, 250, 252, 0.94);
    --hdp-bg-strong: rgba(255, 255, 255, 0.98);
    --hdp-panel: rgba(15, 23, 42, 0.07);
    --hdp-panel-strong: rgba(15, 23, 42, 0.12);
    --hdp-line: rgba(15, 23, 42, 0.11);
    --hdp-text: #101722;
    --hdp-muted: rgba(16, 23, 34, 0.62);
    --hdp-soft: rgba(16, 23, 34, 0.4);
}

html.day-mode .hdp-shell .hdp-player {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 50%),
        linear-gradient(92deg, rgba(41, 214, 139, 0.1), rgba(255, 255, 255, 0.7) 45%, rgba(255, 209, 102, 0.14)),
        var(--hdp-bg);
    box-shadow: 0 -18px 46px rgba(15, 23, 42, 0.12), 0 -1px 0 rgba(15, 23, 42, 0.06);
}

html.day-mode .hdp-shell .hdp-song-name,
html.day-mode .hdp-shell .hdp-artist-link:hover .hdp-artist-name {
    color: var(--hdp-text);
}

html.day-mode .hdp-shell .ma_player_playlist.dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    color: var(--hdp-text);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

html.day-mode .hdp-shell .ma_player_playlist .queue_head h4,
html.day-mode .hdp-shell .ma_player_playlist .song .song_meta_data .song_title {
    color: var(--hdp-text);
}

html.day-mode .hdp-shell .ma_player_playlist .queue_mode_selector select {
    background: #fff !important;
    color: var(--hdp-text) !important;
}

@media (min-width: 1800px) {
    .expand_plr .hdp-shell {
        left: auto;
        top: 0;
        right: 0;
        bottom: 0;
        width: 296px;
    }

    .expand_plr .hdp-shell .hdp-player {
        width: 100%;
        height: 100%;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        gap: 18px;
        padding: 26px 16px;
        background:
            linear-gradient(180deg, rgba(41, 214, 139, 0.12), transparent 34%),
            var(--hdp-bg-strong);
    }

    .expand_plr .hdp-shell .hdp-left,
    .expand_plr .hdp-shell .hdp-center,
    .expand_plr .hdp-shell .hdp-right {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        justify-content: center;
    }

    .expand_plr .hdp-shell .hdp-left .song_details_inner {
        flex-direction: column;
        text-align: center;
    }

    .expand_plr .hdp-shell .hdp-art,
    .expand_plr .hdp-shell .hdp-art a,
    .expand_plr .hdp-shell .hdp-art img {
        width: 228px;
        height: 228px;
        border-radius: 22px;
    }

    .expand_plr .hdp-shell .hdp-art img {
        transform: none;
    }

    .expand_plr .hdp-shell .hdp-info {
        width: 100%;
        padding: 18px 0 0;
        align-items: center;
    }

    .expand_plr .hdp-shell .hdp-song-name,
    .expand_plr .hdp-shell .hdp-artist-name {
        text-align: center;
        max-width: 240px;
    }

    .expand_plr .hdp-shell .hdp-scrub-row {
        display: none;
    }

    .expand_plr .hdp-shell .song_prog_mobi {
        display: block;
        top: 364px;
        left: 18px;
        right: 18px;
    }

    .expand_plr .hdp-shell .hdp-right {
        margin-top: auto;
        flex-direction: column;
    }

    .expand_plr .hdp-shell .song_queue > svg {
        display: none;
    }

    .expand_plr .hdp-shell .ma_player_playlist.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        position: fixed;
        top: 470px;
        right: 12px;
        bottom: 86px;
        width: 272px;
        min-width: 0;
        padding: 10px;
        box-shadow: none;
    }

    .expand_plr .hdp-shell .ma_player_playlist.dropdown-menu::before {
        display: none;
    }

    .expand_plr .hdp-shell .ma_player_playlist .queue_list {
        max-height: calc(100vh - 610px);
    }
}

@media (max-width: 1220px) {
    .hdp-shell .hdp-player {
        gap: 12px;
        padding-right: 14px;
    }

    .hdp-shell .hdp-left {
        flex-basis: 28%;
        width: 28%;
        min-width: 190px;
    }

    .hdp-shell .hdp-player .song_details.hdp-left {
        flex-basis: 28%;
        width: 28%;
        min-width: 190px;
    }

    .hdp-shell .song_progress_right.hdp-right {
        flex-basis: 28%;
        width: 28%;
        min-width: 185px;
    }

    .hdp-shell .volume_controls {
        width: 162px;
    }

    .hdp-shell .plyr_vol_mobi {
        width: 92px;
    }

    .hdp-shell .rangeSlider {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hdp-shell {
        --hdp-height: 66px;
    }

    .hdp-shell .hdp-player {
        height: var(--hdp-height);
        min-height: var(--hdp-height);
        gap: 10px;
        padding: 8px 12px 8px 0;
    }

    .hdp-shell .song_prog_mobi {
        display: block;
    }

    .hdp-shell .hdp-scrub-row,
    .hdp-shell .hdp-mini-time {
        display: none !important;
    }

    .hdp-shell .hdp-left {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .hdp-shell .hdp-player .song_details.hdp-left {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .hdp-shell .hdp-art,
    .hdp-shell .hdp-art a,
    .hdp-shell .hdp-art img {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art,
    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art a,
    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art img {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        margin: 0;
    }

    .hdp-shell .hdp-art img {
        transform: translateY(-5px);
        border-radius: 0 12px 12px 0;
    }

    .hdp-shell .hdp-center {
        flex: 0 0 54px;
        min-width: 54px;
        width: 54px;
        padding: 0;
    }

    .hdp-shell .hdp-controls {
        gap: 0;
    }

    .hdp-shell .hdp-ctrl {
        display: none;
    }

    .hdp-shell .hdp-playbtn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
    }

    .hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
    }

    .hdp-shell .song_progress_right.hdp-right {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        display: flex !important;
        gap: 8px;
    }

    .hdp-shell .volume_controls {
        display: flex !important;
        width: 132px;
        height: 34px;
        padding: 0 9px;
    }

    .hdp-shell .plyr_vol_mobi {
        width: 72px;
    }

    .hdp-shell .rangeSlider {
        width: 100%;
    }

    .hdp-shell .ma_player_playlist.dropdown-menu {
        right: 10px;
        bottom: 58px;
        width: calc(100vw - 20px);
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 620px) {
    .hdp-shell {
        --hdp-height: 64px;
    }

    .hdp-shell .hdp-player {
        gap: 8px;
        padding-right: 10px;
    }

    .hdp-shell .hdp-info {
        padding-left: 12px;
    }

    .hdp-shell .hdp-song-name {
        font-size: 13px;
    }

    .hdp-shell .hdp-artist-name {
        font-size: 11px;
    }

    .hdp-shell .volume_controls {
        background: transparent;
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
    }

    .hdp-shell .plyr_vol_mobi {
        display: none;
    }

    .hdp-shell .song_queue > svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 470px) {
    .hdp-shell .hdp-art,
    .hdp-shell .hdp-art a,
    .hdp-shell .hdp-art img {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art,
    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art a,
    .hdp-shell .hdp-player .song_details .song_details_inner .song_art.hdp-art img {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .hdp-shell .song_queue {
        display: none;
    }

    .hdp-shell .hdp-center {
        flex-basis: 48px;
        width: 48px;
        min-width: 48px;
    }

    .hdp-shell .hdp-playbtn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
    }

    .hdp-shell .hdp-player .song_progress .song_controls #play-pause.amplitude-play-pause.hdp-playbtn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdp-shell *,
    .hdp-shell *::before,
    .hdp-shell *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
