/* Prompt-centred motion: calm space, concentrated colour and responsive idea energy. */
.fx6-intro{--stitch-energy:0;--stitch-x:50%;--stitch-y:72%}
.stitch-idea-bloom{position:absolute;z-index:0;left:50%;bottom:-24%;width:min(1280px,105vw);height:68%;transform:translateX(-50%);pointer-events:none;filter:saturate(1.1);opacity:calc(.72 + var(--stitch-energy)*.2);transition:opacity .5s ease}
.stitch-idea-bloom::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 42% 74% at 15% 92%,#6677ff9e,transparent 68%),radial-gradient(ellipse 40% 76% at 84% 88%,#5ee4ef8e,transparent 66%),radial-gradient(ellipse 45% 82% at 52% 95%,#9a63ff8c,transparent 67%);filter:blur(20px);transform:scale(calc(1 + var(--stitch-energy)*.045));transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.stitch-idea-bloom::after{content:"";position:absolute;inset:-9% 0 0;background-image:radial-gradient(circle,#aebaf559 1px,transparent 1.35px);background-size:22px 22px;mask-image:linear-gradient(transparent 0,#000 25%,#000 68%,transparent 100%);opacity:.72}
.stitch-idea-bloom i{position:absolute;width:18%;aspect-ratio:1;border:1px solid #c9d4ff29;border-radius:30%;background:#acb7ff09;backdrop-filter:blur(2px);animation:stitchFloat 12s ease-in-out infinite}
.stitch-idea-bloom i:nth-child(1){left:7%;top:38%;rotate:11deg}.stitch-idea-bloom i:nth-child(2){right:8%;top:29%;rotate:-9deg;animation-delay:-4s}.stitch-idea-bloom i:nth-child(3){left:43%;top:68%;width:12%;rotate:45deg;animation-delay:-8s}
.fx6-composer-frame{overflow:visible}
.fx6-composer-frame::after{content:"";position:absolute;z-index:-2;inset:18% -8% -22%;border-radius:50%;background:radial-gradient(ellipse at var(--stitch-x) var(--stitch-y),rgba(106,224,238,calc(.08 + var(--stitch-energy)*.14)),rgba(129,87,246,calc(.12 + var(--stitch-energy)*.12)) 37%,transparent 72%);filter:blur(30px);pointer-events:none;transition:background .3s ease}
.fx6-composer-frame.stitch-thinking{animation:stitchComposerBreath 1.35s ease both}
.fx6-composer-frame.stitch-thinking .fx6-ai-glyph{animation:stitchGlyph .65s cubic-bezier(.2,.8,.2,1)}
.fx6-idea-picker button{position:relative;overflow:hidden}
.fx6-idea-picker button::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#fff2 48%,transparent 72%);transform:translateX(-130%)}
.fx6-idea-picker button.stitch-suggest-in{animation:stitchSuggestion .55s cubic-bezier(.2,.8,.2,1) both}
.fx6-idea-picker button:hover::after{transform:translateX(130%);transition:transform .65s ease}
#stitchPromptState{min-width:82px;text-align:center;transition:color .2s,border-color .2s,background .2s}
#stitchPromptState.is-active{color:#d9fffb;background:#72dfd91a;border-color:#72dfd968}
html[data-forge-theme="light"] .stitch-idea-bloom{opacity:.48}
html[data-forge-theme="light"] .stitch-idea-bloom::before{filter:blur(28px);opacity:.58}
html[data-forge-theme="light"] #stitchPromptState.is-active{color:#176b6a!important;background:#d9f5f2!important;border-color:#91d8d2!important}
@keyframes stitchFloat{0%,100%{translate:0 0}50%{translate:0 -24px;rotate:4deg}}
@keyframes stitchComposerBreath{0%,100%{scale:1}45%{scale:1.008}}
@keyframes stitchGlyph{0%{scale:.88;rotate:-18deg}60%{scale:1.16;rotate:12deg}100%{scale:1;rotate:0}}
@keyframes stitchSuggestion{0%{opacity:0;translate:0 8px;filter:blur(5px)}100%{opacity:1;translate:0 0;filter:blur(0)}}
@media(max-width:760px){.stitch-idea-bloom{width:140vw;height:56%;bottom:-13%}.stitch-idea-bloom::after{background-size:17px 17px}.stitch-idea-bloom i{display:none}}
@media(prefers-reduced-motion:reduce){.stitch-idea-bloom i,.fx6-composer-frame.stitch-thinking,.fx6-composer-frame.stitch-thinking .fx6-ai-glyph,.fx6-idea-picker button.stitch-suggest-in{animation:none!important}.stitch-idea-bloom::before{transform:none}}
html[data-forge-motion="off"] :is(.stitch-idea-bloom i,.fx6-composer-frame.stitch-thinking,.fx6-composer-frame.stitch-thinking .fx6-ai-glyph){animation-play-state:paused!important}
