/* 视频超清：沿用视频工具的双卡工作台，左控参数、右看原片与 4K 成片对比。 */
.video-upscale-body{
  --upscale-cyan:#8fe8e1;
  --upscale-cyan-soft:rgba(143,232,225,.13);
  --upscale-pink:#ff4d87;
  --upscale-panel:#202225;
  --upscale-panel-deep:#181a1d;
  --upscale-stage:#303030;
  --upscale-line:rgba(255,255,255,.095);
  --upscale-line-strong:rgba(255,255,255,.17);
  --upscale-text:#f4f5f6;
  --upscale-muted:#9299a2;
}

.video-upscale-body .upscale-workspace{
  min-height:0;
}

.video-upscale-body .upscale-left{
  position:relative;
  overflow:hidden;
}

.video-upscale-body .upscale-left-scroll{
  padding:0 20px 6px;
}

.video-upscale-body .upscale-left-scroll .ugc-form-section{
  border-bottom:1px solid var(--upscale-line);
}

.video-upscale-body .upscale-left-scroll .ugc-form-section:last-child{
  border-bottom:0;
}

.upscale-quality-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:10px 38px 10px 12px;
  overflow:hidden;
  border:1px solid var(--hf-line);
  border-radius:var(--hf-r-control);
  background:var(--hf-surface);
}

.upscale-quality-mark{
  position:relative;
  z-index:1;
  flex:none;
  width:34px;
  height:34px;
  display:grid;
  place-content:center;
  gap:1px;
  border:1px solid var(--hf-line-soft);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  box-shadow:none;
  text-align:center;
}

.upscale-quality-mark span{
  color:var(--hf-text);
  font-size:13px;
  font-weight:700;
  line-height:.95;
  letter-spacing:-.05em;
}

.upscale-quality-mark small{
  color:var(--hf-text-3);
  font-size:3.8px;
  font-weight:650;
  letter-spacing:.05em;
}

.upscale-quality-copy{
  position:relative;
  z-index:1;
  min-width:0;
  display:grid;
  gap:5px;
}

.upscale-quality-copy strong{
  color:var(--upscale-text);
  font-size:13px;
  font-weight:600;
}

.upscale-quality-copy p{
  margin:0;
  color:var(--hf-text-3);
  font-size:11px;
  line-height:1.35;
}

.upscale-lock-icon{
  position:absolute;
  z-index:2;
  top:11px;
  right:11px;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.42);
}

.upscale-lock-icon svg{
  width:13px;
  height:13px;
}

.upscale-sr-status{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.upscale-video-preview.has-video .ugc-image-remove{
  opacity:1;
}

.upscale-detail-list{
  display:grid;
  gap:1px;
  overflow:hidden;
  border:1px solid var(--hf-line-soft);
  border-radius:11px;
  background:var(--hf-line-soft);
}

.upscale-detail-row{
  min-width:0;
  min-height:51px;
  padding:9px 13px;
  display:flex;
  align-items:center;
  background:var(--hf-surface);
}

.upscale-detail-row > span:last-child{
  min-width:0;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.upscale-detail-row small{
  color:#969da6;
  font-size:10.5px;
}

.upscale-detail-row strong{
  max-width:64%;
  overflow:hidden;
  color:#e7e9eb;
  font-size:10.5px;
  font-weight:600;
  text-align:right;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.video-upscale-body .upscale-left-footer{
  display:grid;
  gap:10px;
  padding:12px 20px 16px;
}

.upscale-cost-summary{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#8d949c;
  font-size:10px;
}

.upscale-cost-summary > strong{
  display:inline-flex;
  align-items:baseline;
  gap:3px;
  color:#fff;
}

.upscale-cost-summary svg{
  width:12px;
  height:12px;
  color:#fff;
}

.upscale-cost-summary b{
  font-size:14px;
  font-weight:760;
  font-variant-numeric:tabular-nums;
}

.upscale-cost-summary small{
  color:#a4aab1;
  font-size:9px;
  font-weight:500;
}

.video-upscale-body .upscale-submit{
  width:100%;
  height:49px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  color:#141518;
  background-color:#fff;
  background-image:linear-gradient(180deg,#fff 0%,#e4e7eb 100%);
  box-shadow:none;
}

.upscale-submit-arrow{
  width:16px;
  height:16px;
  transition:transform .18s ease;
}

.video-upscale-body .upscale-submit:hover:not(:disabled) .upscale-submit-arrow{
  transform:translateX(2px);
}

.video-upscale-body .upscale-submit:hover:not(:disabled){
  color:#141518;
  background-color:#fff;
  background-image:linear-gradient(180deg,#fff 0%,#daddE3 100%);
  box-shadow:none;
}

.video-upscale-body .upscale-submit:disabled{
  color:rgba(255,255,255,.4);
  background-color:#3d4044;
  background-image:none;
  box-shadow:none;
  opacity:1;
}

.video-upscale-body .upscale-submit.is-loading:disabled{
  color:#141518;
  background-color:#fff;
  background-image:linear-gradient(180deg,#fff 0%,#e4e7eb 100%);
}

.video-upscale-body .upscale-submit .ugc-submit-loading{
  border-color:rgba(20,21,24,.18);
  border-top-color:#141518;
}

/* ---------- 右侧舞台 ---------- */
.video-upscale-body .upscale-right{
  display:flex;
  min-height:0;
  background:var(--upscale-stage);
}

.video-upscale-body .upscale-stage-copy{
  position:relative;
  gap:7px;
  padding:6px 0 18px;
}

.video-upscale-body .upscale-stage-copy h1{
  font-size:24px;
}

.video-upscale-body .upscale-stage-copy p{
  font-size:12px;
}

.video-upscale-body .upscale-tabs-row{
  justify-content:center;
  padding:9px 0 11px;
}

.video-upscale-body .upscale-tabs-row:has(> .ugc-history-range:not([hidden])){
  padding-top:0;
  padding-bottom:0;
  margin-bottom:12px;
}

.video-upscale-body .upscale-tab-panel{
  min-height:0;
  padding-top:14px;
}

.upscale-stage{
  height:100%;
  min-height:0;
}

@media (max-height:820px) and (min-width:1181px){
  .upscale-detail-row{
    min-height:43px;
    padding-top:6px;
    padding-bottom:6px;
  }
  .video-upscale-body .upscale-left-footer{
    gap:7px;
    padding-top:8px;
    padding-bottom:11px;
  }
  .video-upscale-body .upscale-submit{
    height:44px;
  }
}

@media (max-width:720px){
  .video-upscale-body .upscale-left-scroll{
    padding:2px 16px 12px;
  }
}

