.bk_stories__elements {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    list-style: none;
    overflow-x: scroll;
    scrollbar-width: 0;


    margin: 0;
    width: 100%;
    border-radius: 0;
    background-color: #fff;
    padding: 10px 0;
}

.bk_stories__elements::-webkit-scrollbar {
    display: none;
}


.bk_stories__elements__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
    cursor: pointer;
    user-select: none;
    margin-left: 0.75rem;
}

.bk_stories__elements__item:last-child {
    margin-left: 0;
}

.bk_stories__elements__item__picture {
    position: relative;
    width: 100px;
    height: 100px;
}

.bk_stories__elements__item__picture--img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px !important;
    transform: translate(-50%, -50%);
    border-radius: 50% !important;
}

.bk_stories__elements__item__picture--circle {
    fill: none;
    stroke: var(--bk-border-color);
    stroke-linecap: round;
    stroke-width: 3;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.bk_stories__elements__item__title {
    display: block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1rem;
    overflow-wrap: break-word;
    color: #333;
    margin: 0.25rem 0;
}

.bk_stories__elements__item.loading .bk_stories__elements__item__picture--circle {
    animation: stroke-draw 6s ease-out infinite alternate;
}

.bk_stories__elements__item.seen {
    opacity: 0.75;
}

.bk_stories__elements__item.seen .bk_stories__elements__item__picture--circle {
    stroke: #ddd;
}

.bk_stories__box {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 3%, .6);
    overflow: hidden;
    z-index: 9999999;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(2rem);
}

.bk_stories__box.opened {
    display: block;
}

.bk_stories__box__elements {
    display: block;
    position: relative;
    width: 100vh;
    max-width: 100vw;
    height: 100vh;
    background-color: hsla(0, 0%, 53%, .5);
    overflow: hidden;
    margin: 0 auto;
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
}

.bk_stories__box__elements__slides__wrapper {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 56.25vh;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    transition: transform .25s cubic-bezier(.8, 0, .2, 1);
    will-change: auto;
    touch-action: manipulation;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-backdrop-filter: blur(2rem);
    backdrop-filter: blur(2rem);
    overflow: hidden;
}

.bk_stories__box__elements__slides__item {
    display: block;
    position: relative;
    width: 100vh;
    max-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    will-change: opacity;
    opacity: 0;
    filter: blur(0);
    transition: opacity .5s ease, filter .25s ease;
}

.bk_stories__box__elements__slides__item.active {
    opacity: 1;
}

.bk_stories__box__elements__slides__item--content {
    display: block;
    position: relative;
    width: 100vh !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    padding: 0;
    margin: 0 !important;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    pointer-events: none;
}

.bk_stories__box__elements__slides__item--link {
    display: block;
    position: absolute;
    right: 50%;
    bottom: 25%;
    background-color: #fff;
    transform: translateX(50%);
    color: #333;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
}

.bk_stories__box__elements__bars {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100px;
    padding: 10px 5px 87px;
    z-index: 2;
}

.bk_stories__box__elements__bars::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent);
}

.bk_stories__box__elements__bars__item {
    display: block;
    position: relative;
    border-radius: 3px;
    width: calc(100% / 5 - 6px);
    height: 3px;
    margin: 0 3px;
    cursor: pointer;
    overflow: hidden;
    background-color: rgba(255, 255, 255, .4);
}

.bk_stories__box__elements__bars__item span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-color: #fff;
    will-color: auto;
    transform: translateX(-101%) rotate(0deg);
}

.bk_stories__box__elements__bars__item.seen span {
    transform: translateX(0%) rotate(0deg);
}

.bk_stories__box__elements__bars__item.animate span {
    -webkit-animation: bks-bar 0s 0s linear both;
    animation: bks-bar 0s 0s linear both;
}

.bk_stories__box__elements__bars__item.paused span {
    animation-play-state: paused;
}

.bk_stories__box__actions__prev,
.bk_stories__box__actions__next,
.bk_stories__box__actions__close {
    display: block;
    position: absolute;
    cursor: pointer;
    user-select: none;
    z-index: 3;
    width: 32px;
    height: 32px;
}

.bk_stories__box__actions__prev,
.bk_stories__box__actions__next {
    top: calc(50% - 16px);
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
    opacity: .85;
    transition: opacity .25s ease;
}

.bk_stories__box__actions__prev::before,
.bk_stories__box__actions__next::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    width: 12px;
    height: 12px;
    border-right: 4px solid #555;
    border-bottom: 4px solid #555;
}

.bk_stories__box__actions__prev {
    right: calc(50% - 35vh - 80px);
}

.bk_stories__box__actions__prev::before {
    left: 8px;
    transform: rotate(-45deg);
}

.bk_stories__box__actions__next {
    left: calc(50% - 35vh - 80px);
}

.bk_stories__box__actions__next::before {
    right: 8px;
    transform: rotate(-225deg);
}

