/* Ana sayfa "Oyuncuları keşfet": IMDb "En popüler oyuncular" gibi yuvarlak fotoğraflı kayan şerit.
   Sadece bu bölümü etkiler; home-discovery.css'ten sonra yüklenir. */
html body .discovery-people-grid {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: 176px;
  grid-template-columns: none !important;
  gap: 16px !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
html body .discovery-people-grid::-webkit-scrollbar { display: none; }
html body .discovery-people-grid .discovery-person {
  width: 176px;
  min-width: 0;
  scroll-snap-align: start;
  gap: 8px;
}
html body .discovery-people-grid .discovery-person img {
  width: 160px;
  height: 160px;
  object-position: 50% 20%; /* dikey portrelerde yüz ortada kalsın */
  transition: opacity .2s ease;
}
html body .discovery-people-grid .discovery-person:hover img { opacity: .82; }
html body .discovery-people-grid .discovery-person:hover strong { color: #f5c518; }
html body .discovery-rank {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
}
html body .discovery-people-grid .discovery-person strong { font-size: 16px; }

/* Kaydırma okları (theme-imdb.js) fotoğrafların ortasına hizalanır */
html body .x-rail-wrap:has(.discovery-people-grid) .x-rail-btn { top: 84px; }

@media (max-width: 640px) {
  html body .discovery-people-grid { grid-auto-columns: 128px; display: grid !important; }
  html body .discovery-people-grid .discovery-person { width: 128px; }
  html body .discovery-people-grid .discovery-person img { width: 116px; height: 116px; }
  html body .x-rail-wrap:has(.discovery-people-grid) .x-rail-btn { top: 62px; }
}
