.storiesContainer {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto 24px;
  padding: 0 0.75rem;
  box-sizing: border-box;

  @media screen and (max-width: 768px) {
    padding: 0;
    margin-bottom: 16px;
  }
}

.storiesWrapper {
  display: flex;
  gap: 14px;
  padding: 10px 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  max-width: 1336px;
  cursor: grab;
  user-select: none;
   &.dragging {
    cursor: grabbing;
  }
  &::-webkit-scrollbar {
    display: none;
  }
}

.storyButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;

  &:active .storyAvatar {
    transform: scale(0.9);
  }
}

/* Gradient ring — conic-gradient, padding trick, temiz */
.storyAvatar {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-sizing: border-box;
  transition: transform 0.15s ease;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#f44336, #e91e63, #ff9800, #f44336);
    z-index: 0;
  }

  img {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 2px solid #fff;
    display: block;
    box-sizing: border-box;
  }

  &.viewed::before {
    background: #d0d0d0;
  }
  &.viewed img {
    opacity: 0.5;
  }
}

/* Badge/viewedIndicator tamamen kaldırıldı */

.storyLabel {
  font-size: 11px;
  color: #333;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68px;
  font-weight: 400;
  transition: color 0.2s;

  .storyButton:hover & {
    color: #e91e63;
  }
}