.vs-note-commentary { font-size:0; }
/* Keep the Video Studio look anchored under #bgad-vs-root */
#bgad-vs-root .vs-wrap,
.vs-wrap {
  background: #030712;
  color: #f8fafc;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
#vs-note { display:none; }

.vs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vs-title {
  font-size: 1.75rem;
  font-weight: 600;
}

.vs-banner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vs-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.vs-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: #2563eb;
  color: #fff;
}

.vs-btn--ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
}

.vs-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.vs-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vs-progress-card,
.vs-grid-card,
.vs-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.5);
}

.vs-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vs-progress-text {
  font-weight: 600;
}

.vs-progress-actions {
  display: flex;
  gap: 10px;
}

.vs-pre {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  padding: 12px;
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.85rem;
  margin: 0;
  max-height: 180px;
  overflow-y: auto;
}

.vs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.vs-lib-column {
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.vs-final-column {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.vs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.vs-field label {
  font-size: 0.85rem;
  color: #94a3b8;
}

.vs-field input,
.vs-field select,
.vs-field textarea {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #f8fafc;
  font-size: 0.95rem;
}

.vs-field input:focus,
.vs-field select:focus,
.vs-field textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  border-color: transparent;
}

.vs-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vs-card-head {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.vs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.vs-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 200px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  font-size: 0.8rem;
}

.vs-progress-banner {
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.12);
}

.vs-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: vs-spin 0.8s linear infinite;
}

@keyframes vs-spin {
  to {
    transform: rotate(360deg);
  }
}

.vs-notice {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fecdd3;
}

.vs-hud {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}

.vs-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.vs-hero {
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

@media (max-width: 768px) {
  .vs-row {
    flex-direction: column;
  }

  .vs-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.vs-final-column {
  max-height: calc(100vh - 320px);
  overflow-y: auto;
}
