/**
 * 期2 对标拆解·爆款复刻 样式
 * css/pc-remake.css
 * 复用生产中心暗色卡片语言
 */

/* ===== 页面容器 ===== */
.remake-page {
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
  color: #e0e0e0;
}

.remake-header {
  margin-bottom: 28px;
}

.remake-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.remake-subtitle {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* ===== 段落区 ===== */
.remake-section {
  background: #1e1e24;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.remake-section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #ccc;
}

/* ===== 上传区 ===== */
.remake-upload-section {
}

.remake-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.remake-file-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #F18D24;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.remake-file-label:hover {
  background: #e07d1c;
}

.remake-file-name {
  font-size: 13px;
  color: #999;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remake-input {
  flex: 1;
  min-width: 200px;
  padding: 9px 14px;
  background: #2a2a35;
  border: 1px solid #3a3a48;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.remake-input:focus {
  border-color: #F18D24;
}

/* 合规勾选框 */
.remake-copyright-row {
  background: #25252d;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #3a3a48;
}

.remake-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

.remake-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #F18D24;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== 按钮 ===== */
.remake-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.remake-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.remake-btn-primary {
  background: #F18D24;
  color: #fff;
}

.remake-btn-primary:hover:not(:disabled) {
  background: #e07d1c;
}

.remake-btn-accent {
  background: linear-gradient(135deg, #F18D24, #e0551f);
  color: #fff;
  font-size: 15px;
  padding: 12px 32px;
}

.remake-btn-accent:hover:not(:disabled) {
  opacity: 0.92;
}

.remake-btn-outline {
  background: transparent;
  border: 1px solid #3a3a48;
  color: #ccc;
  font-size: 12px;
  padding: 5px 12px;
}

.remake-btn-outline:hover:not(:disabled) {
  background: #2a2a35;
  border-color: #F18D24;
}

.remake-btn-sm {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
}

/* ===== 状态文本 ===== */
.remake-status {
  font-size: 13px;
  color: #999;
}

/* ===== 进度条 ===== */
.remake-progress-bar {
  height: 6px;
  background: #2a2a35;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.remake-progress-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, #F18D24, #e0551f);
  border-radius: 3px;
  animation: remake-progress-pulse 1.2s ease-in-out infinite;
}

@keyframes remake-progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.remake-progress-text {
  font-size: 13px;
  color: #F18D24;
  margin: 0;
  text-align: center;
}

/* ===== DNA 卡 ===== */
.remake-dna-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.remake-dna-id {
  font-size: 12px;
  color: #666;
  font-weight: 400;
  margin-left: 6px;
}

.remake-dna-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.remake-dna-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #25252d;
  border: 1px solid #333340;
  border-radius: 6px;
  font-size: 13px;
  color: #bbb;
}

.remake-dna-score {
  color: #F18D24 !important;
  font-weight: 600;
}

.remake-dna-section {
  border-top: 1px solid #2a2a35;
  padding-top: 14px;
}

.remake-dna-label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 8px;
}

.remake-dna-value {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
}

/* 钩子高亮 */
.remake-dna-hook {
  background: linear-gradient(135deg, #2a1a08, #1e1620);
  border: 1px solid #F18D2433;
  border-radius: 8px;
  padding: 14px 18px;
}

.remake-dna-hook .remake-dna-value {
  color: #F18D24;
  font-size: 15px;
  font-weight: 500;
}

/* 文案节奏 */
.remake-dna-script-rhythm {
  font-style: italic;
  color: #aaa;
}

/* 口播文案 */
.remake-dna-script {
  font-size: 13px;
  color: #ccc;
  background: #25252d;
  border-radius: 8px;
  padding: 14px 16px;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.7;
}

/* 分镜时间轴 */
.remake-shots-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid #F18D2444;
  padding-left: 16px;
  margin-left: 6px;
}

.remake-shot-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: #ccc;
  padding: 4px 0;
}

.remake-shot-time {
  font-family: monospace;
  font-size: 12px;
  color: #F18D24;
  background: #25252d;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.remake-shot-desc {
  flex: 1;
}

.remake-shot-camera {
  font-size: 11px;
  color: #777;
  font-style: italic;
  flex-shrink: 0;
}

/* 情绪曲线 */
.remake-emotion-curve {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.remake-emotion-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.remake-emotion-time {
  font-family: monospace;
  font-size: 11px;
  color: #888;
}

.remake-emotion-tag {
  font-size: 12px;
  color: #fff;
  background: #F18D24;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* 可复用元素标签 */
.remake-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.remake-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #25252d;
  border: 1px solid #333340;
  border-radius: 6px;
  font-size: 12px;
  color: #bbb;
}

/* musicEdu 三栏 */
.remake-musicedu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 640px) {
  .remake-musicedu-grid {
    grid-template-columns: 1fr;
  }
}

.remake-musicedu-col {
  background: #25252d;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  padding: 14px;
}

.remake-musicedu-col-title {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333340;
}

.remake-musicedu-item {
  font-size: 12px;
  color: #aaa;
  padding: 5px 0;
  line-height: 1.5;
  border-bottom: 1px solid #2a2a3533;
}

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

/* ===== DNA 操作区 ===== */
.remake-dna-actions {
  text-align: center;
  padding-top: 10px;
}

.remake-dna-disclaimer {
  font-size: 11px;
  color: #666;
  margin: 10px 0 0;
}

/* ===== 历史列表 ===== */
.remake-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.remake-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #25252d;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.remake-history-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.remake-history-name {
  font-size: 14px;
  color: #ddd;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remake-history-time {
  font-size: 11px;
  color: #666;
  flex-shrink: 0;
}

.remake-history-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* 状态标签 */
.remake-status-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  flex-shrink: 0;
}

.remake-status-pending {
  background: #2a2a35;
  color: #888;
}

.remake-status-analyzing {
  background: #1a2a3a;
  color: #5b9bd5;
}

.remake-status-done {
  background: #1a2a1a;
  color: #5bbf5b;
}

.remake-status-failed {
  background: #2a1a1a;
  color: #e05555;
}

/* 空状态 */
.remake-empty {
  color: #666;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  margin: 0;
}
