/* 现代化滑块样式 */
        input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease
}input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2)
}input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease
}input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2)
}* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  padding: 20px
}.container {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  background: white;
  border-radius: 10px;
  padding: 40px
}.layout-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start
}

        @media (max-width: 960px) {.layout-two-cols {
  grid-template-columns: minmax(0, 1fr)
}
        }/* 单栏布局下让最近项目面板横向展开为卡片网格 */
        .recent-panel {
  width: 100%
}.recent-panel .recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  max-height: none
}.recent-panel {
  background: #f5f7ff;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  padding: 18px 16px 14px 16px
}.recent-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px
}.recent-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #18181b
}.recent-panel-title span.icon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-size: 14px
}.recent-panel-sub {
  font-size: 11px;
  color: #18181b
}.recent-list {
  margin-top: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px
}.recent-item {
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s ease
}.recent-item:hover {
  border-color: #e4e4e7;
  transform: translateY(-1px)
}.recent-item-main {
  flex: 1;
  min-width: 0
}.recent-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}.recent-item-meta {
  margin-top: 3px;
  font-size: 11px;
  color: #18181b
}.recent-status {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap
}.recent-status.completed {
  color: #18181b
}.recent-status.processing {
  color: #18181b
}.recent-status.pending {
  color: #18181b
}.recent-status.failed {
  color: #18181b
}.recent-refresh {
  margin-left: 6px;
  font-size: 11px;
  color: #18181b;
  cursor: pointer
}.recent-refresh:hover {
  text-decoration: underline
}.header {
  text-align: center;
  margin-bottom: 40px
}.header h1 {
  font-size: 36px;
  color: #18181b;
  margin-bottom: 10px
}.header p {
  color: #666;
  font-size: 16px
}.steps {
  display: grid;
  gap: 30px
}.step {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #e9ecef
}.step-title {
  font-size: 20px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 20px;
  display: flex;
  align-items: center
}.step-number {
  width: 35px;
  height: 35px;
  color: #18181b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold
}.form-group {
  margin-bottom: 20px
}.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333
}.form-group input,
        .form-group select,
        .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s
}.form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
  outline: none;
  border-color: #e4e4e7
}.form-group textarea {
  min-height: 120px;
  resize: vertical
}.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s
}.btn-primary {
  color: #18181b
}.btn-primary:hover {
  transform: translateY(-2px)
}.btn-secondary {
  color: #18181b;
  margin-left: 10px
}.file-upload {
  border: 2px dashed #e4e4e7;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s
}.file-upload:hover {
  background: #f8f9fa
}.file-upload-icon {
  font-size: 48px;
  color: #18181b;
  margin-bottom: 15px
}.progress-container {
  display: none;
  margin-top: 20px
}.progress-bar {
  width: 100%;
  height: 30px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden
}.progress-fill {
  height: 100%;
  transition: width 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-weight: 600
}.result-container {
  display: none;
  margin-top: 30px;
  padding: 20px;
  border: 2px solid #e4e4e7;
  border-radius: 8px
}.audio-player-commentary {
  margin-top: 20px;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: none
}.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.9);
  border: 2px solid #e4e4e7;
  color: #18181b;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s
}.back-btn:hover {
  color: #18181b
}/* Banner头部 */
        .page-banner {
  padding: 60px 20px;
  text-align: center;
  margin: -20px -20px 30px -20px;
  border-radius: 0
}.banner-content h1 {
  font-size: 42px;
  color: #18181b;
  margin: 0 0 15px 0;
  font-weight: 700
}.banner-content p {
  font-size: 18px;
  color: #18181b;
  margin: 0;
  font-weight: 500
}/* 配置提示框 */
        .config-tip {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 30px
}.tip-icon {
  font-size: 28px;
  flex-shrink: 0
}.tip-content {
  flex: 1;
  color: #18181b;
  font-size: 14px;
  line-height: 1.6
}.tip-content strong {
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin-bottom: 5px
}/* 表单行布局 */
        .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px
}.form-col {
  flex: 1
}.form-col label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px
}.form-col input,
        .form-col select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s
}.form-col input:focus,
        .form-col select:focus {
  border-color: #e4e4e7;
  outline: none
}/* 按钮组 */
        .button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}.btn-secondary {
  
}.btn-secondary:hover {
  
}/* 模型选择部分 */
        .model-section {
  margin-bottom: 25px
}.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px
}.section-label i {
  color: #18181b;
  font-size: 18px
}/* 模型卡片网格 */
        .model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px
}.model-card {
  position: relative;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}.model-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-3px)
}.model-card.active {
  border-color: #e4e4e7
}.model-logo {
  font-size: 36px;
  margin-bottom: 10px
}.model-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px
}.model-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.4
}.model-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #18181b;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600
}/* 技术说明部分 */
        .tech-section {
  margin: 25px 0;
  padding: 20px;
  border-left: 4px solid #667eea;
  border-radius: 12px
}.tech-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px
}.tech-icon {
  font-size: 36px;
  flex-shrink: 0;
  animation: tech-pulse 3s infinite
}

        @keyframes tech-pulse {0%, 100% {
  transform: scale(1)
}50% {
  transform: scale(1.1)
}
        }.tech-title h4 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0
}.tech-title p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6
}.subtitle-preview-card {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: 1px solid #e4e4e7
}.subtitle-preview-video {
  position: relative;
  height: 140px;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  overflow: hidden
}.subtitle-preview-content {
  max-width: 90%;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 32px;
  font-weight: 700;
  color: #18181b;
  text-align: center
}.subtitle-preview-tip {
  margin-top: 8px;
  font-size: 12px;
  color: #18181b
}.subtitle-color-row {
  display: flex;
  align-items: center;
  gap: 10px
}.subtitle-color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}.subtitle-color-chip {
  width: 18px;
  height: 18px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  cursor: pointer
}.subtitle-style-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}.subtitle-style-preset-btn {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap
}.subtitle-style-preset-btn:hover {
  border-color: #e4e4e7
}.subtitle-style-preset-btn:active {
  transform: translateY(1px)
}/* 紧凑的TTS引擎行 */
        .tts-engine-row {
  display: flex;
  gap: 10px;
  margin-top: 10px
}.engine-mini-card {
  flex: 1;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s
}.engine-mini-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-2px)
}.engine-mini-card.active {
  border-color: #e4e4e7
}.engine-mini-icon {
  font-size: 28px;
  margin-bottom: 5px
}.engine-mini-name {
  font-size: 13px;
  font-weight: 600;
  color: #333
}/* 紧凑的音色卡片 */
        .voice-section-compact {
  margin-top: 10px
}.voice-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px
}.voice-card-mini {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s
}.voice-card-mini:hover {
  border-color: #e4e4e7;
  transform: translateY(-2px)
}.voice-card-mini.active {
  border-color: #e4e4e7
}.voice-icon-mini {
  font-size: 24px;
  margin-bottom: 5px
}.voice-name-mini {
  font-size: 12px;
  font-weight: 600;
  color: #333
}/* 现代化功能选项卡片 */
        .options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px
}.option-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer
}.option-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-3px)
}.option-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-size: 24px
}.option-content {
  flex: 1
}.option-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0
}.option-content p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5
}/* iOS风格开关切换 */
        .switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0
}.switch input {
  opacity: 0;
  width: 0;
  height: 0
}.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 10px
}.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%
}input:checked + .slider {
  
}input:focus + .slider {
  
}input:checked + .slider:before {
  transform: translateX(22px)
}

        /* 开关切换动画 */
        @keyframes switchOn {0% {
  transform: scale(1)
}50% {
  transform: scale(1.1)
}100% {
  transform: scale(1)
}
        }input:checked + .slider {
  animation: switchOn 0.3s ease
}/* 高级折叠面板 */
        .adv-panel {
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden
}.adv-panel-header {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none
}.adv-panel-body {
  padding: 14px;
  background: #fff
}.adv-toggle {
  font-size: 12px;
  color: #18181b;
  font-weight: 500
}/* 智能分割镜头卡片 */
        .smart-segment-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #e4e4e7;
  border-left: 4px solid #667eea;
  border-radius: 12px
}.smart-segment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(102,126,234,.16)
}.smart-segment-header .tech-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  font-size: 22px
}.smart-segment-header h4 {
  margin: 1px 0 5px;
  font-size: 16px;
  color: #18181b
}.smart-segment-header p {
  margin: 0;
  color: #18181b;
  font-size: 12px;
  line-height: 1.55
}.smart-segment-settings {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: stretch
}.smart-segment-field,
        .smart-segment-switch {
  min-height: 102px;
  box-sizing: border-box;
  padding: 14px;
  background: rgba(255,255,255,.76);
  border: 1px solid #dbe1ea;
  border-radius: 10px
}.smart-segment-label {
  display: block;
  margin-bottom: 8px;
  color: #18181b;
  font-size: 13px;
  font-weight: 700
}.smart-segment-field input[type="number"],
        .smart-segment-field input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid #dbe1ea;
  border-radius: 7px;
  font-size: 14px
}.smart-segment-field input[type="number"]:focus,
        .smart-segment-field input[type="text"]:focus {
  border-color: #e4e4e7;
  outline: none
}.smart-segment-hint {
  display: block;
  margin-top: 6px;
  color: #18181b;
  font-size: 11px;
  line-height: 1.4
}.smart-segment-switch {
  display: flex;
  align-items: center
}.smart-segment-switch label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #18181b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45
}.smart-segment-switch input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: #667eea
}.smart-segment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(102,126,234,.16)
}.smart-segment-actions .btn {
  padding: 10px 16px;
  font-size: 14px
}.smart-segment-actions span {
  color: #18181b;
  font-size: 12px;
  line-height: 1.4
}.smart-segment-result {
  min-height: 0;
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
  color: #18181b;
  font-size: 13px
}.smart-segment-result:not(:empty) {
  padding: 12px;
  border: 1px dashed #d8dce3;
  border-radius: 9px;
  background: rgba(255,255,255,.72);
  max-height: 300px;
  overflow: auto
}
        @media (max-width: 680px) {.smart-segment-card {
  padding: 16px
}.smart-segment-settings {
  grid-template-columns: 1fr
}.smart-segment-actions {
  align-items: flex-start;
  flex-direction: column
}
        }/* ===== 已恢复原始浅色主题：移除深色高级感升级，避免字幕/卡片/按钮对比度不足看不清 =====
   （原深色升级版块已备份，如需恢复可取消以下注释）
================================================================ */
/*
body {
  color: #e5e7eb !important;
  min-height: 100vh
}.step {
  backdrop-filter: blur(10px);
  border: 1px solid #e4e4e7;
  border-radius: 10px
}.section-label {
  color: #f9fafb !important
}.page-header {
  border: 1px solid #e4e4e7 !important;
  border-radius: 10px;
  color: #fff !important
}.page-header h1 {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}.btn-primary {
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all .22s cubic-bezier(.4,0,.2,1) !important;
  position: relative;
  overflow: hidden
}.btn-primary:hover {
  transform: translateY(-2px)
}.btn-primary:active {
  transform: translateY(0)
}.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none
}.btn-primary:hover::before {
  transform: translateX(120%)
}.btn-secondary {
  color: #e5e7eb !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 12px !important;
  transition: all .18s ease !important
}.btn-secondary:hover {
  border-color: #e4e4e7 !important;
  transform: translateY(-1px)
}.dyt-sub-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  margin-bottom: 16px
}.dyt-sub-tab {
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: #18181b;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .18s ease;
  user-select: none;
  border: 1px solid transparent
}.dyt-sub-tab:hover {
  color: #18181b
}.dyt-sub-tab.active {
  color: #18181b;
  border-color: transparent
}.dyt-sub-panel {
  display: none;
  padding: 20px;
  border: 1px solid #e4e4e7;
  border-radius: 10px
}.dyt-sub-panel.active {
  display: block
}.video-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 22px
}.video-type-card {
  position: relative;
  padding: 22px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid #e4e4e7;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  min-height: 92px
}.video-type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none
}.video-type-card:hover {
  transform: translateY(-4px) scale(1.015)
}.video-type-card.active {
  border-color: #fff !important
}.video-type-card .vtc-title {
  font-size: 18px;
  font-weight: 800;
  color: #18181b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2
}.video-type-card .vtc-sub {
  font-size: 12.5px;
  color: #18181b;
  position: relative;
  z-index: 2
}.vtc-c1 {
  
}.vtc-c2 {
  
}.vtc-c3 {
  
}.vtc-c4 {
  
}.vtc-c5 {
  
}.vtc-c6 {
  
}.vtc-c7 {
  
}.vtc-c8 {
  
}.vtc-c8 .vtc-title {
  color: #0f172a !important
}.vtc-c8 .vtc-sub {
  color: #334155 !important
}.vtc-c9 {
  
}.vtc-c9 .vtc-title {
  color: #312e81 !important
}.vtc-c9 .vtc-sub {
  color: #6b21a8 !important
}.jj-input, .jj-textarea, .jj-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 13.5px;
  transition: all .15s ease;
  outline: none
}.jj-input::placeholder, .jj-textarea::placeholder, .jj-select::placeholder {
  color: #cbd5e1 !important;
  opacity: 0.85
}.jj-input:focus, .jj-textarea:focus, .jj-select:focus {
  border-color: #e4e4e7
}.jj-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 6px
}.jj-stat-card {
  padding: 18px 16px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  text-align: center
}.jj-stat-num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1
}.jj-stat-label {
  font-size: 12px;
  color: #18181b;
  margin-top: 5px
}.jj-stat-divider {
  width: 1px;
  margin: 0 12px
}.jj-quality-card {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .2s ease
}.jj-quality-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-2px)
}.jj-qc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px
}.jj-qc-title {
  font-weight: 700;
  color: #18181b;
  font-size: 14px;
  margin-bottom: 4px
}.jj-qc-desc {
  font-size: 12.5px;
  color: #18181b;
  line-height: 1.65
}.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 12px;
  margin-top: 14px
}.cover-card {
  /* 默认 16: 9，但是每张卡可以通过 style 单独覆盖，或者图片 onload 后根据自然尺寸修正 */
    aspect-ratio: var(--card-aspect, 16/9);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e4e4e7;
  transition: all .22s ease
}.cover-card:hover {
  transform: scale(1.03);
  border-color: #e4e4e7
}.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 当卡片比例 == 图片比例时不会裁；比例偏差时尽量填满，小偏差几乎无感 */
    display: block;
  cursor: zoom-in
}.cover-card .cover-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity .22s ease
}.cover-card:hover .cover-actions {
  opacity: 1
}/* 竖屏比例：列更窄，让网格好看。注意：不再强制卡片 9:16，那由各卡片自己决定 */
.cover-grid.portrait {
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr))
}.jj-style-seg {
  padding: 8px 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  border: 1.5px solid #e4e4e7;
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  text-align: center
}.jj-style-seg:hover {
  border-color: #e4e4e7;
  transform: translateY(-1.5px)
}.jj-style-seg.active {
  color: #18181b;
  border-color: transparent
}.jj-style-seg.active .s1, .jj-style-seg.active .s2 {
  color: #18181b
}.jj-style-seg .s1 {
  font-size: 14px;
  font-weight: 900;
  color: #18181b;
  letter-spacing: .2px
}.jj-style-seg .s2 {
  font-size: 10.5px;
  color: #18181b;
  font-weight: 600
}.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 11.5px;
  font-weight: 600
}.chip.grey {
  border-color: #e4e4e7;
  color: #18181b
}.qc-dim-card {
  padding: 13px 15px;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  transition: all .2s ease
}.qc-dim-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-1px)
}.qc-dim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}.qc-dim-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #18181b
}.qc-dim-icon {
  font-size: 15px
}.qc-dim-score {
  font-size: 13.5px;
  font-weight: 900;
  color: #18181b
}.qc-dim-bar {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 10px;
  overflow: hidden
}.qc-dim-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 10px;
  width: 0;
  transition: width 1s cubic-bezier(.22,.95,.3,1)
}.qc-dim-tip {
  margin-top: 7px;
  font-size: 11.5px;
  color: #18181b;
  line-height: 1.5
}.qc-hard-item {
  padding: 9px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e4e4e7;
  font-size: 12px
}.qc-hard-item.ok {
  border-color: #e4e4e7
}.qc-hard-item.bad {
  border-color: #e4e4e7
}.qc-hard-item.warn {
  border-color: #e4e4e7
}.qc-hard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0
}.qc-hard-item.ok .qc-hard-dot {
  
}.qc-hard-item.bad .qc-hard-dot {
  
}.qc-hard-item.warn .qc-hard-dot {
  
}.qc-hard-name {
  color: #18181b;
  font-weight: 600
}.qc-hard-val {
  margin-left: auto;
  color: #18181b;
  font-size: 11px
}.rewrite-card {
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid #e4e4e7;
  transition: all .22s ease
}.rewrite-card:hover {
  transform: translateY(-3px);
  border-color: #e4e4e7
}.rewrite-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 6px
}.rewrite-card-desc {
  font-size: 12px;
  color: #18181b;
  line-height: 1.65
}.strength-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #18181b;
  margin-top: 4px;
  padding: 0 2px
}.style-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 16px 16px 14px 16px;
  border: 1.5px solid #e4e4e7;
  cursor: pointer;
  transition: all .28s cubic-bezier(.22,.95,.3,1);
  backdrop-filter: blur(8px)
}.style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  z-index: 0;
  pointer-events: none
}.style-card > * {
  position: relative;
  z-index: 1
}.style-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #e4e4e7
}.style-card.active {
  border-color: #e4e4e7
}.style-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px
}.style-card-emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08)
}.style-card-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #18181b;
  letter-spacing: .2px;
  line-height: 1.25
}.style-card-sub {
  font-size: 11.5px;
  color: #18181b;
  margin-top: 2px;
  line-height: 1.4
}.style-card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 11px 0
}.style-card-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.09);
  color: #18181b;
  border: 1px solid rgba(255,255,255,0.1)
}.style-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
  font-size: 11px;
  color: #18181b;
  margin-bottom: 12px
}.style-card-meta span b {
  color: #18181b;
  font-weight: 700
}.style-card-apply {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  color: #18181b;
  letter-spacing: .3px;
  transition: all .2s ease
}.style-card-apply:hover {
  filter: brightness(1.1);
  transform: translateY(-1px)
}.style-card-applied {
  
}
@media (max-width: 960px) {#styleDashboardGrid {
  grid-template-columns: repeat(2,1fr) !important
} }
@media (max-width: 600px) {#styleDashboardGrid {
  grid-template-columns: 1fr !important
} }*/

