/* MP3Zone player upgrade: lightweight preload, spectrum and mobile fullscreen */
.mpz-ico {width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; color: currentColor;}
.mpz-ico path:not([fill="none"]) {fill: currentColor;}
.mpz-ico path[fill="none"] {fill: none !important;}
.mpz-ico-toggle {display: inline-flex; align-items: center; justify-content: center;}
.mpz-ico-toggle .mpz-ico--close, .mpz-audioplayer-muted .mpz-ico-toggle--volume .mpz-ico--volume {display: none;}
.mpz-audioplayer-muted .mpz-ico-toggle--volume .mpz-ico--volume-muted {display: inline-block;}
.mpz-ico-toggle--volume .mpz-ico--volume-muted {display: none;}

.mpz-card__play {position: relative; overflow: hidden;}
.mpz-card__play .mpz-ico {position: relative; z-index: 2;}
.mpz-card__spectrum,
.mpz-ap-spectrum,
.mpz-fs-spectrum {display: inline-flex; align-items: center; justify-content: center; gap: 2px;}
.mpz-card__spectrum i,
.mpz-ap-spectrum i,
.mpz-fs-spectrum i {display: block; width: 3px; height: 14px; border-radius: 999px; background: currentColor; transform-origin: center bottom; animation: mpzSpectrum 780ms ease-in-out infinite; opacity: .9;}
.mpz-card__spectrum {position: absolute; inset: 0; display: none; z-index: 3; color: #fff;}
.mpz-js-track-played .mpz-card__play .mpz-card__spectrum {display: flex;}
.mpz-js-track-played .mpz-card__play > .mpz-ico {opacity: 0;}
.mpz-card__spectrum i:nth-child(2), .mpz-ap-spectrum i:nth-child(2), .mpz-fs-spectrum i:nth-child(2) {animation-delay: .10s;}
.mpz-card__spectrum i:nth-child(3), .mpz-ap-spectrum i:nth-child(3), .mpz-fs-spectrum i:nth-child(3) {animation-delay: .20s;}
.mpz-card__spectrum i:nth-child(4), .mpz-ap-spectrum i:nth-child(4), .mpz-fs-spectrum i:nth-child(4) {animation-delay: .30s;}
.mpz-ap-spectrum i:nth-child(5), .mpz-fs-spectrum i:nth-child(5) {animation-delay: .40s;}
.mpz-ap-spectrum i:nth-child(6), .mpz-fs-spectrum i:nth-child(6) {animation-delay: .50s;}
.mpz-ap-spectrum i:nth-child(7), .mpz-fs-spectrum i:nth-child(7) {animation-delay: .18s;}
.mpz-ap-spectrum i:nth-child(8), .mpz-fs-spectrum i:nth-child(8) {animation-delay: .28s;}
.mpz-ap-spectrum i:nth-child(9), .mpz-fs-spectrum i:nth-child(9) {animation-delay: .38s;}
.mpz-ap-spectrum i:nth-child(10), .mpz-fs-spectrum i:nth-child(10) {animation-delay: .48s;}
.mpz-ap-spectrum i:nth-child(11), .mpz-fs-spectrum i:nth-child(11) {animation-delay: .58s;}
.mpz-ap-spectrum i:nth-child(12), .mpz-fs-spectrum i:nth-child(12) {animation-delay: .68s;}
@keyframes mpzSpectrum {
    0%, 100% {transform: scaleY(.32); opacity: .46;}
    50% {transform: scaleY(1); opacity: 1;}
}

.mpz-card__play--loading::after {content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: mpzSpin .75s linear infinite; z-index: 4;}
.mpz-card__play--loading > .mpz-ico, .mpz-card__play--loading .mpz-card__spectrum {opacity: 0;}
@keyframes mpzSpin {to {transform: rotate(360deg);}}

.mpz-player {z-index: 995; padding: 0 12px 12px; pointer-events: none;}
.mpz-player.mpz-hidden {display: none;}
.mpz-audioplayer {pointer-events: auto; overflow: hidden; border-radius: 22px; min-height: 72px; height: 72px; padding: 18px 24px 12px; background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.96)); border: 1px solid rgba(148,163,184,.18); box-shadow: 0 -18px 45px rgba(15,23,42,.20), 0 12px 35px rgba(15,23,42,.18); color: #fff; backdrop-filter: blur(14px);}
.mpz-audioplayer::before {content: ''; position: absolute; right: -80px; top: -95px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.34), rgba(14,165,233,.05) 62%, transparent 72%); pointer-events: none;}
.mpz-audioplayer audio {display: none;}
.mpz-audio-preload {position: absolute; left: 16px; right: 16px; top: 7px; height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.10); opacity: 0; transition: opacity .18s;}
.mpz-audio-preload span {display: block; width: 35%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #a78bfa, #22d3ee); transform: translateX(-110%);}
.mpz-audio-loading .mpz-audio-preload {opacity: 1;}
.mpz-audio-loading .mpz-audio-preload span {animation: mpzPreloadLine 1.05s ease-in-out infinite;}
@keyframes mpzPreloadLine {0% {transform: translateX(-115%);} 100% {transform: translateX(320%);}}

.mpz-audioplayer-bar {top: auto; left: 160px; right: 180px; bottom: 9px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.12); cursor: pointer;}
.mpz-audioplayer-bar-loaded {background: rgba(255,255,255,.18); border-radius: 999px;}
.mpz-audioplayer-bar-played {background: linear-gradient(90deg, #38bdf8, #8b5cf6); border-radius: 999px;}
.mpz-ap-img {width: 46px; height: 46px; min-width: 46px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.22);}
.mpz-ap-title {font-weight: 700; letter-spacing: -.01em;}
.mpz-ap-artist {opacity: .65; font-size: 12px;}
.mpz-ap-desc {position: relative; z-index: 2; height: 46px; width: 360px;}
.mpz-ap-spectrum {margin-left: 16px; color: #67e8f9; opacity: 0; transform: translateY(3px); transition: opacity .18s, transform .18s;}
.mpz-ap-spectrum i {height: 18px; width: 3px; background: linear-gradient(180deg, #a78bfa, #22d3ee);}
.mpz-audioplayer-playing .mpz-ap-spectrum {opacity: 1; transform: translateY(0);}
.mpz-ap-btns {z-index: 3;}
.mpz-audioplayer-playpause a {width: 46px; height: 46px; line-height: 46px; display: flex; align-items: center; justify-content: center; margin: 0 12px; background: linear-gradient(135deg, #38bdf8, #8b5cf6); color: #fff; border-radius: 16px; box-shadow: 0 12px 26px rgba(79,70,229,.32); padding: 0 !important;}
.mpz-ap-prev, .mpz-ap-next {width: 34px; height: 34px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.10); border-radius: 13px; transition: background .18s, color .18s, transform .18s;}
.mpz-audioplayer-playpause a:hover, .mpz-ap-prev:hover, .mpz-ap-next:hover {background: linear-gradient(135deg, #60a5fa, #a78bfa); color: #fff; transform: translateY(-1px);}
.mpz-ap-dl {position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 13px; background: rgba(34,211,238,.12); color: #67e8f9; opacity: 1; margin-left: 18px;}
.mpz-ap-dl:hover {background: rgba(34,211,238,.18); color: #fff;}
.mpz-ap-time {position: relative; z-index: 2; opacity: .72; font-size: 12px; min-width: 78px; justify-content: flex-end;}
.mpz-audioplayer-volume {z-index: 4;}
.mpz-audioplayer-volume-button a {display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; line-height: 34px; border-radius: 13px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); opacity: 1;}
.mpz-audioplayer-volume-adjust {border-radius: 16px; background: rgba(15,23,42,.96); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 35px rgba(0,0,0,.35);}
.mpz-audioplayer-volume-adjust > div {border-radius: 999px; background: rgba(255,255,255,.14);}
.mpz-audioplayer-volume-adjust > div > div {border-radius: 999px; background: linear-gradient(180deg, #22d3ee, #8b5cf6);}

.mpz-fs-player {display: none;}
body.mpz-fs-open {overflow: hidden !important; overscroll-behavior: none; touch-action: none;}

@media screen and (max-width: 760px) {
    .mpz-player {padding: 0;}
    .mpz-audioplayer {height: 72px; min-height: 72px; border-radius: 22px 22px 0 0; padding: 17px 14px 12px; box-shadow: 0 -16px 35px rgba(15,23,42,.28); touch-action: pan-x;}
    .mpz-audioplayer-bar {left: 14px; right: 14px; bottom: 7px;}
    .mpz-ap-desc {position: static; visibility: visible; width: auto; min-width: 0; max-width: none; flex: 1 1 auto; padding: 0 8px 0 0; background: transparent; box-shadow: none; height: 46px;}
    .mpz-ap-img {width: 42px; height: 42px; min-width: 42px; border-radius: 13px;}
    .mpz-ap-info {min-width: 0;}
    .mpz-ap-spectrum {display: none;}
    .mpz-ap-btns {position: static; transform: none; margin-left: auto;}
    .mpz-ap-prev, .mpz-ap-next {display: none;}
    .mpz-audioplayer-playpause a {width: 44px; height: 44px; margin: 0; border-radius: 15px;}
    .mpz-ap-dl, .mpz-ap-time, .mpz-audioplayer-volume, .mpz-ap-mob-btn {display: none !important;}

    .mpz-fs-player:not(.mpz-hidden) {display: block; position: fixed; inset: 0; z-index: 100000; color: #fff; overflow: hidden; overscroll-behavior: none; touch-action: none;}
    .mpz-fs-backdrop {position: absolute; inset: 0; background: radial-gradient(circle at 80% 8%, rgba(124,58,237,.34), transparent 32%), radial-gradient(circle at 18% 22%, rgba(34,211,238,.22), transparent 30%), linear-gradient(160deg, #0f172a 0%, #111827 52%, #1e1b4b 100%);}
    .mpz-fs-inner {position: relative; z-index: 2; min-height: 100%; box-sizing: border-box; padding: calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 24px); display: flex; flex-direction: column; align-items: center;}
    .mpz-fs-top {width: 100%; margin-bottom: 22px;}
    .mpz-fs-label {font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.56); font-weight: 700;}
    .mpz-fs-close {width: 38px; height: 38px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.10); color: #fff;}
    .mpz-fs-cover {width: 100px; height: 100px; min-width: 100px; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 38px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.10);}
    .mpz-fs-title {width: 100%; margin-top: 18px; text-align: center; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em;}
    .mpz-fs-artist {width: 100%; margin-top: 7px; text-align: center; color: rgba(255,255,255,.64); font-size: 14px;}
    .mpz-fs-spectrum {height: 48px; margin: 24px 0 16px; color: #67e8f9; gap: 3px; opacity: .85;}
    .mpz-fs-spectrum i {height: 34px; width: 3px; background: linear-gradient(180deg, #c4b5fd, #22d3ee);}
    .mpz-audioplayer-stopped .mpz-fs-spectrum i {animation-play-state: paused; transform: scaleY(.35); opacity: .35;}
    .mpz-fs-seek {position: relative; width: 100%; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: visible; cursor: pointer;}
    .mpz-fs-seek-loaded, .mpz-fs-seek-played {position: absolute; left: 0; top: 0; height: 100%; border-radius: inherit;}
    .mpz-fs-seek-loaded {background: rgba(255,255,255,.18);}
    .mpz-fs-seek-played {width: 0; background: linear-gradient(90deg, #38bdf8, #a78bfa);}
    .mpz-fs-seek i {position: absolute; left: 0; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.28); transform: translate(-50%, -50%);}
    .mpz-fs-times {width: 100%; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.56);}
    .mpz-fs-controls {width: 100%; gap: 13px; margin: 24px 0 20px;}
    .mpz-fs-control {width: 42px; height: 42px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.10); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.08); transition: transform .18s, background .18s, color .18s;}
    .mpz-fs-control:active {transform: scale(.96);}
    .mpz-fs-play {width: 64px; height: 64px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #38bdf8, #8b5cf6); box-shadow: 0 18px 36px rgba(79,70,229,.34); font-size: 24px;}
    .mpz-fs-control.mpz-is-active {background: rgba(34,211,238,.16); color: #67e8f9; border-color: rgba(34,211,238,.26);}
    .mpz-fs-volume-row {width: 100%; gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);}
    .mpz-fs-volume-icon {width: 28px; min-width: 28px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75);}
    .mpz-fs-volume {width: 100%; accent-color: #8b5cf6;}
    .mpz-fs-volume::-webkit-slider-runnable-track {height: 5px; border-radius: 999px; background: rgba(255,255,255,.20);}
    .mpz-fs-volume::-webkit-slider-thumb {-webkit-appearance: none; appearance: none; margin-top: -6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.24);}
    .mpz-fs-volume::-moz-range-track {height: 5px; border-radius: 999px; background: rgba(255,255,255,.20);}
    .mpz-fs-volume::-moz-range-thumb {width: 17px; height: 17px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.24);}
    .mpz-fs-hint {margin-top: 13px; color: rgba(255,255,255,.38); font-size: 12px;}
}

@media screen and (min-width: 761px) {
    .mpz-fs-player {display: none !important;}
}

/* MP3Zone player upgrade v2: fullscreen click-layer, cover preload/spectrum, desktop spacing fixes */
html.mpz-fs-open-html,
body.mpz-fs-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: none !important;
}
body.mpz-fs-open .mpz-player {
    z-index: 100000 !important;
    pointer-events: auto !important;
}
body.mpz-fs-open .mpz-fs-player,
body.mpz-fs-open .mpz-fs-backdrop,
body.mpz-fs-open .mpz-fs-inner,
body.mpz-fs-open .mpz-fs-control,
body.mpz-fs-open .mpz-fs-close,
body.mpz-fs-open .mpz-fs-seek,
body.mpz-fs-open .mpz-fs-volume {
    pointer-events: auto !important;
}
.mpz-fs-player.mpz-hidden {
    display: none !important;
    pointer-events: none !important;
}

.mpz-ap-img,
.mpz-fs-cover {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mpz-cover-spectrum {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(15,23,42,.42), rgba(79,70,229,.22));
    color: #fff;
    opacity: 0;
    transform: scale(.98);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}
.mpz-cover-spectrum i {
    display: block;
    width: 3px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #67e8f9 48%, #a78bfa);
    transform-origin: center bottom;
    animation: mpzSpectrum 780ms ease-in-out infinite;
    opacity: .9;
}
.mpz-cover-spectrum--fs {
    gap: 3px;
}
.mpz-cover-spectrum--fs i {
    height: 30px;
}
.mpz-cover-spectrum i:nth-child(2) {animation-delay: .08s;}
.mpz-cover-spectrum i:nth-child(3) {animation-delay: .16s;}
.mpz-cover-spectrum i:nth-child(4) {animation-delay: .24s;}
.mpz-cover-spectrum i:nth-child(5) {animation-delay: .32s;}
.mpz-cover-spectrum i:nth-child(6) {animation-delay: .40s;}
.mpz-cover-spectrum i:nth-child(7) {animation-delay: .12s;}
.mpz-cover-spectrum i:nth-child(8) {animation-delay: .20s;}
.mpz-cover-spectrum i:nth-child(9) {animation-delay: .28s;}
.mpz-cover-spectrum i:nth-child(10) {animation-delay: .36s;}
.mpz-cover-preload {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(15,23,42,.50), rgba(79,70,229,.28));
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.mpz-cover-preload::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.34);
    border-top-color: #fff;
    animation: mpzSpin .75s linear infinite;
}
.mpz-audio-loading .mpz-cover-preload {
    opacity: 1;
}
.mpz-audio-loading .mpz-cover-spectrum,
.mpz-audio-loading .mpz-ap-spectrum,
.mpz-audio-loading .mpz-fs-spectrum {
    opacity: 0 !important;
}
.mpz-audioplayer-playing:not(.mpz-audio-loading) .mpz-ap-img .mpz-cover-spectrum,
.mpz-fs-player.mpz-audioplayer-playing:not(.mpz-audio-loading) .mpz-fs-cover .mpz-cover-spectrum {
    opacity: 1;
    transform: scale(1);
}
.mpz-audioplayer-stopped .mpz-cover-spectrum i,
.mpz-fs-player.mpz-audioplayer-stopped .mpz-cover-spectrum i {
    animation-play-state: paused;
}

@media screen and (min-width: 761px) {
    .mpz-audioplayer {
        height: 82px;
        min-height: 82px;
        padding: 18px 24px 22px;
    }
    .mpz-audioplayer-bar {
        left: 168px;
        right: 300px;
        bottom: 13px;
        height: 4px;
    }
    .mpz-ap-desc {
        width: 380px;
    }
    .mpz-ap-spectrum {
        display: none !important;
    }
}

@media screen and (max-width: 760px) {
    body.mpz-fs-open .mpz-player {
        position: fixed !important;
        inset: 0 !important;
        padding: 0 !important;
    }
    .mpz-fs-player:not(.mpz-hidden) {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 100001 !important;
        pointer-events: auto !important;
        touch-action: none !important;
        overflow: hidden !important;
    }
    .mpz-fs-backdrop {
        z-index: 1;
        pointer-events: auto !important;
    }
    .mpz-fs-inner {
        z-index: 2;
        pointer-events: auto !important;
    }
    .mpz-fs-close,
    .mpz-fs-control,
    .mpz-fs-seek,
    .mpz-fs-volume-row,
    .mpz-fs-volume {
        pointer-events: auto !important;
        touch-action: manipulation;
    }
    .mpz-fs-cover {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
    }
    .mpz-fs-spectrum {
        display: none !important;
    }
}

/* MP3Zone player upgrade v3: progress bar uses preload position */
.mpz-audioplayer {
    padding-top: 22px !important;
}
.mpz-audio-preload,
.mpz-audioplayer-bar {
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    top: 8px !important;
    bottom: auto !important;
    height: 4px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}
.mpz-audio-preload {
    z-index: 6 !important;
    background: rgba(255,255,255,.11) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.mpz-audioplayer-bar {
    z-index: 5 !important;
    background: rgba(255,255,255,.12) !important;
    opacity: 1 !important;
    transition: opacity .18s ease !important;
}
.mpz-audio-loading .mpz-audio-preload {
    opacity: 1 !important;
}
.mpz-audio-loading .mpz-audioplayer-bar {
    opacity: 0 !important;
    pointer-events: none !important;
}
.mpz-audio-loading .mpz-cover-preload {
    opacity: 1 !important;
}
.mpz-audio-loading .mpz-cover-spectrum,
.mpz-audio-loading .mpz-ap-spectrum,
.mpz-audio-loading .mpz-fs-spectrum {
    opacity: 0 !important;
    visibility: hidden !important;
}
.mpz-audioplayer-playing:not(.mpz-audio-loading) .mpz-ap-img .mpz-cover-spectrum,
.mpz-fs-player.mpz-audioplayer-playing:not(.mpz-audio-loading) .mpz-fs-cover .mpz-cover-spectrum {
    opacity: 1 !important;
    visibility: visible !important;
}

@media screen and (min-width: 761px) {
    .mpz-audioplayer {
        height: 82px !important;
        min-height: 82px !important;
        padding: 24px 24px 14px !important;
    }
    .mpz-audio-preload,
    .mpz-audioplayer-bar {
        left: 20px !important;
        right: 20px !important;
        top: 8px !important;
        height: 4px !important;
    }
    .mpz-ap-desc,
    .mpz-ap-btns,
    .mpz-ap-dl,
    .mpz-ap-time,
    .mpz-audioplayer-volume {
        transform: translateY(3px);
    }
}

@media screen and (max-width: 760px) {
    .mpz-audioplayer {
        padding-top: 20px !important;
    }
    .mpz-audio-preload,
    .mpz-audioplayer-bar {
        left: 14px !important;
        right: 14px !important;
        top: 7px !important;
        height: 4px !important;
    }
}

/* MP3Zone player upgrade v4: fast playback mode.
   Bar uses the same top lane as preload: loading = preload line, ready/playing = seek bar. */
.mpz-player .mpz-audioplayer {
    position: relative;
}
.mpz-player .mpz-audioplayer-bar {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    top: 7px !important;
    bottom: auto !important;
    height: 4px !important;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .16s ease;
}
.mpz-player .mpz-audio-preload {
    left: 16px;
    right: 16px;
    top: 7px;
    height: 4px;
    z-index: 6;
}
.mpz-player .mpz-audio-loading .mpz-audioplayer-bar {
    opacity: 0;
    pointer-events: none;
}
.mpz-player .mpz-audioplayer:not(.mpz-audio-loading) .mpz-audio-preload,
.mpz-player .mpz-fs-player:not(.mpz-audio-loading) .mpz-audio-preload {
    opacity: 0;
}
.mpz-player .mpz-js-track-preloaded .mpz-card__play:not(.mpz-card__play--loading)::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: rgba(255,255,255,.10);
    opacity: .35;
    pointer-events: none;
}

@media screen and (min-width: 761px) {
    .mpz-player .mpz-audioplayer {
        padding-top: 22px;
        padding-bottom: 15px;
    }
    .mpz-player .mpz-audioplayer-bar {
        left: 18px !important;
        right: 18px !important;
        top: 8px !important;
        bottom: auto !important;
    }
    .mpz-player .mpz-audio-preload {
        left: 18px;
        right: 18px;
        top: 8px;
    }
}

@media screen and (max-width: 760px) {
    .mpz-player .mpz-audioplayer-bar {
        left: 12px !important;
        right: 12px !important;
        top: 6px !important;
        bottom: auto !important;
    }
    .mpz-player .mpz-audio-preload {
        left: 12px;
        right: 12px;
        top: 6px;
    }
}

/* MP3Zone player upgrade v5: desktop volume popup outside player */
@media screen and (min-width: 761px) {
    .mpz-player {
        overflow: visible !important;
        z-index: 9995 !important;
    }
    .mpz-player .mpz-audioplayer {
        overflow: visible !important;
        isolation: isolate;
    }
    .mpz-player .mpz-audioplayer::before {
        display: none !important;
    }
    .mpz-player .mpz-audioplayer-volume {
        position: relative !important;
        overflow: visible !important;
        z-index: 80 !important;
    }
    .mpz-player .mpz-audioplayer-volume-button,
    .mpz-player .mpz-audioplayer-volume-button a {
        position: relative !important;
        z-index: 82 !important;
    }
    .mpz-player .mpz-audioplayer-volume-adjust {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: calc(100% + 12px) !important;
        width: 44px !important;
        height: 138px !important;
        padding: 14px 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(-50%) translateY(8px) !important;
        transition: opacity .16s ease, visibility .16s ease, transform .16s ease !important;
        z-index: 90 !important;
        overflow: visible !important;
    }
    .mpz-player .mpz-audioplayer-volume:hover .mpz-audioplayer-volume-adjust,
    .mpz-player .mpz-audioplayer-volume:focus-within .mpz-audioplayer-volume-adjust,
    .mpz-player .mpz-audioplayer-volume.mpz-volume-open .mpz-audioplayer-volume-adjust {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .mpz-player .mpz-audioplayer-volume-adjust::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -7px;
        width: 14px;
        height: 14px;
        border-right: 1px solid rgba(255,255,255,.12);
        border-bottom: 1px solid rgba(255,255,255,.12);
        background: rgba(15,23,42,.96);
        transform: translateX(-50%) rotate(45deg);
        border-radius: 3px;
        z-index: -1;
    }
    .mpz-player .mpz-audioplayer-volume-adjust > div {
        position: relative !important;
        width: 7px !important;
        height: 108px !important;
        min-height: 108px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    .mpz-player .mpz-audioplayer-volume-adjust > div > div {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        min-height: 2px !important;
    }
}

@media screen and (max-width: 760px) {
    .mpz-player .mpz-audioplayer-volume-adjust {
        display: none !important;
    }
}


/* MP3Zone player upgrade v7: gentle left/right swipe on mobile mini-player only */
@media screen and (max-width: 760px) {
    .mpz-player .mpz-audioplayer {
        will-change: transform, opacity;
        transform-origin: center center;
        backface-visibility: hidden;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
    }
    .mpz-player .mpz-audioplayer.mpz-mini-swiping {
        transition: none !important;
    }
    .mpz-player .mpz-audioplayer.mpz-mini-snap {
        transition: transform .22s cubic-bezier(.22, 1, .36, 1), opacity .22s ease !important;
    }
    .mpz-player .mpz-audioplayer.mpz-mini-switching:before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(56,189,248,.12), rgba(124,58,237,.14));
        opacity: .65;
    }
    .mpz-fs-inner {
        will-change: transform, opacity;
        transform-origin: center center;
        backface-visibility: hidden;
    }
    .mpz-fs-inner.mpz-fs-swiping {
        transition: none !important;
    }
    .mpz-fs-inner.mpz-fs-snap {
        transition: transform .22s cubic-bezier(.22, 1, .36, 1), opacity .22s ease !important;
    }
}


/* MP3Zone player upgrade v13: stable desktop volume slider.
   Fix: volume popup stays visible while cursor moves from button to slider and while dragging. */
@media screen and (min-width: 761px) {
    .mpz-player .mpz-audioplayer-volume {
        position: relative !important;
        overflow: visible !important;
        z-index: 120 !important;
    }

    .mpz-player .mpz-audioplayer-volume::before {
        content: '';
        position: absolute;
        left: -18px;
        right: -18px;
        bottom: 100%;
        height: 22px;
        display: none;
        background: transparent;
        pointer-events: auto;
    }

    .mpz-player .mpz-audioplayer-volume:hover::before,
    .mpz-player .mpz-audioplayer-volume:focus-within::before,
    .mpz-player .mpz-audioplayer-volume.mpz-volume-open::before {
        display: block;
    }

    .mpz-player .mpz-audioplayer-volume-adjust {
        bottom: calc(100% + 6px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(-50%) translateY(6px) !important;
    }

    .mpz-player .mpz-audioplayer-volume:hover .mpz-audioplayer-volume-adjust,
    .mpz-player .mpz-audioplayer-volume:focus-within .mpz-audioplayer-volume-adjust,
    .mpz-player .mpz-audioplayer-volume.mpz-volume-open .mpz-audioplayer-volume-adjust {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    .mpz-player .mpz-audioplayer-volume-adjust,
    .mpz-player .mpz-audioplayer-volume-adjust > div {
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }
}
/* MP3Zone player upgrade v14: random spectrum bars */
.mpz-card__spectrum i,
.mpz-ap-spectrum i,
.mpz-fs-spectrum i,
.mpz-cover-spectrum i {
    animation: mpzSpectrumRandom var(--mpz-bar-dur, .78s) ease-in-out var(--mpz-bar-delay, 0s) infinite !important;
    transform-origin: center bottom !important;
}

@keyframes mpzSpectrumRandom {
    0%, 100% {
        transform: scaleY(var(--mpz-bar-s1, .32));
        opacity: var(--mpz-bar-o1, .46);
    }

    35% {
        transform: scaleY(var(--mpz-bar-s3, 1));
        opacity: 1;
    }

    65% {
        transform: scaleY(var(--mpz-bar-s2, .62));
        opacity: var(--mpz-bar-o2, .82);
    }
}

.mpz-audioplayer-stopped .mpz-card__spectrum i,
.mpz-audioplayer-stopped .mpz-ap-spectrum i,
.mpz-audioplayer-stopped .mpz-fs-spectrum i,
.mpz-audioplayer-stopped .mpz-cover-spectrum i,
.mpz-fs-player.mpz-audioplayer-stopped .mpz-cover-spectrum i {
    animation-play-state: paused !important;
    transform: scaleY(.35) !important;
    opacity: .35 !important;
}