div#songsList {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: -webkit-fill-available;
    display: grid;
    justify-content: flex-start;
    width: 100%;
    gap: 5px;
    grid-template-columns: 1fr 1fr;
}

.song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex-direction: row;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid white;
    font-size: 14px;
    cursor: pointer;
    color: white;
    font-size: 0.6em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.song-item {
    color: white;
    font-size: 0.6em;
    display: flex
;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

span.song-cover {
    background-color: #b4b1b1;
    border-radius: 80px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

span.song-cover img {
    height: 32px;
    margin-bottom: 5px;
}

div#songsList svg {
    height: 24px;
}

.song_listen {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

a.song_icons.song_site svg {
    fill: white;
}

span.song_name {
    width: 33%;
}

.song-item.expanded {
    grid-column: 1 / -1; /* Take full row */
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    border-color: #3bd75f;
}

.song_listen {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.song-item.expanded .song_listen {
    opacity: 1;
    max-height: 100px; /* enough to reveal all icons */
}

.song-item {
    transition: all 0.3s ease-in-out;
}

/* Force clicked item to full width */
.song-item.force-full {
    grid-column: 1 / -1;
    background-color: #1f1f1f;
    animation: expandFade 0.3s ease;
}

/* Fade animation */
@keyframes expandFade {
    from { opacity: 0.5; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}



@media screen and (min-width: 1025px) {
    div#songsList {
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: -webkit-fill-available;
        display: grid;
        justify-content: flex-start;
        width: calc(100% - 420px);
        margin-left: 320px;
        gap: 5px;
        grid-template-columns: 1fr 1fr;
    }
    .song-item {
        font-size: 1em!important;
    }
}