/**
 * File: client/css/components/crossover-video.css
 * 穿越视频组件样式
 * 作用: 定义穿越视频功能的3个完全独立的板块容器样式（风格转换、飞行器选择、视频生成）
 * @date 2026-01-26
 * @modification 移除外层容器，3个板块完全独立
 * @date 2026-01-26
 */

/* ==================== 穿越视频面板背景 ==================== */

#crossover-video-panel {
  background: #f5f5f5 !important;
  padding: 30px 20px !important;
}

/* ==================== 独立板块容器 ==================== */

.crossover-block {
  background: #ffffff;
  border: 3px solid #d1d1d6;
  border-radius: 16px;
  padding: 40px;
  margin: 0 auto 40px auto;
  max-width: 1400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
}

.crossover-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #1a1a1a 0%, #4a4a4a 100%);
  border-radius: 16px 0 0 16px;
}

.crossover-block:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  border-color: #1a1a1a;
  transform: translateY(-2px);
}

.crossover-block:last-of-type {
  margin-bottom: 0;
}

/* 为每个板块添加不同的背景装饰 */
.crossover-block#styleConversionBlock::after {
  content: '🎨';
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 60px;
  opacity: 0.08;
  pointer-events: none;
}

.crossover-block#aircraftSelectionBlock::after {
  content: '🚀';
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 60px;
  opacity: 0.08;
  pointer-events: none;
}

.crossover-block#imageCombineBlock::after {
  content: '🖼️';
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 60px;
  opacity: 0.08;
  pointer-events: none;
}

.crossover-block#videoGenerationBlock::after {
  content: '🎬';
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 60px;
  opacity: 0.08;
  pointer-events: none;
}

/* ==================== 板块头部 ==================== */

.block-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px solid #e5e5e5;
  position: relative;
  z-index: 1;
}

.block-title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.block-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: #ffffff;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.block-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

.block-description {
  font-size: 15px;
  color: #666;
  margin: 0;
  padding-left: 64px;
  line-height: 1.6;
}

/* ==================== 板块内容区域 ==================== */

.block-content {
  padding: 8px 0;
  position: relative;
  z-index: 1;
}

/* ==================== 板块1: 风格转换 ==================== */

/**
 * @description 风格转换3列布局容器
 * @date 2026-01-27
 */
.style-convert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

/**
 * @description 列样式
 * @date 2026-01-27
 */
.style-convert-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.column-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.column-hint {
  font-size: 13px;
  color: #999;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

/**
 * @description 左列：参考图区域（9:16竖版）
 * @date 2026-01-27
 */
.style-convert-left {
  position: sticky;
  top: 20px;
}

.style-convert-reference-upload {
  background: #f8f8f8;
  border: 2px dashed #d1d1d6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  /* 9:16 比例容器 */
  aspect-ratio: 9 / 16;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.style-convert-reference-upload:hover {
  background: #fafafa;
  border-color: #1a1a1a;
}

.style-convert-reference-upload .upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.style-convert-reference-upload .upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.style-convert-reference-upload .upload-text {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0 0 6px 0;
}

.style-convert-reference-upload .upload-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.style-convert-reference-upload .upload-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.style-convert-reference-upload .upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.style-convert-reference-upload .remove-image-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.style-convert-reference-upload .remove-image-btn:hover {
  background: #d32f2f;
  transform: scale(1.1);
}

/**
 * @description 中列：设置区域
 * @date 2026-01-27
 */
.style-convert-middle {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.setting-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
  line-height: 1.4;
}

.style-convert-prompt-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d1d6;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.style-convert-prompt-input:hover {
  border-color: #1a1a1a;
}

.style-convert-prompt-input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.strength-slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.strength-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e5e5;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.strength-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.strength-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.1);
}

.strength-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.strength-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.1);
}

