.amp-cdc29662-player {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 50px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-sizing: border-box;
}

.amp-now-playing {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 150px;
    overflow: hidden;
    white-space: nowrap;
}

.amp-track-title {
    font-size: 1em;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
}

.amp-track-artist {
    font-size: 0.8em;
    opacity: 0.8;
    text-overflow: ellipsis;
    overflow: hidden;
}

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

.amp-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.amp-btn:hover {
    transform: scale(1.1);
}

.amp-btn svg {
    fill: #fff;
    width: 1em;
    height: 1em;
}

.amp-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 120px;
}

.amp-cdc29662-volume-slider {
    width: 100%;
    cursor: pointer;
}

.amp-toggle-playlist {
    font-size: 1.2em;
    border: none;
    padding: 5px;
    flex-shrink: 0;
}

.amp-cdc29662-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.amp-cdc29662-playlist {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background-color: #333;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.amp-cdc29662-playlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.amp-cdc29662-playlist li {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
    color: #fff;
    font-family: sans-serif;
    font-size: 0.9em;
}

.amp-cdc29662-playlist li:last-child {
    border-bottom: none;
}

.amp-cdc29662-playlist li:hover {
    background: rgba(255,255,255,0.1);
}

.amp-cdc29662-playlist li.active {
    font-weight: bold;
    color: #1DB954; /* default accent */
}

@media (max-width: 600px) {
    .amp-cdc29662-player {
        flex-wrap: wrap;
        border-radius: 20px;
        justify-content: center;
    }
    .amp-now-playing {
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 10px;
    }
}