/* Container */
.circle-container-b04ae4ef {
    position: relative;
    width: 200px;
    height: 200px;
    cursor: pointer;
    margin: 0 auto;
}

/* Rotating SVG text */
.rotating-text-b04ae4ef {
    position: absolute;
    inset: 0;
    animation: spin-b04ae4ef 8s linear infinite;
    transform-origin: center;
}
.rotating-text-b04ae4ef text {
    font-size: 13px;
    fill: #111;
}

/* Play Button */
.play-btn-b04ae4ef {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease;
}
.play-btn-b04ae4ef:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.play-btn-icon-wrapper-b04ae4ef {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.play-btn-icon-wrapper-b04ae4ef svg {
    width: 1em;
    height: 1em;
}

/* Pulse rings */
.pulse-ring-b04ae4ef {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    pointer-events: none;
}
.pulse-ring-b04ae4ef.r1 { width: 130px; height: 130px; animation: pulseOut-b04ae4ef 2.4s ease-out infinite; }
.pulse-ring-b04ae4ef.r2 { width: 160px; height: 160px; animation: pulseOut-b04ae4ef 2.4s ease-out infinite 0.8s; }
.pulse-ring-b04ae4ef.r3 { width: 190px; height: 190px; animation: pulseOut-b04ae4ef 2.4s ease-out infinite 1.6s; }

/* Popup Overlay */
.popup-overlay-b04ae4ef {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.popup-overlay-b04ae4ef.active {
    display: flex !important;
}

/* Progress bars */
.story-bar-wrap-b04ae4ef {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
    width: 90%;
    max-width: 560px;
}
.story-bar-b04ae4ef {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    overflow: hidden;
}
.story-bar-fill-b04ae4ef {
    height: 100%;
    background: #fff;
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s linear;
}
.story-bar-fill-b04ae4ef.done {
    width: 100%;
}

/* Video box */
.video-box-b04ae4ef {
    position: relative;
    width: 90%;
    max-width: 560px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.video-frame-b04ae4ef {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* Close & Nav Buttons */
.close-btn-b04ae4ef {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}
.story-nav-b04ae4ef {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}
.nav-prev-b04ae4ef { left: max(10px, calc(50% - 280px - 56px)); }
.nav-next-b04ae4ef { right: max(10px, calc(50% - 280px - 56px)); }

.story-title-b04ae4ef {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

@keyframes spin-b04ae4ef {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes pulseOut-b04ae4ef {
    0%   { transform: translate(-50%, -50%) scale(0.55); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}