/* 12px block spacing in marketplace Card and Videocard. */
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor {
  row-gap:12px !important;justify-content:flex-start !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor > .gen-desc-head {
  margin:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-prompt-stack {
  gap:12px !important;margin:0 !important;padding:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-mode-switch {
  margin:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor #marketPromptInput.gen-desc-input {
  margin:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-actions-stack {
  display:flex !important;flex-direction:column !important;gap:12px !important;margin:0 !important;padding:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-select-grid {
  row-gap:12px !important;margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-category-row {
  row-gap:12px !important;margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-card-images {
  margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .gen-upload-zones {
  row-gap:12px !important;margin:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-video-panel {
  display:flex !important;flex-direction:column !important;gap:12px !important;margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-video-effects {
  margin:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .gen-desc-controls.marketplace-controls {
  margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .canalai-inline-cost {
  margin:0 !important;padding:0 !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor .marketplace-hint {
  margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;
}

/* Desktop: absorb spare height above the settings, not between controls. */
@media (min-width:901px) {
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor {
  display:flex !important;flex-direction:column !important;
}
html body.social-page.social-zone-marketplace .gen-preview-editor .marketplace-editor.social-generation-description.social-generation-editor.gen-preview38-editor > .marketplace-actions-stack {
  margin-top:auto !important;flex:0 0 auto !important;
}
}
