.bonuses-story-section {
    padding: 1rem 0;
}

.bonuses-story-strip.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.bonuses-story-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.bonuses-story-strip::-webkit-scrollbar {
    display: none;
}

.bonus-story-item {
    flex: 0 0 auto;
    width: 86px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    scroll-snap-align: start;
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.bonus-story-ring {
    position: relative;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bonus-story-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.bonus-story-item:not(.is-seen) .bonus-story-ring-svg {
    animation: bonus-ring-spin 5.5s linear infinite;
}

.bonus-story-item.is-seen .bonus-story-ring-svg {
    animation: none;
}

.bonus-story-ring-svg circle {
    fill: none;
    stroke-width: 2.75;
    stroke-linecap: round;
    /* kesik kesik segmentler */
    stroke-dasharray: 7.5 5.5;
}

.bonus-story-item:not(.is-seen) .bonus-story-ring-svg circle {
    stroke: url(#bonusStoryGrad);
}

.bonus-story-item.is-seen .bonus-story-ring-svg circle {
    stroke: var(--surface-600, #2a2a2a);
}

.bonus-story-avatar {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-800, #111);
    border: 2px solid var(--bg-color, #0a0a0a);
    display: block;
    box-sizing: border-box;
}

.bonus-story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.bonus-story-label {
    max-width: 86px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: var(--text-on-dark, #f1f5f9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bonus-story-item.is-seen .bonus-story-label {
    color: var(--text-gray, #6b7280);
}

.bonus-story-item:hover .bonus-story-avatar {
    border-color: var(--surface-700, #1c1c1c);
}

.bonus-story-item:focus-visible {
    outline: 2px solid rgb(var(--primary));
    outline-offset: 3px;
    border-radius: 12px;
}

@keyframes bonus-ring-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .bonus-story-item {
        width: 76px;
    }

    .bonus-story-ring {
        width: 66px;
        height: 66px;
    }

    .bonus-story-avatar {
        width: 52px;
        height: 52px;
    }

    .bonus-story-label {
        max-width: 76px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bonus-story-item:not(.is-seen) .bonus-story-ring-svg {
        animation: none;
    }
}