/* ===== 浅色主题下 组件样式 & 对比度安全兜底（恢复 jj*/doulyoutang*/chip 等被注释的组件，改为浅色系） =====
   背景体系：body紫渐变 + container白底 + step浅灰(#f8f9fa) + banner/按钮紫蓝渐变
   下列规则为 高级功能工作台(精选复刻/洗稿/质检/封面) 等模块提供浅色系组件样式，
   并保证字幕/输入框/卡片的文字与背景对比度足够。
========================================================================================= */

/* ========== 1. Tab 切换条（dyt-sub-*）· 浅色版 ========== */
.dyt-sub-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 16px
}.dyt-sub-tab {
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: #18181b;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .18s ease;
  user-select: none;
  border: 1px solid transparent
}.dyt-sub-tab:hover {
  color: #18181b;
  background: #e2e8f0
}.dyt-sub-tab.active {
  color: #18181b;
  border-color: transparent
}.dyt-sub-panel {
  display: none;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px
}.dyt-sub-panel.active {
  display: block
}/* ========== 2. 输入控件（jj-input/jj-select/jj-textarea/jj-label）· 浅色版 ========== */
.jj-input, .jj-textarea, .jj-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #18181b;
  font-size: 13.5px;
  transition: all .15s ease;
  outline: none;
  box-sizing: border-box
}.jj-input:focus, .jj-textarea:focus, .jj-select:focus {
  border-color: #e4e4e7;
  background: #ffffff
}.jj-input::placeholder, .jj-textarea::placeholder {
  color: #18181b
}.jj-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 6px
}/* ========== 3. 质检/功能卡片（jj-quality-card / jj-qc-*）· 浅色版 ========== */
.jj-quality-card {
  padding: 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .2s ease;
  margin-bottom: 12px
}.jj-quality-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-2px);
  background: #ffffff
}.jj-qc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px
}.jj-qc-title {
  font-weight: 700;
  color: #18181b;
  font-size: 14px;
  margin-bottom: 4px
}.jj-qc-desc {
  font-size: 12.5px;
  color: #18181b;
  line-height: 1.65
}/* ========== 4. 统计卡（jj-stat-*）· 浅色版 ========== */
.jj-stat-card {
  padding: 18px 16px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  text-align: center
}.jj-stat-num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1
}.jj-stat-label {
  font-size: 12px;
  color: #18181b;
  margin-top: 5px
}.jj-stat-divider {
  width: 1px;
  margin: 0 12px
}/* ========== 5. Chip 标签 · 浅色版 ========== */
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 11.5px;
  font-weight: 600
}.chip.grey {
  background: #f1f5f9;
  border-color: #e4e4e7;
  color: #18181b
}/* ========== 6. 质检维度卡（qc-dim-* / qc-hard-*）· 浅色版 ========== */
.qc-dim-card {
  padding: 13px 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all .2s ease;
  margin-bottom: 10px
}.qc-dim-card:hover {
  border-color: #e4e4e7;
  transform: translateY(-1px);
  background: #ffffff
}.qc-dim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}.qc-dim-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #18181b
}.qc-dim-icon {
  font-size: 15px
}.qc-dim-score {
  font-size: 13.5px;
  font-weight: 900;
  color: #18181b
}.qc-dim-bar {
  position: relative;
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden
}.qc-dim-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 10px;
  width: 0;
  transition: width 1s cubic-bezier(.22,.95,.3,1)
}.qc-dim-tip {
  margin-top: 7px;
  font-size: 11.5px;
  color: #18181b;
  line-height: 1.5
}.qc-hard-item {
  padding: 9px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  margin-bottom: 6px
}.qc-hard-item.ok {
  border-color: #e4e4e7
}.qc-hard-item.bad {
  border-color: #e4e4e7
}.qc-hard-item.warn {
  border-color: #e4e4e7
}.qc-hard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0
}.qc-hard-item.ok   .qc-hard-dot {
  
}.qc-hard-item.bad  .qc-hard-dot {
  
}.qc-hard-item.warn .qc-hard-dot {
  
}.qc-hard-name {
  color: #18181b;
  font-weight: 600
}.qc-hard-val {
  margin-left: auto;
  color: #18181b;
  font-size: 11px
}/* ========== 7. 封面网格 / 风格卡（cover-* / style-card / rewrite-card）· 浅色版 ========== */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 12px;
  margin-top: 14px
}.cover-card {
  aspect-ratio: var(--card-aspect, 16/9);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  transition: all .22s ease
}.cover-card:hover {
  transform: scale(1.03);
  border-color: #e4e4e7
}.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  background: #f1f5f9
}.cover-card .cover-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity .22s ease
}.cover-card:hover .cover-actions {
  opacity: 1
}.cover-grid.portrait {
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr))
}.rewrite-card {
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid #e4e4e7;
  transition: all .22s ease;
  margin-bottom: 10px
}.rewrite-card:hover {
  transform: translateY(-3px);
  border-color: #e4e4e7
}.rewrite-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 6px
}.rewrite-card-desc {
  font-size: 12px;
  color: #18181b;
  line-height: 1.65
}.strength-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #18181b;
  margin-top: 4px;
  padding: 0 2px
}.style-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 16px 16px 14px 16px;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  transition: all .28s cubic-bezier(.22,.95,.3,1);
  background: #ffffff
}.style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  z-index: 0;
  pointer-events: none
}.style-card > * {
  position: relative;
  z-index: 1
}.style-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #e4e4e7
}.style-card.active {
  border-color: #e4e4e7
}.style-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px
}.style-card-emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0
}.style-card-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #18181b;
  letter-spacing: .2px;
  line-height: 1.25
}.style-card-sub {
  font-size: 11.5px;
  color: #18181b;
  margin-top: 2px;
  line-height: 1.4
}.style-card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 11px 0
}.style-card-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 10px;
  color: #18181b;
  border: 1px solid #e4e4e7
}.style-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
  font-size: 11px;
  color: #18181b;
  margin-bottom: 12px
}.style-card-meta span b {
  color: #18181b;
  font-weight: 700
}.style-card-apply {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  color: #18181b;
  letter-spacing: .3px;
  transition: all .2s ease
}.style-card-apply:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}.style-card-applied {
  
}
@media (max-width: 960px) {#styleDashboardGrid {
  grid-template-columns: repeat(2,1fr) !important
} }
@media (max-width: 600px) {#styleDashboardGrid {
  grid-template-columns: 1fr !important
} }/* ========== 8. 字幕预览 · 真实样式预览与自动可读性保护 ========== */
.subtitle-preview-content {
  font-weight: 800 !important;
  border: 1px solid rgba(255,255,255,0.22);
  isolation: isolate
}.subtitle-preview-content.subtitle-low-contrast {
  
}.subtitle-preview-video {
  
}#subtitleContrastHint {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #18181b;
  border: 1px solid #e4e4e7
}#subtitleContrastHint.warning {
  color: #18181b;
  border-color: #e4e4e7
}/* ========== 9. 通用控件：保持白底深字 ========== */
.container input:not([type="checkbox"]):not([type="radio"]),
.container select,
.container textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e4e4e7 !important
}.container input:focus, .container select:focus, .container textarea:focus {
  border-color: #e4e4e7 !important
}.container input::placeholder, .container textarea::placeholder {
  color: #64748b !important;
  opacity: 1
}.btn-primary {
  color: #ffffff !important
}.recent-panel {
  background: #f5f7ff !important
}.recent-item {
  background: #ffffff !important
}/* ========== 10. 次按钮：浅色版（替换深色样式里的黑底） ========== */
.btn-secondary {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 12px !important;
  transition: all .18s ease !important
}.btn-secondary:hover {
  background: #cbd5e1 !important;
  transform: translateY(-1px)
}/* ========== 11. 文案优化工作台：深色容器内专用样式 ========== */
/* 对话列表：jj-quality-card 对话项需改为深色底（内部文字是白字） */
#optConversationList .jj-quality-card {
  border: 1px solid #e4e4e7 !important;
  margin-bottom: 0 !important
}#optConversationList .jj-quality-card:hover,
#optConversationList .jj-quality-card.active-conv {
  border-color: #e4e4e7 !important;
  transform: none !important
}/* 对话内容区：加深背景让默认提示文字清晰 */
#optChatArea {
  
}#optChatArea:empty::before {
  color: #cbd5e1 !important
}/* ========== 12. 洗稿/复刻 区域的次级文字：白底背景下#94a3b8对比度不够，加深一级 ========== */
#remakeNarrationPath, #remakeOriginalPaths, #remakeStatus,
#rewriteVideoName, #coverProgress, #qcCharCount {
  color: #475569 !important
}/* ========== 13. 高级功能工作台：响应式布局与对比度统一 ========== */
#advancedWorkbench,
#advancedWorkbench * {
  box-sizing: border-box
}#advancedWorkbench {
  overflow: hidden
}#advancedWorkbench .dyt-sub-tabs {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e4e4e7
}#advancedWorkbench .dyt-sub-tab {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  line-height: 1.35;
  justify-content: center;
  text-align: center;
  color: #18181b;
  background: #fff;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  appearance: none;
  font-family: inherit
}#advancedWorkbench .dyt-sub-tab:hover {
  color: #18181b;
  border-color: #e4e4e7;
  transform: translateY(-1px)
}#advancedWorkbench .dyt-sub-tab.active {
  color: #18181b;
  border-color: #e4e4e7
}#advancedWorkbench .dyt-sub-tab.active::after {
  content: "✓ 已框选";
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  font-size: 9px;
  font-weight: 800
}#advancedWorkbench .dyt-sub-tab.active .chip {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
  color: #18181b
}.adv-quick-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 1fr) minmax(230px, .85fr);
  gap: 10px;
  margin: 2px 0 14px;
  align-items: stretch
}.adv-quick-card {
  min-width: 0;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e4e4e7
}.adv-quick-card--settings {
  border-color: #e4e4e7
}.adv-quick-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 17px
}.adv-quick-icon--settings {
  color: #18181b
}.adv-quick-icon--folder {
  color: #18181b
}.adv-quick-icon--tts {
  color: #18181b
}.adv-quick-content {
  flex: 1 1 auto;
  min-width: 0
}.adv-quick-title {
  color: #18181b;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35
}.adv-quick-desc {
  margin-top: 4px;
  color: #18181b;
  font-size: 11px;
  line-height: 1.45
}.adv-quick-actions,
.adv-quick-control {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0
}.adv-quick-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end
}.adv-quick-actions .btn,
.adv-quick-control .btn {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap
}.adv-quick-control {
  margin-top: 6px
}.adv-quick-control .jj-input {
  min-width: 0;
  height: 32px;
  padding: 5px 8px;
  font-size: 11.5px;
  border-radius: 7px
}.adv-quick-control--tts label {
  flex: 0 0 auto;
  color: #18181b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap
}.adv-quick-control--tts #ttsWorkersAdv {
  width: 62px;
  flex: 0 0 62px
}.adv-quick-control--tts .btn {
  margin-left: auto
}.adv-icon-button {
  flex: 0 0 34px;
  width: 34px;
  padding: 4px !important
}/* 深色功能块内的文字采用稳定的高对比色，避免浅色主题覆盖后融入背景 */
#tab-rewrite [style*="background:linear-gradient(135deg,#0f172a"],
#tab-qc [style*="background:linear-gradient(135deg,#0f172a"],
#tab-qc [style*="background:rgba(15,23,42"],
#tab-cover [style*="background:linear-gradient(135deg,#0f172a"],
#tab-cover [style*="background:rgba(15,23,42"] {
  color: #18181b
}#tab-cover [style*="background:rgba(15,23,42"] .jj-label,
#tab-qc [style*="background:rgba(15,23,42"] .jj-label {
  color: #e2e8f0 !important
}#coverPreviewGrid .cover-card > div {
  
}