.bk_stories__box__actions__close {
    top: 50px;
    left: calc(35% - 80px);
}

.bk_stories__box__actions__close::before,
.bk_stories__box__actions__close::after {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 25px;
    background-color: #fff;
}

.bk_stories__box__actions__close::before {
    transform: rotate(45deg);
}

.bk_stories__box__actions__close::after {
    transform: rotate(-45deg);
}

.bk_stories__box__actions__mute,
.bk_stories__box__actions__playing {
    display: none;
    position: absolute;
    top: 40px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    z-index: 5;
}

.bk_stories__box__actions__mute.visible,
.bk_stories__box__actions__playing.visible {
    display: block;
}

.bk_stories__box__actions__mute {
    left: calc(40% - 80px);
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><path fill="%23fff" fill-rule="evenodd" d="M27.53 16.97a.95.95 0 0 1 1.1-.76c.75.13 2.28.7 3.63 1.9a7.71 7.71 0 0 1 2.62 5.95c0 1.86-.55 3.32-1.33 4.45l-1.38-1.37c.48-.8.8-1.81.8-3.08 0-2.16-.92-3.59-1.97-4.53a6.43 6.43 0 0 0-2.7-1.45.95.95 0 0 1-.77-1.1z" clip-rule="evenodd"/><path fill="%23fff" fill-rule="evenodd" d="M27.54 21.03a.95.95 0 0 1 1.14-.72c.7.16 2.5 1.19 2.5 3.71 0 .7-.15 1.28-.36 1.76l-1.56-1.52c.05-.6-.07-1.25-.48-1.71-.23-.26-.47-.36-.51-.38 0 0-.01 0 0 0a.95.95 0 0 1-.73-1.14z" clip-rule="evenodd"/><path fill="%23fff" d="M23.4 16.79v1.56l1.9 1.9v-4.27c0-.3-.12-.6-.29-.84a1.59 1.59 0 0 0-.7-.57c-.29-.11-.61-.16-.9-.1-.3.06-.61.21-.82.42l-1.31 1.34 1.33 1.34.8-.78z"/><path stroke="%23fff" stroke-linecap="round" stroke-width="1.9" d="m20.12 18.73-1.76 1.81h-2.59c-.94 0-1.7.76-1.7 1.7v3.45c0 .93.75 1.68 1.67 1.7l2.6.04 4.9 4.9a.65.65 0 0 0 1.1-.46v-9.1"/><path stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m17.13 15.36 17.2 17.19"/><path stroke="%23fff" stroke-linecap="round" stroke-width="1.9" d="M28.47 30.84A7.2 7.2 0 0 0 31 29.67"/></svg>');
}

.bk_stories__box__actions__mute.unmute {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><path stroke="%23fff" stroke-linecap="round" stroke-width="1.9" d="M28.47 17.14c1.15.2 5.46 1.98 5.46 6.92 0 4.95-4.39 6.63-5.46 6.83"/><path stroke="%23fff" stroke-linecap="round" stroke-width="1.8" d="M28.47 21.24c.37.08 1.75.79 1.75 2.78 0 1.99-1.4 2.67-1.75 2.74"/><path stroke="%23fff" stroke-linecap="round" stroke-width="1.9" d="m18.36 27.48 4.88 4.9a.65.65 0 0 0 1.1-.46V16.09c0-.58-.7-.87-1.1-.45l-4.88 4.94h-2.59c-.94 0-1.7.77-1.7 1.7v3.45c0 .93.75 1.69 1.67 1.7l2.62.05z"/></svg>');
}

.bk_stories__box__actions__playing {
    left: calc(40% - 80px);
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><path stroke="%23fff" stroke-linecap="round" stroke-width="2.1" d="M20.33 16.86v15.4m7.34-15.4v15.4"/></svg>');
}

.bk_stories__box__actions__playing[data-state*="paused"] {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><path stroke="%23fff" stroke-linecap="round" stroke-width="1.9" d="M17.74 30.34V18.53a1.8 1.8 0 0 1 2.77-1.52l9.23 5.92a1.8 1.8 0 0 1 0 3.03l-9.23 5.9a1.8 1.8 0 0 1-2.77-1.52z"/></svg>');
}

@keyframes stroke-draw {
    from {
        stroke: var(--bk-border-color);
        stroke-dasharray: 1;
    }
    to {
        stroke: var(--bk-border-color);
        transform: rotate(180deg);
        stroke-dasharray: 8;
    }
}

@keyframes bks-bar {
    from {
        transform: translateX(101%) rotate(0deg);
    }
    to {
        transform: translateX(0%) rotate(0deg);
    }
}
@media screen and (max-width:700px){
.bk_stories__box__actions__close {
    top: 35px;
    left: calc(25% - 90px)
}
.bk_stories__box__actions__mute {
    left: calc(35% - 85px);
    top: 35px
}
}