
.sc-story-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.sc-story-container.carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px;
}

.sc-story-container.carousel::-webkit-scrollbar {
    display: none;
}

.sc-story-item {
    position: relative;
    flex: 0 0 80px;
    height: 80px;
    border-radius: 50%;
    width: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 3px;
    background: linear-gradient(237deg, #c913b9 0, #f9373f 50%, rgb(254, 205, 0) 100%);
    padding: 2px;
}

.sc-story-item.unviewed {
    border: 2px solid #ff5757;
}

.sc-story-item:hover {
    transform: scale(1.05);
}

.sc-story-thumbnail {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: white;
    border-radius: 500px;
}

.sc-story-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.sc-story-content {
    /* position: absolute; */
    /* bottom: -19px; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* width: 100%; */
    /* text-align: center; */
    margin-top: 5px;
}

.sc-story-content h3 {
    margin: 0;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.sc-story-event-timer {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

/* Story Viewer */
.sc-story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
}

.sc-story-viewer.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sc-story-viewer-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    height: 100vh;
    max-height: 700px;
    background: #000;
    overflow: hidden;
}

.sc-story-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    z-index: 2;
}

.sc-story-progress-container {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.sc-story-progress {
    height: 2px;
    flex: 1;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.sc-story-progress-bar {
    height: 100%;
    background: #fff;
    width: 0;
    transition: width 0.1s linear;
}

.sc-story-user-info {
    display: flex;
    align-items: center;
    color: #fff;
}

.sc-story-user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.sc-story-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-story-media img,
.sc-story-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sc-story-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
}

.sc-story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    z-index: 2;
}

.sc-story-prev {
    left: 10px;
}

.sc-story-next {
    right: 10px;
}



/** new story css by javad**/
:root {
    --stories-slider-z-shadows: 999;
    --stories-slider-z-pagination: 50;
    --stories-slider-z-navigation: 200;
    --stories-slider-z-user: 300;
    --stories-slider-z-actions: 300;
    --stories-slider-z-content: 100;
    --stories-slider-slide-bg-color: #000
}

.stories-slider {
    padding-top: 44px;
    padding-bottom: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center
}

.stories-slider>.swiper>.swiper-wrapper>.swiper-slide:not(.swiper-slide-visible,.swiper-slide-active) {
    opacity: 0
}

.stories-slider.stories-slider-animating>.swiper>.swiper-wrapper>.swiper-slide-prev,.stories-slider.stories-slider-animating>.swiper>.swiper-wrapper>.swiper-slide-next,.stories-slider.stories-slider-animating>.swiper>.swiper-wrapper>.swiper-slide-active {
    opacity: 1
}

.stories-slider .swiper {
    height: 100%;
    width: 100%
}

.stories-slider .swiper .swiper .swiper-slide {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--stories-slider-slide-bg-color)
}

.stories-slider .swiper .swiper-slide-shadow-left,.stories-slider .swiper .swiper-slide-shadow-right {
    z-index: var(--stories-slider-z-shadows)!important
}

.stories-slider .swiper .swiper-slide-shadow-left {
    background-image: linear-gradient(to left,rgb(0,0,0),rgba(0,0,0,.5))
}

.stories-slider .swiper .swiper-slide-shadow-right {
    background-image: linear-gradient(to right,rgb(0,0,0),rgba(0,0,0,.5))
}

.stories-slider.stories-slider-perspective .swiper .swiper,.stories-slider.stories-slider-perspective .swiper-slide-shadow-left,.stories-slider.stories-slider-perspective .swiper-slide-shadow-right {
    transform: translateZ(calc(-1 * var(--swiper-cube-translate-z)));
    transform-origin: 0% 0% calc(-1 * var(--swiper-cube-translate-z))
}

.stories-slider-button {
    position: absolute;
    z-index: var(--stories-slider-z-navigation);
    top: 0;
    height: 100%;
    user-select: none;
    -webkit-user-select: none
}

.stories-slider-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition-duration: .2s
}

.stories-slider-button:active:before {
    opacity: .25
}

.stories-slider-button-prev {
    left: 0;
    width: 30%
}

