/* 海报网格 - PC端每行6个 */
.actor-movies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* 移动端：每行3个 */
@media screen and (max-width: 767px) {
  .actor-movies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.actor-movie-card {
  display: block;
  text-decoration: none;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.actor-movie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.movie-poster {
  position: relative;
  padding-bottom: 120%;
  overflow: hidden;
  background: rgba(13, 115, 119, 0.1);
  border-radius: 12px;
}

.movie-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.2s;
}

.actor-movie-card:hover .movie-poster img {
  transform: scale(1.05);
}

.movie-info {
  padding: 10px 8px;
  background: #fff;
}

.movie-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  display: flex;
  justify-content: flex-start;
  font-size: 0.75rem;
  color: #666;
}

.movie-year {
  background: rgba(13, 115, 119, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

/* 移动端 */
@media screen and (max-width: 767px) {
  .movie-poster {
    border-radius: 10px;
  }
  .movie-poster img {
    border-radius: 10px;
  }
  .movie-info {
    padding: 8px 6px;
  }
  .movie-title {
    font-size: 0.75rem;
  }
  .movie-meta {
    font-size: 0.65rem;
  }
}

/* 文字标签列表 - 网格对齐 */
.actor-movies-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(13, 115, 119, 0.15);
}

.actor-movies-list ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .actor-movies-list ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.actor-movies-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  background: rgba(13, 115, 119, 0.08);
  border: 1px solid rgba(13, 115, 119, 0.15);
  border-radius: 30px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s;
}

.actor-movies-list li a:hover {
  background: #0d7377;
  border-color: #0d7377;
  color: white;
  transform: translateY(-2px);
}

@media screen and (min-width: 768px) {
  .actor-movies-list li a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}