/* Story slider styles */
.story-belt-wrapper {
    padding: 12px 0 8px;
}

.story-belt {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.story-belt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stories-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.storySwiper {
    padding: 8px 4px 12px;
}

.storySwiper .swiper-slide {
    width: auto;
    text-align: center;
}

.story-chip {
    position: relative;
    width: 78px;
    height: 78px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.story-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-chip img {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    border: 3px solid #fff;
    object-fit: cover;
    background: #f3f4f6;
}

.story-chip-title {
    max-width: 86px;
    font-size: 0.82rem;
    color: #374151;
    margin-top: 6px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-swiper-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: background 0.2s ease;
}

.story-swiper-nav:hover { background: rgba(0,0,0,0.75); }
.story-swiper-prev { left: 0; }
.story-swiper-next { right: 0; }
.story-swiper-prev::after,
.story-swiper-next::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}
.story-swiper-next::after { transform: translate(-50%, -50%) rotate(45deg); }

/* Modal */
.story-player-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.story-player-modal[hidden] {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.story-player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(2px);
}

.story-player-body {
    position: relative;
    max-width: 720px;
    width: 92%;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    z-index: 1;
    cursor: pointer;
}

.story-player-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.story-player-frame {
    position: relative;
    background: #000;
}

.story-player-frame iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    background: #000;
}

.story-player-title {
    color: #fff;
    padding: 10px 14px 14px;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .story-belt { padding: 12px; }
    .story-chip { width: 70px; height: 70px; }
    .story-chip img { width: 62px; height: 62px; }
    .story-chip-title { font-size: 0.78rem; }
    .story-player-body { width: 96%; border-radius: 12px; }
}

