.stories {
    margin: 0 auto;
    max-width: 1024px;
    padding: 20px;
}

.story-item {
    display: inline-block;
    width: 100px;
    margin: 0 10px;
    vertical-align: top;
    text-align: center;
}

.story-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    border: 3px solid #e95950;
}

.story-item h3 {
    font-size: 12px;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Zuck.js Custom Skin Overrides */
.snapgram .story>.item-link {
    text-decoration: none;
    color: #333;
}

.snapgram .story>.item-link>.item-preview {
    border-radius: 50% !important;
    padding: 2px;
    /*background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);*/
    background: none
}

.snapgram .story.seen>.item-link>.item-preview {
    background: #999;
}

.snapgram .story>.item-link>.info .name {
    font-weight: 500;
    font-size: 13px;
}

/* Story Viewer Styles */
.stories.viewer .head {
    background: rgba(0, 0, 0, 0.8);
}

.stories.viewer .head .left {
    font-size: 14px;
    font-weight: 500;
}

.stories.viewer .head .time {
    font-size: 12px;
    font-weight: normal;
}

.stories.viewer .head .loading {
    border-color: #fff;
}

.stories.viewer .head .right .close {
    color: #fff;
    font-size: 24px;
}

/* Progress Bar Styles */
.stories.viewer .slides-pointers>.current {
    background: #fff;
}

.stories.viewer .slides-pointers>* {
    background: rgba(255, 255, 255, 0.5);
}

#zuck-modal-content .story-viewer .slides .item>.media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Unterstützt das Zielverhalten */
}

.story.seen {
    opacity: 0.5;
}