/* NyahVolt Global Personal Music Player v1.0 */
:root {
    --nvp-blue: #23bfff;
    --nvp-cyan: #6cecff;
    --nvp-purple: #a74cff;
    --nvp-bg: rgba(3, 13, 25, .96);
    --nvp-panel: rgba(8, 27, 47, .96);
    --nvp-text: #eef9ff;
    --nvp-muted: #88a7c0;
    --nvp-border: rgba(62, 194, 255, .35);
}

#nvp-root,
#nvp-root * {
    box-sizing: border-box;
}

#nvp-root {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483000;
    width: min(420px, calc(100vw - 30px));
    color: var(--nvp-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.35;
}

.nvp-player {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--nvp-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(29, 189, 255, .18), transparent 34%),
        radial-gradient(circle at 93% 18%, rgba(167, 76, 255, .16), transparent 36%),
        linear-gradient(145deg, rgba(8, 31, 53, .98), var(--nvp-bg));
    box-shadow: 0 22px 62px rgba(0, 0, 0, .46), 0 0 32px rgba(0, 164, 255, .14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-origin: right bottom;
    animation: nvp-enter .22s ease-out;
}

.nvp-player::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nvp-blue), var(--nvp-purple), transparent);
    box-shadow: 0 0 14px rgba(35, 191, 255, .55);
}

@keyframes nvp-enter {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nvp-hidden {
    display: none !important;
}

.nvp-header {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 13px 9px;
}

.nvp-artwork {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgba(95, 219, 255, .42);
    border-radius: 12px;
    background: linear-gradient(135deg, #073555, #7728bc);
    box-shadow: 0 0 17px rgba(0, 174, 255, .18);
}

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

.nvp-meta {
    min-width: 0;
}

.nvp-brand {
    color: var(--nvp-cyan);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nvp-title,
.nvp-artist {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nvp-title {
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.nvp-artist {
    margin-top: 2px;
    color: var(--nvp-muted);
    font-size: 11px;
}

.nvp-window-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nvp-icon-button,
.nvp-primary-button,
.nvp-link-button,
.nvp-profile-launch,
.nvp-inline-launch {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.nvp-icon-button {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79, 197, 255, .23);
    border-radius: 9px;
    background: rgba(0, 125, 188, .09);
    color: #bdefff;
    font-size: 13px;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.nvp-icon-button:hover {
    border-color: rgba(89, 215, 255, .72);
    background: rgba(0, 151, 220, .18);
    transform: translateY(-1px);
}

.nvp-body {
    padding: 5px 14px 14px;
}

.nvp-status {
    min-height: 17px;
    margin-bottom: 6px;
    color: #7d9bb4;
    font-size: 10px;
}

.nvp-progress-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 9px;
    align-items: center;
}

.nvp-time {
    color: #a8bfd1;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.nvp-range {
    width: 100%;
    margin: 0;
    accent-color: var(--nvp-blue);
    cursor: pointer;
}

.nvp-controls {
    display: grid;
    grid-template-columns: auto auto auto minmax(76px, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.nvp-primary-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 228, 255, .52);
    border-radius: 50%;
    background: linear-gradient(135deg, #0baeea, #7b39e5);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 22px rgba(27, 185, 255, .28);
}

.nvp-primary-button:hover {
    box-shadow: 0 0 30px rgba(27, 185, 255, .44);
    transform: scale(1.03);
}

.nvp-link-button {
    display: inline-flex;
    min-width: 36px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(165, 83, 255, .31);
    border-radius: 9px;
    background: rgba(133, 57, 220, .12);
    color: #e4ccff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.nvp-link-button:hover {
    border-color: #bd73ff;
    color: #fff !important;
}

.nvp-volume {
    min-width: 68px;
}

.nvp-player:not(.nvp-collapsed) [data-nvp-expand] {
    display: none;
}

.nvp-collapsed .nvp-body,
.nvp-collapsed .nvp-artwork,
.nvp-collapsed .nvp-artist,
.nvp-collapsed .nvp-window-actions [data-nvp-minimize] {
    display: none;
}

.nvp-collapsed .nvp-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 11px;
}

.nvp-collapsed .nvp-meta {
    padding-left: 4px;
}

.nvp-collapsed .nvp-title {
    max-width: 250px;
}

.nvp-soundcloud-frame {
    position: fixed;
    left: -9999px;
    bottom: -9999px;
    width: 2px;
    height: 2px;
    border: 0;
    opacity: .001;
    pointer-events: none;
}

.nvp-profile-launch-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.nvp-profile-launch,
.nvp-inline-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(56, 194, 255, .38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(9, 112, 173, .24), rgba(100, 40, 176, .20));
    color: #dff7ff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.nvp-profile-launch {
    padding: 9px 14px;
    font-size: 11px;
}

.nvp-inline-launch {
    margin-left: 7px;
    padding: 4px 8px;
    font-size: 9px;
    line-height: 1.25;
    vertical-align: middle;
}

.nvp-profile-launch:hover,
.nvp-inline-launch:hover {
    border-color: #5edcff;
    background: linear-gradient(135deg, rgba(9, 145, 214, .32), rgba(120, 47, 205, .28));
    transform: translateY(-1px);
}

.nvp-profile-launch svg,
.nvp-inline-launch svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

@media (max-width: 620px) {
    #nvp-root {
        right: 9px;
        bottom: 9px;
        left: 9px;
        width: auto;
    }

    .nvp-controls {
        grid-template-columns: auto auto auto minmax(55px, 1fr) auto;
    }

    .nvp-header {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .nvp-artwork {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 420px) {
    .nvp-volume {
        display: none;
    }

    .nvp-controls {
        grid-template-columns: auto auto auto 1fr;
    }

    .nvp-link-button {
        justify-self: end;
    }
}

/* =========================================================
   NYAHVOLT CONTINUOUS BROWSING MODE v1.1
   ========================================================= */

html.nvp-continuous-active,
body.nvp-continuous-active {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

#nvp-continuous-shell {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    overflow: hidden;
    background: #020814;
}

#nvp-continuous-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #020814;
}

html.nvp-embedded-controller #nvp-root,
body.nvp-embedded-controller #nvp-root {
    display: none !important;
}

body.nvp-embedded-controller > audio[style*="display: none"] {
    pointer-events: none;
}

#nvp-root {
    z-index: 2147483000;
}