.stories-slider-button-prev:before {
    background-image: linear-gradient(to right,#000,rgba(0,0,0,0))
}

.stories-slider-button-next {
    right: 0;
    width: 70%
}

.rtl .stories-slider-button-prev {
    left: auto;
    right: 0;
}
.rtl .stories-slider-button-prev:before {
    background-image: linear-gradient(to left,#000,rgba(0,0,0,0))
}
.rtl .stories-slider-button-next {
    right: auto;
    left: 0;
}
.rtl .stories-slider-button-next:before {
    background-image: linear-gradient(to right,#000,rgba(0,0,0,0))
}

.stories-slider-button-next:before {
    background-image: linear-gradient(to left,#000,rgba(0,0,0,0))
}

.stories-slider-pagination {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 8px;
    display: flex;
    justify-content: space-between;
    z-index: var(--stories-slider-z-pagination);
    pointer-events: none;
    transform: translateZ(0)
}

.stories-slider-pagination-bullet {
    width: 100%;
    flex-shrink: 10;
    border-radius: 999px;
    height: 2px;
    background: rgba(255,255,255,.35);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 1px #00000059
}

.stories-slider-pagination-bullet span {
    position: absolute;
    background: #fff;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    transform: translate(100%);
    transition-timing-function: linear
}

.stories-slider-pagination-bullet-viewed span {
    transform: translate(0);
    transition-duration: 0ms!important
}

.stories-slider-pagination-bullet+.stories-slider-pagination-bullet {
    margin-right: 2px
}

a.stories-slider-user,.stories-slider-user a {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition-duration: .2s;
    transform: translateZ(0)
}

a.stories-slider-user:active,.stories-slider-user a:active {
    opacity: .55
}

.stories-slider-user {
    display: flex;
    align-items: center;
    position: absolute;
    top: 18px;
    right: 12px;
    height: 32px;
    z-index: var(--stories-slider-z-user);
    color: #fff;
    text-decoration: none;
    user-select: none;
    transform: translateZ(0);
    -webkit-user-select: none
}

.stories-slider-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px
}

div.stories-slider-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center
}

.stories-slider-user-name {
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
    text-shadow: 0px 0px 2px rgba(0,0,0,.35)
}

.stories-slider-user-date {
    font-size: 14px;
    font-weight: 400;
    opacity: .55;
    text-shadow: 0px 0px 2px rgba(0,0,0,.35)
}

.stories-slider-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 10px;
    top: 18px;
    height: 32px;
    z-index: var(--stories-slider-z-actions);
    transition-duration: .2s;
    user-select: none;
    transform: translateZ(0);
    -webkit-user-select: none
}

.stories-slider-close-button {
    margin-left: 18px;
    width: 22px;
    height: 22px;
    appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
    display: block;
    position: relative;
    cursor: pointer;
    padding: 0;
    background: transparent;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    user-select: none;
    -webkit-user-select: none
}

.stories-slider-close-button:before,.stories-slider-close-button:after {
    content: "";
    width: 125%;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    box-shadow: 0 0 1px #00000059
}

.stories-slider-close-button:before {
    transform: translate(-50%,-50%) rotate(45deg)
}

.stories-slider-close-button:after {
    transform: translate(-50%,-50%) rotate(-45deg)
}

.stories-slider-close-button:active {
    opacity: .55
}

.stories-slider-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: var(--stories-slider-z-content);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none
}

div.stories-slider-content>img,.stories-slider-content>video {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
    border: none;
    outline: none;
    background: none;
    background-color: transparent
}

div.stories-slider-content>img {
    object-fit: cover
}

div.stories-slider-content>video {
    object-fit: contain
}

.stories-slider-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: calc(var(--stories-slider-z-navigation) + 10);
    transform: translate3d(-50%,-50%,0);
    user-select: none;
    padding: 24px
}

.stories-slider-play-button svg {
    position: relative;
    width: 96px;
    height: 96px;
    opacity: .75
}

.stories-slider-play-button:active {
    opacity: .55
}

@font-face {
    font-family: swiper-icons;
    src: url(data:application/font-woff;charset=utf-8;base64,\ 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) format("woff");
    font-weight: 400;
    font-style: normal
}

:root {
    --swiper-theme-color: #007aff;
}

:host {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block
}

.swiper-vertical>.swiper-wrapper {
    flex-direction: column
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box
}

.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper {
    transform: translateZ(0)
}

.swiper-horizontal {
    touch-action: pan-y
}

.swiper-vertical {
    touch-action: pan-x
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    /*display: block*/
}

.swiper-slide-invisible-blank {
    visibility: hidden
}

.swiper-autoheight,.swiper-autoheight .swiper-slide {
    height: auto
}

.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform,height
}

.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    backface-visibility: hidden
}

.swiper-3d.swiper-css-mode .swiper-wrapper {
    perspective: 1200px
}

.swiper-3d .swiper-wrapper {
    transform-style: preserve-3d
}

.swiper-3d {
    perspective: 1200px
}

.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow {
    transform-style: preserve-3d
}

.swiper-css-mode>.swiper-wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
    display: none
}

.swiper-css-mode>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: start start
}

.swiper-css-mode.swiper-horizontal>.swiper-wrapper {
    scroll-snap-type: x mandatory
}

.swiper-css-mode.swiper-vertical>.swiper-wrapper {
    scroll-snap-type: y mandatory
}

.swiper-css-mode.swiper-free-mode>.swiper-wrapper {
    scroll-snap-type: none
}

.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: none
}

.swiper-css-mode.swiper-centered>.swiper-wrapper:before {
    content: "";
    flex-shrink: 0;
    order: 9999
}

.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: center center;
    scroll-snap-stop:always}

.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child {
    margin-inline-start:var(--swiper-centered-offset-before)}

.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper: before {
    height:100%;
    min-height: 1px;
    width: var(--swiper-centered-offset-after)
}

.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child {
    margin-block-start:var(--swiper-centered-offset-before)}