@media (max-width: 1180px) {.adv-quick-bar {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}.adv-quick-card--settings {
  grid-column: 1 / -1
}
}
@media (max-width: 820px) {#advancedWorkbench .dyt-sub-tabs {
  grid-template-columns: repeat(2,minmax(0,1fr))
}.adv-quick-bar {
  grid-template-columns: 1fr
}.adv-quick-card--settings {
  grid-column: auto
}.adv-quick-card {
  align-items: flex-start
}.adv-quick-actions {
  width: 100%;
  justify-content: flex-start
}.adv-quick-card--settings {
  flex-wrap: wrap
}#tab-opt > div:first-child,
    #tab-qc > div:first-child,
    #qcResultBox > div,
    #tab-cover > div:first-child {
  grid-template-columns: 1fr !important
}#qcDimGrid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important
}#coverOverlayPanel > div {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important
}
}
@media (max-width: 560px) {#advancedWorkbench {
  padding-left: 12px;
  padding-right: 12px
}#advancedWorkbench .dyt-sub-panel {
  padding: 12px
}#advancedWorkbench .dyt-sub-tab {
  flex: 1 1 100%;
  justify-content: center
}.adv-quick-card {
  padding: 10px
}.adv-quick-control--tts {
  flex-wrap: wrap
}.adv-quick-control--tts .btn {
  margin-left: 0;
  width: 100%
}#qcDimGrid,
    #coverOverlayPanel > div {
  grid-template-columns: 1fr !important
}
}/* ========== 14. 解说风格选择器：视觉化卡片、明确框选与按钮反馈 ========== */
#styleDashboard {
  border-color: #e4e4e7 !important;
  overflow: hidden
}#styleDashboard > div:nth-of-type(2) {
  grid-template-columns: minmax(0,1fr) 310px !important
}#styleDashboard .video-type-grid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important
}#styleDashboard .video-type-card {
  min-height: 112px;
  padding: 16px 15px 14px;
  border: 2px solid #e4e4e7 !important;
  background: #fff !important;
  color: #18181b;
  display: flex;
  flex-direction: column;
  justify-content: center
}#styleDashboard .video-type-card::before {
  content: "选择";
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 10px;
  color: #18181b;
  background: #f1f5f9;
  border: 1px solid #e4e4e7;
  font-size: 10px;
  font-weight: 800
}#styleDashboard .video-type-card:hover {
  transform: translateY(-2px);
  border-color: #e4e4e7 !important
}#styleDashboard .video-type-card.active {
  border-color: #e4e4e7 !important;
  transform: translateY(-2px)
}#styleDashboard .video-type-card.active::before {
  content: "✓ 已框选";
  color: #18181b;
  border-color: #e4e4e7
}#styleDashboard .video-type-card .vtc-title {
  color: #172033 !important;
  font-size: 15px;
  margin-bottom: 7px;
  padding-right: 66px
}#styleDashboard .video-type-card .vtc-sub {
  color: #475569 !important;
  font-size: 11.5px;
  line-height: 1.55;
  padding-right: 10px
}#styleDashboard .video-type-card .chip {
  color: #3730a3 !important;
  background: #eef2ff !important;
  border-color: #e4e4e7 !important
}#styleDashboard .video-type-card [style*="background:rgba(255,255,255,.85)"] {
  background: #fff !important
}#stylePreviewCard {
  position: sticky;
  top: 16px;
  align-self: start;
  border: 2px solid #e4e4e7 !important
}#applyStylePreviewBtn {
  min-height: 40px
}.category-choice-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px
}#categoryCardBox .category-choice {
  position: relative;
  min-height: 88px;
  padding: 14px 14px 14px 54px !important;
  margin: 0;
  display: grid !important;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  text-align: left !important;
  color: #172033 !important;
  background: #fff !important;
  border: 1.75px solid #e4e4e7 !important;
  border-radius: 10px;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  overflow: visible;
  transition: all .18s ease;
  user-select: none
}#categoryCardBox .category-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px dashed transparent;
  pointer-events: none
}#categoryCardBox .category-choice::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 2px solid #e4e4e7;
  background: #fff;
  z-index: 5
}#categoryCardBox .category-choice .s1 {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #047857 !important;
  background: #d1fae5 !important;
  font-size: 14px;
  font-weight: 900
}#categoryCardBox .category-choice .s2 {
  align-self: end;
  color: #172033 !important;
  font-size: 13px;
  font-weight: 900
}#categoryCardBox .category-choice-desc {
  align-self: start;
  color: #18181b;
  font-size: 11px;
  line-height: 1.4;
  grid-column: 2
}#categoryCardBox .category-choice:hover {
  border-color: #e4e4e7 !important;
  background: #f0fdf4 !important;
  transform: translateY(-1px)
}#categoryCardBox .category-choice:hover::after {
  border-color: #e4e4e7
}#categoryCardBox .category-choice.active {
  border-color: #e4e4e7 !important;
  color: #172033 !important
}#categoryCardBox .category-choice.active::before {
  border-color: #e4e4e7
}#categoryCardBox .category-choice.active::after {
  border-color: #e4e4e7;
  utf8,<svg xmlns='http: //www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round' d='M3 8.5L6 11.5 13 4.5'/></svg>") 55% 55% / 72% 72% no-repeat
}#categoryCardBox .category-choice.active .s1 {
  color: white !important
}#customPromptTemplateBox {
  width: 100%;
  box-sizing: border-box
}#customPromptTemplate {
  display: block;
  width: 100% !important;
  min-height: 240px;
  box-sizing: border-box;
  resize: vertical
}.style-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap
}.style-active-badge {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap
}.style-active-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%
}.style-reset-button {
  min-height: 34px;
  padding: 6px 12px !important;
  font-size: 12px !important;
  white-space: nowrap
}.style-tip-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2
}

