#stories-section {
    margin: 0;
}

#stories-section .stories-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

#stories-section .stories-title-text {
    display: inline-block;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
}

#stories-section .stories-title-new-badge{
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    background: url("/img/new-badge.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-transform: uppercase;
    padding: 0 10px;
    color: #fff;
}

#stories-section .stories-title-border {
    border-top: 1px solid #000;
}

.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 25px;
}

.escort-list-slide {
    text-align: center;
    font-size: 18px;
    width: 95px;
}

.escort-list-slide.escort-list-slide-profile {
    width: 85px;
}

.escort-list-slide .story-main-image {
    width: 100% !important;
    height: 100% !important;
    user-select: none;
    border-radius: 50%;
    border: 2px solid #C99C6B;
    cursor: pointer;
    box-sizing: border-box;
}

.story-box-item {
    position: relative;
    display: flex;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #fff;
}

.story-images-count {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 5px;
    background: #3D89ED;
    color: #fff;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

.story-images-count.story-list-is-contest {
    width: 20px;
    height: 20px;
    background: none;
}

.story-images-count.story-list-is-contest img {
    width: 100%;
}

.escort-list-slide.viewed .story-main-image {
    border: 2px solid #9a9a9a;
}

.escort-list-slide .story-main-image img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #fff;
}

.escort-list-slide .escort-info {
    display: flex;
    flex-direction: column;
    padding-right: 5px;
}

.escort-list-slide .escort-name {
    font-size: 12px;
    font-weight: bold;
    word-break: break-word;
}

.escort-list-slide .escort-desc {
    font-size: 11px;
    color: dimgrey;
}

:root {
    --background: rgba(255, 255, 255, 0.9);
    --animation: thumb 15s forwards linear;
}

.escort-view-slide {
    display: none;
    position: relative;
    width: 560px;
    margin: 0 auto;
    background: #000;
}

.escort-view-slide.active {
    display: block;
}

.escort-view-swiper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #000000e3;
}

.escort-view-swiper .escort-slide-item {
    color: #fff;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    padding-left: 5px;
}

.escort-story-slide-items .media-item {
    width: 100%;
    height: auto;
    max-height: 100vh;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.escort-story-slide-items img.media-item {
    object-fit: cover;
}

.escort-story-slider {
    display: grid;
    box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.slide-nav {
    grid-area: 1/1;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: 75vh;
    margin-top: 80px;
}

.slide-nav button {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    opacity: 0;
}

.slide-items {
    position: relative;
    grid-area: 1/1;
    overflow: hidden;
}

.slide-items .slide-item {
    position: absolute;
    top: 0;
    opacity: 0;
    pointer-events: none;
    max-width: 100%;
    display: block;
    width: 100%;
    height: 100%;
}

.slide-items .slide-item.active {
    position: relative;
    opacity: 1;
    pointer-events: initial;
}

.slide-thumb {
    position: absolute;
    display: flex;
    top: 0;
    width: 100%;
    z-index: 6;
}

.slide-thumb > span {
    flex: 1;
    display: block;
    height: 3px;
    background: rgba(0, 0, 0, 0.4);
    margin: 7px 5px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #9a9aa069;
}

.slide-thumb > span.active::after {
    content: '';
    display: block;
    height: inherit;
    background: var(--background);
    border-radius: 3px;
    transform: translateX(-100%);
}

.slide-thumb > span.active.active_img::after {
    animation: thumb 5s forwards linear;
}
.slide-thumb > span.active.active_video::after {
    animation: var(--animation);
}

@keyframes thumb {
    to {
        transform: initial;
    }
}

.story-header {
    padding: 10px 0;
    position: relative;
    z-index: 5;
    top: 0;
    background: #00000066;
}

.story-header .media {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 0 10px;
    width: 80%;
}

.story-header .media-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-header h5+time {
    font-size: 11px;
    opacity: .75;
    font-weight: 500;
    color: #fff;
}

.story-header h5 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.story-header img {
    width: 48px;
    height: 48px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    margin-right: 1rem;
}

.story-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 18px 20px 18px 10px;
    box-sizing: border-box;
    background: #00000066;
}

.story-footer .escort-story-text {
    padding: 0;
    font-size: 16px;
    color: #fff;
    width: 100%;
    flex: 1;
}

.story-footer .escort-story-text > div {
    /* display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;*/
}

.story-footer .escort-story-text * {
    color: #fff !important;
    background-color: #fff0 !important;
}

.story-footer .story-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999999;
}