.strength-value-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.strength-label {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.strength-value {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  min-width: 40px;
  text-align: right;
}

.style-convert-actions {
  margin-top: 8px;
}

.style-convert-actions .btn-large {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.style-convert-actions .btn span {
  margin-right: 8px;
  font-size: 20px;
}

.style-convert-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/**
 * @description 右列：结果显示区域（9:16竖版）
 * @date 2026-01-27
 */
.style-convert-right {
  position: sticky;
  top: 20px;
}

.style-convert-result-container {
  background: #f8f8f8;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  /* 9:16 比例容器 */
  aspect-ratio: 9 / 16;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.result-placeholder-icon {
  font-size: 56px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.result-placeholder-text {
  font-size: 15px;
  color: #999;
  margin: 0;
}

.result-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.result-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/**
 * @description 旧版样式（已弃用，保留以兼容）
 * @date 2026-01-27
 */
.style-convert-section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.section-hint {
  font-size: 13px;
  color: #999;
  margin: 0 0 16px 0;
}

.style-convert-result {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 2px solid #f0f0f0;
}

.style-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.style-option-card {
  background: #fafafa;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.style-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #1a1a1a;
}

.style-option-card.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.style-option-card.active .style-info h4,
.style-option-card.active .style-info p {
  color: #ffffff;
}

.style-preview {
  margin-bottom: 16px;
}

.style-icon {
  font-size: 52px;
  line-height: 1;
}

.style-info h4 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.style-info p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ==================== 板块2: 飞行器图片选择 ==================== */

/**
 * @description 随机选择区域
 * @date 2026-01-27
 */
.aircraft-random-section {
  text-align: center;
  margin-bottom: 36px;
  padding: 24px;
  background: #f8f8f8;
  border-radius: 12px;
}

.aircraft-random-section .btn-large {
  min-width: 300px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
}

.aircraft-random-section .btn span {
  margin-right: 10px;
  font-size: 24px;
}

.random-hint {
  font-size: 13px;
  color: #999;
  margin: 12px 0 0 0;
}

/**
 * @description 飞行器网格（9:16比例）
 * @date 2026-01-27
 * @modification 修改为单列布局，8个飞行器为一列
 * @date 2026-01-27
 * @modification 修改为单行布局，8个飞行器水平排列成一横
 * @date 2026-01-27
 */
.aircraft-grid-916 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  position: relative;
}

.aircraft-card-916 {
  background: #ffffff;
  border: 3px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aircraft-card-916:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #1a1a1a;
}

.aircraft-card-916.active {
  border-color: #ff0000;
  border-width: 4px;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
  transform: scale(1.02);
}

.aircraft-card-916.active::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #ff0000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  z-index: 10;
}

/**
 * @description 飞行器图片容器（9:16比例）
 * @date 2026-01-27
 * @modification 修改为1:1正方形显示
 * @date 2026-01-27
 */
.aircraft-image-container {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
  margin-bottom: 10px;
}

.aircraft-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.aircraft-card-916:hover .aircraft-image-container img {
  transform: scale(1.05);
}

.aircraft-card-916 .aircraft-name {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

/**
 * @description 随机选择滚动动画
 * @date 2026-01-27
 * @modification 修改滚动动画边框颜色为红色
 * @date 2026-01-27
 */
@keyframes aircraftRoll {
  0% {
    border-color: #e5e5e5;
    transform: scale(1);
  }
  50% {
    border-color: #ff0000;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
  100% {
    border-color: #e5e5e5;
    transform: scale(1);
  }
}

.aircraft-card-916.rolling {
  animation: aircraftRoll 0.15s ease-in-out;
}

/**
 * @description 旧版样式（保留兼容）
 * @date 2026-01-27
 */
.aircraft-upload-area {
  background: #f8f8f8;
  border: 2px dashed #d1d1d6;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-bottom: 28px;
  transition: all 0.3s ease;
}

.aircraft-upload-area:hover {
  background: #fafafa;
  border-color: #1a1a1a;
}

.aircraft-upload-area .btn {
  margin-bottom: 12px;
}

.aircraft-upload-area .btn span {
  margin-right: 8px;
  font-size: 18px;
}

.upload-hint {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.aircraft-card {
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aircraft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #1a1a1a;
}

.aircraft-card.active {
  border-color: #1a1a1a;
  border-width: 3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.aircraft-card.active::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.aircraft-card.placeholder {
  background: #f8f8f8;
  border-style: dashed;
  cursor: default;
}

.aircraft-card.placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e5e5;
}

.aircraft-placeholder-icon {
  font-size: 56px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.aircraft-card p {
  font-size: 14px;
  color: #999;
  margin: 0;
  text-align: center;
}

.aircraft-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.aircraft-card .aircraft-name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

/* ==================== 板块2.5: 图片组合 ==================== */

/**
 * @description 图片组合3列布局
 * @date 2026-01-27
 * @modification 调整布局：左边参考图2、中间参考图1+设置、右边结果
 * @date 2026-01-27
 */
.image-combine-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.combine-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/**
 * @description 左列：参考图2（风格转换人物）
 * @date 2026-01-27
 */
.combine-left {
  position: sticky;
  top: 20px;
}

/**
 * @description 中列：参考图1 + 设置区域
 * @date 2026-01-27
 */
.combine-middle {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/**
 * @description 参考图预览框基础样式
 * @date 2026-01-27
 */
.reference-preview-box {
  background: #f8f8f8;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/**
 * @description 参考图1（飞行器）- 1:1正方形
 * @date 2026-01-27
 * @modification 在中列显示时限制最大宽度
 * @date 2026-01-27
 */
#combineRefBox1 {
  aspect-ratio: 1 / 1;
  max-width: 350px;
}

/**
 * @description 参考图2（风格转换人物）- 9:16竖版
 * @date 2026-01-27
 */
#combineRefBox2 {
  aspect-ratio: 9 / 16;
}

.reference-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.placeholder-icon {
  font-size: 40px;
  margin-bottom: 8px;
  opacity: 0.4;
}

.placeholder-text {
  font-size: 13px;
  color: #999;
  margin: 0;
  text-align: center;
}

.reference-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/**
 * @description 中列：设置区域
 * @date 2026-01-27
 */
.combine-middle {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.combine-prompt-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d1d6;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.combine-prompt-input:hover {
  border-color: #1a1a1a;
}

.combine-prompt-input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.combine-actions {
  margin-top: 8px;
}

.combine-actions .btn-large {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.combine-actions .btn span {
  margin-right: 8px;
  font-size: 20px;
}

.combine-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/**
 * @description 右列：结果显示区域
 * @date 2026-01-27
 */
.combine-right {
  position: sticky;
  top: 20px;
}

.combine-result-container {
  background: #f8f8f8;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  aspect-ratio: 9 / 16;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ==================== 板块3: 视频生成 ==================== */

/**
 * @description 视频生成左右两列布局
 * @date 2026-01-27
 * @modification 优化右侧视频预览容器大小
 * @date 2026-01-27
 * @modification 缩小视频展示区域
 * @date 2026-01-27
 * @modification 进一步缩小视频区域
 * @date 2026-01-27
 */
.video-generation-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;  /* 左侧占75%，右侧占25% */
  gap: 30px;
  align-items: start;
}

@media (max-width: 1024px) {
  .video-generation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/**
 * @description 左侧列样式
 * @date 2026-01-27
 */
.video-left-column {
  display: flex;
  flex-direction: column;
}

/**
 * @description 右侧列样式
 * @date 2026-01-27
 */
.video-right-column {
  display: flex;
  flex-direction: column;
}

.video-preview-wrapper {
  width: 100%;
  max-width: 320px;  /* 进一步限制最大宽度 */
}

.preview-title {
  font-size: 14px;  /* 缩小标题 */
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.video-preview-box {
  width: 100%;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 12px;  /* 进一步减小内边距 */
  border: 2px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 180px;  /* 进一步减小最小高度 */
}

/**
 * @description 视频占位符样式
 * @date 2026-01-27
 */
.video-placeholder {
  text-align: center;
  padding: 35px 15px;  /* 进一步减小padding */
  width: 100%;
}

.placeholder-icon {
  font-size: 36px;  /* 进一步缩小图标 */
  margin-bottom: 10px;
  opacity: 0.3;
}

.placeholder-text {
  font-size: 12px;  /* 缩小文字 */
  color: #999;
  margin: 0;
}

/**
 * @description 视频内容包装器
 * @date 2026-01-27
 * @modification 限制视频最大宽度
 * @date 2026-01-27
 */
.video-content-wrapper {
  width: 100%;
  max-width: 280px;  /* 进一步限制最大宽度 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;  /* 进一步减小间距 */
}

.video-content-wrapper video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  background: #000;
  display: block;
}

.video-download-section {
  width: 100%;
  text-align: center;
  padding: 0;
}

.video-download-section .btn {
  font-size: 13px;  /* 缩小按钮文字 */
  padding: 8px 16px;  /* 缩小按钮大小 */
}

/**
 * @description 加载状态样式
 * @date 2026-01-27
 * @modification 缩小加载状态区域
 * @date 2026-01-27
 */
.video-loading-state {
  text-align: center;
  padding: 30px 15px;  /* 进一步减小padding */
  width: 100%;
}

.video-loading-state .loading-icon {
  font-size: 32px;  /* 进一步缩小图标 */
  margin-bottom: 12px;
}

.video-loading-state .loading-text {
  font-size: 13px;  /* 缩小文字 */
  color: #666;
  margin-bottom: 6px;
}

.video-loading-state .loading-info {
  font-size: 11px;  /* 缩小文字 */
  color: #999;
  margin: 0;
}

/**
 * @description 视频提示词输入区域
 * @date 2026-01-27
 */
.video-prompt-section {
  margin-bottom: 0;
}

.video-prompt-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d1d6;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.video-prompt-input:hover {
  border-color: #1a1a1a;
}

.video-prompt-input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.config-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.config-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-item label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.config-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d1d6;
  border-radius: 8px;
  font-size: 15px;
  color: #1a1a1a;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-select:hover {
  border-color: #1a1a1a;
}

.config-select:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.generate-actions {
  text-align: center;
  margin: 36px 0 28px 0;
}

.generate-actions .btn {
  min-width: 280px;
  padding: 16px 40px;
  font-size: 17px;
}

.generate-actions .btn span {
  margin-right: 10px;
  font-size: 22px;
}

.video-preview-area {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 2px solid #f0f0f0;
}

.video-preview-area h4 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 20px 0;
}

.video-preview-container {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-preview-container video {
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1200px) {
  /**
   * @description 中等屏幕：调整列比例
   * @date 2026-01-27
   */
  .style-convert-grid {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    gap: 24px;
  }

  .image-combine-grid {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    gap: 24px;
  }
}

@media (max-width: 968px) {
  /**
   * @description 小屏幕：改为垂直堆叠
   * @date 2026-01-27
   * @modification 添加图片组合响应式布局
   * @date 2026-01-27
   */
  .style-convert-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .style-convert-left,
  .style-convert-right {
    position: static;
  }

  .style-convert-reference-upload,
  .style-convert-result-container {
    max-width: 400px;
    margin: 0 auto;
  }

  .image-combine-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .combine-left,
  .combine-right {
    position: static;
  }

  .combine-result-container,
  #combineRefBox1,
  #combineRefBox2 {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #crossover-video-panel {
    padding: 20px 12px !important;
  }

  .crossover-block {
    padding: 24px;
    margin-bottom: 32px;
    border-radius: 12px;
  }

  .crossover-block::before {
    width: 4px;
  }

  .crossover-block::after {
    font-size: 40px !important;
    right: 24px !important;
    top: 24px !important;
  }

  .block-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .block-title-wrapper {
    gap: 12px;
  }

  .block-number {
    min-width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }

  .block-title {
    font-size: 20px;
  }

  .block-description {
    font-size: 14px;
    padding-left: 52px;
  }

  .style-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .style-option-card {
    padding: 18px;
  }

  .style-icon {
    font-size: 40px;
  }

  .style-info h4 {
    font-size: 15px;
  }

  .style-info p {
    font-size: 12px;
  }

  .aircraft-upload-area {
    padding: 28px 20px;
  }

  .aircraft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .config-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .generate-actions .btn {
    min-width: 100%;
    font-size: 16px;
    padding: 14px 32px;
  }
}

@media (max-width: 480px) {
  #crossover-video-panel {
    padding: 16px 8px !important;
  }

  .crossover-block {
    padding: 20px;
    margin-bottom: 24px;
  }

  .block-description {
    padding-left: 0;
    margin-top: 8px;
  }

  .style-options-grid {
    grid-template-columns: 1fr;
  }

  .aircraft-upload-area {
    padding: 24px 16px;
  }

  .aircraft-grid {
    grid-template-columns: 1fr;
  }
}
