.stories.snapgram .story > .item-link > .item-preview {
    background: radial-gradient(ellipse at 70% 70%, #1e5eff 8%, #1e5eff 42%, #1d73e5 58%) !important;
}

.stories.carousel .story > .item-link > .info .name {
    font-weight: 500;
    color: #6e6e6e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.6em;
    line-height: 1.8em;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.stories.carousel .story > .item-link > .info {
    direction: rtl;
    font-size: 12px;
    margin-top: 0.5em;
    width: 100%;
    max-width: 100%;
    max-height: 3.6em;
}

.stories.snapgram .story.seen {
    opacity: 1 !important;
}

#zuck-modal-content .story-viewer .head .right .close {
    color: #fff;
}

#zuck-modal-content .story-viewer .head .right .close:hover {
    color: #dddddd;
}

#zuck-modal-content .story-viewer .head .time {
    display: none !important;
}

#zuck-modal-content .story-viewer .head .left .time,
#zuck-modal-content .story-viewer .head .right .close {
    display: block;
}

#zuck-modal-content .story-viewer.with-back-button .head .left > .back {
    display: none;
}

#zuck-modal-content .story-viewer .slides-pagination span {
    font-family: initial;
    cursor: pointer;
}

a.tip.link {
    border-radius: 15px !important;
    padding: 8px 30px !important;
}

#zuck-modal.rtl .story-viewer .slides-pagination span {
    transform: translateY(-50%) scaleX(-1);
}

#zuck-modal.rtl #zuck-modal-content .story-viewer .tip {
    font-family: inherit;
    text-transform: none;
}

.sudinoo-stories-wrapper {
    position: relative;
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index:2;
}

.sudinoo-stories-viewport {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0 5px;
}

.sudinoo-stories-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease;
    justify-content: flex-start;
    gap: 10px;
}

.sudinoo-stories {
    flex: 0 0 auto;
}

.sudinoo-stories-nav {
    flex: 0 0 auto;
    width: 45px;
    height: 110px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    padding: 0;
    outline: none;
    z-index: 20;
    transition: background 0.2s ease;
}

.sudinoo-stories-nav:hover {
    background: #f5f5f5;
}

.nav-arrow-icon {
    display: block;
    width: 12px;
    height: 12px;
    border: solid #333;
    border-width: 0 3px 3px 0;
}

.sudinoo-stories-nav.prev .nav-arrow-icon {
    transform: rotate(-45deg);
    margin-right: 4px;
}

.sudinoo-stories-nav.next .nav-arrow-icon {
    transform: rotate(135deg);
    margin-left: 4px;
}

.stories.carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    gap: 10px !important;
    justify-content: flex-start;
}

.stories.carousel .story {
    flex: 0 0 auto !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stories.carousel .story > .item-link > .item-preview {
    width: 75px !important;
    height: 75px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 30% 30%, #ff4b8b, #ff1a6b, #9b00ff) !important;
    padding: 3px !important;
    box-shadow: 0 4px 10px rgba(255, 26, 107, 0.3) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.stories.carousel .story > .item-link > .item-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-sizing: border-box;
}

.stories.carousel .story > .item-link > .info {
    margin-top: 8px !important;
    width: 100% !important;
}

.stories.carousel .story > .item-link > .info .name {
    font-size: 11px !important;
    font-weight: 500;
    color: #4a4a4a !important;
    line-height: 1.4 !important;
    max-height: 2.8em !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    word-wrap: break-word;
    direction: rtl;
    text-align: center;
}

@media (max-width: 768px) {
    .sudinoo-stories-nav {
        width: 26px;
        height: 60px;
        border-radius: 15px;
    }
    .stories.carousel .story > .item-link > .item-preview {
        width: 65px !important;
        height: 65px !important;
    }
}