/* Main Container */
.gnp-stories-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
    max-width: 800px;
    padding: 15px;
    position: relative;
}

/* Stories Wrapper */
.gnp-stories-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.gnp-stories-wrapper::-webkit-scrollbar {
    display: none;
}

/* Individual Story */
.gnp-story {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 80px;
}

.gnp-story-avatar {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    height: 60px;
    padding: 2px;
    width: 60px;
}

.gnp-story-avatar img {
    border: 2px solid white;
    border-radius: 50%;
    display: block;
    height: 100%;
    width: 100%;
}

/* Story Viewer */
.gnp-story-viewer {
    align-items: center;
    background: rgba(0,0,0,0.9);
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
}

.gnp-story-viewer-close {
    color: white;
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.gnp-story-viewer-content {
    background: #fff;
    border-radius: 10px;
    height: 80vh;
    max-width: 400px;
    overflow: hidden;
    width: 100%;
}

/* Full Story View */
.gnp-story-full {
    height: 100%;
    position: relative;
}

.gnp-story-full-header {
    align-items: center;
    display: flex;
    padding: 15px;
}

.gnp-story-full-avatar img {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

.gnp-story-full-meta {
    margin-left: 10px;
}

.gnp-story-full-author {
    font-weight: 600;
}

.gnp-story-full-time {
    color: #999;
    font-size: 12px;
}

.gnp-story-full-image img {
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    width: 100%;
}

.gnp-story-full-text {
    padding: 15px;
}