/* drama_storyboard.css - 故事分镜工件预览卡片样式 */

.drama-storyboard-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin: 12px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.drama-storyboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15);
}

/* 头部区域 */
.drama-storyboard-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drama-storyboard-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #14b8a6;
}

.drama-storyboard-title-section {
  flex: 1;
  min-width: 0;
}

.drama-storyboard-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0 0 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drama-storyboard-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
}

.drama-storyboard-separator {
  color: #4b5563;
}

.drama-storyboard-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

/* 内容区域 */
.drama-storyboard-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drama-storyboard-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drama-storyboard-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drama-storyboard-section-icon {
  color: #6b7280;
  flex-shrink: 0;
}

.drama-storyboard-section-title {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  margin: 0;
}

/* 场景列表 */
.drama-storyboard-scenes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
}

.drama-storyboard-scene-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drama-storyboard-scene-name {
  font-size: 13px;
  color: #d1d5db;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drama-storyboard-scene-more {
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

/* 分镜卡片边框效果 */
.shot-card-gradient-border {
  position: relative;
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-right: none;
  z-index: 0;
}

/* 右侧渐变遮罩 */
.shot-card-gradient-border::after {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  width: 50%;
  height: calc(100% + 4px);
  background: linear-gradient(to right, transparent 0%, #121316 100%);
  pointer-events: none;
  z-index: -1;
}

/* 响应式 */
@media (max-width: 640px) {
  .drama-storyboard-card {
    padding: 16px;
  }
}