@media (max-width:980px) {#styleDashboard > div:nth-of-type(2) {
  grid-template-columns: 1fr !important
}#stylePreviewCard {
  position: static
}
}
@media (max-width:680px) {#styleDashboard {
  padding: 14px !important
}#styleDashboard .video-type-grid {
  grid-template-columns: 1fr !important
}.style-header-actions {
  width: 100%;
  margin-left: 0;
  justify-content: flex-start
}.style-active-badge {
  flex: 1 1 auto;
  white-space: normal
}.category-choice-grid {
  grid-template-columns: 1fr
}
}
/* ===== 配音工作台表格响应式 ===== */
@media (max-width: 1180px) {#psVoiceWorkbench > div:first-child {
  grid-template-columns: 50px 64px 64px 58px 60px 1fr 108px 190px !important;
  font-size: 11.5px !important;
  padding: 8px 10px !important
}#psVoiceWorkbench .voice-seg-row {
  grid-template-columns: 50px 64px 64px 58px 60px 1fr 108px 190px !important;
  padding: 8px 10px !important
}
}
@media (max-width: 860px) {#psVoiceWorkbench > div:first-child {
  display: none !important
}#psVoiceWorkbench .voice-seg-row {
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  padding: 10px !important;
  border-left: 3px solid #6366f1 !important
}#psVoiceWorkbench .voice-seg-row > div:not(:last-child) {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px dashed #e5e7eb
}#psVoiceWorkbench .voice-seg-row > div::before {
  content: attr(data-col);
  font-size: 10.5px;
  color: #18181b;
  font-weight: 600
}#psVoiceWorkbench .voice-seg-row > div:nth-child(6)::before {
  content: '解说词：'
}#psVoiceWorkbench .voice-seg-row audio {
  width: 100% !important;
  min-width: auto !important
}
}/* ---- end css 新增 ---- */

:root {
  --dyt-sb-w: 260px;
  --dyt-sb-w-mini: 64px;
  --dyt-sb-c1: #667eea;
  --dyt-sb-c2: #764ba2;
  --dyt-sb-bg: #1e1b3a;
  --dyt-sb-bg2: #262247;
  --dyt-sb-fg: #c9c6e8;
  --dyt-sb-hover: rgba(255,255,255,.07);
  --dyt-sb-active: linear-gradient(90deg, rgba(102,126,234,.30), rgba(118,75,162,.18))
}/* ===== 侧栏本体：fixed，脱离文档流 ===== */
#dytSb {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--dyt-sb-w);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  transition: width .22s ease, transform .22s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
               'Hiragino Sans GB', 'Microsoft YaHei', sans-serif
}#dytSb .dyt-sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  flex-shrink: 0;
  min-height: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08)
}#dytSb .dyt-sb-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-size: 16px
}#dytSb .dyt-sb-brand-txt {
  min-width: 0
}#dytSb .dyt-sb-brand-t {
  color: #18181b;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}#dytSb .dyt-sb-brand-s {
  color: #18181b;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}#dytSb .dyt-sb-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 8px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent
}#dytSb .dyt-sb-scroll::-webkit-scrollbar {
  width: 6px
}#dytSb .dyt-sb-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.20);
  border-radius: 3px
}#dytSb .dyt-sb-group {
  color: #18181b;
  font-size: 11px;
  font-weight: 600;
  padding: 12px 10px 6px;
  letter-spacing: .4px
}#dytSb .dyt-sb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  margin-bottom: 2px;
  border-radius: 9px;
  cursor: pointer;
  position: relative;
  color: var(--dyt-sb-fg);
  font-size: 13px;
  line-height: 1.35;
  user-select: none;
  transition: background .16s ease, color .16s ease
}#dytSb .dyt-sb-item:hover {
  background: var(--dyt-sb-hover);
  color: #18181b
}#dytSb .dyt-sb-num {
  flex-shrink: 0;
  min-width: 26px;
  height: 21px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.10);
  color: #18181b;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}#dytSb .dyt-sb-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}#dytSb .dyt-sb-item.is-active {
  background: var(--dyt-sb-active);
  color: #18181b;
  font-weight: 600
}#dytSb .dyt-sb-item.is-active .dyt-sb-num {
  color: #18181b
}#dytSb .dyt-sb-item.is-active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0
}#dytSb .dyt-sb-foot {
  flex-shrink: 0;
  padding: 10px 8px;
  border-top: 1px solid rgba(255,255,255,.08)
}#dytSb .dyt-sb-collapse {
  width: 100%;
  padding: 8px 0;
  cursor: pointer;
  background: rgba(255,255,255,.05);
  border: none;
  border-radius: 9px;
  color: var(--dyt-sb-fg);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .16s ease
}#dytSb .dyt-sb-collapse:hover {
  background: var(--dyt-sb-hover);
  color: #18181b
}/* ===== 折叠态 ===== */
body.dyt-sb-collapsed #dytSb {
  width: var(--dyt-sb-w-mini)
}body.dyt-sb-collapsed #dytSb .dyt-sb-brand-txt,
body.dyt-sb-collapsed #dytSb .dyt-sb-label,
body.dyt-sb-collapsed #dytSb .dyt-sb-group,
body.dyt-sb-collapsed #dytSb .dyt-sb-collapse span {
  display: none
}body.dyt-sb-collapsed #dytSb .dyt-sb-item {
  justify-content: center;
  padding: 9px 0
}body.dyt-sb-collapsed #dytSb .dyt-sb-brand {
  justify-content: center;
  padding: 16px 0
}/* ===== 核心：body 内缩让开侧栏 =====
   用 padding（内容内缩）而不是给每个子元素加 margin（位移）：
   padding 不改变子元素自身宽度计算，.page-banner 的负 margin 依然能顶到边缘，
   视口再窄也不会溢出。同时不需要碰 body 任何一个子元素的布局规则。 */
