.bwis-stories {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 0;
}

.bwis-story-container {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.bwis-story-bubble-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.bwis-rotate-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border: 3px solid transparent;
    border-top: 3px solid #622466;
    border-radius: 50%;
    animation: spin 1.8s linear infinite;
    z-index: 1;
}

.bwis-story-bubble {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    z-index: 2;
    cursor: pointer;
}

.bwis-story-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bwis-story-title {
    font-size: 12px;
    color: #333;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 30px;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#bwis-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

#bwis-modal-content {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9/16;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bwis-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}