/* ---------- Fancam grid: 6 columns, vertical cards ---------- */

.fancam-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .fancam-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 750px) {
  .fancam-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .fancam-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Fancam card (portrait, since fancam clips are shot vertically) ---------- */

.fancam-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1f;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border: 1px solid var(--border);
}

.fancam-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Every fancam here is VIP content, so the blur is always on, not conditional */
.fancam-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.35);
}

.fancam-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  z-index: 2;
}

.fancam-card-idol {
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
}

.fancam-card-group {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fancam-card-date {
  margin-top: 2px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Same ad-card box, resized to match the portrait fancam card instead of the 16:9 default */
.fancam-grid .ad-card {
  aspect-ratio: 3 / 4;
}