body.dyt-sb-ready {
  padding-left: var(--dyt-sb-w) !important;
  transition: padding-left .22s ease
}body.dyt-sb-ready.dyt-sb-collapsed {
  padding-left: var(--dyt-sb-w-mini) !important
}/* ===== 右上角 4 个快捷按钮：fixed 靠右 =====
   原来它们是普通流（被侧栏压住）。改成 fixed 后挂在视口右上，
   靠 right 定位，天然在侧栏右侧，不会被盖住。 */
body.dyt-sb-ready .floating-actions {
  position: fixed !important;
  top: 18px;
  right: 20px;
  left: auto !important;
  margin: 0 !important;
  z-index: 1045;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}/* ===== 左上「← 返回首页」：fixed，让开侧栏 ===== */
body.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w) + 20px) !important;
  transition: left .22s ease
}body.dyt-sb-collapsed.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 20px) !important
}/* ===== 汉堡（仅窄屏） ===== */
#dytSbFab {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1065;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: none;
  color: #18181b;
  font-size: 17px;
  cursor: pointer;
  display: none
}body.dyt-sb-narrow #dytSbFab {
  display: block !important
}/* ===== 遮罩（窄屏展开时） ===== */
#dytSbMask {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: none
}body.dyt-sb-narrow.dyt-sb-wide #dytSbMask {
  display: block
}body.dyt-sb-narrow.dyt-sb-wide #dytSbFab {
  display: none !important
}body.dyt-sb-drawer-lock {
  overflow: hidden
}/* ===== 终版微调 ===== */

/* 快捷按钮下移一行，与左上「返回首页」错开；
   右侧留出汉堡按钮的位置（窄屏时汉堡在 top:18 right:18） */
body.dyt-sb-ready .floating-actions {
  top: 64px;
  max-width: calc(100vw - var(--dyt-sb-w) - 40px)
}body.dyt-sb-collapsed.dyt-sb-ready .floating-actions {
  max-width: calc(100vw - var(--dyt-sb-w-mini) - 40px)
}/* 折叠态：鼠标悬停时用 ::after 冒泡出完整标题 */
body.dyt-sb-collapsed #dytSb .dyt-sb-item {
  position: relative
}body.dyt-sb-collapsed #dytSb .dyt-sb-item:hover::after {
  content: attr(data-title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: #18181b;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  z-index: 1060;
  pointer-events: none
}/* 窄屏：快捷按钮恢复普通流（抽屉模式下 fixed 会和遮罩打架） */
body.dyt-sb-narrow .floating-actions {
  position: static;
  top: auto;
  margin: 12px 0 0 !important;
  max-width: none;
  justify-content: center;
  z-index: auto
}body.dyt-sb-narrow .back-btn {
  left: 20px !important
}body.dyt-sb-narrow .floating-actions {
  padding-left: 0
}/* DYT_TOPBAR_CSS */
/* ===== 顶部固定操作栏（5 个入口统一贴顶） =====
   左：← 返回首页（侧栏右侧）
   右：✂️混剪 / 🔊AI配音 / 🎬编辑器 / 🧹清理产物
   两者都 fixed，靠 top 对齐到同一条栏；侧栏 sticky top 下移让出这条栏。 */

:root {
  --dyt-topbar-h: 56px
}/* 操作栏背景条：横跨内容区（不含侧栏），让按钮有依托 */
body.dyt-sb-ready::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  left: var(--dyt-sb-w);
  height: var(--dyt-topbar-h);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  z-index: 1040;
  pointer-events: none;
  transition: left .22s ease
}body.dyt-sb-ready.dyt-sb-collapsed::before {
  left: var(--dyt-sb-w-mini)
}/* 侧栏顶部留出操作栏高度 */
#dytSb {
  top: 0;
  height: 100vh
}/* 5 个入口统一贴顶 */
body.dyt-sb-ready .back-btn,
body.dyt-sb-ready .floating-actions {
  top: 10px !important;
  height: 36px;
  box-sizing: border-box
}body.dyt-sb-ready .back-btn {
  position: fixed !important;
  left: calc(var(--dyt-sb-w) + 16px) !important;
  z-index: 1046;
  display: flex;
  align-items: center;
  transition: left .22s ease
}body.dyt-sb-collapsed.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 16px) !important
}body.dyt-sb-ready .floating-actions {
  position: fixed !important;
  right: 16px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 1046;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap
}body.dyt-sb-ready .floating-actions button {
  height: 36px;
  display: flex;
  align-items: center;
  white-space: nowrap
}/* DYT_TOPBAR_NARROW_CSS */
/* ===== 窄屏也固定顶栏（修正：上一版回落 static 导致按钮消失） ===== */
body.dyt-sb-narrow::before {
  display: block !important;
  left: var(--dyt-sb-w-mini)
}body.dyt-sb-narrow .back-btn {
  position: fixed !important;
  top: 10px !important;
  left: calc(var(--dyt-sb-w-mini) + 10px) !important;
  z-index: 1046;
  margin: 0 !important;
  height: 32px;
  padding: 6px 12px !important;
  font-size: 13px;
  display: flex;
  align-items: center
}body.dyt-sb-narrow .floating-actions {
  position: fixed !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 1046;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  max-width: calc(100vw - var(--dyt-sb-w-mini) - 130px);
  overflow: hidden
}body.dyt-sb-narrow .floating-actions button {
  height: 32px;
  padding: 5px 10px !important;
  font-size: 12px;
  border-width: 1px !important;
  display: flex;
  align-items: center;
  white-space: nowrap
}/* 抽屉展开时隐藏顶栏按钮，避免和展开的侧栏重叠 */
body.dyt-sb-narrow.dyt-sb-wide .floating-actions,
body.dyt-sb-narrow.dyt-sb-wide .back-btn {
  display: none !important
}/* DYT_TOPBAR_GAP_CSS */
/* ===== 收尾：顶栏右侧给汉堡按钮留位 ===== */
body.dyt-sb-narrow .floating-actions {
  right: 56px !important;
  /* 让开右上角汉堡按钮 */
  max-width: calc(100vw - var(--dyt-sb-w-mini) - 190px)
}body.dyt-sb-narrow #dytSbFab {
  right: 10px
}body.dyt-sb-narrow.dyt-sb-wide .floating-actions {
  right: 10px
}/* DYT_TOPBAR_TITLE_CSS */
/* ===== 顶栏标题区：文案与 5 个入口并排一行 ===== */
:root {
  --dyt-topbar-h: 56px
}body.dyt-sb-ready .page-banner {
  position: fixed;
  top: 0;
  left: var(--dyt-sb-w);
  right: 0;
  height: var(--dyt-topbar-h);
  margin: 0 !important;
  /* 清掉原 inline margin-top: 80px 的占位 */
  padding: 0 20px 0 16px !important;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
  text-align: left;
  z-index: 1042;
  transition: left .22s ease;
  pointer-events: none;
  /* 标题区不挡按钮点击 */
}body.dyt-sb-ready.dyt-sb-collapsed .page-banner {
  left: var(--dyt-sb-w-mini)
}body.dyt-sb-ready .page-banner .banner-content {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0
}body.dyt-sb-ready .page-banner .banner-content h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #18181b;
  white-space: nowrap
}body.dyt-sb-ready .page-banner .banner-content p {
  font-size: 12px;
  margin: 0;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}/* 5 个入口：与标题同一行，右侧 */
body.dyt-sb-ready .back-btn,
body.dyt-sb-ready .floating-actions {
  top: 10px !important;
  height: 36px;
  box-sizing: border-box;
  z-index: 1046
}body.dyt-sb-ready .back-btn {
  position: fixed !important;
  left: calc(var(--dyt-sb-w) + 16px) !important;
  display: flex;
  align-items: center;
  transition: left .22s ease
}body.dyt-sb-collapsed.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 16px) !important
}body.dyt-sb-ready .floating-actions {
  position: fixed !important;
  right: 16px !important;
  left: auto !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap
}body.dyt-sb-ready .floating-actions button {
  height: 36px;
  display: flex;
  align-items: center;
  white-space: nowrap
}/* 标题在左、返回首页按钮右侧留出空间：把按钮组右移，给标题腾位 */
body.dyt-sb-ready .page-banner .banner-content {
  padding-right: 0
}/* 内容区顶部留白，避免被 fixed 顶栏压住 */
body.dyt-sb-ready .container {
  padding-top: calc(var(--dyt-topbar-h) + 20px)
}/* 窄屏：标题只留主标题，副标题隐藏，按钮压缩 */
body.dyt-sb-narrow .page-banner {
  left: var(--dyt-sb-w-mini);
  padding-left: 12px !important
}body.dyt-sb-narrow .page-banner .banner-content p {
  display: none
}body.dyt-sb-narrow .page-banner .banner-content h1 {
  font-size: 15px
}body.dyt-sb-narrow .back-btn {
  position: fixed !important;
  top: 10px !important;
  left: calc(var(--dyt-sb-w-mini) + 10px) !important;
  z-index: 1046;
  margin: 0 !important;
  height: 32px;
  padding: 5px 10px !important;
  font-size: 12px;
  display: none;
  /* 窄屏优先保证 4 个业务按钮可见 */
}body.dyt-sb-narrow .floating-actions {
  position: fixed !important;
  top: 10px !important;
  right: 56px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 1046;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap
}body.dyt-sb-narrow .floating-actions button {
  height: 32px;
  padding: 5px 9px !important;
  font-size: 12px;
  border-width: 1px !important;
  display: flex;
  align-items: center;
  white-space: nowrap
}body.dyt-sb-narrow.dyt-sb-wide .page-banner,
body.dyt-sb-narrow.dyt-sb-wide .floating-actions {
  opacity: 0;
  pointer-events: none
}/* 抽屉展开时不显示顶栏内容（侧栏覆盖） */
body.dyt-sb-narrow.dyt-sb-wide #dytSbFab {
  display: none !important
}/* DYT_TOPBAR_V3_CSS */
/* ===== 收尾：返回首页移进顶栏标题右侧（窄屏也要可见） ===== */

