/* ===== Video hub (/video) ===== */
.vi-page {
  background: oklch(97.5% 0.003 265);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.vi-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.vi-inner {
  padding: 16px 0 40px;
  min-width: 0;
}

/* Billboard */
.vi-leaderboard {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  max-width: 100%;
  overflow: hidden;
}
.vi-leaderboard--bottom {
  margin-top: 28px;
  margin-bottom: 0;
}

/* Top bar — başlık + filtreler + rss tek satırda */
.vi-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid oklch(90% 0.008 265);
}
.vi-topbar-l {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.vi-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: oklch(38% 0.18 265);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vi-page-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.vi-filter-l {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.vi-rss {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: oklch(52% 0.14 265);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.vi-rss:hover { color: oklch(38% 0.18 265); }

/* Filtre chip */
.vi-chip {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid oklch(88% 0.01 265);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.vi-chip:hover {
  border-color: oklch(52% 0.14 265);
  color: oklch(38% 0.16 265);
}
.vi-chip.is-active {
  background: oklch(32% 0.14 265);
  border-color: oklch(32% 0.14 265);
  color: #fff;
}

/* Öne çıkan şerit — light kart, aynı renk sistemi */
.vi-featured-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid oklch(91% 0.008 265);
  border-radius: 12px;
  overflow: hidden;
}
.vi-feat {
  min-width: 0;
}
.vi-feat-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.vi-feat-link:hover .vi-feat-title { color: oklch(38% 0.16 265); }
.vi-feat-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: oklch(14% 0.02 265);
}
.vi-feat-media .photo-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}
.vi-feat-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 22, 0.2);
}
.vi-feat-play svg,
.vi-feat-play {
  transition: background .2s;
}
.vi-feat-link:hover .vi-feat-play {
  background: rgba(8, 10, 22, 0.38);
}
.vi-feat-play svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  color: oklch(22% 0.04 265);
}
.vi-feat-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.vi-feat-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vi-feat-sum {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.42;
  color: var(--ink-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sıra listesi — featured şeridin içinde */
.vi-queue {
  border-left: 1px solid oklch(92% 0.007 265);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.vi-queue-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  padding: 12px 12px 10px;
  border-bottom: 1px solid oklch(93% 0.007 265);
}
.vi-queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}
.vi-queue-item {
  border-bottom: 1px solid oklch(95% 0.006 265);
}
.vi-queue-item:last-child { border-bottom: 0; }
.vi-queue-link {
  display: grid;
  grid-template-columns: 18px 80px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  transition: background .15s;
}
.vi-queue-link:hover { background: oklch(97.5% 0.005 265); }
.vi-queue-link:hover h3 { color: oklch(38% 0.16 265); }
.vi-queue-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: center;
}
.vi-queue-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: oklch(92% 0.006 265);
}
.vi-queue-thumb .photo-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}
.vi-queue-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  opacity: 0;
  transition: opacity .15s;
}
.vi-queue-link:hover .vi-queue-play { opacity: 1; }
.vi-queue-thumb .vi-dur {
  bottom: 3px;
  right: 3px;
  font-size: 9px;
  padding: 2px 4px;
}
.vi-queue-text { min-width: 0; }
.vi-queue-text h3 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 3px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.vi-queue-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

/* Süre rozeti */
.vi-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 10, 22, 0.78);
  padding: 3px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Canlı rozeti */
.vi-live-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #e11d48;
  color: #fff;
  padding: 4px 9px;
  border-radius: 4px;
  animation: vi-live-pulse 2s ease infinite;
}
.vi-live-pill--lg {
  top: 12px;
  left: 12px;
  font-size: 10px;
}
@keyframes vi-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(225, 29, 72, 0); }
}

/* Ana içerik satırı */
.vi-body-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 24px;
  align-items: start;
}

/* Video grid — 3 sütun, uniform kartlar */
.vi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vi-infeed-ad {
  grid-column: 1 / -1;
  margin: 6px 0;
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

/* Video kart — tek uniform stil */
.vi-card {
  background: #fff;
  border: 1px solid oklch(91% 0.008 265);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.vi-card:hover {
  transform: translateY(-2px);
  border-color: oklch(83% 0.04 265);
  box-shadow: 0 10px 28px -14px rgba(15, 20, 40, 0.13);
}
.vi-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.vi-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: oklch(20% 0.03 265);
  overflow: hidden;
}
.vi-card-media .photo-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}
.vi-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 24, 0.18);
  color: oklch(25% 0.06 265);
  opacity: 0;
  transition: opacity .18s, background .18s;
}
.vi-card:hover .vi-card-play {
  opacity: 1;
  background: rgba(8, 10, 24, 0.34);
}
.vi-card-play svg {
  width: 40px;
  height: 40px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.vi-card-body {
  padding: 11px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.vi-card-cat {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(42% 0.14 265);
  background: oklch(95.5% 0.03 265);
  padding: 3px 7px;
  border-radius: 4px;
  align-self: flex-start;
}
.vi-card-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.vi-card:hover .vi-card-title { color: oklch(38% 0.16 265); }
.vi-card-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 2px;
}
.vi-dot { margin: 0 4px; opacity: 0.55; }

/* Trend kenar çubuğu */
.vi-trending {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vi-trend-head {
  border-bottom: 1px solid oklch(92% 0.008 265);
  padding-bottom: 8px;
}
.vi-trend-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vi-trend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid oklch(91% 0.008 265);
  border-radius: 10px;
  overflow: hidden;
}
.vi-trend-item {
  border-bottom: 1px solid oklch(95% 0.006 265);
}
.vi-trend-item:last-child { border-bottom: 0; }
.vi-trend-link {
  display: grid;
  grid-template-columns: 22px 68px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.vi-trend-link:hover { background: oklch(98% 0.02 265); }
.vi-trend-link:hover .vi-trend-h { color: oklch(38% 0.16 265); }
.vi-trend-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: oklch(74% 0.04 265);
}
.vi-trend-item:nth-child(-n + 3) .vi-trend-rank { color: oklch(42% 0.16 265); }
.vi-trend-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  background: oklch(94% 0.006 265);
}
.vi-trend-thumb .photo-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}
.vi-trend-dur {
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  padding: 2px 4px;
  border-radius: 3px;
}
.vi-trend-h {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}

/* Daha fazla butonu */
.vi-more-wrap {
  text-align: center;
  margin-top: 20px;
}
.vi-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid oklch(87% 0.01 265);
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.vi-more-btn:hover {
  border-color: oklch(48% 0.16 265);
  color: oklch(38% 0.16 265);
  background: oklch(98% 0.02 265);
}

/* Responsive */
@media (max-width: 1100px) {
  .vi-featured-strip { grid-template-columns: 1fr; }
  .vi-queue { border-left: 0; border-top: 1px solid oklch(92% 0.007 265); }
  .vi-body-row { grid-template-columns: 1fr; }
  .vi-trending { position: static; }
}
@media (max-width: 900px) {
  .vi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vi-topbar { gap: 8px; }
}
@media (max-width: 640px) {
  .vi-inner { padding: 12px 0 28px; }
  .vi-topbar { flex-wrap: wrap; }
  .vi-filter-l { order: 3; width: 100%; }
  .vi-grid { grid-template-columns: 1fr; gap: 10px; }
  .vi-featured-strip { border-radius: 8px; }
}
