:root {
    --neon-highlight: #00ffcc;
}

.mp-d6ce9f62-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: radial-gradient(circle at top, #141724 0%, #0a0b10 100%);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.mp-d6ce9f62-player {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

/* Brand Bar */
.mp-d6ce9f62-brand-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 15px;
}

.mp-d6ce9f62-logo {
    height: 17px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--neon-highlight));
    object-fit: contain;
}

/* Main Grid Layout */
.mp-d6ce9f62-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 30px;
}

/* Showcase Cover Art */
.mp-d6ce9f62-track-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
    width: 100%;
}

.mp-d6ce9f62-cover-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    max-width: 100%;
    aspect-ratio: 1;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.mp-d6ce9f62-now-playing-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mp-d6ce9f62-player.playing .mp-d6ce9f62-now-playing-cover {
    transform: scale(1.05);
}

.mp-d6ce9f62-glow-overlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
    pointer-events: none;
}

.mp-d6ce9f62-track-meta {
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.mp-d6ce9f62-now-playing-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-d6ce9f62-now-playing-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right Panel */
.mp-d6ce9f62-panel-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
}

/* Tracklist */
.mp-d6ce9f62-tracklist {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 5px;
}

.mp-d6ce9f62-tracklist::-webkit-scrollbar {
    width: 4px;
}
.mp-d6ce9f62-tracklist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.mp-d6ce9f62-track-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.mp-d6ce9f62-track-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.mp-d6ce9f62-track-item.active {
    background: rgba(0, 255, 204, 0.06);
    border-color: var(--neon-highlight);
}

.mp-d6ce9f62-track-cover {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-d6ce9f62-track-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.mp-d6ce9f62-track-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-d6ce9f62-track-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-d6ce9f62-track-genre {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neon-highlight);
    background: rgba(0, 255, 204, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Audio Controls */
.mp-d6ce9f62-controls-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.mp-d6ce9f62-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.mp-d6ce9f62-time-current,
.mp-d6ce9f62-time-total {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    flex-shrink: 0;
}

.mp-d6ce9f62-progress-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.mp-d6ce9f62-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-highlight);
    box-shadow: 0 0 10px var(--neon-highlight);
}

.mp-d6ce9f62-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mp-d6ce9f62-playback-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mp-d6ce9f62-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.mp-d6ce9f62-btn svg {
    fill: currentColor;
}

.mp-d6ce9f62-btn:hover {
    color: var(--neon-highlight);
    transform: scale(1.08);
}

.mp-d6ce9f62-play-btn {
    background: var(--neon-highlight);
    color: #0c0d14 !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.mp-d6ce9f62-play-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.6);
}

/* Volume */
.mp-d6ce9f62-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-d6ce9f62-volume-icon {
    fill: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.mp-d6ce9f62-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.mp-d6ce9f62-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .mp-d6ce9f62-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: radial-gradient(circle at top, #141724 0%, #0a0b10 100%) !important;
        border-radius: 20px !important;
    }

    .mp-d6ce9f62-player {
        padding: 15px !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .mp-d6ce9f62-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .mp-d6ce9f62-track-showcase {
        padding: 15px !important;
        width: 100% !important;
    }

    .mp-d6ce9f62-cover-wrapper {
        width: 180px !important;
        height: 180px !important;
        margin-bottom: 15px !important;
    }

    .mp-d6ce9f62-now-playing-title {
        font-size: 18px !important;
    }

    .mp-d6ce9f62-tracklist {
        max-height: 180px !important;
        width: 100% !important;
    }

    .mp-d6ce9f62-track-item {
        padding: 8px 10px !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .mp-d6ce9f62-track-genre {
        display: none !important; /* Hide genre tag on mobile to save horizontal space */
    }

    .mp-d6ce9f62-volume-slider {
        width: 50px !important; /* Shorten volume slider on narrow screens */
    }
}