.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper: before {
    width:100%;
    min-width: 1px;
    height: var(--swiper-centered-offset-after)
}

.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10
}

.swiper-3d .swiper-slide-shadow {
    background: rgba(0,0,0,.15)
}

.swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-top {
    background-image: linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    box-sizing: border-box;
    border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
    border-radius: 50%;
    border-top-color: transparent
}

.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fff;
}

.swiper-lazy-preloader-black {
    --swiper-preloader-color: #000;
}

@keyframes swiper-preloader-spin {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.swiper-cube {
    overflow: visible
}

.swiper-cube .swiper-slide {
    pointer-events: none;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    transform-origin: 0 0;
    width: 100%;
    height: 100%
}

.swiper-cube .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-cube.swiper-rtl .swiper-slide {
    transform-origin: 100% 0
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev {
    pointer-events: auto;
    visibility: visible
}

.swiper-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    opacity: .6;
    z-index: 0
}

.swiper-cube .swiper-cube-shadow:before {
    content: "";
    background: #000;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    -webkit-filter: blur(50px);
    filter: blur(50px)
}

.swiper-cube .swiper-slide-next+.swiper-slide {
    pointer-events: auto;
    visibility: visible
}

.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right {
    z-index: 0;
    backface-visibility: hidden
}




.demo-title {
    padding: 24px 12px 12px
}

.demo-stories {
    display: flex;
    align-items: center;
    padding: 12px;
    overflow: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 15px;
    align-items: flex-start;
}

.demo-stories::-webkit-scrollbar {
    display: none;
    opacity: 0
}



.demo-stories .stor_trigger {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition-duration: .3s;
    transition-property: opacity
}

.demo-stories .stor_trigger:active {
    opacity: .55;
    transition-duration: 50ms
}

.demo-stories-avatar {
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background-image: linear-gradient(to right top,#ffc600 20%,#ff0040,#e600cc 80%)
}

.demo-stories-avatar:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    background: #000;
    border-radius: 50%;
    z-index: 1
}

span.demo-stories-avatar img {
    position: relative;
    z-index: 2;
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center
}

.demo-stories-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 10px;
    color: #525252;
    overflow-wrap: break-word;
    width: 100px;
    text-align: center;
    display: -webkit-box; /* Fallback for older browsers */
    -webkit-box-orient: vertical; /* Required for the clamp to work */
    -webkit-line-clamp: 2; /* Limits the text to 2 lines */
    overflow: hidden;
}



.stories-slider {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transform: scale(0);
    transform: translateZ(0) scale(.5);
    opacity: 0;
    background: #000;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

@media (min-width: 415px),(min-height: 897px) {
    .stories-slider {
        background:rgb(41,40,49)
    }
}

.stories-slider>.swiper {
    z-index: 2;
    max-width: 414px;
    max-height: 896px
}

.stories-slider:not(.stories-slider-in) {
    pointer-events: none
}

.stories-slider:not(.stories-slider-in) * {
    pointer-events: none!important
}

.stories-slider-in {
    animation: stories-slider-in .4s forwards;
    pointer-events: auto;
    transform: translateZ(0) scale(1);
    opacity: 1
}

.stories-slider-out {
    pointer-events: none;
    animation: stories-slider-out .4s forwards!important
}

body.sc_story_body a.swss_floting_ticket,body.sc_story_body .studi_custom_floating_btn,body.sc_story_body .sc_studi_hamburger,body.sc_story_body .navigation,body.sc_story_body .studi_notif_bar{display:none;} 

@keyframes stories-slider-in {
    0% {
        transform: translateZ(0) scale(.5);
        opacity: 0
    }

    50% {
        transform: translateZ(0) scale(1.05);
        opacity: 1
    }

    to {
        transform: translateZ(0) scale(1);
        opacity: 1
    }
}

@keyframes stories-slider-out {
    0% {
        transform: translateZ(0) scale(1);
        opacity: 1
    }

    50% {
        transform: translateZ(0) scale(.5);
        opacity: 0
    }

    to {
        transform: translateZ(0) scale(.5);
        opacity: 0
    }
}

.stories_btm_con {
    position: fixed;
    bottom:0;
    z-index: 11000000000;
    margin: 0 auto;
    width: 100%;
}
.sbc_links {
    background: #0c0c0c;
    padding: 10px;
    background: rgb(0 0 0 / 18%);
    text-align: justify;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin: 5px;
    border-radius: 5px;
    color: #fff;
}
.sbc_links a{color: #fff;}
.sbc_info {
   background: linear-gradient(180deg, rgb(12 12 12 / 0%), rgb(12 12 12));padding: 1rem;color:#f0f0f1;
}
.sbc_links i{margin:0 5px;}
.sbc_title {
    border-bottom: 1px solid #0000002b;
    width: 100%;
    display: block;
}
/**by suncode to fix in studiare */
.sc_story_body .wrap{height:100%;}
body.sc_story_body,html.sc_story_body { overflow: hidden; height: 100%; }
@media screen and (max-width:428px){
    .stories-slider>.swiper { 
    padding: 0 10px;
}
}