        .spotify-container {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            z-index: 10000;
        }
        
        .spotify-btn {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            border-radius: 30px;
            background-color: #1DB954;
            color: white;
            border: none;
            font-family: var(--mac-font, -apple-system, sans-serif);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .spotify-btn svg {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }
        
        .spotify-btn:hover {
            background-color: #1ed760;
            transform: scale(1.05);
        }
        
        .now-playing {
            --playing-opacity: 1;
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 8px;
            padding: 8px;
            margin-top: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            max-width: 80vw;
            backdrop-filter: blur(5px);
            transition: opacity 0.5s;
            filter: opacity(var(--playing-opacity));
            cursor: pointer;
            transition: box-shadow 0.5s;
        }

        .now-playing:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            transition: box-shadow 0.5s;
        }
        
        body.dark-mode .now-playing {
            background-color: rgba(30, 30, 30, 0.9);
            color: #f5f5f7;
        }
        
        #track-artwork {
            width: 50px;
            height: 50px;
            border-radius: 4px;
            object-fit: cover;
            margin-right: 10px;
        }
        
        .track-info {
            flex: 1;
        }
        
        .track-info p {
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-right: 20px;
        }
        
        #track-name {
            font-weight: 600;
            font-size: 14px;
        }
        
        #artist-name {
            font-size: 12px;
            opacity: 0.8;
        }

        .pin-icon {
            position: absolute;
            top: 8px;
            right: 8px;
            height: 12px;
            width: 12px;
            opacity: 0.6;
            transition: opacity 0.3s;
            cursor: pointer;
            padding-right: 2px;
            display: none; /* Initially hidden */
        }

        /* Pin-Icon nur anzeigen, wenn inactivity-fade-Klasse NICHT vorhanden ist */
        .now-playing:not(.inactivity-fade) .pin-icon {
            display: block !important;
        }
        
        .hidden {
            display: none;
        }