@keyframes sf-sd2-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}@keyframes sf-sd2-rise-m{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes sf-sd2-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes sf-sd2-in-m{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes sf-sd2-fade{from{opacity:0}to{opacity:1}}@keyframes sf-sd2-pop-c{from{opacity:0;transform:translateX(-50%) translateY(10px) scale(0.97)}to{opacity:1;transform:translateX(-50%)}}@keyframes sf-sd2-pop{from{opacity:0;transform:translateY(10px) scale(0.97)}to{opacity:1;transform:none}}@keyframes sf-sd2-reveal{from{opacity:0;filter:blur(10px);transform:scale(0.985)}to{opacity:1;filter:blur(0);transform:none}}@keyframes sf-sd2-reveal-m{from{opacity:0;filter:blur(12px);transform:scale(0.985)}to{opacity:1;filter:blur(0);transform:none}}@keyframes sf-sd2-sheen{from{background-position:200% 0}to{background-position:-200% 0}}@keyframes sf-sd2-sweep{from{transform:translateX(-110%) skewX(-12deg)}to{transform:translateX(190%) skewX(-12deg)}}@keyframes sf-sd2-sweep-m{from{transform:translateX(-110%) skewX(-12deg)}to{transform:translateX(200%) skewX(-12deg)}}@keyframes sf-sd2-shim{0%,100%{opacity:.45}50%{opacity:1}}@keyframes sf-sd2-spin{to{transform:rotate(360deg)}}@keyframes sf-sd2-nudge{0%,100%{translate:0;box-shadow:0 0 0 0 rgba(138,42,255,0)}25%{translate:-5px;box-shadow:0 0 0 4px rgba(138,42,255,.22)}55%{translate:4px;box-shadow:0 0 0 4px rgba(138,42,255,.22)}80%{translate:-2px}}@keyframes sf-sd2-flash{0%,100%{outline-color:rgba(138,42,255,0)}30%{outline-color:var(--sf-sd2-accent)}}.sf-seedance-v2__composer{position:relative;border-radius:22px;background:#17141f;box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset,0 30px 70px -40px rgba(0,0,0,.9);transition:box-shadow .25s ease,background .25s ease}.sf-seedance-v2__composer.is-drop{background:rgba(138,42,255,.06);box-shadow:0 0 0 1px var(--sf-sd2-accent) inset,0 0 0 4px rgba(138,42,255,.14)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__composer{max-width:860px;margin:0 auto;border-radius:20px;box-shadow:0 0 0 1px hsla(0,0%,100%,.1) inset,0 -8px 30px -20px rgba(0,0,0,.9)}.sf-seedance-v2__input{--sf-sd2-prompt-inset: 18px;display:flex;gap:15px;padding:18px 0 0 18px;border-radius:18px;cursor:text}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__input{--sf-sd2-prompt-inset: 16px;gap:13px;padding:17px 0 0 16px}.sf-seedance-v2__input.is-nudge,.sf-seedance-v2__assets.is-nudge{animation:sf-sd2-nudge .42s var(--sf-sd2-ease-out) 1}.sf-seedance-v2__assets{display:flex;flex:0 0 auto;gap:10px;border-radius:12px}.sf-seedance-v2[data-mode=omni] .sf-seedance-v2__frames,.sf-seedance-v2[data-mode=frames] .sf-seedance-v2__refs{display:none}.sf-seedance-v2__prompt-box{position:relative;flex:1;min-width:0;padding-top:4px;cursor:text}.sf-seedance-v2__prompt{position:relative;z-index:1;min-height:96px;max-height:176px;padding-right:var(--sf-sd2-prompt-inset);overflow-y:auto;outline:none;color:#fff;font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-gutter:stable}.sf-seedance-v2__prompt::-webkit-scrollbar-thumb{background-color:var(--sf-sd2-prompt-thumb)}@supports not selector(::-webkit-scrollbar){.sf-seedance-v2__prompt{scrollbar-width:thin;scrollbar-color:var(--sf-sd2-prompt-thumb) rgba(0,0,0,0)}}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__prompt-box{padding-top:6px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__prompt{min-height:74px;max-height:132px;font-size:14.5px;line-height:1.5}.sf-seedance-v2__hints{position:absolute;top:4px;right:var(--sf-sd2-prompt-inset);left:0;z-index:2;pointer-events:none}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hints{top:6px}.sf-seedance-v2__prompt:not([data-empty])+.sf-seedance-v2__hints{display:none}.sf-seedance-v2__hint{display:none;margin:0;color:hsla(0,0%,100%,.44);font-size:16px;line-height:1.55}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hint{font-size:14.5px;line-height:1.5}.sf-seedance-v2[data-mode=omni] .sf-seedance-v2__hint--omni,.sf-seedance-v2[data-mode=frames] .sf-seedance-v2__hint--frames{display:block}.sf-seedance-v2__hint-at{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0 4px;border-radius:8px;background:rgba(138,42,255,.14);box-shadow:0 0 0 1px rgba(138,42,255,.34) inset;color:var(--sf-sd2-accent-bright);font-size:14px;font-weight:700;line-height:1;vertical-align:middle;pointer-events:auto}.sf-seedance-v2__mention,.sf-seedance-v2__sent-mention{display:inline-block;max-width:180px;margin:0 1px;padding:0 7px;overflow:hidden;border-radius:7px;background:rgba(138,42,255,.14);box-shadow:0 0 0 1px rgba(138,42,255,.34) inset;color:var(--sf-sd2-accent-bright);font-size:.9em;font-weight:600;line-height:inherit;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;cursor:pointer}.sf-seedance-v2__assets-hint,.sf-seedance-v2__mention-tip{display:none;margin:0;padding:8px 18px 0;color:hsla(0,0%,100%,.6);font-size:12px}.sf-seedance-v2__assets-hint.is-shown,.sf-seedance-v2__mention-tip.is-shown{display:block}.sf-seedance-v2__keys{position:absolute;right:18px;bottom:2px;color:hsla(0,0%,100%,.38);font-size:11.5px;white-space:nowrap;opacity:0;transform:translateY(2px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}.sf-seedance-v2__input{position:relative}.sf-seedance-v2__composer:focus-within .sf-seedance-v2__keys{opacity:1;transform:none}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__keys{display:none}.sf-seedance-v2__mention-picker{position:absolute;bottom:calc(100% + 8px);left:18px;z-index:55;display:none;flex-direction:column;gap:4px;box-sizing:border-box;width:260px;max-width:calc(100% - 36px);max-height:280px;padding:8px;overflow-y:auto;border-radius:16px;background:var(--sf-sd2-surface);box-shadow:0 0 0 1px var(--sf-sd2-line) inset,0 30px 64px -20px rgba(0,0,0,.9);animation:sf-sd2-pop .22s var(--sf-sd2-ease-pop) both}.sf-seedance-v2__mention-picker.is-open{display:flex}.sf-seedance-v2__mention-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:11px;color:hsla(0,0%,100%,.72);font-size:13px;font-weight:500;text-align:left;transition:background .2s var(--sf-sd2-ease-pop),color .2s ease}.sf-seedance-v2__mention-item img{flex:0 0 auto;width:24px;height:32px;border-radius:6px;object-fit:cover}.sf-seedance-v2__mention-item.is-active{background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;color:#fff;font-weight:600}.sf-seedance-v2__mention-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-seedance-v2__mention-empty{padding:8px 10px 10px}.sf-seedance-v2__mention-empty-text{margin:0 0 10px;color:hsla(0,0%,100%,.6);font-size:12.5px;line-height:1.5}.sf-seedance-v2__mention-upload{padding:8px 14px;border-radius:11px;background:var(--sf-sd2-accent);color:#fff;font-size:12.5px;font-weight:700}@media screen and (max-width: 880px){.sf-seedance-v2__composer,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__composer{border-radius:18px;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset,0 24px 56px -34px rgba(0,0,0,.9)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__composer{max-width:none;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset}.sf-seedance-v2__input,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__input{flex-direction:column;gap:0;padding:0}.sf-seedance-v2__assets,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__assets{order:2;gap:8px;padding:4px 12px 2px}.sf-seedance-v2[data-mode=omni] .sf-seedance-v2__assets:not(:has(.sf-seedance-v2__ref)){display:none}.sf-seedance-v2__prompt-box{--sf-sd2-prompt-inset: 12px;order:1;width:100%;padding:0 0 0 14px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__prompt-box{--sf-sd2-prompt-inset: 13px;padding:0 0 0 13px}.sf-seedance-v2__prompt,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__prompt{min-height:100px;max-height:132px;padding-top:12px;font-size:15px;line-height:22px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__prompt{min-height:76px;max-height:105px}.sf-seedance-v2__hints,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hints{top:0;left:14px;padding-top:12px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hints{left:13px}.sf-seedance-v2__hint,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hint{font-size:15px;line-height:22px}.sf-seedance-v2__hint-at{width:23px;height:23px;margin:0 3px;border-radius:7px;font-size:13px}.sf-seedance-v2__keys{display:none}.sf-seedance-v2__assets-hint,.sf-seedance-v2__mention-tip{padding:6px 12px 0;font-size:11.5px}.sf-seedance-v2__mention-picker{left:12px;max-width:calc(100% - 24px)}}.sf-seedance-v2__controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:12px 16px 16px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__controls{padding:10px 14px 14px}.sf-seedance-v2__pill{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:10px;background:hsla(0,0%,100%,.04);box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset;color:hsla(0,0%,100%,.85);font-size:13px;font-weight:500;white-space:nowrap;transition:background .25s ease,box-shadow .25s ease,color .25s ease,transform .2s ease}.sf-seedance-v2__pill:hover{background:hsla(0,0%,100%,.08);color:#fff}.sf-seedance-v2__pill:active{transform:scale(0.97)}.sf-seedance-v2__pill[aria-expanded=true]{background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;color:#fff}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill{height:32px;font-size:12px}.sf-seedance-v2__pill--at{flex:0 0 auto;justify-content:center;width:36px;padding:0;font-size:15px;line-height:1}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--at{width:32px}.sf-seedance-v2__history{animation:sf-sd2-fade .4s ease both}.sf-seedance-v2__history[hidden]{display:none}.sf-seedance-v2__add-image{display:none}.sf-seedance-v2__pill-icon{display:inline-flex;color:hsla(0,0%,100%,.5)}.sf-seedance-v2__chevron{width:12px;height:12px;transition:transform .22s cubic-bezier(0.4, 0, 0.2, 1)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__chevron{width:11px;height:11px}[aria-expanded=true]>.sf-seedance-v2__chevron{transform:rotate(180deg)}.sf-seedance-v2__pill--summary{justify-content:center;width:212px;font-variant-numeric:tabular-nums}.sf-seedance-v2__pill--summary>svg{flex:none;width:15px;height:15px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--summary{width:196px}.sf-seedance-v2__summary{white-space:nowrap}.sf-seedance-v2__select{position:relative}.sf-seedance-v2__menu{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:55;display:none;flex-direction:column;gap:2px;box-sizing:border-box;width:268px;padding:6px;border-radius:14px;background:var(--sf-sd2-surface);box-shadow:0 0 0 1px var(--sf-sd2-line) inset,0 30px 64px -20px rgba(0,0,0,.9);transform:translateX(-50%);animation:sf-sd2-pop-c .22s var(--sf-sd2-ease-pop) both}.sf-seedance-v2__select.is-open .sf-seedance-v2__menu{display:flex}.sf-seedance-v2__menu-head{padding:6px 8px 4px;color:var(--sf-sd2-muted);font-size:11.5px;font-weight:500;letter-spacing:.1px}.sf-seedance-v2__option{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:10px;border-radius:9px;color:hsla(0,0%,100%,.72);font-size:13px;font-weight:500;text-align:left;transition:background .2s var(--sf-sd2-ease-pop),color .2s ease}.sf-seedance-v2__option:hover{background:hsla(0,0%,100%,.06);color:#fff}.sf-seedance-v2__option.is-active{background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;color:#fff}.sf-seedance-v2__option svg{color:#c084fc}.sf-seedance-v2__option-label{flex:1;min-width:0}.sf-seedance-v2__option.is-active .sf-seedance-v2__option-label{color:#fff;font-weight:600}.sf-seedance-v2__option-desc{flex-basis:100%;order:3;margin-top:-6px;color:hsla(0,0%,100%,.45);font-size:11.5px;font-weight:400;line-height:15px;text-align:left}.sf-seedance-v2__option.is-active .sf-seedance-v2__option-desc{color:hsla(0,0%,100%,.6)}.sf-seedance-v2__check{display:none;flex:0 0 auto}.sf-seedance-v2__option.is-active .sf-seedance-v2__check{display:block}.sf-seedance-v2__send-wrap{position:relative;display:inline-flex;flex:0 0 auto;margin-left:4px}.sf-seedance-v2__send{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:6px;box-sizing:border-box;width:108px;height:38px;padding:0 4px 0 12px;border-radius:19px;background:var(--sf-sd2-accent);color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;opacity:.5;cursor:not-allowed;transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .12s ease}.sf-seedance-v2__send.is-ready{box-shadow:0 8px 22px -10px rgba(138,42,255,.95);opacity:1;cursor:pointer}.sf-seedance-v2__send.is-ready:hover{background:#9640ff}.sf-seedance-v2__send.is-ready:active{transform:scale(0.97)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__send{width:100px;height:34px;border-radius:17px}.sf-seedance-v2__send-cost{display:inline-flex;align-items:center;gap:5px}.sf-seedance-v2__send-gem{display:block;flex:0 0 auto;width:13px;height:13px}.sf-seedance-v2__send-go{display:flex;flex:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:15px;background:#fff;color:var(--sf-sd2-accent);transition:transform .2s cubic-bezier(0.3, 1.4, 0.5, 1)}.sf-seedance-v2__send.is-ready:hover .sf-seedance-v2__send-go{transform:translateY(-1px)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__send-go{width:26px;height:26px}.sf-seedance-v2__cost{font-variant-numeric:tabular-nums;font-weight:700}.sf-seedance-v2__cost:empty{display:none}.sf-seedance-v2__send-tip{position:absolute;right:0;bottom:calc(100% + 10px);z-index:56;padding:7px 11px;border-radius:9px;background:var(--sf-sd2-surface);box-shadow:0 0 0 1px var(--sf-sd2-line) inset,0 30px 64px -20px rgba(0,0,0,.9);color:hsla(0,0%,100%,.75);font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;transform:translateY(5px);pointer-events:none;transition:opacity .18s ease,transform .22s var(--sf-sd2-ease-pop),visibility 0s linear .2s}@media(hover: hover){.sf-seedance-v2__send-wrap.has-tip:hover .sf-seedance-v2__send-tip{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .22s var(--sf-sd2-ease-pop),visibility 0s}}@media screen and (max-width: 880px){.sf-seedance-v2__controls,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__controls{justify-content:flex-start;gap:6px;margin-top:8px;padding:8px 10px 10px;border-top:1px solid hsla(0,0%,100%,.06)}.sf-seedance-v2__select{display:none}.sf-seedance-v2__pill,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill{height:34px;font-size:12.5px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill{font-size:12px}.sf-seedance-v2__pill--at,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--at{width:34px;border-radius:18px}.sf-seedance-v2__add-image{display:inline-flex;min-width:34px}.sf-seedance-v2__add-image:disabled{opacity:.4;pointer-events:none}.sf-seedance-v2__pill--summary,.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--summary{flex:1 1 auto;justify-content:flex-start;box-sizing:border-box;width:auto;min-width:0;padding:0 10px;overflow:hidden;border-radius:18px;font-size:12.5px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--summary{font-size:12px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__pill--summary>svg{width:13px;height:13px}.sf-seedance-v2__summary{min-width:0;overflow:hidden;text-overflow:ellipsis}.sf-seedance-v2__summary-model{display:none}.sf-seedance-v2__send-wrap{margin-left:auto}.sf-seedance-v2__send{flex:none;width:auto;min-width:80px;height:34px;padding:0 3px 0 10px;border-radius:18px;font-size:12.5px}.sf-seedance-v2__send-go{width:28px;height:28px}.sf-seedance-v2__send-gem{width:12px;height:12px}}.sf-seedance-v2{--sf-sd2-tile-w: 66px;--sf-sd2-tile-h: 88px}.sf-seedance-v2[data-view=chat]{--sf-sd2-tile-w: 58px;--sf-sd2-tile-h: 78px}.sf-seedance-v2__refs{position:relative;z-index:5;flex:0 0 auto;width:var(--sf-sd2-tile-w);height:var(--sf-sd2-tile-h)}.sf-seedance-v2__refs:not([data-count="0"]){margin-right:6px}.sf-seedance-v2__refs.is-open{z-index:30}.sf-seedance-v2__ref{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:10px;background:#232326;box-shadow:0 0 0 1px hsla(0,0%,100%,.22) inset,0 8px 18px -8px rgba(0,0,0,.9);color:hsla(0,0%,100%,.5);outline:2px solid rgba(138,42,255,0);outline-offset:2px;cursor:pointer;transform-origin:50% 50%;transition:transform .6s var(--sf-sd2-ease-stack),background .3s ease,box-shadow .3s ease,color .3s ease;animation:sf-sd2-fade .5s ease both}.sf-seedance-v2__ref.is-highlighted{animation:sf-sd2-flash .9s ease 1}.sf-seedance-v2__ref-img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;transition:opacity .3s ease}.sf-seedance-v2__ref--0{z-index:4;transform:rotate(-4deg)}.sf-seedance-v2__ref--1{z-index:3;transform:translate(3px, -1px) rotate(4deg)}.sf-seedance-v2__ref--2{z-index:2;transform:translate(-2px, -2px) rotate(-7deg)}.sf-seedance-v2__ref--3{z-index:1;transform:translate(4px, -3px) rotate(8deg)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref{box-shadow:0 0 0 1px hsla(0,0%,100%,.28) inset,0 12px 26px -10px rgba(0,0,0,.95)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover{z-index:9;background:#2e2e32;box-shadow:0 0 0 1px hsla(0,0%,100%,.45) inset,0 18px 34px -12px rgba(0,0,0,.95);color:hsla(0,0%,100%,.85)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--0{transform:translate(0, 2px) rotate(-4deg)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--0:hover{transform:translate(0, 2px) rotate(-4deg) scale(1.14)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--1{transform:translate(74px, -3px) rotate(3deg)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--1:hover{transform:translate(74px, -3px) rotate(3deg) scale(1.14)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--2{transform:translate(148px, 2px) rotate(-3deg)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--2:hover{transform:translate(148px, 2px) rotate(-3deg) scale(1.14)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--3{transform:translate(222px, -2px) rotate(4deg)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref--3:hover{transform:translate(222px, -2px) rotate(4deg) scale(1.14)}.sf-seedance-v2__ref-name{position:absolute;bottom:calc(100% + 10px);left:50%;box-sizing:border-box;max-width:180px;padding:6px 10px;overflow:hidden;border-radius:8px;background:#191919;box-shadow:0 0 0 1px hsla(0,0%,100%,.12) inset,0 10px 24px -10px rgba(0,0,0,.95);color:#fff;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;opacity:0;transform:translate(-50%, 6px);pointer-events:none;transition:opacity .28s ease,transform .4s var(--sf-sd2-ease-stack)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover .sf-seedance-v2__ref-name{opacity:1;transform:translate(-50%, 0)}.sf-seedance-v2__ref-remove{position:absolute;top:-7px;right:-7px;z-index:3;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#171215;box-shadow:0 0 0 1px hsla(0,0%,100%,.22) inset;color:hsla(0,0%,100%,.85);opacity:0;transform:scale(0.8);pointer-events:none;transition:opacity .28s ease,transform .35s var(--sf-sd2-ease-stack),background .25s ease}.sf-seedance-v2__ref-remove:hover{background:#2c2c2f;color:#fff;transform:scale(1.12)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover .sf-seedance-v2__ref-remove,.sf-seedance-v2__frame:hover .sf-seedance-v2__ref-remove,.sf-seedance-v2__ref-remove:focus-visible{opacity:1;transform:scale(1);pointer-events:auto}.sf-seedance-v2__ref-spin{display:none}[data-uploading]>.sf-seedance-v2__ref-img{opacity:.45}[data-uploading]>.sf-seedance-v2__ref-spin{position:absolute;top:50%;left:50%;z-index:2;display:block;box-sizing:border-box;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid hsla(0,0%,100%,.25);border-top-color:#fff;border-radius:50%;animation:sf-sd2-spin .8s linear infinite}.sf-seedance-v2__ref-plus{display:inline-flex;transition:transform .4s var(--sf-sd2-ease-stack)}.sf-seedance-v2__ref-add,.sf-seedance-v2__frame-add{position:absolute;top:0;left:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;height:100%;border:1.5px dashed hsla(0,0%,100%,.26);border-radius:10px;background:#262629;color:hsla(0,0%,100%,.5);transform:translate(7px, -4px) rotate(11deg);transition:transform .6s var(--sf-sd2-ease-stack),opacity .4s ease .1s,border-color .3s ease,color .3s ease,background .3s ease}.sf-seedance-v2__ref-add:hover,.sf-seedance-v2__frame-add:hover{border-color:hsla(0,0%,100%,.45);background:#2e2e32;color:hsla(0,0%,100%,.85)}.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref-add{transform:translate(var(--sf-sd2-tile-x), -1px) rotate(5deg)}.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add,.sf-seedance-v2__frame-add{border-color:hsla(0,0%,100%,.28);color:hsla(0,0%,100%,.62);transform:rotate(-5deg)}.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add:hover,.sf-seedance-v2__frame-add:hover{border-color:hsla(0,0%,100%,.55);background:hsla(0,0%,100%,.05);color:#fff}.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add:hover .sf-seedance-v2__ref-plus,.sf-seedance-v2__frame-add:hover .sf-seedance-v2__ref-plus{transform:scale(1.15)}.sf-seedance-v2__frame-add:hover{border-color:hsla(0,0%,100%,.45);background:#2e2e32;color:hsla(0,0%,100%,.85)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add{gap:5px;border-color:hsla(0,0%,100%,.26);color:hsla(0,0%,100%,.6)}.is-drop .sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add,.is-drop .sf-seedance-v2__frame-add{border-color:var(--sf-sd2-accent);background:rgba(138,42,255,.08);color:#fff}.sf-seedance-v2__frames{display:flex;align-items:center;gap:10px}.sf-seedance-v2__frame{position:relative;flex:0 0 auto;width:var(--sf-sd2-tile-w);height:var(--sf-sd2-tile-h);border-radius:10px}.sf-seedance-v2__frame[data-filled]{background:#232326;box-shadow:0 0 0 1px hsla(0,0%,100%,.22) inset,0 8px 18px -8px rgba(0,0,0,.9);cursor:pointer;animation:sf-sd2-fade .5s ease both}.sf-seedance-v2__frame[data-slot=first][data-filled]{transform:rotate(-4deg)}.sf-seedance-v2__frame[data-slot=last][data-filled]{transform:rotate(4deg)}.sf-seedance-v2__frame[data-slot=last] .sf-seedance-v2__frame-add{transform:rotate(4deg)}.sf-seedance-v2__frame-label{padding:0 4px;font-size:10.5px;font-weight:600;line-height:1.2;text-align:center}.sf-seedance-v2__frame[data-filled] .sf-seedance-v2__frame-label{position:absolute;right:4px;bottom:4px;left:4px;z-index:1;padding:2px 4px;overflow:hidden;border-radius:5px;background:rgba(0,0,0,.55);color:hsla(0,0%,100%,.85);font-size:9.5px;white-space:nowrap;text-overflow:ellipsis}.sf-seedance-v2__frame-swap{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:hsla(0,0%,100%,.06);box-shadow:0 0 0 1px hsla(0,0%,100%,.12) inset;color:hsla(0,0%,100%,.7);transition:background .2s ease,color .2s ease}.sf-seedance-v2__frame-swap:hover{background:hsla(0,0%,100%,.12);color:#fff}@media screen and (max-width: 880px){.sf-seedance-v2,.sf-seedance-v2[data-view=chat]{--sf-sd2-tile-w: 64px;--sf-sd2-tile-h: 64px}.sf-seedance-v2__refs,.sf-seedance-v2__refs:not([data-count="0"]){display:flex;align-items:center;gap:9px;width:auto;height:auto;margin-right:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.sf-seedance-v2__refs::-webkit-scrollbar,.sf-seedance-v2__refs:not([data-count="0"])::-webkit-scrollbar{display:none}.sf-seedance-v2__ref,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref{position:relative;flex:0 0 auto;width:var(--sf-sd2-tile-w);height:var(--sf-sd2-tile-h);border-radius:12px;box-shadow:0 0 0 1px hsla(0,0%,100%,.18) inset;transform:none}.sf-seedance-v2__ref:hover,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover{transform:none}.sf-seedance-v2__ref-name{display:none}.sf-seedance-v2__ref-remove,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover .sf-seedance-v2__ref-remove{top:4px;right:4px;background:rgba(10,10,11,.72);box-shadow:0 0 0 1px hsla(0,0%,100%,.26) inset;color:#fff;opacity:1;transform:none;pointer-events:auto;transition:background .18s ease,transform .16s var(--sf-sd2-ease-spring)}.sf-seedance-v2__ref-remove:hover,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover .sf-seedance-v2__ref-remove:hover{background:var(--sf-sd2-accent);transform:none}.sf-seedance-v2__ref-remove:active,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref:hover .sf-seedance-v2__ref-remove:active{transform:scale(0.9)}.sf-seedance-v2__ref-add,.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref-add,.sf-seedance-v2__frame-add{position:relative;flex:0 0 auto;width:var(--sf-sd2-tile-w);height:var(--sf-sd2-tile-h);border-color:hsla(0,0%,100%,.28);border-radius:12px;color:hsla(0,0%,100%,.55);transform:none}.sf-seedance-v2__ref-add svg,.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add svg,.sf-seedance-v2__refs.is-open .sf-seedance-v2__ref-add svg,.sf-seedance-v2__frame-add svg{width:18px;height:18px}.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add{color:hsla(0,0%,100%,.62)}.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add svg{width:20px;height:20px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__frame-add{border-color:hsla(0,0%,100%,.26);color:hsla(0,0%,100%,.58)}.sf-seedance-v2__ref-add,.sf-seedance-v2__refs[data-count="0"] .sf-seedance-v2__ref-add{display:none}.sf-seedance-v2__frames{gap:9px}.sf-seedance-v2__frame,.sf-seedance-v2__frame[data-slot]{border-radius:12px;transform:none}.sf-seedance-v2__frame[data-slot=last] .sf-seedance-v2__frame-add{transform:none}.sf-seedance-v2__frame-add{gap:3px}.sf-seedance-v2__frame-label{font-size:9.5px}}.sf-seedance-v2__panel-anchor{position:relative;display:inline-flex}.sf-seedance-v2__panel-wrap{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:50;transform:translateX(calc(-50% + var(--sf-sd2-panel-dx, 0px)));pointer-events:none}.sf-seedance-v2__panel{display:flex;flex-direction:column;box-sizing:border-box;width:384px;max-width:calc(100vw - 60px);max-height:420px;padding:0;overflow:hidden;border-radius:16px;background:var(--sf-sd2-surface);box-shadow:0 0 0 1px var(--sf-sd2-line) inset,0 30px 64px -20px rgba(0,0,0,.9);opacity:0;visibility:hidden;transform:translateY(12px) scale(0.975);transform-origin:bottom center;transition:opacity .26s var(--sf-sd2-ease-pop),transform .32s var(--sf-sd2-ease-pop),visibility 0s linear .3s}.sf-seedance-v2__panel.is-open{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .24s ease,transform .34s var(--sf-sd2-ease-pop),visibility 0s}.sf-seedance-v2__panel-grip,.sf-seedance-v2__cards,.sf-seedance-v2__scrim,.sf-seedance-v2__done{display:none}.sf-seedance-v2__panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:16px 16px 0}.sf-seedance-v2__panel-title{flex:1;font-size:14px;font-weight:600;letter-spacing:-0.1px}.sf-seedance-v2__panel-body{flex:1 1 auto;min-height:0;padding:0 16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.sf-seedance-v2__panel-body::-webkit-scrollbar{display:none}.sf-seedance-v2__panel-foot{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;margin-top:2px;padding:12px 16px;background:rgba(0,0,0,.18);box-shadow:0 -1px 0 hsla(0,0%,100%,.07)}.sf-seedance-v2__cost-row{display:flex;flex:1;align-items:center;justify-content:space-between;gap:10px;margin:0}.sf-seedance-v2__cost-label{color:var(--sf-sd2-muted);font-size:12px;font-weight:500}.sf-seedance-v2__cost-value{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:64px;color:#fff;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.sf-seedance-v2__cost-value svg{width:14px;height:14px;color:#c084fc}.sf-seedance-v2__cost-value[hidden]{display:none}.sf-seedance-v2__label{margin-bottom:10px;color:var(--sf-sd2-muted);font-size:12px;font-weight:500;letter-spacing:.1px}.sf-seedance-v2__ratios{position:relative;display:grid;grid-template-columns:repeat(6, 1fr);gap:4px;margin-bottom:10px;padding:5px;border-radius:14px;background:var(--sf-sd2-surface-2);box-shadow:0 0 0 1px hsla(0,0%,100%,.05) inset}.sf-seedance-v2__ratios-ind{position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 30px)/6);border-radius:10px;background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;transform:translateX(calc(var(--sf-sd2-i, 0) * (100% + 4px)));transition:transform .42s var(--sf-sd2-ease-pop)}.sf-seedance-v2__ratio{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px 0 5px;border-radius:10px;transition:background .24s ease}.sf-seedance-v2__ratio:hover:not(.is-active){background:hsla(0,0%,100%,.04)}.sf-seedance-v2__ratio-box{display:flex;align-items:center;justify-content:center;height:19px}.sf-seedance-v2__ratio-glyph{display:block;border-radius:3.5px;box-shadow:0 0 0 1.7px hsla(0,0%,100%,.4) inset;transition:box-shadow .32s var(--sf-sd2-ease-pop),transform .32s var(--sf-sd2-ease-spring)}.sf-seedance-v2__ratio-glyph[data-ratio="21:9"]{width:22px;height:10px}.sf-seedance-v2__ratio-glyph[data-ratio="16:9"]{width:21px;height:12px}.sf-seedance-v2__ratio-glyph[data-ratio="4:3"]{width:18px;height:14px}.sf-seedance-v2__ratio-glyph[data-ratio="1:1"]{width:16px;height:16px}.sf-seedance-v2__ratio-glyph[data-ratio="3:4"]{width:14px;height:18px}.sf-seedance-v2__ratio-glyph[data-ratio="9:16"]{width:11px;height:20px}.sf-seedance-v2__ratio-label{color:hsla(0,0%,100%,.5);font-size:11.5px;font-weight:500;transition:color .32s ease}.sf-seedance-v2__ratio.is-active .sf-seedance-v2__ratio-glyph{box-shadow:0 0 0 1.6px #fff inset;transform:scale(1.08)}.sf-seedance-v2__ratio.is-active .sf-seedance-v2__ratio-label{color:#fff;font-weight:600}.sf-seedance-v2__ratio:hover:not(.is-active) .sf-seedance-v2__ratio-glyph{box-shadow:0 0 0 1.7px hsla(0,0%,100%,.7) inset}.sf-seedance-v2__ratio:hover:not(.is-active) .sf-seedance-v2__ratio-label{color:hsla(0,0%,100%,.85)}.sf-seedance-v2__seg{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:10px;padding:4px;border-radius:12px;background:var(--sf-sd2-surface-2);box-shadow:0 0 0 1px hsla(0,0%,100%,.05) inset}.sf-seedance-v2__seg button{position:relative;z-index:1;display:flex;align-items:baseline;justify-content:center;gap:6px;padding:7px 0;border-radius:9px;color:hsla(0,0%,100%,.5);font-size:13px;font-weight:500;line-height:18px;transition:color .3s ease}.sf-seedance-v2__seg button.is-active{color:#fff;font-weight:600}.sf-seedance-v2__seg button:not(.is-active):hover{background:hsla(0,0%,100%,.05);color:hsla(0,0%,100%,.8)}.sf-seedance-v2__seg-ind{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 6px);border-radius:9px;background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;transform:translateX(calc(var(--sf-sd2-i, 0) * (100% + 4px)));transition:transform .42s var(--sf-sd2-ease-pop)}.sf-seedance-v2__duration-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.sf-seedance-v2__duration-head .sf-seedance-v2__label{margin-bottom:0}.sf-seedance-v2__duration-value{display:none}.sf-seedance-v2__slider{--sf-sd2-knob: 24px;position:relative;height:28px;margin-bottom:6px;cursor:pointer}.sf-seedance-v2__slider input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.sf-seedance-v2__track{position:absolute;top:50%;right:0;left:0;height:14px;margin-top:-7px;overflow:hidden;border-radius:7px;background:#2a2438;box-shadow:0 0 0 1px hsla(0,0%,100%,.05) inset;pointer-events:none}.sf-seedance-v2__track-fill{position:absolute;top:0;bottom:0;left:0;width:calc(var(--sf-sd2-knob) + (100% - var(--sf-sd2-knob))*var(--sf-sd2-f, 0));border-radius:7px;background:var(--sf-sd2-accent);transition:width .25s var(--sf-sd2-ease-pop)}.sf-seedance-v2__track-dot{position:absolute;top:50%;left:calc(var(--sf-sd2-knob)/2 + (100% - var(--sf-sd2-knob))*var(--p));width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:hsla(0,0%,100%,.14);transition:background .2s ease}.sf-seedance-v2__track-dot.is-on{background:hsla(0,0%,100%,.45)}.sf-seedance-v2__track-dot--end{width:6px;height:6px;margin:-3px 0 0 -3px;background:rgba(0,0,0,0);box-shadow:0 0 0 1px hsla(0,0%,100%,.22) inset}.sf-seedance-v2__track-dot--end.is-on{background:hsla(0,0%,100%,.6);box-shadow:none}.sf-seedance-v2__knob{position:absolute;top:50%;left:calc(var(--sf-sd2-knob)/2 + (100% - var(--sf-sd2-knob))*var(--sf-sd2-f, 0));display:flex;align-items:center;justify-content:center;width:var(--sf-sd2-knob);height:var(--sf-sd2-knob);margin:calc(var(--sf-sd2-knob)/-2) 0 0 calc(var(--sf-sd2-knob)/-2);border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.45);pointer-events:none;transition:left .25s var(--sf-sd2-ease-pop),transform .15s ease}.sf-seedance-v2__knob::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--sf-sd2-accent)}.sf-seedance-v2__slider:hover .sf-seedance-v2__knob{transform:scale(1.06)}.sf-seedance-v2__slider:active .sf-seedance-v2__knob{transform:scale(1.12)}.sf-seedance-v2__slider input:focus-visible~.sf-seedance-v2__knob{box-shadow:0 0 0 3px rgba(192,132,252,.6),0 2px 8px rgba(0,0,0,.45)}.sf-seedance-v2__duration-scale{position:relative;height:18px;margin:0 0 4px;color:hsla(0,0%,100%,.38);font-size:11.5px;font-variant-numeric:tabular-nums}.sf-seedance-v2__duration-scale span{position:absolute;top:0;white-space:nowrap}.sf-seedance-v2__duration-min{left:0}.sf-seedance-v2__duration-max{right:0}.sf-seedance-v2__duration-now{left:calc(12px + (100% - 24px)*var(--sf-sd2-f, 0));color:#fff;font-weight:600;transform:translateX(-50%);transition:left .25s var(--sf-sd2-ease-pop)}.sf-seedance-v2__duration.is-at-min .sf-seedance-v2__duration-min,.sf-seedance-v2__duration.is-at-max .sf-seedance-v2__duration-max{visibility:hidden}.sf-seedance-v2__audio{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 14px;padding:12px 0 0;border:0;border-top:1px solid hsla(0,0%,100%,.06);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.sf-seedance-v2__audio .sf-seedance-v2__label{margin:0;color:#fff;font-size:13px;font-weight:500}.sf-seedance-v2__switch{position:relative;flex:none;width:36px;height:20px;border-radius:10px;background:#3a3350;transition:background .2s ease}.sf-seedance-v2__switch::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .22s cubic-bezier(0.3, 1.4, 0.5, 1)}.sf-seedance-v2__audio[aria-checked=true] .sf-seedance-v2__switch{background:var(--sf-sd2-accent)}.sf-seedance-v2__audio[aria-checked=true] .sf-seedance-v2__switch::after{transform:translateX(16px)}@media screen and (max-width: 880px){.sf-seedance-v2__panel-anchor{position:static;min-width:0}.sf-seedance-v2__panel-wrap{position:static;z-index:auto;transform:none}.sf-seedance-v2__scrim{position:fixed;inset:0;z-index:10000;display:block;background:rgba(6,5,10,.6);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .34s ease,visibility .34s}.sf-seedance-v2.is-panel-open .sf-seedance-v2__scrim{opacity:1;visibility:visible}.sf-seedance-v2__panel{position:fixed;right:0;bottom:0;left:0;z-index:10001;width:auto;max-width:none;max-height:calc(100dvh - var(--sf-header-height));padding:10px 0 0;border-radius:20px 20px 0 0;background:#16131d;box-shadow:0 -1px 0 hsla(0,0%,100%,.08),0 -24px 60px -20px rgba(0,0,0,.95);transform:translateY(102%);transition:transform .42s var(--sf-sd2-ease-sheet),opacity .3s ease,visibility .42s}.sf-seedance-v2__panel.is-open{transform:none;transition:transform .42s var(--sf-sd2-ease-sheet),opacity .3s ease,visibility .42s}.sf-seedance-v2__panel-grip{display:block;flex:0 0 auto;width:38px;height:4px;margin:0 auto 10px;border-radius:99px;background:hsla(0,0%,100%,.18)}.sf-seedance-v2__panel-head{flex:0 0 auto;margin-bottom:12px;padding:0 16px}.sf-seedance-v2__panel-title{font-size:15px}.sf-seedance-v2__panel-body{padding:0 16px 2px}.sf-seedance-v2__cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.sf-seedance-v2__card2{display:flex;flex-direction:column;align-items:flex-start;gap:2px;box-sizing:border-box;width:100%;min-width:0;padding:8px 12px;border-radius:12px;background:#221e2c;text-align:left;transition:background .2s ease,transform .12s ease}.sf-seedance-v2__card2:active{transform:scale(0.97)}.sf-seedance-v2__card2-label{color:hsla(0,0%,100%,.45);font-size:11px;letter-spacing:.3px}.sf-seedance-v2__card2-value{display:flex;align-items:center;gap:6px;width:100%;color:#fff;font-size:13px;font-weight:600;line-height:1.32}.sf-seedance-v2__card2-value svg{flex:0 0 auto;margin-left:auto}.sf-seedance-v2__label{margin-bottom:6px;color:hsla(0,0%,100%,.45);font-size:11.5px;letter-spacing:0}.sf-seedance-v2__ratios{gap:5px;margin-bottom:12px;padding:3px;border-radius:12px;background:#221e2c;box-shadow:none}.sf-seedance-v2__ratios-ind{top:3px;bottom:3px;left:calc(3px + ((100% - 31px)/6 + 5px)*var(--sf-sd2-i, 0));width:calc((100% - 31px)/6);border-radius:9px;transform:none;transition:left .42s var(--sf-sd2-ease-sheet)}.sf-seedance-v2__ratio{gap:3px;padding:7px 0 6px}.sf-seedance-v2__ratio:hover:not(.is-active){background:rgba(0,0,0,0)}.sf-seedance-v2__ratio-glyph{border-radius:3px;box-shadow:0 0 0 1.6px hsla(0,0%,100%,.45) inset;transition:box-shadow .22s ease}.sf-seedance-v2__ratio-glyph[data-ratio="21:9"]{width:20px;height:9px}.sf-seedance-v2__ratio-glyph[data-ratio="16:9"]{width:19px;height:11px}.sf-seedance-v2__ratio-glyph[data-ratio="4:3"]{width:16px;height:12px}.sf-seedance-v2__ratio-glyph[data-ratio="1:1"]{width:14px;height:14px}.sf-seedance-v2__ratio-glyph[data-ratio="3:4"]{width:12px;height:16px}.sf-seedance-v2__ratio-glyph[data-ratio="9:16"]{width:10px;height:18px}.sf-seedance-v2__ratio.is-active .sf-seedance-v2__ratio-glyph{transform:none}.sf-seedance-v2__ratio:hover:not(.is-active) .sf-seedance-v2__ratio-glyph{box-shadow:0 0 0 1.6px hsla(0,0%,100%,.45) inset}.sf-seedance-v2__ratio-label,.sf-seedance-v2__ratio:hover:not(.is-active) .sf-seedance-v2__ratio-label{color:hsla(0,0%,100%,.55);font-size:10.5px;transition:color .22s ease}.sf-seedance-v2__ratio.is-active .sf-seedance-v2__ratio-label{color:#fff}.sf-seedance-v2__seg{gap:0;margin-bottom:12px;padding:3px;border-radius:12px;background:#221e2c;box-shadow:none}.sf-seedance-v2__seg button{align-items:center;height:36px;padding:0;border-radius:10px;color:hsla(0,0%,100%,.55);font-size:12.5px;transition:color .28s ease,font-weight .1s}.sf-seedance-v2__seg button:not(.is-active):hover{background:rgba(0,0,0,0);color:hsla(0,0%,100%,.55)}.sf-seedance-v2__seg button.is-active{color:#fff}.sf-seedance-v2__seg-ind{top:3px;bottom:3px;left:calc(3px + var(--sf-sd2-i, 0)*(50% - 3px));width:calc(50% - 3px);border-radius:9px;transform:none;transition:left .4s var(--sf-sd2-ease-sheet)}.sf-seedance-v2__duration-head{margin-bottom:4px}.sf-seedance-v2__track{background:#221e2c;box-shadow:none}.sf-seedance-v2__duration-scale{margin-bottom:2px;font-size:11px}.sf-seedance-v2__audio{margin:0 0 12px}.sf-seedance-v2__panel-foot{display:grid;grid-template-columns:1fr auto;gap:14px;margin-top:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#16131d;box-shadow:0 -1px 0 hsla(0,0%,100%,.06)}.sf-seedance-v2__cost-label{font-size:11.5px}.sf-seedance-v2__done{display:block;min-width:104px;height:40px;padding:0 22px;border-radius:20px;background:var(--sf-sd2-accent);color:#fff;font-size:14px;font-weight:700;transition:transform .12s ease}.sf-seedance-v2__done:active{transform:scale(0.97)}}.sf-seedance-v2__messages{display:flex;flex-direction:column;gap:24px;max-width:860px;margin:0 auto}.sf-seedance-v2__more{flex:0 0 auto;height:1px}.sf-seedance-v2__turn{display:flex;flex-direction:column;gap:24px}.sf-seedance-v2__msg{animation:sf-sd2-in .45s var(--sf-sd2-ease-out) both}.sf-seedance-v2__msg--user{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.sf-seedance-v2__msg--user[hidden]{display:none}.sf-seedance-v2__sent-frames{display:flex;gap:8px}.sf-seedance-v2__sent-frame{position:relative;flex:0 0 auto;width:72px;height:72px;padding:0;overflow:hidden;border:0;border-radius:10px;background:#232326;box-shadow:0 0 0 1px hsla(0,0%,100%,.22) inset;cursor:zoom-in}.sf-seedance-v2__sent-frame:focus-visible{outline:2px solid var(--sf-sd2-accent-bright);outline-offset:2px}.sf-seedance-v2__sent-frame-img{display:block;width:100%;height:100%;object-fit:cover}.sf-seedance-v2__sent-frame-label{position:absolute;right:4px;bottom:4px;left:4px;display:-webkit-box;padding:2px 4px;overflow:hidden;border-radius:5px;background:rgba(0,0,0,.55);color:hsla(0,0%,100%,.85);font-size:9.5px;font-weight:600;line-height:1.2;text-align:center;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sf-seedance-v2__bubble{max-width:78%;padding:12px;border-radius:16px 16px 4px;background:#222225;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.sf-seedance-v2__think-text{display:inline-block;background:linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.28) 35%, #fff 50%, rgba(255, 255, 255, 0.28) 65%, rgba(255, 255, 255, 0.28) 100%);background-size:200% 100%;background-clip:text;color:rgba(0,0,0,0);font-size:14px;font-weight:500;letter-spacing:-0.1px;-webkit-background-clip:text;animation:sf-sd2-sheen 1.8s linear infinite}.sf-seedance-v2__dots{display:none}.sf-seedance-v2__agent-text{margin:0;color:hsla(0,0%,100%,.86);font-size:14px;line-height:1.6}.sf-seedance-v2__loading{position:relative;width:min(100%,var(--sf-sd2-frame-w),var(--sf-sd2-frame-h)*var(--sf-sd2-ar, 1));margin-top:14px;overflow:hidden;border-radius:13px;background:#16161a;box-shadow:0 0 0 1px hsla(0,0%,100%,.06) inset}.sf-seedance-v2__loading::before{position:absolute;inset:0;background:linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%);content:""}.sf-seedance-v2__sweep{position:absolute;top:-20%;bottom:-20%;left:0;width:70%;background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.012) 25%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.012) 75%, rgba(255, 255, 255, 0) 100%);filter:blur(14px);animation:sf-sd2-sweep 2.6s ease-in-out infinite}.sf-seedance-v2__load-text{position:absolute;bottom:10px;left:12px;background:linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 35%, #fff 50%, rgba(255, 255, 255, 0.35) 65%, rgba(255, 255, 255, 0.35) 100%);background-size:200% 100%;background-clip:text;color:rgba(0,0,0,0);font-size:11.5px;font-weight:500;-webkit-background-clip:text;animation:sf-sd2-sheen 1.8s linear infinite}.sf-seedance-v2__card{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,var(--sf-sd2-frame-w),var(--sf-sd2-frame-h)*var(--sf-sd2-ar, 1));overflow:hidden;border-radius:13px;background:linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 62%),hsla(0,0%,100%,.022);box-shadow:0 0 0 1px hsla(0,0%,100%,.07) inset;cursor:zoom-in;transition:transform .26s var(--sf-sd2-ease-out),box-shadow .26s ease;animation:sf-sd2-reveal .9s cubic-bezier(0.2, 0.8, 0.2, 1) both}.sf-seedance-v2__card:hover{box-shadow:0 0 0 1px hsla(0,0%,100%,.3) inset,0 18px 40px -22px rgba(0,0,0,.9);transform:translateY(-4px)}.sf-seedance-v2__card-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.sf-seedance-v2__tag{position:absolute;top:8px;left:8px;z-index:2;padding:3px 7px;border-radius:6px;background:rgba(0,0,0,.55);color:hsla(0,0%,100%,.75);font-size:9px;font-variant-numeric:tabular-nums;letter-spacing:.6px}.sf-seedance-v2__tag[hidden]{display:none}.sf-seedance-v2__action{display:flex;align-items:center;gap:6px;width:fit-content;margin-top:10px;padding:8px 12px 8px 14px;border:0;border-radius:999px;background:rgba(138,42,255,.12);box-shadow:0 0 0 1px rgba(138,42,255,.45) inset;color:var(--sf-sd2-accent-bright);font:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;transition:background .25s ease,box-shadow .25s ease,color .25s ease,transform .2s ease}.sf-seedance-v2__action svg{flex:0 0 auto;transition:transform .22s var(--sf-sd2-ease-pop)}@media(hover: hover){.sf-seedance-v2__action:hover{background:var(--sf-sd2-accent);box-shadow:0 8px 22px -12px var(--sf-sd2-accent-glow);color:#fff}.sf-seedance-v2__action:hover svg{transform:translate(2px, -2px)}}.sf-seedance-v2__action:focus-visible{outline:2px solid var(--sf-sd2-accent-bright);outline-offset:2px}.sf-seedance-v2__action:active{transform:scale(0.97)}.sf-seedance-v2__failure{display:flex;align-items:flex-start;gap:12px;box-sizing:border-box;max-width:min(100%,460px);padding:14px;border-radius:14px;background:var(--sf-sd2-surface-2);box-shadow:0 0 0 1px hsla(0,0%,100%,.07) inset,0 24px 50px -28px rgba(0,0,0,.9);color:hsla(0,0%,100%,.86)}.sf-seedance-v2__failure-icon{display:flex;flex:none;align-items:center;justify-content:center;width:28px;height:28px;border-radius:14px;background:rgba(252,165,165,.12);color:#fca5a5}.sf-seedance-v2__failure--guide .sf-seedance-v2__failure-icon{background:var(--sf-sd2-sel-bg);box-shadow:0 0 0 1px var(--sf-sd2-sel-line) inset;color:#c084fc}.sf-seedance-v2__failure-text{flex:1 1 auto;min-width:0;padding-top:4px}.sf-seedance-v2__failure-title{margin:0;color:hsla(0,0%,100%,.92);font-size:13.5px;font-weight:600;line-height:1.45}.sf-seedance-v2__failure-desc{margin:2px 0 0;color:hsla(0,0%,100%,.6);font-size:12.5px;line-height:1.5}.sf-seedance-v2__failure-action{display:inline-flex;align-items:center;gap:6px;height:36px;margin-top:12px;padding:0 14px;border:0;border-radius:10px;background:var(--sf-sd2-accent);box-shadow:0 8px 22px -12px rgba(138,42,255,.95);color:#fff;font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .2s ease,transform .12s ease}.sf-seedance-v2__failure-action svg{transition:transform .22s var(--sf-sd2-ease-pop)}@media(hover: hover){.sf-seedance-v2__failure-action:hover{background:#9640ff}.sf-seedance-v2__failure-action:hover svg{transform:translateX(2px)}}.sf-seedance-v2__failure-action:focus-visible{outline:2px solid #c084fc;outline-offset:2px}.sf-seedance-v2__failure-action:active{transform:scale(0.97)}@media screen and (max-width: 880px){.sf-seedance-v2__messages,.sf-seedance-v2__turn{gap:20px}.sf-seedance-v2__msg{animation-name:sf-sd2-in-m}.sf-seedance-v2__msg--user{animation-duration:.4s}.sf-seedance-v2__bubble{max-width:82%;padding:11px 13px;border-radius:15px 15px 4px;font-size:13.5px;line-height:1.5}.sf-seedance-v2__think{display:flex;align-items:center;gap:8px}.sf-seedance-v2__think-text{background:none;color:hsla(0,0%,100%,.6);font-size:13.5px;letter-spacing:0;animation:sf-sd2-shim 1.4s ease-in-out infinite}.sf-seedance-v2__dots{display:inline-flex;gap:3px}.sf-seedance-v2__dots i{width:4px;height:4px;border-radius:50%;background:var(--sf-sd2-accent);animation:sf-sd2-shim 1.2s ease-in-out infinite}.sf-seedance-v2__dots i:nth-child(2){animation-delay:.2s}.sf-seedance-v2__dots i:nth-child(3){animation-delay:.4s}.sf-seedance-v2__agent-text{font-size:13.5px}.sf-seedance-v2__loading{display:flex;align-items:center;justify-content:center;margin-top:12px;border-radius:14px;background:hsla(0,0%,100%,.035);box-shadow:0 0 0 1px hsla(0,0%,100%,.07) inset}.sf-seedance-v2__loading::before{display:none}.sf-seedance-v2__sweep{top:0;bottom:0;width:38%;background:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));filter:none;animation:sf-sd2-sweep-m 1.9s ease-in-out infinite}.sf-seedance-v2__load-text{position:relative;bottom:auto;left:auto;background:none;color:hsla(0,0%,100%,.55);font-size:10px;letter-spacing:.6px;animation:none}.sf-seedance-v2__card{border-radius:14px;background:hsla(0,0%,100%,.03);box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset;animation-name:sf-sd2-reveal-m}.sf-seedance-v2__card:hover{box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset;transform:none}.sf-seedance-v2__tag{top:7px;left:7px}}.sf-seedance-v2__showcase{position:relative;height:250px;margin:30px auto 0;perspective:1200px}.sf-seedance-v2__showcase::before{content:"";position:absolute;left:50%;top:50%;width:520px;height:260px;margin:-130px 0 0 -260px;border-radius:50%;background:radial-gradient(closest-side, rgba(168, 85, 247, 0.32), rgba(138, 42, 255, 0.1) 55%, transparent);filter:blur(24px);pointer-events:none}.sf-seedance-v2__shot{position:absolute;left:50%;top:50%;margin:0;overflow:hidden;border-radius:16px;background:#141119;box-shadow:0 24px 48px -16px rgba(0,0,0,.8);transition:transform .5s var(--sf-sd2-ease-out),filter .4s}.sf-seedance-v2__shot img{display:block;width:100%;height:100%;object-fit:cover}.sf-seedance-v2__shot--center{z-index:3;box-sizing:border-box;width:196px;height:234px;margin:-117px 0 0 -98px;padding:8px;border-radius:22px;background:hsla(0,0%,100%,.05);box-shadow:0 0 0 1px hsla(0,0%,100%,.12) inset,0 30px 70px -18px rgba(0,0,0,.9),0 0 60px -10px rgba(168,85,247,.35);backdrop-filter:blur(8px)}.sf-seedance-v2__shot--center img,.sf-seedance-v2__shot--center video{border-radius:15px}.sf-seedance-v2__shot--near{z-index:2;width:122px;height:172px;margin:-86px 0 0 -61px;filter:brightness(0.72)}.sf-seedance-v2__shot--far{z-index:1;width:92px;height:132px;margin:-66px 0 0 -46px;filter:brightness(0.5)}.sf-seedance-v2__shot--near.sf-seedance-v2__shot--left{transform:translateX(-128px) rotateY(16deg)}.sf-seedance-v2__shot--near.sf-seedance-v2__shot--right{transform:translateX(128px) rotateY(-16deg)}.sf-seedance-v2__shot--far.sf-seedance-v2__shot--left{transform:translateX(-212px) rotateY(24deg)}.sf-seedance-v2__shot--far.sf-seedance-v2__shot--right{transform:translateX(212px) rotateY(-24deg)}.sf-seedance-v2__shot-video{position:absolute;inset:8px;display:block;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:cover;opacity:0;transition:opacity .4s ease}.sf-seedance-v2__shot-video.is-playing{opacity:1}.sf-seedance-v2__shot-toggle{position:absolute;right:14px;bottom:14px;z-index:1;display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:13px;background:rgba(12,11,16,.6);color:#fff;cursor:pointer;backdrop-filter:blur(6px);transition:background .15s ease}.sf-seedance-v2__shot-toggle:hover{background:rgba(12,11,16,.8)}.sf-seedance-v2__shot-toggle[hidden]{display:none}.sf-seedance-v2__shot-toggle .sf-seedance-v2__shot-play{display:none}.sf-seedance-v2__shot-toggle[aria-pressed=true] .sf-seedance-v2__shot-pause{display:none}.sf-seedance-v2__shot-toggle[aria-pressed=true] .sf-seedance-v2__shot-play{display:block}@media(hover: hover){.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--near.sf-seedance-v2__shot--left{transform:translateX(-140px) rotateY(12deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--near.sf-seedance-v2__shot--right{transform:translateX(140px) rotateY(-12deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--far.sf-seedance-v2__shot--left{transform:translateX(-236px) rotateY(20deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--far.sf-seedance-v2__shot--right{transform:translateX(236px) rotateY(-20deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--near,.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--far{filter:brightness(0.85)}}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__showcase{display:none}@media screen and (min-width: 881px)and (max-height: 860px){.sf-seedance-v2__showcase{height:190px;margin-top:18px}.sf-seedance-v2__showcase>*,.sf-seedance-v2__showcase::before{scale:.76}}@media screen and (max-width: 880px){.sf-seedance-v2__showcase{height:172px;margin-top:22px}.sf-seedance-v2__showcase::before{width:320px;height:180px;margin:-90px 0 0 -160px}.sf-seedance-v2__shot--center{width:136px;height:164px;margin:-82px 0 0 -68px;padding:6px;border-radius:18px}.sf-seedance-v2__shot--center img,.sf-seedance-v2__shot--center video{border-radius:12px}.sf-seedance-v2__shot--near{width:86px;height:120px;margin:-60px 0 0 -43px;border-radius:12px}.sf-seedance-v2__shot--far{width:64px;height:92px;margin:-46px 0 0 -32px;border-radius:10px}.sf-seedance-v2__shot--near.sf-seedance-v2__shot--left{transform:translateX(-90px) rotateY(16deg)}.sf-seedance-v2__shot--near.sf-seedance-v2__shot--right{transform:translateX(90px) rotateY(-16deg)}.sf-seedance-v2__shot--far.sf-seedance-v2__shot--left{transform:translateX(-148px) rotateY(24deg)}.sf-seedance-v2__shot--far.sf-seedance-v2__shot--right{transform:translateX(148px) rotateY(-24deg)}.sf-seedance-v2__shot-video{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}.sf-seedance-v2__shot-toggle{right:10px;bottom:10px}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--near.sf-seedance-v2__shot--left{transform:translateX(-90px) rotateY(16deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--near.sf-seedance-v2__shot--right{transform:translateX(90px) rotateY(-16deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--far.sf-seedance-v2__shot--left{transform:translateX(-148px) rotateY(24deg)}.sf-seedance-v2__showcase:hover .sf-seedance-v2__shot--far.sf-seedance-v2__shot--right{transform:translateX(148px) rotateY(-24deg)}}@media screen and (max-height: 700px){.sf-seedance-v2__showcase{display:none}}@media(prefers-reduced-motion: reduce){.sf-seedance-v2__shot{transition:none}}html:has(body.sf-seedance-v2-chat),body.sf-seedance-v2-chat{overflow:hidden !important;height:100%;overscroll-behavior:none}body.sf-seedance-v2-chat #root>:not(.function-container:has(>.sf-seedance-v2)),body.sf-seedance-v2-chat #root~footer{display:none}body.sf-seedance-v2-chat .sf-seedance-v2[data-view=chat]{position:fixed;inset:0;z-index:100;height:100dvh;margin:0}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__dock{position:relative;z-index:5}.sf-seedance-v2__back{display:none;position:absolute;top:12px;left:var(--sf-sd2-gutter);z-index:6;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:18px;background:hsla(0,0%,100%,.06);box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset;color:hsla(0,0%,100%,.85);cursor:pointer;backdrop-filter:blur(10px);transition:background .15s ease,color .15s ease}.sf-seedance-v2__back:hover{background:hsla(0,0%,100%,.1);color:#fff}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__back{display:inline-flex}.sf-seedance-v2__progress{position:absolute;left:14px;right:14px;bottom:40px;height:4px;border-radius:2px;background:hsla(0,0%,100%,.08);overflow:hidden}.sf-seedance-v2__progress i{display:block;width:0;height:100%;border-radius:2px;background:var(--sf-sd2-accent);transition:width .35s linear}.sf-seedance-v2__elapsed{color:hsla(0,0%,100%,.55);font-variant-numeric:tabular-nums}.sf-seedance-v2__result{display:inline-flex;flex-direction:column;max-width:100%}.sf-seedance-v2__actions{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:center;gap:2px;margin-top:8px;padding:3px;border-radius:11px;background:#17141f;box-shadow:0 0 0 1px hsla(0,0%,100%,.07) inset;box-sizing:border-box}.sf-seedance-v2__act{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 10px;border:0;border-radius:8px;background:rgba(0,0,0,0);color:hsla(0,0%,100%,.65);font:inherit;font-size:12.5px;font-weight:500;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease,transform .12s ease}.sf-seedance-v2__act:hover{background:hsla(0,0%,100%,.07);color:#fff}.sf-seedance-v2__act:active{transform:scale(0.97)}.sf-seedance-v2__act svg{width:14px;height:14px}.sf-seedance-v2__act--icon{width:30px;padding:0}.sf-seedance-v2__actions-sep{width:1px;height:16px;margin:0 2px;background:hsla(0,0%,100%,.1)}.sf-seedance-v2__msg--agent .sf-seedance-v2__action{height:24px;margin-top:6px;padding:0;border-radius:0;background:none;box-shadow:none;color:hsla(0,0%,100%,.4);font-size:12px;font-weight:500}.sf-seedance-v2__msg--agent .sf-seedance-v2__action svg{width:12px;height:12px}@media(hover: hover){.sf-seedance-v2__msg--agent .sf-seedance-v2__action:hover{background:none;box-shadow:none;color:#c084fc}}.sf-seedance-v2__card{box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset,0 24px 50px -28px rgba(0,0,0,.9)}@media(max-width: 880px){.sf-seedance-v2__back{left:16px}.sf-seedance-v2__actions{width:max-content;max-width:100%;grid-template-columns:auto auto 1fr auto auto}.sf-seedance-v2__actions-sep{grid-column:4}.sf-seedance-v2__act{height:36px}.sf-seedance-v2__act--icon{grid-column:5;width:36px}}@media(prefers-reduced-motion: reduce){.sf-seedance-v2__progress i{transition:none}}.function-container:has(>.sf-seedance-v2){width:calc(100% + 32px - var(--sf-scrollbar-width, 0px));margin-left:-16px;padding-top:0;padding-bottom:0}@media screen and (max-width: 880px){.function-container:has(>.sf-seedance-v2){width:calc(100% + 24px - var(--sf-scrollbar-width, 0px));margin-left:-12px}}.function-container .sf-seedance-v2.function-container__inner{background:radial-gradient(60% 46% at 50% 38%, rgba(138, 42, 255, 0.13), transparent 70%),radial-gradient(120% 80% at 50% 0%, #17151d 0%, var(--sf-sd2-bg) 62%)}.sf-seedance-v2{--sf-sd2-accent: #8a2aff;--sf-sd2-accent-bright: #a329ea;--sf-sd2-accent-glow: rgba(138, 42, 255, 0.35);--sf-sd2-bg: #0c0b10;--sf-sd2-gutter: clamp(20px, 4vw, 48px);--sf-sd2-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);--sf-sd2-ease-pop: cubic-bezier(0.2, 0.9, 0.25, 1);--sf-sd2-ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1);--sf-sd2-ease-stack: cubic-bezier(0.22, 0.7, 0.2, 1);--sf-sd2-ease-sheet: cubic-bezier(0.22, 0.9, 0.2, 1);--sf-sd2-frame-w: 440px;--sf-sd2-frame-h: 420px;--sf-sd2-prompt-thumb: rgba(255, 255, 255, 0.28);--sf-sd2-surface: #1f1b2b;--sf-sd2-surface-2: #17141f;--sf-sd2-line: rgba(255, 255, 255, 0.09);--sf-sd2-muted: rgba(255, 255, 255, 0.5);--sf-sd2-sel-bg: rgba(138, 42, 255, 0.16);--sf-sd2-sel-line: rgba(168, 85, 247, 0.6);position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:max(560px + var(--sf-header-height),100dvh);top:calc(-1*var(--sf-header-height));margin-bottom:calc(-1*var(--sf-header-height));padding-top:var(--sf-header-height);overflow:hidden;color:#fff;-webkit-font-smoothing:antialiased}.sf-seedance-v2 :where(button){font-family:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sf-seedance-v2 :where(button,a,[role=button]):focus-visible{outline:2px solid var(--sf-sd2-accent);outline-offset:2px}.sf-seedance-v2__stage{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:28px var(--sf-sd2-gutter)}.sf-seedance-v2__hero{width:100%;max-width:900px;margin-top:-40px;margin-bottom:34px;text-align:center;animation:sf-sd2-rise .55s var(--sf-sd2-ease-out) both}.sf-seedance-v2__title{margin:0;font-size:clamp(30px,3.4vw,46px);font-weight:700;line-height:1.12;letter-spacing:-1.4px;color:#fff}.sf-seedance-v2__title .sf-keyword{--sf-gradual-background: linear-gradient(90deg, #b98aff 0%, #a855f7 45%, #e14bd8 100%)}.sf-seedance-v2__desc{margin:10px auto 0;font-size:15px;color:hsla(0,0%,100%,.72)}.sf-seedance-v2__thread{display:none}.sf-seedance-v2__dock{width:100%;max-width:900px;animation:sf-sd2-rise .55s var(--sf-sd2-ease-out) backwards}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__stage{align-items:stretch;justify-content:flex-start;padding:0}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__hero{display:none}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread{display:block;flex:1;min-height:0;padding:60px var(--sf-sd2-gutter) 10px;overflow-y:auto}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread::-webkit-scrollbar{width:8px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread::-webkit-scrollbar-thumb{border-radius:99px;background:hsla(0,0%,100%,.1)}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__dock{flex:0 0 auto;max-width:none;box-sizing:border-box;padding:6px var(--sf-sd2-gutter);animation:sf-sd2-in .45s var(--sf-sd2-ease-out) backwards}@media screen and (max-width: 880px){.sf-seedance-v2{height:max(520px + var(--sf-header-height),100dvh);--sf-sd2-frame-h: 360px}.sf-seedance-v2__stage{align-items:stretch;padding:0 16px 20px}.sf-seedance-v2:not([data-view=chat]) .sf-seedance-v2__stage{justify-content:flex-end;padding:12px 16px max(16px,env(safe-area-inset-bottom))}.sf-seedance-v2__hero{max-width:none;margin:auto 0;animation-name:sf-sd2-rise-m}.sf-seedance-v2__title{font-size:28px;line-height:34px;letter-spacing:-0.6px}.sf-seedance-v2__desc{margin-top:8px;font-size:13px;line-height:1.5}.sf-seedance-v2__dock{max-width:none;animation-name:sf-sd2-rise-m}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread{padding:56px 16px 8px}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__thread::-webkit-scrollbar{width:0}.sf-seedance-v2[data-view=chat] .sf-seedance-v2__dock{padding:8px 16px max(16px,env(safe-area-inset-bottom))}}@media screen and (min-width: 881px)and (max-height: 860px){.sf-seedance-v2__hero{margin-top:0;margin-bottom:26px}}@media(prefers-reduced-motion: reduce){.sf-seedance-v2 *,.sf-seedance-v2 *::before,.sf-seedance-v2 *::after{animation-duration:1ms !important;animation-iteration-count:1 !important;transition-duration:1ms !important}}