.story-thumb {
    width:60px; height:60px; border-radius:50%; margin-right:10px;
    cursor:pointer; border:2px solid #ff3c3c; flex-shrink:0;
}
.story-thumb img {
    width:100%; height:100%; object-fit:cover; border-radius:50%;
}
.story-slide {
    position:absolute; top:0; left:0; right:0; bottom:0;
    padding:24px; display:none; color:#fff; box-sizing:border-box; z-index:10;
}
.story-slide.active { display:block; animation:fadeIn .25s ease-in-out; }
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.story-slide img { width:100%; height:300px; object-fit:cover; border-radius:12px; margin-bottom:18px; box-shadow:0 6px 18px rgba(0,0,0,0.6); }
.story-slide .s-small { font-size:14px; color:#ffbdbd; margin-bottom:6px; }
.story-slide .s-title { font-size:22px; font-weight:700; margin:0 0 8px 0; color:#ff3c3c; }
.story-slide .s-sub { font-size:16px; color:#fff; margin-bottom:12px; }
.progress-bullets .dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.25); margin:0 4px; }
.progress-bullets .dot.active { background:#ff3c3c; }
.dot.active {
    animation: progress linear forwards;
}
@keyframes progress {
    from { width: 0%; }
    to   { width: 100%; }
}
#closeOverlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    padding: 10px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
}

.progress-bullets {
    display: flex;
    gap: 6px;
    padding: 10px;
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    z-index: 20;
}

.progress-bullets .dot {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bullets .dot.active {
    animation: fillBar linear forwards;
    animation-duration: var(--dur);
}

.progress-bullets .dot::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 0%;
    height: 100%;
    background: white;
}

/* Animation qui remplit */
.progress-bullets .dot.active::after {
    animation: fillBar var(--dur) linear forwards;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 100%; }
}

.story-progress {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    overflow: hidden;
    z-index: 99999;
}

.story-progress-inner {
    width: 0%;
    height: 100%;
    background: white;
    transition: width linear;
}

