/* Ana sayfa hikâyeler — yalnızca mobil, Play Store barının altı */
.home-stories {
  display: block;
  margin: 0 0 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Play Store + hikâyeler — tek kurumsal kart */
.kp-home-feed-unified {
  margin: 0 0 12px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(26, 31, 54, 0.08);
}
.kp-home-feed-unified .kp-home-store-wrap {
  margin: 0;
}
.kp-home-feed-unified .kp-home-store-bar {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}
.kp-home-feed-unified .home-stories {
  margin: 0;
}
.kp-home-feed-unified .home-stories__panel {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 12px 10px;
  background: transparent;
}
@media (min-width: 768px) {
  .home-stories { display: none !important; }
}

.home-stories__panel {
  background: #fff;
  border-radius: 18px;
  padding: 14px 12px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(26, 31, 54, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.home-stories .nf-stories-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 1px;
}
.home-stories .nf-stories-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 6px;
  margin-bottom: 0;
  padding: 0;
}
.home-stories .nf-section-link,
.home-stories .nf-stories-all-link {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  padding: 4px 0 4px 6px;
}
.home-stories .nf-section-link:hover,
.home-stories .nf-stories-all-link:hover {
  color: var(--primary, #e31e24);
}
.home-stories .nf-stories-tab {
  flex: 1;
  padding: 7px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font);
  color: #8888a4;
  background: #f3f4f8;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.home-stories .nf-stories-tab.active {
  color: #fff;
  background: var(--primary, #e31e24);
}
.home-stories .nf-stories-tab--kku.active {
  background: #8b1e2d;
}
.home-stories .nf-stories-tabs--kind {
  margin-bottom: 10px;
}
.home-stories .nf-stories-tab--gonderi.active {
  background: linear-gradient(135deg, #833ab4, #fd1d1d);
}
.home-stories .nf-story-ring--gonderi {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.home-stories .nf-story-ring--mixed {
  background: linear-gradient(135deg, #e31e24 0%, #833ab4 55%, #fd1d1d 100%);
}
.home-stories__kind-block[hidden] {
  display: none !important;
}
.home-stories a.nf-story {
  flex: 0 0 auto;
  width: 64px;
  display: block;
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
  color: inherit;
}
.home-stories .nf-story-ring--kku {
  background: linear-gradient(135deg, #c9a227, #8b1e2d);
}
.home-stories .nf-story-ring--kku .nf-story-av {
  color: #8b1e2d;
  font-size: 1rem;
}

.home-stories .nf-stories-panel[hidden] {
  display: none !important;
}
.home-stories .nf-stories-row {
  position: relative;
  display: flex;
  align-items: center;
}
.home-stories .nf-stories-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 40px 4px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.home-stories .nf-stories-scroller::-webkit-scrollbar {
  display: none;
}
.home-stories .nf-stories-chev {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #eef0f4;
  background: #fff;
  color: var(--primary, #e31e24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 0.68rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-stories button.nf-story {
  flex: 0 0 auto;
  width: 64px;
  display: block;
  font: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
  padding: 0;
  color: inherit;
}
.home-stories .nf-story-ring {
  width: 58px;
  height: 58px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #e31e24, #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.home-stories .nf-story-ring--self {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}
.home-stories .nf-story-ring--archive {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  opacity: 0.92;
}
.home-stories .nf-story--archive .nf-story-label {
  color: #64748b;
}
.home-stories .nf-story-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a1a2e;
  box-sizing: border-box;
}
.home-stories .nf-story-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-stories .nf-story-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.25;
  color: #4a4a68;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-stories .nf-story--self .nf-story-add {
  position: absolute;
  right: 2px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0095f6;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  color: #fff;
  pointer-events: none;
}
.home-stories .nf-stories-empty {
  margin: 0;
  padding: 12px 8px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #8888a4;
  text-align: center;
  flex: 1 1 100%;
}
