.watchlist-page {
  padding: 40px 60px;
}

.watchlist-page h1 {
  font-size: 32px;
  margin-bottom: 6px;
}

.watchlist-sub {
  color: #aaa;
  margin-bottom: 30px;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 22px;
}

.watchlist-empty {
  margin-top: 60px;
  color: #777;
  text-align: center;
  display: none;
}


.watchlist-card {
  cursor: pointer;
  position: relative;
}

.watchlist-card img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.25s ease;
}

.watchlist-card:hover img {
  transform: scale(1.05);
}

.remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 14px;
}

.watchlist-poster {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.watchlist-poster img {
  width: 100%;
  display: block;
}

.watchlist-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  background: #000;
}

/* mobile ui */
@media (max-width: 768px) {
  .watchlist-page {
    padding: 72px 16px 40px;
  }
  .watchlist-page h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .watchlist-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .watchlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .watchlist-card img {
    border-radius: 12px;
  }
  .remove-btn {
    width: 28px;
    height: 28px;
    font-size: 15px;
    top: 8px;
    right: 8px;
  }
  .watchlist-poster {
    border-radius: 12px;
  }
  .watchlist-fallback {
    font-size: 12px;
  }
  .watchlist-empty {
    margin-top: 80px;
    font-size: 15px;
  }
}


