.stories {
    padding: 80px 0;
    background: url("../img/stories/bg.png") no-repeat 100% 50%;
}
.stories__title {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.stories__title h2 {
    font-size: 48px;
    line-height: 48px;
    font-family: Furore, sans-serif;
    text-align: center;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    letter-spacing: 0.05em;
    color: #fff;
}

.stories__title h2 span {
    color: #f000fa;
}

.stories {
    color: #fff;
}
.stories__row {
    display: flex;
    gap: 12px;
}
.stories-list {
    min-width: 398px;
    padding-right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 200, 255, 0.6) transparent;
    list-style: none;
}
.stories-list::-webkit-scrollbar {
    width: 6px;
}

.stories-list::-webkit-scrollbar-track {
    background-color: transparent;
}

.stories-list::-webkit-scrollbar-thumb {
    background-color: rgba(180, 200, 255, 0.6);
    border-radius: 100px;
}
.stories-list__info {
    flex: 1 1 auto;
}
.stories-list__item {
    list-style: none;
    min-height: 90px;
    max-width: 380px;
    background: linear-gradient(114.77deg, rgba(255, 255, 255, 0.1) 19.73%, rgba(255, 255, 255, 0) 65.79%), rgba(39, 0, 78, 0.2);
    border: 1px solid #5F2BA4;
    backdrop-filter: blur(25px);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #DCDCF0;
    cursor: pointer;
}
.stories-list__item:hover {
    background: linear-gradient(0deg, rgba(255, 0, 245, 0.2), rgba(255, 0, 245, 0.2)), linear-gradient(114.77deg, rgba(255, 255, 255, 0.3) 19.73%, rgba(255, 255, 255, 0) 65.79%), rgba(39, 0, 78, 0.2);
}
.stories-list__item_active {
    background: linear-gradient(0deg, rgba(255, 0, 245, 0.2), rgba(255, 0, 245, 0.2)), linear-gradient(114.77deg, rgba(255, 255, 255, 0.3) 19.73%, rgba(255, 255, 255, 0) 65.79%), rgba(39, 0, 78, 0.2);
}
.stories-list__avatar {
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.stories-list__name {
    margin-bottom: 4px;
}
.stories-list__subtitle {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stories-list__options {
    display: none;
    align-items: center;
    justify-content: space-between;
    color: rgba(220, 220, 240, 0.6);
}
.stories-list__left {
    display: flex;
    gap: 15px;
}
.repost {
    background: url("../img/stories/icon-repost.svg") no-repeat 0 50%;
    padding-left: 20px;
    cursor: pointer;
}
.repost_active {
    background: url("../img/stories/icon-repost-active.svg") no-repeat 0 50%;
}
.like {
    background: url("../img/stories/icon-like.svg") no-repeat 0 50%;
    padding-left: 20px;
    cursor: pointer;
}
.like_active {
    background: url("../img/stories/icon-like-active.svg") no-repeat 0 50%;
}
.viewing {
    background: url("../img/stories/icon-viewing.svg") no-repeat 0 50%;
    padding-left: 20px;
}
.stories__wrapper {
    display: flex;
    gap: 20px;
}
.stories__player {
    min-width: 375px;
    height: 600px;
    padding: 20px;
    background: linear-gradient(114.77deg, rgba(255, 255, 255, 0.1) 19.73%, rgba(255, 255, 255, 0) 65.79%), rgba(39, 0, 78, 0.2);
    border: 1px solid #5F2BA4;
    backdrop-filter: blur(25px);
    border-radius: 10px;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}
.audio-player {
}
.audio-player__images {
    text-align: center;
    padding-top: 46px;
    margin-bottom: 40px;
}
.audio-player__image {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 40px;
    margin: 0 auto;
}
.audio-player__name {
    font-family: 'Play', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #DCDCF0;
    margin-bottom: 40px;
}
.audio-player__player {
    text-align: center;
}
.stories__chat {
    background: linear-gradient(114.77deg, rgba(255, 255, 255, 0.1) 19.73%, rgba(255, 255, 255, 0) 65.79%), rgba(39, 0, 78, 0.2);
    border: 1px solid #5F2BA4;
    backdrop-filter: blur(25px);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex: 1 1 auto;
    height: 600px;
    flex-direction: column;
    min-width: 320px;
    /* max-width: 375px; */
    flex: 1 1 50%;
}

.chat {
}
.chat__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #DCDCF0;
    padding: 10px 10px 20px;
    border-bottom: 1px solid rgba(220, 220, 240, 0.2);
    margin-bottom: 10px;
}
.chat__list {
    list-style: none;
    height: 502px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 200, 255, 0.6) transparent;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat__list::-webkit-scrollbar {
    width: 6px;
}

.chat__list::-webkit-scrollbar-track {
    background-color: transparent;
}

.chat__list::-webkit-scrollbar-thumb {
    background-color: rgba(180, 200, 255, 0.6);
    border-radius: 100px;
}

.chat__message {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 10px;
}
.chat__avatar {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.message {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}
.chat__message.clickable:hover {
    transform: translateY(-4px);
    transition: all .1s linear;
    cursor: pointer;
}
.message__info {
    padding: 10px;
    background: rgba(150, 0, 255, 0.4);
    border-radius: 0px 10px 10px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #DCDCF0;
}
.message__info--active {
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.message__name {
    color: rgba(220, 220, 240, 0.6);
    margin-bottom: 4px;
}
.message__text {
}
.answer .message {
    order: -1;
}
.answer .message__info {
    background: rgba(255, 0, 255, 0.4);
    border-radius: 10px 0px 10px 10px;
}
@media(max-width: 1100px) {
    .stories__row {
        flex-wrap: wrap;
    }
}
@media(max-width: 800px) {
    .stories__row {
        justify-content: center;
    }
    .stories__wrapper {
        flex-wrap: wrap;
        max-width: 398px;
        padding-right: 12px;
    }
    .stories__chat {
        display: none;
    }
}
@media (max-width: 600px) {
    .stories__title h2 {
        font-size: 30px;
    }
    .stories__title {
        margin-bottom: 30px;
    }
}
@media (max-width: 420px) {
    .stories-list {
        min-width: 100%;
        padding-right: 5px;
    }
    .stories-list__item {
        max-width: 100%;
    }
    .stories__wrapper {
        max-width: 100%;
		width: 100%;
        padding: 0 3px;
    }
}
@media(max-width: 380px) {
	.stories__player {
		min-width: 100%;
		width: 100%;
	}
}
/**/
.player * {
    background: none;
    border: none;
    display: block;
}
.player audio {
    display: none;
}
.player {
    padding: 12px;
}
.player input[type="range"]{
    -webkit-appearance: none;
    height: 5px;
    border-radius: 5px;
    background: rgba(220, 220, 240, 0.2);
    outline: none;
}
.player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF00FF;
    cursor: pointer;
}

.player input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 17px;
    border-radius: 50%;
    background: #FF00FF;
    cursor: pointer;
    border: 0
}
#volume {
    width: 50px;
    display: none;
    transform: rotate(270deg);
    position: absolute;
    left: 60%;
    bottom: 50%;
}

#volume.active {
    display: block;
}
.player__control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    gap: 15px;
}
.player__volume {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
#cur-time {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}
.player__time {}
.time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 16px;
    color: rgba(220, 220, 240, 0.6);
    font-family: 'Montserrat', sans-serif;
}
.play-btn {
    width: 36px;
    height: 36px;
}
.play-back {}
.play-forward {}
#player__speed-control-btn {
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 32px;
}
#player__speed-control-btn.active path {
    fill: rgba(255, 0, 255);
}
.stories .interesting__share {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}
