/* tvc_studio.css - TVC Studio 3+2+2 交互样式 (2026-08-11) */
.tvc-wrap {
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.tvc-h2 {
  color: var(--text, #f0f0f0);
  margin-bottom: 4px;
  font-size: 22px;
}
.tvc-desc {
  color: var(--muted, #8695b0);
  font-size: 13px;
  margin-bottom: 20px;
}
.tvc-section {
  background: var(--card, #1a1f2e);
  border: 1px solid var(--border, #2a2f3e);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.tvc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #8695b0);
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.tvc-body {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}
.tvc-choice-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
/* 卡片型选择(生成方式/质量/算力/规格) */
.tvc-choice {
  background: var(--bg2, #0f1524);
  border: 1.5px solid var(--border, #2a2f3e);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 110px;
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
  user-select: none;
}
.tvc-choice:hover {
  border-color: var(--neon, #6d74f5);
}
.tvc-choice.active {
  border-color: var(--neon, #6d74f5);
  background: linear-gradient(135deg, rgba(109,116,245,.18), rgba(255,107,53,.12));
  box-shadow: 0 0 0 1px var(--neon, #6d74f5) inset;
}
.tvc-choice .ic { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.tvc-choice .lab { font-weight: 600; color: var(--text, #f0f0f0); font-size: 14px; }
.tvc-choice .sub { font-size: 11px; color: var(--muted, #8695b0); margin-top: 3px; }
/* 模板卡片网格 */
.tvc-tpl {
  background: var(--bg2, #0f1524);
  border: 1.5px solid var(--border, #2a2f3e);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 150px;
  flex: 1 1 150px;
  cursor: pointer;
  transition: all .15s ease;
}
.tvc-tpl:hover { border-color: var(--neon, #6d74f5); }
.tvc-tpl.active {
  border-color: var(--gold, #d4af37);
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(255,107,53,.10));
  box-shadow: 0 0 0 1px var(--gold, #d4af37) inset;
}
.tvc-tpl .tlab { font-weight: 600; color: var(--text, #f0f0f0); font-size: 14px; }
.tvc-tpl .tsub { font-size: 11px; color: var(--muted, #8695b0); margin-top: 4px; }
/* 参数区 */
.tvc-field {
  width: 100%;
  margin-bottom: 12px;
}
.tvc-field > label {
  display: block;
  font-size: 13px;
  color: var(--muted, #8695b0);
  margin-bottom: 6px;
}
.tvc-field textarea,
.tvc-field input[type="text"],
.tvc-field select {
  width: 100%;
  background: var(--bg2, #0f1524);
  color: var(--text, #f0f0f0);
  border: 1px solid var(--border, #2a2f3e);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  box-sizing: border-box;
}
.tvc-field textarea { min-height: 60px; resize: vertical; }
.tvc-shot {
  background: var(--bg2, #0f1524);
  border: 1px solid var(--border, #2a2f3e);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.tvc-shot-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text, #f0f0f0);
}
.tvc-shot-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.tvc-shot-row label { font-size: 12px; color: var(--muted, #8695b0); }
.tvc-shot-row select, .tvc-shot-row input { background: var(--bg, #0b0f1a); color: var(--text, #f0f0f0); border: 1px solid var(--border, #2a2f3e); border-radius: 6px; padding: 4px 8px; }
.tvc-imgrow { margin-top: 8px; font-size: 12px; color: var(--muted, #8695b0); }
.tvc-imgrow input { color: var(--muted, #8695b0); }
.tvc-ok { color: var(--green, #2fd97e); font-size: 12px; }
.tvc-clip-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tvc-clip-chip {
  background: var(--bg, #0b0f1a);
  border: 1px solid var(--border, #2a2f3e);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text, #f0f0f0);
}
.tvc-clip-x { color: var(--red, #e94560); cursor: pointer; margin-left: 4px; }
/* 生成栏 + 结果 */
.tvc-genbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
  flex-wrap: wrap;
}
.tvc-gen-btn {
  background: linear-gradient(135deg, #ff6b35, #f7c948);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}
.tvc-gen-btn:disabled { opacity: .6; cursor: default; }
.tvc-status { font-size: 14px; color: var(--muted, #8695b0); }
.tvc-est { font-size: 12px; color: var(--muted, #8695b0); }
.tvc-result {
  background: var(--card, #1a1f2e);
  border: 1px solid var(--border, #2a2f3e);
  border-radius: 12px;
  padding: 16px;
}
.tvc-result h3 { color: var(--text, #f0f0f0); margin-bottom: 8px; font-size: 15px; }
.tvc-result video {
  width: 100%;
  max-width: 640px;
  border-radius: 8px;
  background: #000;
  display: block;
}
.tvc-result-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.tvc-result-actions .btn {
  background: var(--neon, #6d74f5);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
}
.tvc-result-actions #tvc-meta { font-size: 12px; color: var(--muted, #8695b0); }
