.creator-profile {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  align-items: flex-start;
}

/* 左侧头像区 */
.creator-photo-block {
  width: 30%;
  text-align: center;
}

.creator-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-name {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
}

/* 右侧简介 */
.creator-info {
  margin-top: 17px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.creator-bio {
  font-size: 1rem;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.creator-social a {
  text-align: center;
  margin-right: 1rem;
  display: inline-block;
}

/* 缩略图容器 */
.creator-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 默认 4 列 */
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

/* 缩略图卡片 */
.creator-work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  height: 320px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.creator-work-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.creator-work-thumb {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e5e7eb;
  transition: transform 0.3s;
}

.creator-work-title {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: #1f2937;
  text-decoration: none;
  padding: 0 0.5rem;
}

.creator-work-title:hover {
  text-decoration: underline;
}

/* 平板适配 (768px ~ 1024px) → 2 列 */
@media (max-width: 1024px) {
  .creator-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机适配 (<768px) → 1 列 */
@media (max-width: 768px) {
  .creator-profile {
    flex-direction: column;   /* 纵向排列 */
    align-items: center;
    text-align: center;
  }

  .creator-photo-block {
    width: 100%;
    margin-bottom: 1rem;
  }

  .creator-photo {
    width: 100%;
  height: 100%;
    object-fit: contain;
  }

  .creator-info {
    width: 100%;
    margin-top: 0;
    text-align: center;
  }

  .creator-works-grid {
    grid-template-columns: 1fr; /* 手机端改成一列 */
  }

  .creator-work-item {
    width: 100%;
    height: auto;
  }

  .creator-work-thumb {
    height: 180px;
  }
}

/* 超小屏 (<480px) */
@media (max-width: 480px) {
  .creator-work-title {
    font-size: 0.95rem;
  }
}