.story-footer .story-actions a {
    display: flex;
    align-items: center;
    color: inherit;
    text-align: center;
    text-decoration: none;
    gap: 10px;
}

.story-footer .story-actions .action-icon img {
    width: 25px;
    margin-bottom: 5px;
}

.story-footer .story-actions a span.action-label {
    font-weight: 600;
    font-size: 14px;
    color: #acabab;
}

.story-footer .story-actions a:hover span.action-label {
    color: #fff;
}

.escort-view-slide .story-btns {
    position: absolute;
    padding: 0 10px;
    z-index: 9999999;
    top: 5px;
    right: -45px;
}

.escort-view-slide .story-btns button {
    color: #fff;
    padding: 0 5px;
    background: transparent;
    border: transparent;
}

.story-full-screen-btn {
    font-size: 24px;
}

.story-exit-full-screen-btn {
    display: none;
    font-size: 24px;
}

.voice-hidden {
    display: none !important;
}


.story-vote-btn {
    position: relative;
    background-size: contain;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.story-vote-btn.voted {
    background-size: contain;
}

.story-votes-count {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}


.story-profile-btn {
    background: url("/m/i/user.svg") no-repeat;
    background-size: contain;
    width: 35px;
    height: 40px;
    display:inline-block;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    z-index: 9999999;
    cursor: pointer !important;
    pointer-events: all !important;
    color: rgba(255, 255, 255, 0.53);
    width: 24px !important;
    height: 24px !important;
}

.swiper-button-prev {
    left: 50%;
    margin-left: -320px;
}
.swiper-button-next {
    right: 50%;
    margin-right: -330px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #fff;
    transition: .2s;
}

.swiper-button-lock {
    display: block !important;
}

.escort-view-slide .story-btns button.mute-video-btn {
    top: 14px;
    position: relative;
    right: 14px;
}
.escort-view-slide .story-btns button.mute-video-btn img {
    width: 20px;
}
.escort-view-slide .story-btns button.mute-video-btn img.muted {
    width: 24px;
}

.swiper-scrollbar-drag {
    background: #9F9F9F;
}

.story-is-contest {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 90px;
    width: 50px;
}

.story-is-contest img {
    display: inline-block;
    width: 100%;
}

.story-footer.is-contest-story-footer {
    flex-direction: column;
    gap: 10px;
}

.story-footer.is-contest-story-footer .story-actions {
    width: 100%;
    background: #CC1882;
    border-radius: 20px;
    justify-content: space-between;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 3px 15px;
}

.story-footer.is-contest-story-footer .story-actions img {
    width: 28px;
}

@media (max-width: 768px) {
    .profile-v2 .profile .escort-item .image-slider {
        max-height: 250px !important;
    }

    .escort-view-slide .story-btns {
        position: absolute;
        padding: 0 10px;
        z-index: 9999999;
        top: 0 !important;
        right: 0 !important;
        display: flex;
        align-items: center;
    }

    .escort-view-slide .story-btns button.mute-video-btn {
        position: relative;
        display: flex;
        align-items: center;
        width: 36px;
        padding: 0;
        justify-content: center;
        top: 0 !important;
        right: 0 !important;
    }

    .story-header .media {
        text-decoration: none;
        display: flex;
        align-items: center;
        margin-top: 10px;
        padding: 8px 10px;
        width: 80%;
    }

    .escort-view-slide .story-btns button {
        color: #fff;
        padding: 0 5px;
        background: none;
        font-size: 43px !important;
        border: none;
        text-shadow: none;
        font-weight: 100;
        opacity: 1;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .escort-view-slide .story-btns button.mute-video-btn {
        position: relative;
        display: flex;
        align-items: center;
        width: 36px;
        padding: 0;
        justify-content: center;
        top: 3px !important;
        right: 0 !important;
    }

    .escort-view-slide .story-btns button svg {
        width: 18px !important;
        height: 18px !important;
    }

    .swiper-wrapper {
        padding-left: 0 !important;
    }

}