

.stories-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
}
.stories-carousel::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 auto;
    width: 110px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ccc;
    text-align: center;
    position: relative;
    background: #000;
    color: #fff;
}

.story-item img, .story-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botão de adicionar story */
.sk-add-story {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}
.sk-add-story span {
    line-height: 1;
}

/* Modal */
#sk-story-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}
#sk-story-modal .modal-contentStory {
  background: linear-gradient(45deg, #cf499e, #F44336);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    height: 95vh;
    max-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}
#sk-story-modal input[type="file"] {
    margin-bottom: 10px;
}
#sk-story-modal .close-btn {
    position: absolute;
    top: 10px; right: 10px;
    cursor: pointer;
    font-size: 18px;
    background: none;
    border: none;
    color: #888;
}

#story-viewer-modal {
    display: none; /* escondido inicialmente */
    position: fixed; /* fixa na tela */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
     z-index: 9999; /* na frente de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    background: rgb(33 18 42 / 78%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
   
}

#story-viewer-modal .modal-contentStory {
    position: relative;
	margin: auto;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    height: 700px;
    background: #111;

    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

#story-viewer-modal .close-btn {

    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
}

#storyViewerContent {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

#storyViewerContent img,
#storyViewerContent video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.story-navigation button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.story-navigation button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.sk-story-markers {
    text-align: center;
    margin-bottom: 10px;
}

.sk-story-marker {
    display: inline-block;
    width: 20px;
    height: 4px;
    background-color: #ccc;
    margin: 0 3px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sk-story-marker.active {
    background-color: #333;
}


.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(255 255 255 / 11%);
    color: white;
    border: none;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    z-index: 20;
    border-radius: 0;
}

.left-btn {
    left: 0px;
}

.right-btn {
    right: 0px;
}

