.category-stories {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  gap: 8px;
  margin-top: 4px;
  overflow: visible;
  padding: 0;
}

.category-stories-scroll {
  cursor: grab;
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px;
  scrollbar-width: none;
  user-select: none;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.category-carousel-arrow {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 2rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  transition: box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
  width: 40px;
}

.category-carousel-arrow:hover,
.category-carousel-arrow:focus-visible {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: 0;
  transform: translateY(-2px);
}

.category-carousel-arrow:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.category-stories-scroll::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.category-stories-scroll.is-dragging {
  cursor: grabbing;
}

.category-story {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #111 !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 500;
  gap: 7px;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
  padding: 10px 15px;
  text-decoration: none;
  transition: box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.category-story:link,
.category-story:visited,
.category-story:hover,
.category-story:focus-visible,
.category-story:active {
  color: #111 !important;
}

.category-story:hover,
.category-story:focus-visible {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transform: translateY(-2px);
}

.category-story.is-active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #d72323 !important;
}

.category-story-label {
  color: inherit !important;
}

.category-story.is-active .category-story-label {
  color: inherit !important;
}

.category-story-emoji {
  font-size: 1rem;
  line-height: 1;
}

@media screen and (max-width: 450px) {
  .category-stories {
    gap: 5px;
  }

  .category-stories-scroll {
    gap: 6px;
  }

  .category-carousel-arrow {
    flex-basis: 36px;
    font-size: 1.75rem;
    height: 36px;
    width: 36px;
  }

  .category-story {
    font-size: 0.78rem;
    min-height: 38px;
    padding: 9px 12px;
  }
}
