.media-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: #f3f4f6;
  overflow: hidden;
  cursor: pointer;
}

.media-video,
.photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-video_photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}

.play-indicator:hover {
  background: rgba(0, 0, 0, 0.7);
}

.media-container.playing .play-indicator {
  opacity: 0;
}

.photo-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.photo-slide.active {
  opacity: 1;
}

.photo-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.photo-dot.active {
  background: white;
  transform: scale(1.2);
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #4b5563;
  background: #f3f4f6;
  transition: all 0.2s;
}

.pagination-item:hover {
  background: #e5e7eb;
}

.pagination-item.active {
  background: #3b82f6;
  color: white;
}

.parent-container {
  max-width: 1200px;
  height: calc(100vh - 140px);
  min-height: 400px;
}

.content-height {
  height: 100%;
}

.scroll-box {
  overflow-y: auto;
  max-height: 100%;
}

.scroll-box::-webkit-scrollbar {
  width: 4px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.no-comments-tip {
  text-align: center;
  color: #9ca3af;
  padding: 20px;
}

.comment-item {
  border-bottom: 1px solid #f3f4f6;
}

.comment-item:last-child {
  border-bottom: none;
}
