Unrestricted Open-source alternative to AI video platforms — Free AI image & video generation studio with 600+ models (Flux, Midjourney, Kling, Sora, Veo). No content filters. Self-hosted, MIT licensed.
JavaScript ai-art-generatorai-image-generationai-video-generationfal-ai-alternativegenerative-aiimage-to-videoinvideo-alternativekling-ailipsynclitellm-alternativemidjourney-alternativemuapiopen-sourceopenrouter-alternativeseedance2sora-alternativetext-to-imagetext-to-videouncensoredwan-video
feat(studio): align prompt textarea and generate button styles in studio components
Jaya Prasad Kavuru29a6b33b78b6
diff --git a/packages/studio/src/components/CinemaStudio.jsx b/packages/studio/src/components/CinemaStudio.jsxindex af1ebd4d..c99cdb16 100644--- a/packages/studio/src/components/CinemaStudio.jsx+++ b/packages/studio/src/components/CinemaStudio.jsx@@ -819,106 +819,114 @@ export default function CinemaStudio({{/* ── BOTTOM PROMPT BAR ── */}<div className="absolute bottom-4 left-4 right-4 md:left-0 md:right-0 md:mx-auto md:max-w-[95%] lg:max-w-4xl z-30 transition-all duration-700 animate-fade-in-up">- <div className="bg-[#0a0a0a]/80 backdrop-blur-3xl border border-white/10 rounded-md p-4 flex justify-between shadow-2xl items-end relative gap-2">- {/* Left Column */}- <div className="flex-1 flex flex-col gap-3 min-h-[80px] justify-between py-1">- {/* Input Row */}- <div className="flex items-start gap-4 w-full px-1">- {/* Image Upload Button */}- <div className="relative pt-0.5">- <input- type="file"- ref={imageInputRef}- className="hidden"- accept="image/*"- onChange={handleImageUpload}- />-+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">+ {/* Upper Row: Image Upload & Textarea */}+ <div className="flex items-start gap-4 w-full px-1">+ {/* Image Upload Button */}+ <div className="relative pt-0.5">+ <input+ type="file"+ ref={imageInputRef}+ className="hidden"+ accept="image/*"+ onChange={handleImageUpload}+ />++ <button+ onClick={() =>+ uploadedImage+ ? removeImage()+ : imageInputRef.current?.click()+ }+ disabled={isUploadingImage}+ className={`w-10 h-10 shrink-0 rounded-full border transition-all flex items-center justify-center relative overflow-hidden ${uploadedImage ? "border-[#22d3ee]/60 bg-white/5" : "bg-white/[0.03] border-white/[0.03] hover:bg-white/10 hover:border-[#22d3ee]/40"} group`}+ >+ {isUploadingImage ? (+ <div className="flex flex-col items-center justify-center w-full h-full absolute inset-0 bg-black/80 z-20 backdrop-blur-[2px]">+ <svg className="w-8 h-8 -rotate-90">+ <circle+ cx="16"+ cy="16"+ r="14"+ stroke="currentColor"+ strokeWidth="2"+ fill="transparent"+ className="text-white/10"+ />+ <circle+ cx="16"+ cy="16"+ r="14"+ stroke="currentColor"+ strokeWidth="2"+ fill="transparent"+ strokeDasharray={88}+ strokeDashoffset={88 - (88 * imageUploadProgress) / 100}+ className="text-primary transition-all duration-300"+ />+ </svg>+ <span className="absolute text-[8px] font-bold text-white">+ {imageUploadProgress}%+ </span>+ </div>+ ) : uploadedImage ? (+ <div className="relative w-full h-full group">+ <img+ src={uploadedImage}+ alt="Reference"+ className="w-full h-full object-cover opacity-80 group-hover:opacity-40 transition-opacity"+ />+ <div className="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" className="text-white">+ <path d="M18 6L6 18M6 6l12 12" />+ </svg>+ </div>+ </div>+ ) : (+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" className="text-white/40 group-hover:text-[#22d3ee] transition-colors">+ <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />+ <circle cx="8.5" cy="8.5" r="1.5" />+ <polyline points="21 15 16 10 5 21" />+ </svg>+ )}+ </button>+ </div>++ <textarea+ ref={textareaRef}+ value={settings.prompt}+ onChange={(e) => {+ setSettings(prev => ({ ...prev, prompt: e.target.value }));+ const el = e.target;+ el.style.height = "auto";+ const maxH = window.innerWidth < 768 ? 150 : 250;+ el.style.height = Math.min(el.scrollHeight, maxH) + "px";+ }}+ placeholder="Describe your cinema scene..."+ className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"+ rows={1}+ />+ </div>++ {/* Bottom Row: Controls & Generate */}+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative">+ <div className="flex items-center gap-2 relative flex-wrap pb-1 md:pb-0">+ {/* Aspect Ratio Button */}+ <div className="relative"><button+ ref={arBtnRef}+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner text-[11px] font-semibold text-white/70 hover:text-white"onClick={() =>- uploadedImage- ? removeImage()- : imageInputRef.current?.click()+ setOpenDropdown((d) => (d === "ar" ? null : "ar"))}- disabled={isUploadingImage}- className={`w-10 h-10 shrink-0 rounded-full border transition-all flex items-center justify-center relative overflow-hidden ${uploadedImage ? "border-primary/60 bg-white/5" : "bg-white/[0.03] border-white/[0.03] hover:bg-white/10 hover:border-primary/40"} group`}>- {isUploadingImage ? (- <div className="flex flex-col items-center justify-center w-full h-full absolute inset-0 bg-black/80 z-20 backdrop-blur-[2px]">- <svg className="w-8 h-8 -rotate-90">- <circle- cx="16"- cy="16"- r="14"- stroke="currentColor"- strokeWidth="2"- fill="transparent"- className="text-white/10"- />- <circle- cx="16"- cy="16"- r="14"- stroke="currentColor"- strokeWidth="2"- fill="transparent"- strokeDasharray={88}- strokeDashoffset={88 - (88 * imageUploadProgress) / 100}- className="text-primary transition-all duration-300"- />- </svg>- <span className="absolute text-[8px] font-bold text-white">- {imageUploadProgress}%- </span>- </div>- ) : uploadedImage ? (- <div className="relative w-full h-full group">- <img- src={uploadedImage}- alt="Reference"- className="w-full h-full object-cover opacity-80 group-hover:opacity-40 transition-opacity"- />- <div className="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity">- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" className="text-white">- <path d="M18 6L6 18M6 6l12 12" />- </svg>- </div>- </div>- ) : (- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" className="text-white/40 group-hover:text-white transition-colors">- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />- <circle cx="8.5" cy="8.5" r="1.5" />- <polyline points="21 15 16 10 5 21" />- </svg>- )}+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="opacity-40">+ <rect x="2" y="7" width="20" height="10" rx="2" ry="2" />+ </svg>+ {settings.aspect_ratio}</button>- </div>-- <textarea- ref={textareaRef}- placeholder="Describe your cinema scene..."- className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/10 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"- rows={1}- onInput={handleTextareaInput}- />- </div>- <div className="flex justify-between gap-2">- <div className="flex flex-wrap items-center gap-3">- {/* Aspect Ratio Button */}- <div className="relative">- <button- ref={arBtnRef}- className="flex items-center gap-1.5 px-3 py-1 bg-white/[0.03] hover:bg-white/10 text-xs font-bold text-white/40 hover:text-white transition-colors rounded-md border border-white/[0.03]"- onClick={() =>- setOpenDropdown((d) => (d === "ar" ? null : "ar"))- }- >- <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="opacity-40">- <rect x="2" y="7" width="20" height="10" rx="2" ry="2" />- </svg>- {settings.aspect_ratio}- </button>- {openDropdown === "ar" && (+ {openDropdown === "ar" && (+ <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0c0c0f]/95 rounded-xl p-3.5 shadow-[0_10px_40px_rgba(0,0,0,0.8)] border border-white/[0.08] backdrop-blur-2xl min-w-[140px]"><Dropdownitems={ASPECT_RATIOS}selected={settings.aspect_ratio}@@ -928,24 +936,26 @@ export default function CinemaStudio({triggerRef={arBtnRef}onClose={() => setOpenDropdown(null)}/>- )}- </div>+ </div>+ )}+ </div>- {/* Resolution Button */}- <div className="relative">- <button- ref={resBtnRef}- className="flex items-center gap-1.5 px-3 py-1 bg-white/[0.03] hover:bg-white/10 text-xs font-bold text-white/40 hover:text-white transition-colors rounded-md border border-white/[0.03]"- onClick={() =>- setOpenDropdown((d) => (d === "res" ? null : "res"))- }- >- <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="opacity-40">- <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />- </svg>- {resolution}- </button>- {openDropdown === "res" && (+ {/* Resolution Button */}+ <div className="relative">+ <button+ ref={resBtnRef}+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner text-[11px] font-semibold text-white/70 hover:text-white"+ onClick={() =>+ setOpenDropdown((d) => (d === "res" ? null : "res"))+ }+ >+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="opacity-40">+ <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />+ </svg>+ {resolution}+ </button>+ {openDropdown === "res" && (+ <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0c0c0f]/95 rounded-xl p-3.5 shadow-[0_10px_40px_rgba(0,0,0,0.8)] border border-white/[0.08] backdrop-blur-2xl min-w-[140px]"><Dropdownitems={RESOLUTIONS}selected={resolution}@@ -953,43 +963,39 @@ export default function CinemaStudio({triggerRef={resBtnRef}onClose={() => setOpenDropdown(null)}/>- )}- </div>+ </div>+ )}</div>- <div className="flex items-center gap-3 h-full self-end mb-1">- {/* Summary Card (triggers overlay) */}- <button- className="flex flex-col items-start justify-center px-4 py-1.5 bg-white/[0.03] rounded-md border border-white/[0.03] hover:border-white/20 transition-all text-left flex-1 min-w-[100px] md:min-w-[160px] max-w-[240px] h-[50px] relative group overflow-hidden"- onClick={() => setIsOverlayOpen(true)}- >- <div className="absolute top-3 right-3 w-1.5 h-1.5 bg-[#22d3ee] rounded-full shadow-lg shadow-[#22d3ee]/20" />- <span className="text-[9px] font-bold text-white/30 uppercase truncate w-full tracking-wider group-hover:text-white transition-colors">- {settings.camera}- </span>- <span className="text-xs font-semibold text-white/70 truncate w-full group-hover:text-[#22d3ee] transition-colors">- {formatSummaryValue()}- </span>- </button>- {/* Generate Button */}- <button- className="h-[50px] px-8 bg-[#22d3ee] text-black rounded-md font-medium text-sm hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 shadow-lg shadow-[#22d3ee]/10 disabled:opacity-50 disabled:cursor-not-allowed"- disabled={isGenerating || !settings.prompt.trim()}- onClick={handleGenerate}- >- {isGenerating ? (- <>- <span className="animate-spin inline-block text-black">◌</span> SHOOTING...- </>- ) : (- <>- <span>SHOOT</span>- </>- )}- </button>- </div>+ {/* Summary Card (triggers overlay) */}+ <button+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] text-left group overflow-hidden shadow-inner text-[11px] font-semibold text-white/70 hover:text-white"+ onClick={() => setIsOverlayOpen(true)}+ >+ <div className="w-1.5 h-1.5 bg-[#22d3ee] rounded-full shadow-lg shadow-[#22d3ee]/20 shrink-0" />+ <span className="max-w-[120px] truncate text-[11px] font-semibold text-white/70 group-hover:text-[#22d3ee] transition-colors">+ {settings.camera} · {formatSummaryValue()}+ </span>+ </button></div>- </div>++ {/* Generate Button */}+ <button+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10 uppercase tracking-wider"+ disabled={isGenerating || !settings.prompt.trim()}+ onClick={handleGenerate}+ >+ {isGenerating ? (+ <>+ <span className="animate-spin inline-block text-black">◌</span> SHOOTING...+ </>+ ) : (+ <>+ <span>SHOOT</span>+ </>+ )}+ </button>+ </div></div></div>{fullscreenUrl && (diff --git a/packages/studio/src/components/ClippingStudio.jsx b/packages/studio/src/components/ClippingStudio.jsxindex 6ac3acdf..d4cf2bb4 100644--- a/packages/studio/src/components/ClippingStudio.jsx+++ b/packages/studio/src/components/ClippingStudio.jsx@@ -100,6 +100,7 @@ export default function ClippingStudio({const [numHighlights, setNumHighlights] = useState(3);const [aspectRatio, setAspectRatio] = useState("9:16");const [returnCoordinatesOnly, setReturnCoordinatesOnly] = useState(false);+ const [prompt, setPrompt] = useState("");// ── Dropdowns state ──const [aspectDropdownOpen, setAspectDropdownOpen] = useState(false);@@ -107,6 +108,7 @@ export default function ClippingStudio({const dropdownRef = useRef(null);const highlightsDropdownRef = useRef(null);const textareaRef = useRef(null);+ const promptTextareaRef = useRef(null);// ── Upload State ──const [videoUploading, setVideoUploading] = useState(false);@@ -289,6 +291,20 @@ export default function ClippingStudio({el.style.height = Math.min(el.scrollHeight, maxH) + "px";};+ const handlePromptInput = (e) => {+ const val = e.target.value;+ if (val.trim().match(/^https?:\/\/[^\s]+$/i)) {+ setVideoUrl(val.trim());+ setPrompt("");+ return;+ }+ setPrompt(val);+ const el = e.target;+ el.style.height = "auto";+ const maxH = window.innerWidth < 768 ? 150 : 250;+ el.style.height = Math.min(el.scrollHeight, maxH) + "px";+ };+// ── Video File Handlers ──const handleVideoFileChange = async (e) => {const file = e.target.files[0];@@ -720,10 +736,27 @@ export default function ClippingStudio({{/* ─── FLOATING BOTTOM PROMPT BAR ─── */}<div className="absolute bottom-4 w-full max-w-[95%] lg:max-w-4xl z-40 animate-fade-in-up" style={{ animationDelay: "0.2s" }}>- <div className="w-full bg-[#0a0a0a]/80 backdrop-blur-3xl rounded-md border border-white/10 p-4 flex flex-col gap-2 shadow-2xl">+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">- {/* Upper row: upload button & paste input field */}- <div className="flex items-center gap-3 px-1">+ {/* Inline list of uploaded media files */}+ {videoUrl && (+ <div className="flex items-center gap-2.5 px-1 pb-1">+ <div className="relative w-12 h-12 rounded-xl border border-white/10 overflow-hidden shadow-md group">+ <video src={videoUrl} className="w-full h-full object-cover" muted playsInline />+ <button+ type="button"+ onClick={clearVideoUpload}+ className="absolute top-0.5 right-0.5 w-4 h-4 bg-black/60 hover:bg-black rounded-full flex items-center justify-center text-white/85 hover:text-white text-[8px] border border-white/5"+ title="Clear video"+ >+ ×+ </button>+ </div>+ </div>+ )}++ {/* Upper row: upload button & prompt field */}+ <div className="flex items-start gap-3 px-1">{/* Hidden file input */}<inputref={videoFileInputRef}@@ -734,91 +767,65 @@ export default function ClippingStudio({/>{/* Sleek round upload button */}- <button- type="button"- title={videoUrl ? "Clear video" : "Upload source video"}- onClick={() => videoUrl ? clearVideoUpload() : videoFileInputRef.current?.click()}- className={`w-10 h-10 shrink-0 rounded-full border transition-all flex items-center justify-center relative overflow-hidden ${- videoUrl- ? "border-[#22d3ee]/60 bg-[#22d3ee]/5"- : "bg-white/5 border-white/[0.03] hover:bg-white/10 hover:border-[#22d3ee]/40"- } group`}- >- {videoUploading ? (- <div className="flex flex-col items-center justify-center w-full h-full absolute inset-0 bg-black/85 z-20 backdrop-blur-[1px]">- <svg className="w-8 h-8 -rotate-90">- <circle cx="16" cy="16" r="14" stroke="currentColor" strokeWidth="2" fill="transparent" className="text-white/10" />- <circle- cx="16"- cy="16"- r="14"- stroke="currentColor"- strokeWidth="2"- fill="transparent"- strokeDasharray={88}- strokeDashoffset={88 - (88 * videoProgress) / 100}- className="text-[#22d3ee] transition-all duration-300"- />- </svg>- <span className="absolute text-[8px] font-black text-[#22d3ee] leading-none">- {videoProgress}%- </span>- </div>- ) : null}+ {!videoUrl && (+ <button+ type="button"+ title="Upload source video"+ onClick={() => videoFileInputRef.current?.click()}+ className="w-10 h-10 shrink-0 rounded-full border bg-white/5 border-white/[0.03] hover:bg-white/10 hover:border-[#22d3ee]/40 transition-all flex items-center justify-center relative overflow-hidden group"+ >+ {videoUploading ? (+ <div className="flex flex-col items-center justify-center w-full h-full absolute inset-0 bg-black/85 z-20 backdrop-blur-[1px]">+ <svg className="w-8 h-8 -rotate-90">+ <circle cx="16" cy="16" r="14" stroke="currentColor" strokeWidth="2" fill="transparent" className="text-white/10" />+ <circle+ cx="16"+ cy="16"+ r="14"+ stroke="currentColor"+ strokeWidth="2"+ fill="transparent"+ strokeDasharray={88}+ strokeDashoffset={88 - (88 * videoProgress) / 100}+ className="text-[#22d3ee] transition-all duration-300"+ />+ </svg>+ <span className="absolute text-[8px] font-black text-[#22d3ee] leading-none">+ {videoProgress}%+ </span>+ </div>+ ) : null}- {videoUrl ? (- <div className="w-full h-full flex items-center justify-center bg-[#22d3ee]/10 text-[#22d3ee]">- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">- <polygon points="23 7 16 12 23 17 23 7" />- <rect x="1" y="5" width="15" height="14" rx="2" ry="2" />- </svg>- </div>- ) : (<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="text-white/40 group-hover:text-[#22d3ee] transition-colors"><polygon points="23 7 16 12 23 17 23 7" /><rect x="1" y="5" width="15" height="14" rx="2" ry="2" /></svg>- )}- </button>+ </button>+ )}- {/* Prompt textarea for URL paste */}+ {/* Prompt textarea (supports direct URL pasting too) */}<div className="flex-1 flex flex-col gap-1"><textarea- ref={textareaRef}- value={videoUrl}- onChange={handleUrlInput}- placeholder="Upload a video file or paste a video S3 URL here..."+ ref={promptTextareaRef}+ value={prompt}+ onChange={handlePromptInput}+ placeholder="Describe prompt / highlights to extract"rows={1}- className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] overflow-y-auto custom-scrollbar disabled:opacity-40"+ className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] overflow-y-auto custom-scrollbar"/></div>-- {/* Clear button if URL exists */}- {videoUrl && (- <button- type="button"- onClick={clearVideoUpload}- className="p-1.5 hover:bg-white/5 rounded text-zinc-400 hover:text-white transition-colors self-start mt-1"- title="Clear input"- >- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- </button>- )}</div>{/* Bottom row: controls + generate button */}- <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-2 border-t border-white/[0.03] relative">+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative"><div className="flex items-center gap-2 relative flex-wrap pb-1 md:pb-0">{/* Model Identifier (C) */}- <div className="flex items-center gap-2 px-3 py-2 bg-white/[0.03] rounded-md border border-white/[0.03] whitespace-nowrap">+ <div className="flex items-center gap-2 px-3.5 h-[34px] bg-[#16161a]/60 rounded-md border border-white/[0.06] shadow-inner whitespace-nowrap"><div className="w-4 h-4 bg-[#22d3ee] rounded flex items-center justify-center shadow-lg shadow-[#22d3ee]/10"><span className="text-[9px] font-bold text-black uppercase">C</span></div>- <span className="text-[11px] font-semibold text-white/70">+ <span className="text-xs font-semibold text-white/70">AI Clipping</span></div>@@ -828,7 +835,7 @@ export default function ClippingStudio({<buttontype="button"onClick={() => setAspectDropdownOpen(!aspectDropdownOpen)}- className="flex items-center gap-2 px-3 py-2 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" className="opacity-40 text-white"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" />@@ -839,15 +846,15 @@ export default function ClippingStudio({<ChevronDownIcon /></button>{aspectDropdownOpen && (- <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0a0a0a] rounded-lg p-3 shadow-2xl border border-white/[0.05] min-w-[160px]">- <div className="text-xs font-bold text-white/20 border-b border-white/[0.03] mb-2">+ <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0c0c0f]/95 rounded-xl p-3.5 shadow-[0_10px_40px_rgba(0,0,0,0.8)] border border-white/[0.08] backdrop-blur-2xl min-w-[160px]">+ <div className="text-xs font-bold text-white/20 border-b border-white/[0.03] mb-2 pb-1">Aspect Ratio</div><div className="flex flex-col gap-1 max-h-60 overflow-y-auto custom-scrollbar">{ASPECT_RATIOS.map((r) => (<divkey={r.value}- className="flex items-center justify-between p-3 hover:bg-white/5 rounded cursor-pointer transition-all group/opt"+ className="flex items-center justify-between p-2.5 hover:bg-white/5 rounded cursor-pointer transition-all group/opt"onClick={() => {setAspectRatio(r.value);setAspectDropdownOpen(false);@@ -869,7 +876,7 @@ export default function ClippingStudio({<buttontype="button"onClick={() => setHighlightsDropdownOpen(!highlightsDropdownOpen)}- className="flex items-center gap-2 px-3 py-2 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><ClockIcon /><span className="text-[11px] font-semibold text-white/70 group-hover:text-[#22d3ee] transition-colors">@@ -878,8 +885,8 @@ export default function ClippingStudio({<ChevronDownIcon /></button>{highlightsDropdownOpen && (- <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0a0a0a] rounded-md p-3 shadow-2xl border border-white/10 min-w-[180px]">- <div className="text-xs font-bold text-white/20 border-b border-white/[0.03] mb-3">+ <div className="absolute bottom-[calc(100%+12px)] left-0 z-50 bg-[#0c0c0f]/95 rounded-xl p-3.5 shadow-[0_10px_40px_rgba(0,0,0,0.8)] border border-white/[0.08] backdrop-blur-2xl min-w-[180px]">+ <div className="text-xs font-bold text-white/20 border-b border-white/[0.03] mb-3 pb-1">Max Highlights</div><div className="space-y-3">@@ -907,10 +914,10 @@ export default function ClippingStudio({<buttontype="button"onClick={() => setReturnCoordinatesOnly(!returnCoordinatesOnly)}- className={`flex items-center gap-2 px-3 py-2 rounded-md transition-all border whitespace-nowrap text-[11px] font-semibold ${+ className={`h-[34px] flex items-center gap-2 px-3.5 rounded-md transition-all border whitespace-nowrap text-[11px] font-semibold shadow-inner ${returnCoordinatesOnly- ? "bg-primary/10 border-primary/20 text-[#22d3ee]"- : "bg-white/[0.03] border-white/[0.03] text-white/70 hover:bg-white/[0.06] hover:text-white"+ ? "bg-[#22d3ee]/10 border-[#22d3ee]/20 text-[#22d3ee]"+ : "bg-[#16161a]/60 border-white/[0.06] text-white/70 hover:bg-[#202026]/80 hover:text-white"}`}><ScissorsIcon className="w-3.5 h-3.5 text-current" />@@ -924,7 +931,7 @@ export default function ClippingStudio({type="button"onClick={handleGenerate}disabled={isGenerating}- className="bg-[#22d3ee] text-black px-4 py-2 rounded-md font-medium text-sm hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/10 disabled:opacity-50 disabled:cursor-not-allowed uppercase tracking-wider"+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10 uppercase tracking-wider">{isGenerating ? (<>diff --git a/packages/studio/src/components/LipSyncStudio.jsx b/packages/studio/src/components/LipSyncStudio.jsxindex fa17767c..09ac2d3b 100644--- a/packages/studio/src/components/LipSyncStudio.jsx+++ b/packages/studio/src/components/LipSyncStudio.jsx@@ -374,6 +374,7 @@ export default function LipSyncStudio({const [openDropdown, setOpenDropdown] = useState(null); // 'model' | 'resolution' | nullconst modelBtnRef = useRef(null);const resolutionBtnRef = useRef(null);+ const textareaRef = useRef(null);// ── Video ref for result ────────────────────────────────────────────────const resultVideoRef = useRef(null);@@ -518,6 +519,14 @@ export default function LipSyncStudio({[apiKey],);+ const handlePromptInput = (e) => {+ setPrompt(e.target.value);+ const el = e.target;+ el.style.height = "auto";+ const maxH = window.innerWidth < 768 ? 150 : 250;+ el.style.height = Math.min(el.scrollHeight, maxH) + "px";+ };+const handleAudioPick = useCallback(async (file) => {if (file.size > 10 * 1024 * 1024) {@@ -836,7 +845,7 @@ export default function LipSyncStudio({{/* ── BOTTOM PROMPT BAR ── */}<div className="absolute bottom-4 w-full max-w-[95%] lg:max-w-4xl z-40 animate-fade-in-up" style={{ animationDelay: "0.2s" }}>- <div className="w-full bg-[#0a0a0a]/80 backdrop-blur-3xl rounded-md border border-white/10 p-4 flex flex-col gap-2 shadow-2xl">+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">{/* Mode toggle row */}<div className="flex items-center gap-2 px-3"><button@@ -844,7 +853,7 @@ export default function LipSyncStudio({onClick={switchToImage}className={`px-3 py-1 rounded-md text-xs font-bold transition-all border ${inputMode === "image"- ? "border-primary/60 bg-primary/5 text-primary"+ ? "border-[#22d3ee]/60 bg-[#22d3ee]/5 text-[#22d3ee]": "border-white/[0.03] bg-white/[0.03] text-white/40 hover:border-white/20 hover:text-white"}`}>@@ -855,7 +864,7 @@ export default function LipSyncStudio({onClick={switchToVideo}className={`px-3 py-1 rounded-md text-[10px] font-bold transition-all border ${inputMode === "video"- ? "border-primary/60 bg-primary/5 text-primary"+ ? "border-[#22d3ee]/60 bg-[#22d3ee]/5 text-[#22d3ee]": "border-white/[0.03] bg-white/[0.03] text-white/40 hover:border-white/20 hover:text-white"}`}>@@ -879,7 +888,7 @@ export default function LipSyncStudio({fill="none"stroke="currentColor"strokeWidth="2"- className="text-white/40 group-hover:text-primary transition-colors"+ className="text-white/40 group-hover:text-[#22d3ee] transition-colors"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" /><circle cx="8.5" cy="8.5" r="1.5" />@@ -907,7 +916,7 @@ export default function LipSyncStudio({accept="video/*"label="Video"icon={- <VideoIcon className="text-white/40 group-hover:text-primary transition-colors" />+ <VideoIcon className="text-white/40 group-hover:text-[#22d3ee] transition-colors" />}onUpload={handleVideoPick}onClear={() => {@@ -929,7 +938,7 @@ export default function LipSyncStudio({accept="audio/*"label="Audio"icon={- <MicIcon className="text-white/40 group-hover:text-primary transition-colors" />+ <MicIcon className="text-white/40 group-hover:text-[#22d3ee] transition-colors" />}onUpload={handleAudioPick}onClear={() => {@@ -947,21 +956,20 @@ export default function LipSyncStudio({</div>{/* Prompt textarea */}- {showPrompt && (- <div className="flex-1 flex flex-col">- <textarea- value={prompt}- onChange={(e) => setPrompt(e.target.value)}- placeholder="Describe speech style..."- className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/10 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"- rows={1}- />- </div>- )}+ <div className="flex-1 flex flex-col">+ <textarea+ ref={textareaRef}+ value={prompt}+ onChange={handlePromptInput}+ placeholder="Describe speech style..."+ className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"+ rows={1}+ />+ </div></div>{/* Bottom controls row */}- <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-2 border-t border-white/[0.03] relative">+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative"><div className="flex items-center gap-2 px-1">{/* Model selector */}<div className="relative">@@ -974,7 +982,7 @@ export default function LipSyncStudio({openDropdown === "model" ? null : "model",);}}- className="flex items-center gap-2 px-2 py-1.5 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><div className="w-3.5 h-3.5 bg-[#22d3ee] rounded-sm flex items-center justify-center"><span className="text-[9px] font-black text-black">@@ -1018,7 +1026,7 @@ export default function LipSyncStudio({openDropdown === "resolution" ? null : "resolution",);}}- className="flex items-center gap-2 px-2 py-1.5 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><span className="text-xs font-semibold text-white/70 group-hover:text-[#22d3ee] transition-colors">{selectedResolution}@@ -1041,7 +1049,7 @@ export default function LipSyncStudio({type="button"onClick={handleGenerate}disabled={isGenerating}- className="bg-[#22d3ee] text-black px-4 py-2 rounded-md font-medium text-sm hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/10 disabled:opacity-50 disabled:cursor-not-allowed"+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10">{isGenerating ? (<>diff --git a/packages/studio/src/components/MarketingStudio.jsx b/packages/studio/src/components/MarketingStudio.jsxindex 0097e20c..902b7b19 100644--- a/packages/studio/src/components/MarketingStudio.jsx+++ b/packages/studio/src/components/MarketingStudio.jsx@@ -434,7 +434,7 @@ export default function MarketingStudio({ apiKey, droppedFiles, onFilesHandled }{/* ── BOTTOM PROMPT BAR ── */}<div style={{ animationDelay: "0.2s" }} className="absolute bottom-4 w-full max-w-[95%] lg:max-w-4xl z-40 animate-fade-in-up">- <div className="bg-[#0a0a0a]/80 backdrop-blur-3xl rounded-lg border border-white/10 p-4 flex flex-col gap-2 shadow-4xl">+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">{additionalImages.length > 0 && (<div className="flex items-center gap-1.5">{additionalImages.map((img, idx) => (@@ -459,12 +459,12 @@ export default function MarketingStudio({ apiKey, droppedFiles, onFilesHandled }onInput={handleTextareaInput}placeholder="Describe your ad script... Use @image1 for product, @image2 for avatar."rows={1}- className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[44px] max-h-[300px] custom-scrollbar font-medium"+ className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/20 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"/></div>{/* Bottom Row: Uploads + Controls + Generate */}- <div className="flex flex-col sm:flex-row items-center justify-between gap-4 pt-3 border-t border-white/[0.05]">+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative"><div className="flex items-center gap-3 flex-wrap">{/* Asset Uploads Group */}@@ -574,11 +574,11 @@ export default function MarketingStudio({ apiKey, droppedFiles, onFilesHandled }<buttononClick={handleGenerate}disabled={isGenerating}- className="bg-primary text-black px-8 py-2.5 rounded font-bold text-base hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-3 shadow-glow disabled:opacity-50 disabled:grayscale z-10"+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10">{isGenerating ? (<>- <div className="w-3 h-3 border-2 border-black/20 border-t-black rounded-full animate-spin" />+ <span className="animate-spin inline-block text-black">◌</span>Generating...</>) : (diff --git a/packages/studio/src/components/RecastStudio.jsx b/packages/studio/src/components/RecastStudio.jsxindex 1e0c980e..1e5109a5 100644--- a/packages/studio/src/components/RecastStudio.jsx+++ b/packages/studio/src/components/RecastStudio.jsx@@ -301,6 +301,7 @@ export default function RecastStudio({const [openDropdown, setOpenDropdown] = useState(null); // 'model' | 'aspect' | nullconst modelBtnRef = useRef(null);const aspectBtnRef = useRef(null);+ const textareaRef = useRef(null);const hasRestored = useRef(false);// ── Persistence: Load ──────────────────────────────────────────────────────@@ -394,6 +395,14 @@ export default function RecastStudio({[apiKey],);+ const handlePromptInput = (e) => {+ setPrompt(e.target.value);+ const el = e.target;+ el.style.height = "auto";+ const maxH = window.innerWidth < 768 ? 150 : 250;+ el.style.height = Math.min(el.scrollHeight, maxH) + "px";+ };+const handleImageUpload = useCallback(async (file) => {if (file.size > 10 * 1024 * 1024) {@@ -619,7 +628,7 @@ export default function RecastStudio({{/* ── BOTTOM PROMPT BAR ── */}<div className="absolute bottom-4 w-full max-w-[95%] lg:max-w-4xl z-40 animate-fade-in-up" style={{ animationDelay: "0.2s" }}>- <div className="w-full bg-[#0a0a0a]/80 backdrop-blur-3xl rounded-md border border-white/10 p-4 flex flex-col gap-2 shadow-2xl">+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">{/* Uploads row */}<div className="flex items-center gap-2 px-1"><div className="flex items-center gap-2">@@ -627,7 +636,7 @@ export default function RecastStudio({<MediaPickerButtonaccept="video/*"label="Video"- icon={<VideoIcon />}+ icon={<VideoIcon className="text-white/40 group-hover:text-[#22d3ee] transition-colors" />}onUpload={handleVideoPick}onClear={() => {setVideoUrl(null);@@ -645,7 +654,7 @@ export default function RecastStudio({<MediaPickerButtonaccept="image/*"label="Character image"- icon={<ImageIcon />}+ icon={<ImageIcon className="text-white/40 group-hover:text-[#22d3ee] transition-colors" />}onUpload={handleImageUpload}onClear={() => {setImageUrl(null);@@ -660,28 +669,21 @@ export default function RecastStudio({/></div>- {/* Hint / prompt */}- {showPrompt ? (- <div className="flex-1 flex flex-col">- <textarea- value={prompt}- onChange={(e) => setPrompt(e.target.value)}- placeholder="Optional — describe the motion or scene..."- className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/10 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"- rows={1}- />- </div>- ) : (- <div className="flex-1 flex items-center pl-2">- <span className="text-xs text-white/30 font-medium">- Your Video + Character Image → swapped video- </span>- </div>- )}+ {/* Prompt textarea */}+ <div className="flex-1 flex flex-col">+ <textarea+ ref={textareaRef}+ value={prompt}+ onChange={handlePromptInput}+ placeholder="Optional — describe the motion or scene..."+ className="w-full bg-transparent border-none text-white text-sm placeholder:text-white/10 focus:outline-none resize-none pt-1 leading-relaxed min-h-[40px] max-h-[150px] md:max-h-[250px] overflow-y-auto custom-scrollbar disabled:opacity-40"+ rows={1}+ />+ </div></div>{/* Bottom controls row */}- <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-2 border-t border-white/[0.03] relative">+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative"><div className="flex items-center gap-2 px-1">{/* Model selector */}<div className="relative">@@ -692,7 +694,7 @@ export default function RecastStudio({e.stopPropagation();setOpenDropdown(openDropdown === "model" ? null : "model");}}- className="flex items-center gap-2 px-2 py-1.5 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><div className="w-3.5 h-3.5 bg-[#22d3ee] rounded-sm flex items-center justify-center"><span className="text-[9px] font-black text-black">R</span>@@ -732,7 +734,7 @@ export default function RecastStudio({e.stopPropagation();setOpenDropdown(openDropdown === "aspect" ? null : "aspect");}}- className="flex items-center gap-2 px-2 py-1.5 bg-white/[0.03] hover:bg-white/[0.06] rounded-md transition-all border border-white/[0.03] group whitespace-nowrap"+ className="h-[34px] flex items-center gap-2 px-3.5 bg-[#16161a]/60 hover:bg-[#202026]/80 rounded-md transition-all border border-white/[0.06] group whitespace-nowrap shadow-inner"><span className="text-xs font-semibold text-white/70 group-hover:text-[#22d3ee] transition-colors">{selectedAspectRatio}@@ -755,7 +757,7 @@ export default function RecastStudio({type="button"onClick={handleGenerate}disabled={isGenerating}- className="bg-[#22d3ee] text-black px-4 py-2 rounded-md font-medium text-sm hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/10 disabled:opacity-50 disabled:cursor-not-allowed"+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10">{isGenerating ? (<>diff --git a/packages/studio/src/components/VibeMotionStudio.jsx b/packages/studio/src/components/VibeMotionStudio.jsxindex 72753488..8d123d8f 100644--- a/packages/studio/src/components/VibeMotionStudio.jsx+++ b/packages/studio/src/components/VibeMotionStudio.jsx@@ -400,7 +400,7 @@ export default function VibeMotionStudio({ apiKey }) {{/* ── BOTTOM PROMPT BAR — matches VideoStudio exactly ── */}<div className="absolute bottom-4 w-full max-w-[95%] lg:max-w-4xl z-40 animate-fade-in-up" style={{ animationDelay: "0.2s" }}>- <div className="w-full bg-[#0a0a0a]/80 backdrop-blur-3xl rounded-md border border-white/10 p-4 flex flex-col gap-2 shadow-2xl">+ <div className="w-full bg-gradient-to-b from-[#18181c]/90 via-[#0f0f12]/90 to-[#0c0c0e]/95 backdrop-blur-2xl rounded-[2rem] border border-white/[0.08] p-4 flex flex-col gap-3 shadow-[0_15px_50px_rgba(0,0,0,0.8)]">{/* ── Edit mode banner ── */}{editMode && (@@ -473,7 +473,7 @@ export default function VibeMotionStudio({ apiKey }) {)}{/* ── Controls row: dropdowns + generate button ── */}- <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-2 border-t border-white/[0.03] relative">+ <div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 pt-3 border-t border-white/[0.03] relative"><div className="flex items-center gap-2 relative flex-wrap pb-1 md:pb-0">{/* ── Aspect Ratio dropdown ── */}@@ -603,7 +603,7 @@ export default function VibeMotionStudio({ apiKey }) {type="button"onClick={handleGenerate}disabled={generating || !prompt.trim() || (editMode && !editSourceId)}- className="bg-[#22d3ee] text-black px-4 py-2 rounded-md font-medium text-sm hover:bg-[#e5ff33] hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/10 disabled:opacity-50 disabled:cursor-not-allowed"+ className="bg-[#22d3ee] text-black px-7 py-3 rounded-full font-black text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all flex items-center justify-center gap-2 w-full sm:w-auto shadow-lg shadow-[#22d3ee]/20 hover:shadow-[#22d3ee]/35 border border-[#22d3ee]/10 z-10">{generating ? (<>