/* ── YouTube Shorts hikaye şeridi (anasayfa) ───────────────────────────── */
.shorts-stories {
  margin: 22px 0 0;
  padding: 0;
  background: transparent;
}

.shorts-stories-inner {
  min-width: 0;
}

.shorts-card {
  background: #fff;
  border: 1px solid oklch(91% 0.006 250);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow:
    0 1px 2px rgba(15, 20, 35, 0.04),
    0 8px 22px -16px rgba(15, 20, 35, 0.1);
}

/* Başlık satırı — Yazarlar (.ha-head) ile aynı hizalama/ölçü */
.shorts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.shorts-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  padding-bottom: 10px;
}

.shorts-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.shorts-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
  transition: gap 0.15s ease, color 0.15s ease;
}

.shorts-all-link:hover {
  color: var(--accent-ink);
  gap: 9px;
}

.shorts-strip {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 2px 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shorts-strip::-webkit-scrollbar {
  display: none;
}
.shorts-item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.shorts-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  background: none;
  border: 0;
  padding: 0 8px;
  cursor: pointer;
}

.shorts-ring {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, #ff0033, #ff5b00, #ff0033, #c800ff, #ff0033);
  transition: transform 0.15s ease;
}
.shorts-bubble:hover .shorts-ring {
  transform: scale(1.04);
}
.shorts-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #111 center/cover no-repeat;
  border: 2px solid #fff;
}
.shorts-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shorts-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.shorts-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 901px) {
  .shorts-strip {
    justify-content: space-between;
    overflow-x: visible;
    flex-wrap: nowrap;
  }

  .shorts-item {
    flex: 1 1 0;
    border-right: 1px solid oklch(94% 0.006 250);
  }

  .shorts-item:last-child {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .shorts-card {
    padding: 16px 14px 14px;
  }

  .shorts-title {
    font-size: 22px;
  }

  .shorts-strip {
    gap: 16px;
    padding-bottom: 4px;
  }

  .shorts-item {
    border-right: 0;
  }

  .shorts-bubble {
    width: 88px;
    padding: 0;
  }

  .shorts-ring {
    width: 88px;
    height: 88px;
  }

  .shorts-label {
    font-size: 12px;
    max-width: 88px;
  }
}

/* ── Modal (story görüntüleyici) ───────────────────────────────────────── */
.shorts-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.shorts-stage {
  position: relative;
  width: min(420px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shorts-progress {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 10px;
}
.shorts-progress-seg {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
}
.shorts-progress-seg.is-done {
  background: rgba(255, 255, 255, 0.7);
}
.shorts-progress-seg.is-active {
  background: #fff;
}
.shorts-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.shorts-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.shorts-caption {
  margin: 12px 4px 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  max-width: 100%;
}
.shorts-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.shorts-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.shorts-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shorts-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
.shorts-nav-prev {
  left: 4%;
}
.shorts-nav-next {
  right: 4%;
}
@media (max-width: 720px) {
  .shorts-nav {
    display: none;
  }
  .shorts-stage {
    width: 100%;
  }
}

/* ── Hikayeler liste sayfası (/shorts) ─────────────────────────────────── */
.shorts-page {
  background: oklch(97.5% 0.003 265);
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.shorts-page-shell {
  padding: 20px 0 44px;
}

.shorts-page-inner {
  min-width: 0;
}

.shorts-page-billboard {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  max-width: 100%;
  overflow: hidden;
}

.shorts-page-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.shorts-page-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  padding-bottom: 10px;
}

.shorts-page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.shorts-page-sub {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-2);
}

.shorts-page-empty {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-3);
}

.shorts-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 28px 20px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.shorts-page-item {
  display: flex;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 720px) {
  .shorts-page-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 32px 24px;
  }
}
