/* ===================== "Movies We Think You'll Like" / For You ===================== */
.recs-slot:empty { display: none; }

/* AI badge next to the row/page title */
.recs-ai { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; margin-left: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft, #e9dbbd), var(--gold)); color: var(--noir);
  box-shadow: 0 0 14px rgba(203,182,130,0.35); }
.recs-ai--local { background: rgba(255,255,255,0.1); color: var(--silver); box-shadow: none; }
.recs-viewall { color: var(--gold) !important; text-decoration: none; font-weight: 600; }
.recs-viewall:hover { text-decoration: underline; }

/* rec card = the normal card + a reason caption */
.recs-row .row-track > .rec-card, .recs-grid > .rec-card { display: flex; flex-direction: column; flex: 0 0 auto; }
.rec-reason { display: flex; gap: 5px; align-items: baseline; margin: 9px 3px 0; max-width: clamp(240px, 26vw, 348px);
  font-size: 12.5px; line-height: 1.35; color: var(--silver); }
.rr-spark { opacity: 0.85; flex: 0 0 auto; font-size: 11px; }

/* For You page */
.foryou .fy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 4px clamp(16px, 5vw, 64px) 0; }
.foryou .page-title { margin-bottom: 4px; }
.foryou .page-sub { max-width: 720px; }
.foryou #fy-refresh { white-space: nowrap; }
.recs-connect { background: none; border: 0; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }
.recs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(230px, 24vw, 300px), 1fr));
  gap: 26px 16px; padding: 18px clamp(16px, 5vw, 64px) 64px; }
.recs-grid .rec-card .card { width: 100%; }
.recs-grid .rec-reason { max-width: none; }

/* loading shimmer */
.rec-skel { flex: 0 0 auto; width: clamp(240px, 26vw, 348px); aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 70%);
  background-size: 220% 100%; animation: recshimmer 1.25s linear infinite; }
.recs-grid .rec-skel { width: 100%; }
@keyframes recshimmer { to { background-position: -220% 0; } }

@media (max-width: 760px) {
  .recs-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 10px; }
}
