.unified-player-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.player-info-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    gap: 12px;
    border: 1px solid var(--border-color);
}

.now-playing-info {
    overflow: hidden;
    flex: 1;
    position: relative;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.now-playing-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00875a;
}

.now-playing-info h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.now-playing-info.marquee-active h3 {
    animation: marquee 12s linear infinite;
    padding-left: 100%;
}

.now-playing-info .song-title {
    color: var(--accent);
}

.now-playing-info .song-artist {
    color: #111111;
    font-weight: 400;
}

.player-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.control-btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
}

.control-btn:hover {
    color: #111111;
    transform: scale(1.1);
}

.control-btn.main-action {
    background-color: var(--accent);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
}

.control-btn.main-action:hover {
    background-color: #e56a00;
    transform: scale(1.05);
}

.playlist-section h2 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 4px;
    color: var(--text-muted);
}

.playlist-items {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

.playlist-items::-webkit-scrollbar {
    width: 5px;
}

.playlist-items::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.playlist-items::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background-color: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: background 0.2s, transform 0.1s;
}

.track-item:hover {
    background-color: #f0f0f0;
}

.track-item.active {
    background-color: rgba(255, 119, 0, 0.08);
    border: 1px solid rgba(255, 119, 0, 0.4);
}

.track-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.track-text {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-title {
    color: var(--accent);
    font-weight: 700;
}

.track-artist {
    color: #111111;
    font-weight: 400;
}