/* 标题右侧留出「返回首页」的位置 */
body.dyt-sb-ready .page-banner {
  padding-right: 116px !important
}/* 宽屏：返回首页排在标题右边、4 个业务按钮左边，整条顶栏三段式 */
body.dyt-sb-ready .back-btn {
  left: auto !important;
  right: calc(16px + 4 * 108px + 4 * 10px) !important;
  /* 4 按钮总宽 + 间距 */
  top: 10px !important
}/* 窄屏：不再隐藏，缩小后贴在标题右侧 */
body.dyt-sb-narrow .back-btn {
  display: flex !important;
  left: auto !important;
  right: calc(56px + 4 * 76px + 3 * 6px) !important;
  top: 10px !important;
  height: 30px;
  padding: 4px 9px !important;
  font-size: 11px;
  border-radius: 8px;
  z-index: 1046;
  margin: 0 !important
}body.dyt-sb-narrow .page-banner {
  padding-right: 104px !important
}/* 折叠态同样让位 */
body.dyt-sb-ready.dyt-sb-collapsed .back-btn {
  right: calc(16px + 4 * 108px + 4 * 10px) !important
}/* DYT_TOPBAR_V4_CSS */
/* ===== 终版：顶栏用 flex 三段式，不再靠「算按钮宽度」摆位 =====
   之前用 `right: 16px + 4*108px` 把「返回首页」摆到按钮左边，
   108px 是我估的每个按钮宽度 → 实际更宽 → 返回首页压住标题。
   改成：page-banner 本身不做背景条，只提供「标题占位」；
   顶栏背景与三段排布交给一个 body::before 不行（无法放按钮），
   所以用 grid：把 back-btn / banner / floating-actions 视觉上聚成一条，
   通过让 page-banner 变成 fixed 全宽容器、banner-content 靠左、
   按钮靠右，标题区域自动用 flex 剩余空间，天然不重叠。 */

body.dyt-sb-ready .page-banner {
  padding-right: 0 !important;
  /* 撤销上一版的固定留白 */
  overflow: visible
}/* 标题文字不再限制宽度，交给 flex；按钮浮在右侧，两者靠 padding 让位 */
body.dyt-sb-ready .page-banner .banner-content {
  max-width: calc(100% - 520px);
  /* 给右侧 5 个入口留出真实空间 */
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0
}body.dyt-sb-ready .page-banner .banner-content h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}body.dyt-sb-ready .page-banner .banner-content p {
  font-size: 12px;
  margin: 0;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}/* 「返回首页」：回到左侧、标题左边，不再挤在按钮堆里 */
body.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w) + 16px) !important;
  right: auto !important
}body.dyt-sb-collapsed.dyt-sb-ready .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 16px) !important
}/* 标题往右让出「返回首页」 */
body.dyt-sb-ready .page-banner {
  padding-left: 132px !important
}body.dyt-sb-narrow .page-banner {
  padding-left: 118px !important
}body.dyt-sb-narrow .page-banner .banner-content {
  max-width: calc(100% - 300px)
}body.dyt-sb-narrow .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 10px) !important;
  right: auto !important;
  display: flex !important;
  top: 10px !important;
  height: 30px;
  padding: 4px 9px !important;
  font-size: 11px;
  border-radius: 8px;
  z-index: 1046;
  margin: 0 !important
}body.dyt-sb-narrow .floating-actions {
  right: 56px !important
}/* DYT_TOPBAR_V5_CSS */
/* ===== v5：窄屏隐藏标题（避免被挤成竖排），只保留可点的入口 =====
   v4 实测：窄屏下 banner-content 的 max-width 算出负值 → 标题被压成竖排。
   窄屏空间本来就只够放按钮，标题交给页面顶部的 <title> / 面包屑即可。 */

body.dyt-sb-narrow .page-banner .banner-content {
  display: none !important
}body.dyt-sb-narrow .page-banner {
  padding-left: 0 !important;
  padding-right: 0 !important
}/* 窄屏：返回首页 + 4 按钮，横向排满一行 */
body.dyt-sb-narrow .back-btn {
  left: calc(var(--dyt-sb-w-mini) + 8px) !important;
  right: auto !important;
  top: 8px !important;
  height: 32px;
  padding: 4px 10px !important;
  font-size: 12px;
  border-radius: 8px;
  z-index: 1046;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  white-space: nowrap
}body.dyt-sb-narrow .floating-actions {
  top: 8px !important;
  right: 10px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 1046;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap
}body.dyt-sb-narrow .floating-actions button {
  height: 32px;
  padding: 4px 9px !important;
  font-size: 12px;
  border-width: 1px !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  white-space: nowrap
}/* 窄屏汉堡挪到第二行右上，不再和按钮抢位置 */
body.dyt-sb-narrow #dytSbFab {
  top: 48px !important;
  right: 10px !important
}/* 宽屏：标题区正常占位（132px 让位返回首页 + 剩余给标题） */
body.dyt-sb-ready .page-banner {
  padding-left: 132px !important
}body.dyt-sb-ready .page-banner .banner-content {
  max-width: none
}.cleanup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999
}.cleanup-dialog {
  width: 560px;
  max-width: 92vw;
  background: #fff;
  border-radius: 10px;
  overflow: hidden
}.cleanup-header {
  padding: 18px 20px;
  color: #18181b;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between
}.cleanup-body {
  padding: 18px 20px
}.cleanup-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 12px
}.cleanup-chip {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: .2s
}.cleanup-chip.active {
  border-color: #e4e4e7
}.cleanup-warning {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: #18181b
}.cleanup-preview {
  max-height: 180px;
  overflow: auto;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: #444;
  background: #fafafa
}.cleanup-range-row {
  margin-top: 8px;
  font-size: 12px;
  color: #18181b
}.cleanup-range-row label {
  margin-right: 10px;
  cursor: pointer
}.cleanup-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb
}.btn-minor {
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 600
}.btn-accent {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  color: #18181b;
  cursor: pointer;
  font-weight: 700
}/* ================================================================
   兜里有糖 · iOS 玻璃主题
   参照：/Users/douliyoutang/Desktop/直播数据/frontend/css/main.css
   只改视觉（background/border/box-shadow/backdrop-filter/color），
   不改任何布局属性，不删任何既有规则。
   ================================================================ */

