.vv-wrap{ width:min(var(--max), calc(100% - 56px)); margin:0 auto; padding:64px 0 80px; }
#scrollWrap, #scroll{ position:static !important; height:auto !important; }
body{ overflow:auto !important; }
.vv-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:20px; align-items:start; }
.vv-card .surface{ padding:22px; }
.vv-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.vv-tab{
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 8px 14px;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
  transition: .18s var(--ease2);
}
.vv-tab.is-active{
  border-color: rgba(76,201,255,.45);
  box-shadow: 0 10px 30px rgba(76,201,255,.18);
}
.vv-panel{ display:none; }
.vv-panel.is-active{ display:block; }
.drop{
  border:1px dashed rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255,255,255,.035);
  text-align:center;
  transition: .2s var(--ease2);
}
.drop-preview{
  margin-top:10px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  color:var(--muted2);
  font-size:12px;
}
.drop-preview img{
  max-height:60px;
  width:auto;
  max-width:100%;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
}
.drop + .drop{ margin-top:12px; }
.drop.drag{ border-color: rgba(76,201,255,.5); box-shadow: 0 24px 90px rgba(76,201,255,.12); }
.drop input{ display:none; }
.preview{
  margin-top: 14px;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display:grid;
  place-items:center;
  min-height: 140px;
}
.preview img{ max-height: 120px; width:auto; max-width:100%; height:auto; }
.player{ margin-top:12px; display:flex; flex-direction:column; gap:10px; }
.player audio{ width:100%; }
.player-volume{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted2); }
.player-volume input[type="range"]{ flex:1; }
.dir-row{ display:flex; gap:8px; flex-wrap:wrap; }
.dir-btn{
  min-width:46px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:8px 10px;
  cursor:pointer;
  transition: .18s var(--ease2);
}
.dir-btn.is-active{
  background: rgba(76,201,255,.18);
  border-color: rgba(76,201,255,.5);
  box-shadow: 0 12px 30px rgba(76,201,255,.2);
}
.field{ margin-top:14px; }
.field label{ display:block; font-size:12px; margin-bottom:6px; color:var(--muted2); }
.field input, .field textarea, .field select, .field input[type="range"]{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(8,10,18,.8);
  color:var(--text);
}
.range-row{ display:flex; align-items:center; gap:12px; }
.range-row output{ min-width:52px; font-size:12px; color:var(--muted2); }
.error{
  margin-top:12px; padding:10px 12px; border-radius:10px;
  background: rgba(255,60,110,.12);
  border:1px solid rgba(255,60,110,.28);
  color:#ff8aa8; font-size:13px; display:none;
}
.preset-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.preset-btn{
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.16);
  padding: 8px 12px;
  font-size:12px;
  letter-spacing:.04em;
  cursor:pointer;
  transition: .18s var(--ease2);
}
.preset-btn.is-active{ box-shadow: 0 10px 30px rgba(76,201,255,.18); }
.checks{ display:flex; gap:14px; flex-wrap:wrap; }
.format-list{ display:flex; flex-direction:column; gap:10px; }
.format-row{ display:flex; gap:12px; align-items:center; justify-content:space-between; }
.format-row select{ min-width:140px; }
.status{ margin-top:10px; font-size:13px; color: var(--muted2); }
.hint{
  margin-top:6px;
  font-size:12px;
  color: var(--muted2);
  line-height:1.4;
}
.render-progress{
  margin-top:8px;
  height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  display:none;
}
.render-bar{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(76,201,255,.7), rgba(124,92,255,.7));
  transition: width .12s linear;
}
.video-preview{ border-radius:20px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:rgba(6,8,14,.7); min-height:360px; display:flex; align-items:center; justify-content:center; }
#previewCanvas{ max-height: 450px; height:auto; display:block; }
.vv-actions{ margin-top:14px; display:flex; gap:12px; flex-wrap:wrap; }
.downloads{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.downloads a{ display:inline-flex; align-items:center; gap:8px; }
.download-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.download-label{ font-size:12px; color:var(--muted2); min-width:120px; }
.btn-muted{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.18);
}

@media (max-width: 980px){
  .vv-grid{ grid-template-columns: 1fr; }
  .video-preview{ min-height:260px; }
}
