        /* ====================================================
           LATEST 2026 MODERN GLASS PLAYER WITH ENHANCED POLISH
           ==================================================== */
        .demo-slider {
            padding: 24px 15px;
            background: var(--surface, #ffffff);
            border-bottom: 1px solid var(--border, #e5e7eb);
            display: flex;
            justify-content: center;
            box-sizing: border-box;
            width: 100%;
        }

        .custom-audio-box {
            width: 100%;
            max-width: 440px;
            background: var(--surface, #ffffff);
            border: 1px solid var(--border, #e5e7eb);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 12px 36px rgba(79, 70, 229, 0.08);
            font-family: 'Poppins', sans-serif;
            position: relative;
            overflow: hidden;
        }

        /* Full Hero Photo Layout with Smooth Hover Scale */
        .player-hero-container {
            position: relative;
            width: 100%;
            height: 350px;
            border-radius: 18px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            background: #111;
        }

        .player-cover-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .player-hero-container:hover .player-cover-img {
            transform: scale(1.04);
        }

        /* Gradient Overlay for Readability */
        .player-overlay-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
            padding: 35px 20px 20px 20px;
            display: flex;
            flex-direction: column;
            text-align: left;
        }

        .current-song-title {
            font-size: 18px;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .current-song-artist {
            font-size: 14px;
            color: #e0e7ff;
            font-weight: 500;
            margin-top: 2px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Album Name Styling */
        .current-song-album {
            font-size: 12.5px;
            color: #cbd5e1;
            font-weight: 400;
            margin-top: 2px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .player-curator-name {
            font-size: 11px;
            color: #c7d2fe;
            font-weight: 400;
            margin-top: 2px;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        /* Clean White Controls Floating Directly on the Photo */
        .photo-controls-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
        }

        .photo-control-btn {
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            color: #ffffff;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .photo-control-btn svg {
            width: 18px;
            height: 18px;
            fill: #ffffff;
        }

        .photo-control-btn:hover {
            background: rgba(255, 255, 255, 0.45);
            border-color: #ffffff;
            transform: scale(1.1);
        }

        #photoPlayPauseBtn {
            background: rgba(255, 255, 255, 0.35);
            border-color: rgba(255, 255, 255, 0.6);
            width: 52px;
            height: 52px;
        }

        #photoPlayPauseBtn svg {
            width: 22px;
            height: 22px;
            fill: #ffffff;
        }

        /* Custom Seekbar & Time UI */
        .player-seek-container {
            width: 100%;
            margin-bottom: 16px;
        }

        .time-labels-row {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-muted, #6b7280);
            font-weight: 500;
            margin-bottom: 6px;
        }

        .seek-bar {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
            outline: none;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .seek-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--primary, #4f46e5);
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            transition: transform 0.15s ease;
        }

        .seek-bar::-webkit-slider-thumb:hover {
            transform: scale(1.25);
        }

        /* Scrollable Playlist UI with Custom Thumb */
        .custom-playlist-container {
            max-height: 240px;
            overflow-y: auto;
            border-top: 1px solid var(--border, #e5e7eb);
            padding-top: 10px;
            scrollbar-width: thin;
            scrollbar-color: #cbd5e1 transparent;
        }

        .custom-playlist-container::-webkit-scrollbar {
            width: 6px;
        }

        .custom-playlist-container::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

        .playlist-item {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            cursor: pointer;
            border-radius: 10px;
            transition: all 0.2s ease;
            margin: 3px 0;
            border: 1px solid transparent;
        }

        .playlist-item:hover {
            background: var(--hover-bg, #f9fafb);
        }

        .playlist-item.active {
            background: #eef2ff;
            border-color: #c7d2fe;
        }

        .playlist-item-number {
            font-size: 12.5px;
            color: #9ca3af;
            width: 28px;
            font-weight: 600;
        }

        .playlist-item-text {
            font-size: 13.5px;
            font-weight: 500;
            color: var(--text-main, #333);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .playlist-heading {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main, #333);
            margin-bottom: 8px;
            padding: 0 4px;
        }

        .atext {
            padding: 16px 20px;
            font-size: 13.5px;
            line-height: 1.6;
            color: var(--text-muted, #6b7280);
            background: var(--surface, #ffffff);
            border-bottom: 1px solid var(--border, #e5e7eb);
        }

        .atext font[color="green"] {
            color: var(--primary, #4f46e5) !important;
            font-weight: 600;
        }
.player-hero-container.is-playing::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 24px rgba(79, 70, 229, 0.45);
    pointer-events: none;
    animation: pulseGlow2026 2s infinite ease-in-out;
}

@keyframes pulseGlow2026 {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.75; }
}  