.ap-list-list {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 60px;
    top: 0;
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.18);
    box-shadow: none;
    z-index: 990;
    display: none;
}

.ap-list-list:after {
    display: none;
}

.ap-sidebar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    background: #f3f5f7;
    color: #2c3748;
}

.ap-sidebar__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #dfe4ea;
}

.ap-sidebar__side {
    width: 430px;
    max-width: 34vw;
    min-width: 320px;
    overflow-y: auto;
    padding: 22px 24px 80px;
    background: #f7f8fb;
}

.ap-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px;
    border-bottom: 1px solid #dfe4ea;
    background: #fff;
}

.ap-sidebar__title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2d3d;
}

.ap-sidebar__close {
    border: 0;
    background: transparent;
    color: #8e99a8;
    font-size: 44px;
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.ap-sidebar__tracks {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 24px 90px;
    background: #fff;
}

.ap-sidebar__tracks .sound_row {
    margin-bottom: 0;
    padding-right: 14px;
}

.ap-sidebar__tracks .favorite {
    margin-left: 8px;
}

.ap-side-section + .ap-side-section {
    margin-top: 18px;
}

.ap-side-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 14px;
}

.ap-side-section__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ap-side-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    color: #364152;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    text-decoration: none;
}

.ap-side-card:hover {
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.ap-side-card__img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 56px;
    background: #edf2f7;
}

.ap-side-card__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ap-side-card__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ap-side-card__title {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ap-side-card__count {
    display: block;
    font-size: 12px;
    color: #8b97a8;
}

.ap-side-auth {
    background: #eaf0f7;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
}

.ap-side-auth__text {
    font-size: 14px;
    line-height: 1.4;
    color: #556273;
    margin-bottom: 14px;
}

.ap-side-auth__btn {
    display: inline-block;
    min-width: 120px;
    height: 36px;
    line-height: 36px;
    border-radius: 999px;
    background: #f0dc59;
    color: #2d3748;
    font-weight: 700;
    text-decoration: none;
    padding: 0 18px;
}

.ap-side-empty,
.ap-side-loading {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    color: #7d8898;
    font-size: 14px;
}

.ap-page-playlist-row .js-play {
    cursor: pointer;
}

.ap-page-playlist-row.js-item-current.js-item-played .tr-play .fa-play:before {
    content: '\f04c';
}

body.pl-opened {
    overflow: hidden;
}

@media (max-width: 980px) {
    .ap-sidebar {
        flex-direction: column;
    }

    .ap-sidebar__side {
        width: auto;
        max-width: none;
        min-width: 0;
        border-top: 1px solid #dfe4ea;
        padding-top: 18px;
    }
}

@media (max-width: 640px) {
    .ap-list-list {
        bottom: 60px;
    }

    .ap-sidebar__header {
        padding: 16px 18px;
    }

    .ap-sidebar__title {
        font-size: 16px;
        line-height: 1.3;
    }

    .ap-sidebar__tracks {
        padding: 12px 10px 90px;
    }

    .ap-sidebar__side {
        padding: 16px 12px 80px;
    }

    .ap-side-card {
        padding: 12px 12px;
        border-radius: 14px;
    }

    .ap-side-card__img {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
}