:root {
  /* --- 玻璃模糊参数（照搬参照项目） --- */
  --blur-card: blur(28px) saturate(180%);
  --blur-header: blur(30px) saturate(140%);
  --blur-overlay: blur(40px) saturate(160%);
  /* --- 玻璃底色 / 描边 --- */
  --glass-bg: rgba(255, 255, 255, 0.60);
  --glass-bg-soft: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.82);
  --glass-input: rgba(255, 255, 255, 0.62);
  /* --- ios 玻璃灵魂：4 层中性阴影 + 4 层 inset 高光 --- */
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 12px rgba(0, 0, 0, 0.06),
      0 20px 40px -12px rgba(0, 0, 0, 0.10),
      0 0 0 1px rgba(255, 255, 255, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 1px 0 0 rgba(255, 255, 255, 0.55),
      inset -1px 0 0 rgba(255, 255, 255, 0.18),
      inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  --glass-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 10px rgba(0, 0, 0, 0.05),
      0 0 0 1px rgba(255, 255, 255, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  --radius: 16px;
  --radius-lg: 22px
}/* ===== body：8 层 radial 紫粉光斑 + 148° 近白 linear（照搬参照） ===== */
body {
  background-attachment: fixed;
  min-height: 100vh
}/* ===== 主容器：玻璃大卡 ===== */
.container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  box-shadow: var(--glass-shadow);
  overflow: hidden
}/* 玻璃内高光罩（照搬 .glass::after） */
.container::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: calc(var(--radius-lg) - 1px);
  pointer-events: none
}/* ===== 步骤卡 ===== */
.step {
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  box-shadow: var(--glass-shadow-sm);
  overflow: hidden
}.step::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none
}/* ===== 顶部提示条 ===== */
.config-tip {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  box-shadow: var(--glass-shadow-sm)
}/* ===== 技术分区 / 高级面板 ===== */
.tech-section,
.adv-panel,
.result-container {
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  box-shadow: var(--glass-shadow-sm)
}/* ===== 表单控件：玻璃输入框 ===== */
input[type="text"], input[type="number"], input[type="email"],
input[type="password"], input[type="url"], input[type="date"],
select, textarea {
  background: var(--glass-input) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: #172033 !important;
  transition: box-shadow .18s ease, border-color .18s ease
}input:focus, select:focus, textarea:focus {
  border-color: #e4e4e7 !important
}/* ===== 按钮：玻璃质感 ===== */
.btn, .btn-primary, .btn-secondary, .btn-minor, .operation-btn {
  border-radius: 12px !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: transform .16s ease, box-shadow .16s ease
}.btn:hover, .btn-primary:hover, .btn-secondary:hover {
  
}/* ===== chip / tag ===== */
.chip, .tag {
  background: rgba(255,255,255,.52) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%)
}/* ===== 视频类型卡（风格预设）==== */
.video-type-card {
  background: rgba(255,255,255,.52) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius) !important;
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  box-shadow: var(--glass-shadow-sm) !important;
  transition: transform .18s ease, box-shadow .18s ease
}.video-type-card:hover {
  transform: translateY(-2px)
}/* ===== 顶栏（我加的 fixed 顶栏）跟着玻璃化 ===== */
body.dyt-sb-ready .page-banner {
  background: rgba(255,255,255,.55) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  backdrop-filter: var(--blur-header) !important;
  -webkit-backdrop-filter: var(--blur-header) !important
}body.dyt-sb-ready .page-banner .banner-content h1 {
  color: #172033 !important
}body.dyt-sb-ready .page-banner .banner-content p {
  color: #18181b
}body.dyt-sb-ready::before {
  background: rgba(255,255,255,.55) !important;
  border-bottom: 1px solid var(--glass-border) !important
}/* ===== 侧栏玻璃化（保留我加的结构，只换视觉） ===== */
#dytSb {
  border-right: 1px solid var(--glass-border);
  backdrop-filter: var(--blur-overlay) !important;
  -webkit-backdrop-filter: var(--blur-overlay) !important
}#dytSb .dyt-sb-brand {
  border-bottom: 1px solid rgba(255,255,255,.6) !important
}#dytSb .dyt-sb-logo {
  
}#dytSb .dyt-sb-brand-t {
  color: #172033 !important
}#dytSb .dyt-sb-brand-s {
  color: #18181b
}#dytSb .dyt-sb-group {
  color: #18181b
}#dytSb .dyt-sb-item {
  color: #2b3550 !important;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease
}#dytSb .dyt-sb-item:hover {
  background: rgba(255,255,255,.62) !important;
  color: #172033 !important
}#dytSb .dyt-sb-num {
  background: rgba(255,255,255,.68) !important;
  color: #4a3a8a !important;
  border: 1px solid rgba(255,255,255,.8)
}#dytSb .dyt-sb-item.is-active {
  color: #172033 !important
}#dytSb .dyt-sb-item.is-active .dyt-sb-num {
  color: #fff !important;
  border-color: transparent
}#dytSb .dyt-sb-item.is-active::before {
  
}#dytSb .dyt-sb-foot {
  border-top: 1px solid rgba(255,255,255,.6) !important
}#dytSb .dyt-sb-collapse {
  background: rgba(255,255,255,.5) !important;
  color: #2b3550 !important
}#dytSb .dyt-sb-collapse:hover {
  background: rgba(255,255,255,.72) !important;
  color: #172033 !important
}#dytSb .dyt-sb-scroll::-webkit-scrollbar-thumb {
  
}/* 折叠态 tooltip 改浅色 */
body.dyt-sb-collapsed #dytSb .dyt-sb-item:hover::after {
  background: rgba(255,255,255,.92) !important;
  color: #172033 !important;
  border: 1px solid rgba(255,255,255,.9) !important
}/* ===== 顶栏 5 个入口玻璃化 ===== */
body.dyt-sb-ready .back-btn,
body.dyt-sb-ready .floating-actions button {
  background: rgba(255,255,255,.62) !important;
  border: 1px solid var(--glass-border) !important;
  color: #3b2f6b !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%)
}body.dyt-sb-ready .back-btn:hover,
body.dyt-sb-ready .floating-actions button:hover {
  background: rgba(255,255,255,.82) !important
}/* 汉堡按钮玻璃化 */
#dytSbFab {
  background: rgba(255,255,255,.70) !important;
  color: #4a3a8a !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%)
}/* ===== 遮罩改浅色毛玻璃 ===== */
#dytSbMask {
  backdrop-filter: blur(3px)
}/* ===== 通用滚动条玻璃化 ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px
}::-webkit-scrollbar-track {
  background: rgba(255,255,255,.28)
}::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.72);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.6)
}::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,.9)
}body.dyt-sb-ready .container :is(h1, h2, h3, h4, h5, h6) {
  color: #18181b
}/* 段落 / 说明性文字 */
body.dyt-sb-ready .container p,
body.dyt-sb-ready .container span,
body.dyt-sb-ready .container label,
body.dyt-sb-ready .container div:not([style*="color"]) {
  /* 不一刀切，避免盖掉页面自己的状态色（成功/警告/错误） */
}body.dyt-sb-ready .container .step-desc,
body.dyt-sb-ready .container .config-tip .tip-content,
body.dyt-sb-ready .container .vtc-sub,
body.dyt-sb-ready .container .model-desc,
body.dyt-sb-ready .container .tech-title,
body.dyt-sb-ready .container .form-label,
body.dyt-sb-ready .container label {
  color: #18181b
}/* 卡片主标题 */
body.dyt-sb-ready .container .vtc-title,
body.dyt-sb-ready .container .tech-header,
body.dyt-sb-ready .container .adv-panel-header {
  color: #18181b
}/* chip / tag 文本 */
body.dyt-sb-ready .container .chip,
body.dyt-sb-ready .container .tag {
  color: #18181b
}body.dyt-sb-ready .container .chip.grey {
  color: #18181b
}/* 输入框 / 下拉 / 文本域里的文字 */
body.dyt-sb-ready .container input,
body.dyt-sb-ready .container select,
body.dyt-sb-ready .container textarea {
  color: #172033 !important
}body.dyt-sb-ready .container input::placeholder,
body.dyt-sb-ready .container textarea::placeholder {
  color: #18181b
}body.dyt-sb-ready .container select option {
  color: #18181b;
  background: rgba(255,255,255,.92)
}/* 按钮文字 */
body.dyt-sb-ready .container .btn,
body.dyt-sb-ready .container .btn-primary,
body.dyt-sb-ready .container .btn-secondary,
body.dyt-sb-ready .container .btn-minor {
  color: #18181b
}body.dyt-sb-ready .container .btn-primary {
  color: #18181b
}/* 步骤标题 */
body.dyt-sb-ready .container .step-title {
  color: #18181b
}body.dyt-sb-ready .container .step-number {
  color: #18181b
}/* ===== 修玻璃两大副作用：雾蒙蒙 + 大白块 =====

问题 1「雾蒙蒙」
  .container / .step 用了 backdrop-filter: blur(28px)。
  backdrop-filter 模糊的是**元素背后的一切** —— 包括正在滚动的其他内容。
  结果：滚动时整页像隔了层毛玻璃，什么都看不清。
  为什么参照项目没这问题：它卡片背后是 8 层 radial 光斑（静止的），
  blur 出来是想要的"折射感"。而 JJYB 的容器背后就是纯色 body，
  blur 纯色 = 白蒙蒙，纯属副作用没有收益。

  → 修法：容器级去掉 backdrop-filter，只保留半透底色 + 描边 + inset 高光。
    真正需要玻璃感的**顶栏 / 侧栏 / 弹层**（它们背后确实有内容）保留 blur。

问题 2「大白块」
  .container 设了 overflow: hidden（为了裁 ::after 高光罩），
  但页面很长，容器内部有大量内容 + 绝对定位元素，
  overflow:hidden 会把超出部分连同高光罩一起裁掉 → 滚动时出现白色矩形断层。

  → 修法：去掉 overflow:hidden，改用 border-radius + 背景渐变直接做高光，
    不再依赖 ::after 伪元素（这样就不需要裁剪了）。
-->
body.dyt-sb-ready .container {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important
}body.dyt-sb-ready .container::after {
  display: none !important
}body.dyt-sb-ready .step {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important
}body.dyt-sb-ready .step::after {
  display: none !important
}/* 顶栏 / 侧栏 / 弹层：背后确实有内容，保留玻璃模糊 */
body.dyt-sb-ready .config-tip,
body.dyt-sb-ready .tech-section,
body.dyt-sb-ready .adv-panel,
body.dyt-sb-ready .result-container {
  overflow: visible !important
}body.dyt-sb-ready .video-type-card {
  overflow: hidden
}/* 输入框保留轻 blur（它们小，模糊范围有限，不会造成整页雾蒙蒙） */
body.dyt-sb-ready .container input,
body.dyt-sb-ready .container select,
body.dyt-sb-ready .container textarea {
  backdrop-filter: blur(8px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(160%) !important
}/* ===== 修「快速滑动内容丢失 + 整屏发白」 =====

现象：快速滑动时整页糊成一片白，内容像被吃掉。
      静止时正常，滑动时才发作。

根因：body.dyt-sb-ready::before
      —— 这是我做顶栏背景条用的元素，position:fixed + backdrop-filter。
      关键：**position:fixed 的元素一旦带 backdrop-filter，就会建立自己的
      包含块（containing block）+ 合成层**。浏览器为了画它背后的模糊，
      必须把「它背后的一切」——也就是整页滚动内容——重新栅格化。
      快速滑动时这一过程跟不上滚动帧，就出现整屏白色/内容丢失。

      这是 backdrop-filter 的固有代价，不是配置问题：
      固定元素 + 背景模糊 = 每帧重绘整页。

      同一类错误我犯过两次：
        1) .container 带 backdrop-filter → 滚动时雾蒙蒙
        2) body::before 带 backdrop-filter → 快速滑动整屏白
      规律：**大面积 / 固定 / 随滚动移动的元素一律不能带 backdrop-filter**。

修法：
  A. body::before 去掉 backdrop-filter，改成半透明纯色（视觉几乎无差）
  B. 顶栏 .page-banner 同样去掉 backdrop-filter，改半透明纯色
  C. 侧栏 #dytSb 也去掉 —— 它是 fixed + 100vh，同理
  D. 只保留「小面积、非固定」的 blur：输入框、chip、风格卡
     （这些范围有限，模糊代价可接受，玻璃感真实存在）
  E. 顺便给 body 加 will-change 提示之外不需要的任何东西 —— 保持最小改动
-->
body.dyt-sb-ready::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,.62) !important
}body.dyt-sb-ready .page-banner {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,.66) !important
}#dytSb {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}#dytSbMask {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}#dytSbFab {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}body.dyt-sb-ready .back-btn,
body.dyt-sb-ready .floating-actions button {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,.72) !important
}/* 小面积元素保留轻玻璃（范围有限，代价可接受） */
body.dyt-sb-ready .container input,
body.dyt-sb-ready .container select,
body.dyt-sb-ready .container textarea {
  backdrop-filter: blur(6px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(160%) !important
}body.dyt-sb-ready .container .chip,
body.dyt-sb-ready .container .tag {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}body.dyt-sb-ready .container .video-type-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}body.dyt-sb-ready .container .btn,
body.dyt-sb-ready .container .btn-primary,
body.dyt-sb-ready .container .btn-secondary {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}/* 全局兜底：任何 fixed + backdrop-filter 的组合一律降级
   （防止以后再往 HTML 里加元素时重蹈覆辙） */
.back-btn, #dytSb, #dytSbMask, #dytSbFab,
body.dyt-sb-ready::before,
body.dyt-sb-ready .page-banner,
body.dyt-sb-ready .floating-actions,
body.dyt-sb-ready .floating-actions button {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important
}


/* ==== 原游离于 <style> 块外的标记注释（已收纳）==== */
/* DYT_GLASS_CONTRAST */
/* ===== 玻璃主题文字对比度修正 =====
   玻璃底色是 rgba(255,255,255,.42~.60)，而页面里大量文字原本是
   深底浅色设计留下的浅灰（如 rgba(255,255,255,.7) 之类），压在
   玻璃上就发白看不清。这里统一把玻璃容器内的文字拉回深色，
   只改 color，不动任何布局属性。 */
/* DYT_GLASS_FIX */
/* DYT_GLASS_PERF_FIX */
/* ============================================================================
   SHADCN UI 极简风覆盖层（浅色主题 · zinc 灰阶 + indigo 单一主色）
   追加在 commentary.css 末尾，用 !important 覆盖原有深色/彩色渐变样式。
   只改视觉，不改任何布局 / 功能绑定。
   ============================================================================ */

:root {
  --sh-bg: #fafafa;
  --sh-fg: #18181b;
  --sh-card: #ffffff;
  --sh-primary: #4f46e5;
  --sh-primary-hover: #4338ca;
  --sh-primary-soft: #eef2ff;
  --sh-border: #e4e4e7;
  --sh-border-strong: #d4d4d8;
  --sh-muted: #71717a;
  --sh-muted-soft: #f4f4f5;
  --sh-radius: 10px;
  --sh-radius-sm: 8px;
}

/* ===== 全局 ===== */
body {
  background: #fafafa !important;
  color: #18181b !important;
}
.container {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
.container::after { display: none !important; }

/* ===== 步骤卡片 ===== */
.step {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
  backdrop-filter: none !important;
}
.step-title {
  color: #18181b !important;
  font-weight: 600 !important;
}
.step-number {
  background: #eef2ff !important;
  color: #4f46e5 !important;
  border: 1px solid #e0e7ff !important;
}

/* ===== Banner ===== */
.page-banner {
  background: #ffffff !important;
  border-bottom: 1px solid #e4e4e7 !important;
  box-shadow: none !important;
}
.page-banner .banner-content h1 { color: #18181b !important; }
.page-banner .banner-content p { color: #71717a !important; }

/* ===== 按钮 ===== */
.btn { border-radius: 8px !important; font-weight: 500 !important; }
.btn-primary {
  background: #4f46e5 !important;
  color: #ffffff !important;
  border: 1px solid #4f46e5 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}
.btn-primary::before { display: none !important; }
.btn-primary:hover { background: #4338ca !important; transform: none !important; box-shadow: none !important; }
.btn-primary:active { transform: none !important; }
.btn-secondary {
  background: #ffffff !important;
  color: #18181b !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
}
.btn-secondary:hover { background: #f4f4f5 !important; border-color: #d4d4d8 !important; transform: none !important; }
.btn:hover { transform: none !important; }

/* ===== 表单控件 ===== */
.container input:not([type="checkbox"]):not([type="radio"]),
.container select,
.container textarea,
.jj-input, .jj-textarea, .jj-select {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
  color: #18181b !important;
}
.container input:focus, .container select:focus, .container textarea:focus,
.jj-input:focus, .jj-textarea:focus, .jj-select:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15) !important;
  background: #ffffff !important;
}
.container input::placeholder, .container textarea::placeholder,
.jj-input::placeholder, .jj-textarea::placeholder { color: #a1a1aa !important; }
.jj-label { color: #3f3f46 !important; }
.section-label { color: #18181b !important; }
.page-header { background: #ffffff !important; border: 1px solid #e4e4e7 !important; color: #18181b !important; border-radius: 12px !important; }
.page-header h1 { background: none !important; -webkit-text-fill-color: #18181b !important; color: #18181b !important; }

/* ===== Chip / Badge ===== */
.chip {
  background: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
  color: #52525b !important;
  border-radius: 6px !important;
}
.chip.grey { background: #f4f4f5 !important; border-color: #e4e4e7 !important; color: #71717a !important; }

/* ===== 视频类型卡 ===== */
.video-type-card,
#styleDashboard .video-type-card {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 16px !important;
}
.video-type-card:hover { transform: none !important; box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important; border-color: #d4d4d8 !important; }
.video-type-card.active,
#styleDashboard .video-type-card.active {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 1px #4f46e5, 0 2px 8px rgba(79,70,229,0.10) !important;
  background: #fbfaff !important;
}
.video-type-card::after { display: none !important; }
.video-type-card::before { display: none !important; }
.video-type-card .vtc-title,
#styleDashboard .video-type-card .vtc-title {
  color: #18181b !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  font-size: 15px !important;
}
.video-type-card .vtc-sub,
#styleDashboard .video-type-card .vtc-sub { color: #71717a !important; }
.video-type-card .chip,
#styleDashboard .video-type-card .chip {
  background: #f4f4f5 !important;
  border-color: #e4e4e7 !important;
  color: #52525b !important;
}
/* 覆盖所有 vtc-cN 彩色渐变 */
.vtc-c1, .vtc-c2, .vtc-c3, .vtc-c4, .vtc-c5, .vtc-c6, .vtc-c7, .vtc-c8, .vtc-c9,
.vtc-c1-take2, .vtc-c2-take2, .vtc-c4-take2 {
  background: #ffffff !important;
}
.vtc-c8 .vtc-title, .vtc-c8 .vtc-sub,
.vtc-c9 .vtc-title, .vtc-c9 .vtc-sub,
.vtc-c1-take2 .vtc-title, .vtc-c2-take2 .vtc-title, .vtc-c4-take2 .vtc-title {
  color: #18181b !important;
  text-shadow: none !important;
}
.vtc-c1-take2 .vtc-sub, .vtc-c2-take2 .vtc-sub, .vtc-c4-take2 .vtc-sub { color: #71717a !important; }

/* ===== 统计卡 / 质检卡 ===== */
.jj-stat-card { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; box-shadow: none !important; }
.jj-stat-num { background: none !important; -webkit-text-fill-color: #18181b !important; color: #18181b !important; }
.jj-stat-label { color: #71717a !important; }
.jj-stat-divider { background: #e4e4e7 !important; }
.jj-quality-card { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.jj-quality-card:hover { border-color: #d4d4d8 !important; transform: none !important; }
.jj-qc-icon { background: #eef2ff !important; }
.jj-qc-title { color: #18181b !important; }
.jj-qc-desc { color: #71717a !important; }

/* ===== 质检维度 ===== */
.qc-dim-card { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.qc-dim-card:hover { transform: none !important; }
.qc-dim-name { color: #3f3f46 !important; }
.qc-dim-score { color: #4f46e5 !important; }
.qc-dim-bar { background: #f4f4f5 !important; }
.qc-dim-bar-fill { background: #4f46e5 !important; }
.qc-dim-tip { color: #71717a !important; }
.qc-hard-item { background: #ffffff !important; border: 1px solid #e4e4e7 !important; }
.qc-hard-item.ok { border-color: #bbf7d0 !important; background: #f0fdf4 !important; }
.qc-hard-item.bad { border-color: #fecaca !important; background: #fef2f2 !important; }
.qc-hard-item.warn { border-color: #fde68a !important; background: #fffbeb !important; }

/* ===== 封面卡 ===== */
.cover-card { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.cover-card:hover { transform: none !important; border-color: #4f46e5 !important; box-shadow: 0 2px 8px rgba(79,70,229,0.10) !important; }

/* ===== Tab ===== */
.dyt-sub-tabs { background: #f4f4f5 !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.dyt-sub-tab { color: #52525b !important; border-radius: 8px !important; }
.dyt-sub-tab:hover { color: #18181b !important; background: #ffffff !important; }
.dyt-sub-tab.active { background: #ffffff !important; color: #18181b !important; box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important; border: 1px solid #e4e4e7 !important; }
.dyt-sub-panel { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }

/* ===== 侧栏 ===== */
#dytSb { background: #ffffff !important; border-right: 1px solid #e4e4e7 !important; }
#dytSb .dyt-sb-brand-t { color: #18181b !important; }
#dytSb .dyt-sb-brand-s { color: #71717a !important; }
#dytSb .dyt-sb-logo { background: #eef2ff !important; }
#dytSb .dyt-sb-item { color: #52525b !important; }
#dytSb .dyt-sb-item:hover { background: #f4f4f5 !important; color: #18181b !important; }
#dytSb .dyt-sb-item.is-active { background: #eef2ff !important; color: #4f46e5 !important; }
#dytSb .dyt-sb-item.is-active .dyt-sb-num { background: #4f46e5 !important; color: #ffffff !important; }
#dytSb .dyt-sb-num { background: #f4f4f5 !important; color: #71717a !important; }
#dytSbFab { background: #ffffff !important; color: #18181b !important; border: 1px solid #e4e4e7 !important; }

/* ===== 分类选择 / 快捷段 / 提示 ===== */
#categoryCardBox { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 12px !important; box-shadow: none !important; }
#categoryCardBox .category-choice { background: #ffffff !important; border: 1px solid #e4e4e7 !important; color: #18181b !important; }
#categoryCardBox .category-choice.active { border-color: #4f46e5 !important; background: #fbfaff !important; }
#categoryCardBox .category-choice.active .s1 { color: #4f46e5 !important; }
.jj-style-seg { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 8px !important; }
.jj-style-seg:hover { border-color: #d4d4d8 !important; transform: none !important; box-shadow: none !important; }
.jj-style-seg.active { background: #eef2ff !important; border-color: #4f46e5 !important; }
.jj-style-seg .s1 { color: #18181b !important; }
.jj-style-seg.active .s1 { color: #4f46e5 !important; }
.jj-style-seg .s2 { color: #71717a !important; }
.config-tip { background: #f0fdf4 !important; border: 1px solid #bbf7d0 !important; color: #166534 !important; }

/* ===== 高级工作台 ===== */
#advancedWorkbench { background: transparent !important; }
#advancedWorkbench .dyt-sub-tabs { background: #f4f4f5 !important; }
#advancedWorkbench .dyt-sub-tab.active { background: #ffffff !important; color: #18181b !important; }
.adv-panel { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.adv-quick-card { background: #ffffff !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; }
.adv-quick-title { color: #18181b !important; }
.adv-quick-desc { color: #71717a !important; }
.adv-quick-icon { background: #eef2ff !important; }

/* ===== 顶部操作 / 返回 ===== */
.floating-actions button,
.back-btn {
  background: #ffffff !important;
  color: #18181b !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.floating-actions button:hover { background: #f4f4f5 !important; }
.back-btn:hover { background: #f4f4f5 !important; }
