@keyframes sf-sd1-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}@keyframes sf-sd1-rise-m{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes sf-sd1-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes sf-sd1-in-m{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes sf-sd1-fade{from{opacity:0}to{opacity:1}}@keyframes sf-sd1-pop-c{from{opacity:0;transform:translateX(-50%) translateY(10px) scale(0.97)}to{opacity:1;transform:translateX(-50%)}}@keyframes sf-sd1-pop{from{opacity:0;transform:translateY(10px) scale(0.97)}to{opacity:1;transform:none}}@keyframes sf-sd1-reveal{from{opacity:0;filter:blur(10px);transform:scale(0.985)}to{opacity:1;filter:blur(0);transform:none}}@keyframes sf-sd1-reveal-m{from{opacity:0;filter:blur(12px);transform:scale(0.985)}to{opacity:1;filter:blur(0);transform:none}}@keyframes sf-sd1-sheen{from{background-position:200% 0}to{background-position:-200% 0}}@keyframes sf-sd1-sweep{from{transform:translateX(-110%) skewX(-12deg)}to{transform:translateX(190%) skewX(-12deg)}}@keyframes sf-sd1-sweep-m{from{transform:translateX(-110%) skewX(-12deg)}to{transform:translateX(200%) skewX(-12deg)}}@keyframes sf-sd1-shim{0%,100%{opacity:.45}50%{opacity:1}}@keyframes sf-sd1-spin{to{transform:rotate(360deg)}}@keyframes sf-sd1-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-sd1-flash{0%,100%{outline-color:rgba(138,42,255,0)}30%{outline-color:var(--sf-sd1-accent)}}.sf-seedance-v1__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-v1__composer.is-drop{background:rgba(138,42,255,.06);box-shadow:0 0 0 1px var(--sf-sd1-accent) inset,0 0 0 4px rgba(138,42,255,.14)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__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-v1__input{display:flex;gap:15px;padding:18px 18px 0;border-radius:18px;cursor:text}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__input{gap:13px;padding:17px 16px 0}.sf-seedance-v1__input.is-nudge,.sf-seedance-v1__assets.is-nudge{animation:sf-sd1-nudge .42s var(--sf-sd1-ease-out) 1}.sf-seedance-v1__assets{display:flex;flex:0 0 auto;gap:10px;border-radius:12px}.sf-seedance-v1[data-mode=omni] .sf-seedance-v1__frames,.sf-seedance-v1[data-mode=frames] .sf-seedance-v1__refs{display:none}.sf-seedance-v1__prompt-box{position:relative;flex:1;min-width:0;padding-top:4px;cursor:text}.sf-seedance-v1__prompt{position:relative;z-index:1;min-height:96px;max-height:176px;overflow-y:auto;outline:none;color:#fff;font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:none}.sf-seedance-v1__prompt::-webkit-scrollbar{display:none}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__prompt-box{padding-top:6px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__prompt{min-height:74px;max-height:132px;font-size:14.5px;line-height:1.5}.sf-seedance-v1__hints{position:absolute;top:4px;right:0;left:0;z-index:2;pointer-events:none}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hints{top:6px}.sf-seedance-v1__prompt:not([data-empty])+.sf-seedance-v1__hints{display:none}.sf-seedance-v1__hint{display:none;margin:0;color:hsla(0,0%,100%,.44);font-size:16px;line-height:1.55}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hint{font-size:14.5px;line-height:1.5}.sf-seedance-v1[data-mode=omni] .sf-seedance-v1__hint--omni,.sf-seedance-v1[data-mode=frames] .sf-seedance-v1__hint--frames{display:block}.sf-seedance-v1__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-sd1-accent-bright);font-size:14px;font-weight:700;line-height:1;vertical-align:middle;pointer-events:auto}.sf-seedance-v1__mention,.sf-seedance-v1__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-sd1-accent-bright);font-size:.9em;font-weight:600;line-height:inherit;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;cursor:pointer}.sf-seedance-v1__assets-hint{display:none;margin:0;padding:8px 18px 0;color:hsla(0,0%,100%,.6);font-size:12px}.sf-seedance-v1__assets-hint.is-shown{display:block}.sf-seedance-v1__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:#191919;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset,0 26px 54px -18px rgba(0,0,0,.96);animation:sf-sd1-pop .22s var(--sf-sd1-ease-pop) both}.sf-seedance-v1__mention-picker.is-open{display:flex}.sf-seedance-v1__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-sd1-ease-pop),color .2s ease}.sf-seedance-v1__mention-item img{flex:0 0 auto;width:24px;height:32px;border-radius:6px;object-fit:cover}.sf-seedance-v1__mention-item.is-active{background:hsla(0,0%,100%,.14);color:#fff;font-weight:600}.sf-seedance-v1__mention-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-seedance-v1__mention-empty{padding:8px 10px 10px}.sf-seedance-v1__mention-empty-text{margin:0 0 10px;color:hsla(0,0%,100%,.6);font-size:12.5px;line-height:1.5}.sf-seedance-v1__mention-upload{padding:8px 14px;border-radius:11px;background:var(--sf-sd1-accent);color:#fff;font-size:12.5px;font-weight:700}.sf-seedance-v1__controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:12px 16px 16px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__controls{padding:10px 14px 14px}.sf-seedance-v1__pill{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:13px;background:hsla(0,0%,100%,.035);box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset;color:hsla(0,0%,100%,.82);font-size:13px;font-weight:600;white-space:nowrap;transition:background .25s ease,box-shadow .25s ease,color .25s ease,transform .2s ease}.sf-seedance-v1__pill:hover{background:hsla(0,0%,100%,.09);color:#fff}.sf-seedance-v1__pill:active{transform:scale(0.97)}.sf-seedance-v1__pill[aria-expanded=true]{background:hsla(0,0%,100%,.1);box-shadow:0 0 0 1px hsla(0,0%,100%,.26) inset;color:#fff}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill{gap:7px;padding:8px 13px;font-size:12.5px}.sf-seedance-v1__pill--at,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--at{flex:0 0 auto;justify-content:center;width:36px;height:36px;padding:0;box-shadow:0 0 0 1px hsla(0,0%,100%,.075) inset;color:hsla(0,0%,100%,.7);font-size:15px;font-weight:700;line-height:1}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--at{width:34px;height:34px;font-size:14px}.sf-seedance-v1__history{animation:sf-sd1-fade .4s ease both}.sf-seedance-v1__history[hidden]{display:none}.sf-seedance-v1__pill-icon{display:inline-flex;color:hsla(0,0%,100%,.5)}.sf-seedance-v1__chevron{width:12px;height:12px;transition:transform .22s cubic-bezier(0.4, 0, 0.2, 1)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__chevron{width:11px;height:11px}[aria-expanded=true]>.sf-seedance-v1__chevron{transform:rotate(180deg)}.sf-seedance-v1__pill--summary{display:none}.sf-seedance-v1__select{position:relative}.sf-seedance-v1__menu{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:55;display:none;flex-direction:column;gap:6px;box-sizing:border-box;width:214px;padding:8px;border-radius:16px;background:#191919;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset,0 26px 54px -18px rgba(0,0,0,.96);transform:translateX(-50%);animation:sf-sd1-pop-c .22s var(--sf-sd1-ease-pop) both}.sf-seedance-v1__select.is-open .sf-seedance-v1__menu{display:flex}.sf-seedance-v1__menu-head{padding:6px 10px 4px;color:hsla(0,0%,100%,.45);font-size:11.5px;font-weight:600;letter-spacing:.1px}.sf-seedance-v1__option{display:flex;align-items:center;gap:10px;width:100%;padding:13px 11px;border-radius:11px;color:hsla(0,0%,100%,.72);font-size:13px;font-weight:500;text-align:left;transition:background .2s var(--sf-sd1-ease-pop),color .2s ease}.sf-seedance-v1__option:hover{background:hsla(0,0%,100%,.05);color:#fff}.sf-seedance-v1__option.is-active{background:hsla(0,0%,100%,.14);color:#fff;font-weight:600}.sf-seedance-v1__option.is-active:hover{background:hsla(0,0%,100%,.17)}.sf-seedance-v1__option-label{flex:1;min-width:0}.sf-seedance-v1__check{display:none;flex:0 0 auto}.sf-seedance-v1__option.is-active .sf-seedance-v1__check{display:block}.sf-seedance-v1__send-wrap{position:relative;display:inline-flex;flex:0 0 auto;margin-left:4px}.sf-seedance-v1__send{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:96px;height:42px;padding:0;border-radius:14px;background:rgba(138,42,255,.22);color:hsla(0,0%,100%,.55);font-size:13.5px;font-weight:700;letter-spacing:-0.1px;cursor:not-allowed;transition:transform .16s var(--sf-sd1-ease-spring),background .25s ease,color .25s ease,box-shadow .25s ease}.sf-seedance-v1__send.is-ready{background:var(--sf-sd1-accent);box-shadow:0 10px 26px -12px var(--sf-sd1-accent-glow);color:#fff;cursor:pointer}.sf-seedance-v1__send.is-ready:hover{background:var(--sf-sd1-accent-bright);box-shadow:0 12px 30px -12px var(--sf-sd1-accent-glow)}.sf-seedance-v1__send.is-ready:active{transform:scale(0.93)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__send{width:88px;height:38px;border-radius:13px}.sf-seedance-v1__send-plane{width:17px;height:17px}.sf-seedance-v1__send-gem{flex:0 0 auto;width:13px;height:13px;opacity:.9}.sf-seedance-v1__cost{font-variant-numeric:tabular-nums;font-weight:700}.sf-seedance-v1__cost:empty{display:none}.sf-seedance-v1__send-tip{position:absolute;right:0;bottom:calc(100% + 10px);z-index:56;padding:7px 11px;border-radius:9px;background:#191919;box-shadow:0 0 0 1px hsla(0,0%,100%,.1) inset,0 14px 30px -12px rgba(0,0,0,.95);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-sd1-ease-pop),visibility 0s linear .2s}@media(hover: hover){.sf-seedance-v1__send-wrap.has-tip:hover .sf-seedance-v1__send-tip{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .22s var(--sf-sd1-ease-pop),visibility 0s}}@media screen and (max-width: 880px){.sf-seedance-v1__composer{border-radius:20px;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset,0 24px 56px -34px rgba(0,0,0,.9)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__composer{max-width:none;border-radius:18px;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset}.sf-seedance-v1__input,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__input{flex-direction:column;gap:0;padding:0}.sf-seedance-v1__assets{padding:14px 14px 4px}.sf-seedance-v1__assets:has([data-count="0"]){padding:16px 14px 0}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__assets{padding:14px 13px 0}.sf-seedance-v1__prompt-box,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__prompt-box{padding:14px 14px 0}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__prompt-box{padding:10px 13px 0}.sf-seedance-v1__prompt{min-height:72px;max-height:132px;font-size:14.5px;line-height:1.55}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__prompt{min-height:48px;max-height:105px;font-size:14px;line-height:1.5}.sf-seedance-v1__hints,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hints{top:14px;right:14px;left:14px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hints{top:10px;right:13px;left:13px}.sf-seedance-v1__hint{font-size:14.5px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hint{font-size:14px}.sf-seedance-v1__hint-at{width:23px;height:23px;margin:0 3px;border-radius:7px;font-size:13px}.sf-seedance-v1__assets-hint{padding:8px 14px 0}.sf-seedance-v1__mention-picker{left:12px;max-width:calc(100% - 24px)}.sf-seedance-v1__controls,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__controls{justify-content:flex-start;gap:8px;padding:10px 12px 12px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__controls{padding:8px 11px 11px}.sf-seedance-v1__select,.sf-seedance-v1__pill--customize{display:none}.sf-seedance-v1__pill--at,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--at{width:36px;height:36px;border-radius:12px;background:hsla(0,0%,100%,.04);box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset;color:hsla(0,0%,100%,.72);font-size:14px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--at{width:32px;height:32px;border-radius:11px;font-size:13px}.sf-seedance-v1__pill--summary,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--summary{display:inline-flex;flex:0 1 auto;gap:6px;box-sizing:border-box;min-width:0;height:36px;padding:0 13px;overflow:hidden;background:hsla(0,0%,100%,.04);font-size:12.5px}.sf-seedance-v1__pill--summary svg,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--summary svg{flex:0 0 auto;width:14px;height:14px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--summary{height:32px;padding:0 11px;font-size:11.5px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__pill--summary svg{width:13px;height:13px}.sf-seedance-v1__summary{min-width:0;overflow:hidden;text-overflow:ellipsis}.sf-seedance-v1__send-wrap{margin-left:auto}.sf-seedance-v1__send{gap:5px;width:86px;height:36px;border-radius:13px;font-size:12.5px;box-shadow:none}.sf-seedance-v1__send.is-ready{box-shadow:0 10px 24px -12px var(--sf-sd1-accent-glow)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__send{width:78px;height:32px;font-size:12px}.sf-seedance-v1__send-plane{width:15px;height:15px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__send-plane{width:14px;height:14px}.sf-seedance-v1__send-gem{width:12px;height:12px;opacity:.95}}.sf-seedance-v1{--sf-sd1-tile-w: 66px;--sf-sd1-tile-h: 88px}.sf-seedance-v1[data-view=chat]{--sf-sd1-tile-w: 58px;--sf-sd1-tile-h: 78px}.sf-seedance-v1__refs{position:relative;z-index:5;flex:0 0 auto;width:var(--sf-sd1-tile-w);height:var(--sf-sd1-tile-h)}.sf-seedance-v1__refs:not([data-count="0"]){margin-right:6px}.sf-seedance-v1__refs.is-open{z-index:30}.sf-seedance-v1__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-sd1-ease-stack),background .3s ease,box-shadow .3s ease,color .3s ease;animation:sf-sd1-fade .5s ease both}.sf-seedance-v1__ref.is-highlighted{animation:sf-sd1-flash .9s ease 1}.sf-seedance-v1__ref-img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;transition:opacity .3s ease}.sf-seedance-v1__ref--0{z-index:4;transform:rotate(-4deg)}.sf-seedance-v1__ref--1{z-index:3;transform:translate(3px, -1px) rotate(4deg)}.sf-seedance-v1__ref--2{z-index:2;transform:translate(-2px, -2px) rotate(-7deg)}.sf-seedance-v1__ref--3{z-index:1;transform:translate(4px, -3px) rotate(8deg)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref{box-shadow:0 0 0 1px hsla(0,0%,100%,.28) inset,0 12px 26px -10px rgba(0,0,0,.95)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__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-v1__refs.is-open .sf-seedance-v1__ref--0{transform:translate(0, 2px) rotate(-4deg)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--0:hover{transform:translate(0, 2px) rotate(-4deg) scale(1.14)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--1{transform:translate(74px, -3px) rotate(3deg)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--1:hover{transform:translate(74px, -3px) rotate(3deg) scale(1.14)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--2{transform:translate(148px, 2px) rotate(-3deg)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--2:hover{transform:translate(148px, 2px) rotate(-3deg) scale(1.14)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--3{transform:translate(222px, -2px) rotate(4deg)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref--3:hover{transform:translate(222px, -2px) rotate(4deg) scale(1.14)}.sf-seedance-v1__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-sd1-ease-stack)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover .sf-seedance-v1__ref-name{opacity:1;transform:translate(-50%, 0)}.sf-seedance-v1__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-sd1-ease-stack),background .25s ease}.sf-seedance-v1__ref-remove:hover{background:#2c2c2f;color:#fff;transform:scale(1.12)}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover .sf-seedance-v1__ref-remove,.sf-seedance-v1__frame:hover .sf-seedance-v1__ref-remove,.sf-seedance-v1__ref-remove:focus-visible{opacity:1;transform:scale(1);pointer-events:auto}.sf-seedance-v1__ref-spin{display:none}[data-uploading]>.sf-seedance-v1__ref-img{opacity:.45}[data-uploading]>.sf-seedance-v1__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-sd1-spin .8s linear infinite}.sf-seedance-v1__ref-plus{display:inline-flex;transition:transform .4s var(--sf-sd1-ease-stack)}.sf-seedance-v1__ref-add,.sf-seedance-v1__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-sd1-ease-stack),opacity .4s ease .1s,border-color .3s ease,color .3s ease,background .3s ease}.sf-seedance-v1__ref-add:hover,.sf-seedance-v1__frame-add:hover{border-color:hsla(0,0%,100%,.6);background:#343438;color:#fff}.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref-add{transform:translate(var(--sf-sd1-tile-x), -1px) rotate(5deg)}.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add,.sf-seedance-v1__frame-add{border-color:hsla(0,0%,100%,.28);color:hsla(0,0%,100%,.62);transform:rotate(-5deg)}.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add:hover,.sf-seedance-v1__frame-add:hover{border-color:hsla(0,0%,100%,.55);background:hsla(0,0%,100%,.05);color:#fff}.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add:hover .sf-seedance-v1__ref-plus,.sf-seedance-v1__frame-add:hover .sf-seedance-v1__ref-plus{transform:scale(1.15)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add{gap:5px;border-color:hsla(0,0%,100%,.26);color:hsla(0,0%,100%,.6)}.is-drop .sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add,.is-drop .sf-seedance-v1__frame-add{border-color:var(--sf-sd1-accent);background:rgba(138,42,255,.08);color:#fff}.sf-seedance-v1__frames{display:flex;align-items:center;gap:10px}.sf-seedance-v1__frame{position:relative;flex:0 0 auto;width:var(--sf-sd1-tile-w);height:var(--sf-sd1-tile-h);border-radius:10px}.sf-seedance-v1__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-sd1-fade .5s ease both}.sf-seedance-v1__frame[data-slot=first][data-filled]{transform:rotate(-4deg)}.sf-seedance-v1__frame[data-slot=last][data-filled]{transform:rotate(4deg)}.sf-seedance-v1__frame[data-slot=last] .sf-seedance-v1__frame-add{transform:rotate(4deg)}.sf-seedance-v1__frame-label{padding:0 4px;font-size:10.5px;font-weight:600;line-height:1.2;text-align:center}.sf-seedance-v1__frame[data-filled] .sf-seedance-v1__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-v1__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-v1__frame-swap:hover{background:hsla(0,0%,100%,.12);color:#fff}@media screen and (max-width: 880px){.sf-seedance-v1{--sf-sd1-tile-w: 48px;--sf-sd1-tile-h: 62px}.sf-seedance-v1[data-view=chat]{--sf-sd1-tile-w: 44px;--sf-sd1-tile-h: 58px}.sf-seedance-v1__refs,.sf-seedance-v1__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-v1__refs::-webkit-scrollbar,.sf-seedance-v1__refs:not([data-count="0"])::-webkit-scrollbar{display:none}.sf-seedance-v1__ref,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref{position:relative;flex:0 0 auto;width:var(--sf-sd1-tile-w);height:var(--sf-sd1-tile-h);border-radius:11px;box-shadow:0 0 0 1px hsla(0,0%,100%,.18) inset;transform:none}.sf-seedance-v1__ref:hover,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover{transform:none}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__ref{border-radius:10px}.sf-seedance-v1__ref-name{display:none}.sf-seedance-v1__ref-remove,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover .sf-seedance-v1__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-sd1-ease-spring)}.sf-seedance-v1__ref-remove:hover,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover .sf-seedance-v1__ref-remove:hover{background:var(--sf-sd1-accent);transform:none}.sf-seedance-v1__ref-remove:active,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref:hover .sf-seedance-v1__ref-remove:active{transform:scale(0.9)}.sf-seedance-v1__ref-add,.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref-add,.sf-seedance-v1__frame-add{position:relative;flex:0 0 auto;width:var(--sf-sd1-tile-w);height:var(--sf-sd1-tile-h);border-color:hsla(0,0%,100%,.28);border-radius:11px;color:hsla(0,0%,100%,.55);transform:none}.sf-seedance-v1__ref-add svg,.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add svg,.sf-seedance-v1__refs.is-open .sf-seedance-v1__ref-add svg,.sf-seedance-v1__frame-add svg{width:18px;height:18px}.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add{color:hsla(0,0%,100%,.62)}.sf-seedance-v1__refs[data-count="0"] .sf-seedance-v1__ref-add svg{width:20px;height:20px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__ref-add,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__frame-add{border-color:hsla(0,0%,100%,.26);border-radius:10px;color:hsla(0,0%,100%,.58)}.sf-seedance-v1__frames{gap:9px}.sf-seedance-v1__frame,.sf-seedance-v1__frame[data-slot]{border-radius:11px;transform:none}.sf-seedance-v1__frame[data-slot=last] .sf-seedance-v1__frame-add{transform:none}.sf-seedance-v1__frame-add{gap:3px}.sf-seedance-v1__frame-label{font-size:9.5px}}.sf-seedance-v1__panel-anchor{position:relative;display:inline-flex}.sf-seedance-v1__panel-wrap{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:50;transform:translateX(calc(-50% + var(--sf-sd1-panel-dx, 0px)));pointer-events:none}.sf-seedance-v1__panel{box-sizing:border-box;width:380px;max-width:calc(100vw - 60px);max-height:420px;padding:14px;overflow-y:auto;border-radius:18px;background:#141414;box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset,0 30px 64px -20px rgba(0,0,0,.98);opacity:0;visibility:hidden;transform:translateY(12px) scale(0.975);transform-origin:bottom center;scrollbar-width:none;transition:opacity .26s var(--sf-sd1-ease-pop),transform .32s var(--sf-sd1-ease-pop),visibility 0s linear .3s}.sf-seedance-v1__panel.is-open{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .24s ease,transform .34s var(--sf-sd1-ease-pop),visibility 0s}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__panel{width:360px}.sf-seedance-v1__panel-grip,.sf-seedance-v1__cards,.sf-seedance-v1__panel-foot,.sf-seedance-v1__scrim{display:none}.sf-seedance-v1__panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.sf-seedance-v1__panel-title{font-size:15px;font-weight:700;letter-spacing:-0.3px}.sf-seedance-v1__panel-close{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;background:hsla(0,0%,100%,.06);color:hsla(0,0%,100%,.6);transition:background .2s cubic-bezier(0.4, 0, 0.2, 1),color .2s ease,transform .14s var(--sf-sd1-ease-spring);animation:sf-sd1-fade .22s ease both}.sf-seedance-v1__panel-close:hover{background:hsla(0,0%,100%,.08);color:#fff}.sf-seedance-v1__panel-close:active{transform:scale(0.97)}.sf-seedance-v1__label{margin-bottom:8px;color:hsla(0,0%,100%,.56);font-size:12px;font-weight:500;letter-spacing:.2px}.sf-seedance-v1__ratios{position:relative;display:grid;grid-template-columns:repeat(6, 1fr);gap:4px;margin-bottom:10px;padding:5px;border-radius:14px;background:hsla(0,0%,100%,.02)}.sf-seedance-v1__ratios-ind{position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 30px)/6);border-radius:10px;background:rgba(138,42,255,.16);box-shadow:0 0 0 1px rgba(138,42,255,.4) inset;transform:translateX(calc(var(--sf-sd1-i, 0) * (100% + 4px)));transition:transform .42s var(--sf-sd1-ease-pop)}.sf-seedance-v1__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-v1__ratio:hover:not(.is-active){background:hsla(0,0%,100%,.055)}.sf-seedance-v1__ratio-box{display:flex;align-items:center;justify-content:center;height:19px}.sf-seedance-v1__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-sd1-ease-pop),transform .32s var(--sf-sd1-ease-spring)}.sf-seedance-v1__ratio-glyph[data-ratio="21:9"]{width:22px;height:10px}.sf-seedance-v1__ratio-glyph[data-ratio="16:9"]{width:21px;height:12px}.sf-seedance-v1__ratio-glyph[data-ratio="4:3"]{width:18px;height:14px}.sf-seedance-v1__ratio-glyph[data-ratio="1:1"]{width:16px;height:16px}.sf-seedance-v1__ratio-glyph[data-ratio="3:4"]{width:14px;height:18px}.sf-seedance-v1__ratio-glyph[data-ratio="9:16"]{width:11px;height:20px}.sf-seedance-v1__ratio-label{color:hsla(0,0%,100%,.5);font-size:11.5px;font-weight:500;transition:color .32s ease}.sf-seedance-v1__ratio.is-active .sf-seedance-v1__ratio-glyph{box-shadow:0 0 0 1.7px var(--sf-sd1-accent) inset;transform:scale(1.08)}.sf-seedance-v1__ratio.is-active .sf-seedance-v1__ratio-label{color:#fff;font-weight:700}.sf-seedance-v1__ratio:hover:not(.is-active) .sf-seedance-v1__ratio-glyph{box-shadow:0 0 0 1.7px hsla(0,0%,100%,.7) inset}.sf-seedance-v1__ratio:hover:not(.is-active) .sf-seedance-v1__ratio-label{color:hsla(0,0%,100%,.85)}.sf-seedance-v1__seg{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:10px;padding:4px;border-radius:12px;background:hsla(0,0%,100%,.02)}.sf-seedance-v1__seg button{position:relative;z-index:1;padding:9px 0;border-radius:9px;color:hsla(0,0%,100%,.5);font-size:13px;font-weight:500;transition:color .3s ease}.sf-seedance-v1__seg button.is-active{color:#fff;font-weight:700}.sf-seedance-v1__seg button:not(.is-active):hover{background:hsla(0,0%,100%,.05);color:hsla(0,0%,100%,.8)}.sf-seedance-v1__seg-ind{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 6px);border-radius:9px;background:rgba(138,42,255,.16);box-shadow:0 0 0 1px rgba(138,42,255,.38) inset;transform:translateX(calc(var(--sf-sd1-i, 0) * (100% + 4px)));transition:transform .42s var(--sf-sd1-ease-pop)}.sf-seedance-v1__duration-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.sf-seedance-v1__duration-head .sf-seedance-v1__label{margin-bottom:0}.sf-seedance-v1__duration-value{min-width:46px;color:#fff;font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right}.sf-seedance-v1__duration-unit{margin-left:2px;color:hsla(0,0%,100%,.5);font-size:11.5px;font-weight:500}.sf-seedance-v1__slider{--sf-sd1-knob: 16px;position:relative;display:flex;align-items:center;height:26px;cursor:pointer}.sf-seedance-v1__slider input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.sf-seedance-v1__slider:hover .sf-seedance-v1__slider-knob{transform:scale(1.14)}.sf-seedance-v1__slider-rail,.sf-seedance-v1__slider-fill{position:absolute;left:calc(var(--sf-sd1-knob)/2);height:5px;border-radius:99px}.sf-seedance-v1__slider-rail{right:calc(var(--sf-sd1-knob)/2);background:hsla(0,0%,100%,.12)}.sf-seedance-v1__slider-fill{width:calc((100% - var(--sf-sd1-knob))*var(--sf-sd1-f, 0));background:var(--sf-sd1-accent);transition:width .28s var(--sf-sd1-ease-pop)}.sf-seedance-v1__slider-knob{position:absolute;left:calc(var(--sf-sd1-knob)/2 + (100% - var(--sf-sd1-knob))*var(--sf-sd1-f, 0));width:var(--sf-sd1-knob);height:var(--sf-sd1-knob);margin-left:calc(var(--sf-sd1-knob)/-2);border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.6);pointer-events:none;transition:left .28s var(--sf-sd1-ease-pop),transform .16s var(--sf-sd1-ease-spring)}.sf-seedance-v1__audio{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;cursor:pointer}.sf-seedance-v1__audio .sf-seedance-v1__label{margin-bottom:0}@media screen and (max-width: 880px){.sf-seedance-v1__panel-anchor{position:static;min-width:0}.sf-seedance-v1__panel-wrap{position:static;z-index:auto;transform:none}.sf-seedance-v1__scrim{position:fixed;inset:0;z-index:10000;display:block;background:rgba(5,5,6,.6);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .34s ease,visibility .34s}.sf-seedance-v1.is-panel-open .sf-seedance-v1__scrim{opacity:1;visibility:visible}.sf-seedance-v1__panel,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__panel{position:fixed;right:0;bottom:0;left:0;z-index:10001;display:flex;flex-direction:column;width:auto;max-width:none;max-height:calc(100dvh - var(--sf-header-height));padding:18px 0 0;overflow:hidden;border-radius:22px 22px 0 0;box-shadow:0 -20px 50px -18px rgba(0,0,0,.95);transform:translateY(102%);transition:transform .42s var(--sf-sd1-ease-sheet),opacity .3s ease,visibility .42s}.sf-seedance-v1__panel.is-open,.sf-seedance-v1[data-view=chat] .sf-seedance-v1__panel.is-open{transform:none;transition:transform .42s var(--sf-sd1-ease-sheet),opacity .3s ease,visibility .42s}.sf-seedance-v1__panel-grip{display:block;flex:0 0 auto;width:38px;height:4px;margin:0 auto 14px;border-radius:99px;background:hsla(0,0%,100%,.18)}.sf-seedance-v1__panel-head{flex:0 0 auto;margin-bottom:14px;padding:0 18px}.sf-seedance-v1__panel-close{animation:none}.sf-seedance-v1__panel-close:active{transform:scale(0.97)}.sf-seedance-v1__panel-body{flex:1 1 auto;min-height:0;padding:0 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.sf-seedance-v1__panel-body::-webkit-scrollbar{display:none}.sf-seedance-v1__cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}.sf-seedance-v1__card2{display:flex;flex-direction:column;align-items:flex-start;gap:2px;box-sizing:border-box;width:100%;min-width:0;padding:7px 11px 8px;border-radius:12px;background:hsla(0,0%,100%,.045);box-shadow:0 0 0 1px hsla(0,0%,100%,.09) inset;text-align:left;transition:background .2s ease,box-shadow .2s ease,transform .12s ease}.sf-seedance-v1__card2:hover{background:hsla(0,0%,100%,.08)}.sf-seedance-v1__card2:active{transform:scale(0.97)}.sf-seedance-v1__card2-label{color:hsla(0,0%,100%,.5);font-size:10.5px;letter-spacing:.3px}.sf-seedance-v1__card2-value{display:flex;align-items:center;gap:6px;width:100%;color:#fff;font-size:12px;font-weight:600;line-height:1.32}.sf-seedance-v1__card2-value svg{flex:0 0 auto;margin-left:auto}.sf-seedance-v1__label{letter-spacing:0}.sf-seedance-v1__ratios{gap:5px;margin-bottom:18px;background:hsla(0,0%,100%,.04)}.sf-seedance-v1__ratios-ind{left:calc(5px + (100% - 35px)/6*var(--sf-sd1-i, 0) + 5px*var(--sf-sd1-i, 0));width:calc((100% - 35px)/6);background:rgba(138,42,255,.2);box-shadow:0 0 0 1px rgba(138,42,255,.45) inset;transform:none;transition:left .42s var(--sf-sd1-ease-sheet)}.sf-seedance-v1__ratio{gap:5px;padding:9px 0 7px}.sf-seedance-v1__ratio:hover:not(.is-active){background:rgba(0,0,0,0)}.sf-seedance-v1__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-v1__ratio-glyph[data-ratio="21:9"]{width:20px;height:9px}.sf-seedance-v1__ratio-glyph[data-ratio="16:9"]{width:19px;height:11px}.sf-seedance-v1__ratio-glyph[data-ratio="4:3"]{width:16px;height:12px}.sf-seedance-v1__ratio-glyph[data-ratio="1:1"]{width:14px;height:14px}.sf-seedance-v1__ratio-glyph[data-ratio="3:4"]{width:12px;height:16px}.sf-seedance-v1__ratio-glyph[data-ratio="9:16"]{width:10px;height:18px}.sf-seedance-v1__ratio.is-active .sf-seedance-v1__ratio-glyph{box-shadow:0 0 0 1.6px var(--sf-sd1-accent) inset;transform:none}.sf-seedance-v1__ratio:hover:not(.is-active) .sf-seedance-v1__ratio-glyph{box-shadow:0 0 0 1.6px hsla(0,0%,100%,.45) inset}.sf-seedance-v1__ratio-label,.sf-seedance-v1__ratio:hover:not(.is-active) .sf-seedance-v1__ratio-label{color:hsla(0,0%,100%,.55);font-size:10px;transition:color .22s ease}.sf-seedance-v1__seg{gap:0;margin-bottom:18px;border-radius:13px;background:hsla(0,0%,100%,.05)}.sf-seedance-v1__seg button{padding:10px 0;border-radius:10px;color:hsla(0,0%,100%,.55);transition:color .28s ease,font-weight .1s}.sf-seedance-v1__seg button:not(.is-active):hover{background:rgba(0,0,0,0);color:hsla(0,0%,100%,.55)}.sf-seedance-v1__seg-ind{left:calc(4px + var(--sf-sd1-i, 0)*(50% - 2px));border-radius:10px;background:rgba(138,42,255,.2);box-shadow:0 0 0 1px rgba(138,42,255,.45) inset;transform:none;transition:left .4s var(--sf-sd1-ease-sheet)}.sf-seedance-v1__duration-head{margin-bottom:6px}.sf-seedance-v1__duration-value{min-width:0;font-size:13px}.sf-seedance-v1__duration-unit{margin-left:0;color:inherit;font-size:inherit;font-weight:inherit}.sf-seedance-v1__slider{--sf-sd1-knob: 18px;height:30px;margin-bottom:20px}.sf-seedance-v1__slider:hover .sf-seedance-v1__slider-knob{transform:none}.sf-seedance-v1__slider:active .sf-seedance-v1__slider-knob{transform:scale(1.18)}.sf-seedance-v1__audio{margin:0 0 20px}.sf-seedance-v1__panel-foot{display:block;flex:0 0 auto;padding:14px 18px calc(18px + env(safe-area-inset-bottom));background:#141414;box-shadow:0 -1px 0 hsla(0,0%,100%,.08)}.sf-seedance-v1__cost-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.sf-seedance-v1__cost-label{color:hsla(0,0%,100%,.7);font-size:12.5px;font-weight:500}.sf-seedance-v1__cost-value{display:inline-flex;align-items:center;gap:5px;color:var(--sf-sd1-accent-bright);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.sf-seedance-v1__cost-value[hidden]{display:none}.sf-seedance-v1__done{width:100%;padding:14px;border-radius:14px;background:var(--sf-sd1-accent);color:#fff;font-size:14.5px;font-weight:700;transition:transform .12s ease}.sf-seedance-v1__done:active{transform:scale(0.97)}}.sf-seedance-v1__messages{display:flex;flex-direction:column;gap:24px;max-width:860px;margin:0 auto}.sf-seedance-v1__more{flex:0 0 auto;height:1px}.sf-seedance-v1__turn{display:flex;flex-direction:column;gap:24px}.sf-seedance-v1__msg{animation:sf-sd1-in .45s var(--sf-sd1-ease-out) both}.sf-seedance-v1__msg--user{display:flex;justify-content:flex-end}.sf-seedance-v1__msg--user[hidden]{display:none}.sf-seedance-v1__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-v1__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-sd1-sheen 1.8s linear infinite}.sf-seedance-v1__dots{display:none}.sf-seedance-v1__agent-text{margin:0;color:hsla(0,0%,100%,.86);font-size:14px;line-height:1.6}.sf-seedance-v1__loading{position:relative;width:min(100%,var(--sf-sd1-frame-w),var(--sf-sd1-frame-h)*var(--sf-sd1-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-v1__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-v1__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-sd1-sweep 2.6s ease-in-out infinite}.sf-seedance-v1__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-sd1-sheen 1.8s linear infinite}.sf-seedance-v1__card{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,var(--sf-sd1-frame-w),var(--sf-sd1-frame-h)*var(--sf-sd1-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-sd1-ease-out),box-shadow .26s ease;animation:sf-sd1-reveal .9s cubic-bezier(0.2, 0.8, 0.2, 1) both}.sf-seedance-v1__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-v1__card-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.sf-seedance-v1__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-v1__tag[hidden]{display:none}.sf-seedance-v1__download{position:absolute;top:8px;right:8px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:rgba(12,12,13,.72);box-shadow:0 0 0 1px hsla(0,0%,100%,.16) inset;color:#fff;opacity:0;transform:translateY(-4px);pointer-events:none;backdrop-filter:blur(6px);transition:opacity .22s ease,transform .22s var(--sf-sd1-ease-pop),background .18s ease}.sf-seedance-v1__download:hover{background:var(--sf-sd1-accent);box-shadow:0 8px 20px -8px var(--sf-sd1-accent-glow)}.sf-seedance-v1__card:hover .sf-seedance-v1__download,.sf-seedance-v1__card:focus-within .sf-seedance-v1__download,.sf-seedance-v1__download:focus-visible{opacity:1;transform:none;pointer-events:auto}@media(hover: none){.sf-seedance-v1__download{opacity:1;transform:none;pointer-events:auto}}.sf-seedance-v1__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-sd1-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-v1__action svg{flex:0 0 auto;transition:transform .22s var(--sf-sd1-ease-pop)}@media(hover: hover){.sf-seedance-v1__action:hover{background:var(--sf-sd1-accent);box-shadow:0 8px 22px -12px var(--sf-sd1-accent-glow);color:#fff}.sf-seedance-v1__action:hover svg{transform:translate(2px, -2px)}}.sf-seedance-v1__action:focus-visible{outline:2px solid var(--sf-sd1-accent-bright);outline-offset:2px}.sf-seedance-v1__action:active{transform:scale(0.97)}.sf-seedance-v1__failure{display:inline-flex;align-items:center;gap:10px;max-width:min(100%,520px);padding:11px 12px;border-radius:12px;background:rgba(138,42,255,.08);box-shadow:0 0 0 1px rgba(138,42,255,.24) inset;color:hsla(0,0%,100%,.86)}.sf-seedance-v1__failure>svg{flex:0 0 auto;align-self:flex-start;margin-top:2px;color:var(--sf-sd1-accent-bright)}.sf-seedance-v1__failure-text{flex:1 1 auto;min-width:0}.sf-seedance-v1__failure-title{margin:0;color:hsla(0,0%,100%,.92);font-size:13.5px;font-weight:600;line-height:1.45}.sf-seedance-v1__failure-desc{margin:2px 0 0;color:hsla(0,0%,100%,.6);font-size:12.5px;line-height:1.5}.sf-seedance-v1__failure-action{display:inline-flex;align-items:center;gap:4px;margin-top:10px;padding:5px 9px 5px 11px;border:0;border-radius:8px;background:var(--sf-sd1-accent);color:#fff;font:inherit;font-size:12.5px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}.sf-seedance-v1__failure-action svg{transition:transform .22s var(--sf-sd1-ease-pop)}@media(hover: hover){.sf-seedance-v1__failure-action:hover{background:var(--sf-sd1-accent-bright);box-shadow:0 6px 16px -8px var(--sf-sd1-accent-glow)}.sf-seedance-v1__failure-action:hover svg{transform:translateX(2px)}}.sf-seedance-v1__failure-action:focus-visible{outline:2px solid var(--sf-sd1-accent-bright);outline-offset:2px}.sf-seedance-v1__failure-action:active{transform:scale(0.97)}@media screen and (max-width: 880px){.sf-seedance-v1__messages,.sf-seedance-v1__turn{gap:20px}.sf-seedance-v1__msg{animation-name:sf-sd1-in-m}.sf-seedance-v1__msg--user{animation-duration:.4s}.sf-seedance-v1__bubble{max-width:82%;padding:11px 13px;border-radius:15px 15px 4px;font-size:13.5px;line-height:1.5}.sf-seedance-v1__think{display:flex;align-items:center;gap:8px}.sf-seedance-v1__think-text{background:none;color:hsla(0,0%,100%,.6);font-size:13.5px;letter-spacing:0;animation:sf-sd1-shim 1.4s ease-in-out infinite}.sf-seedance-v1__dots{display:inline-flex;gap:3px}.sf-seedance-v1__dots i{width:4px;height:4px;border-radius:50%;background:var(--sf-sd1-accent);animation:sf-sd1-shim 1.2s ease-in-out infinite}.sf-seedance-v1__dots i:nth-child(2){animation-delay:.2s}.sf-seedance-v1__dots i:nth-child(3){animation-delay:.4s}.sf-seedance-v1__agent-text{font-size:13.5px}.sf-seedance-v1__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-v1__loading::before{display:none}.sf-seedance-v1__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-sd1-sweep-m 1.9s ease-in-out infinite}.sf-seedance-v1__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-v1__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-sd1-reveal-m}.sf-seedance-v1__card:hover{box-shadow:0 0 0 1px hsla(0,0%,100%,.08) inset;transform:none}.sf-seedance-v1__tag{top:7px;left:7px}.sf-seedance-v1__download{top:7px;right:7px;width:28px;height:28px;border-radius:9px;opacity:1;transform:none;pointer-events:auto;backdrop-filter:none}.sf-seedance-v1__download svg{width:14px;height:14px}}.function-container:has(>.sf-seedance-v1){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-v1){width:calc(100% + 24px - var(--sf-scrollbar-width, 0px));margin-left:-12px}}.function-container .sf-seedance-v1.function-container__inner{background:var(--sf-sd1-bg)}.sf-seedance-v1{--sf-sd1-accent: #8a2aff;--sf-sd1-accent-bright: #a329ea;--sf-sd1-accent-glow: rgba(138, 42, 255, 0.35);--sf-sd1-bg: #0a0a0b;--sf-sd1-gutter: clamp(20px, 4vw, 48px);--sf-sd1-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);--sf-sd1-ease-pop: cubic-bezier(0.2, 0.9, 0.25, 1);--sf-sd1-ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1);--sf-sd1-ease-stack: cubic-bezier(0.22, 0.7, 0.2, 1);--sf-sd1-ease-sheet: cubic-bezier(0.22, 0.9, 0.2, 1);--sf-sd1-frame-w: 440px;--sf-sd1-frame-h: 420px;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-v1 :where(button){font-family:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sf-seedance-v1 :where(button,a,[role=button]):focus-visible{outline:2px solid var(--sf-sd1-accent);outline-offset:2px}.sf-seedance-v1__glow{position:absolute;top:-14%;left:50%;width:800px;height:420px;transform:translateX(-50%);background:radial-gradient(50% 50% at 50% 40%, rgba(138, 42, 255, 0.09), rgba(138, 42, 255, 0) 70%);filter:blur(70px);pointer-events:none;transition:top .7s var(--sf-sd1-ease-out)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__glow{top:30%;background:radial-gradient(50% 50% at 50% 40%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 70%)}.sf-seedance-v1__backdrop{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;transition:opacity .5s ease}.sf-seedance-v1__backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%, var(--sf-sd1-bg) 100%)}.sf-seedance-v1__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;-webkit-user-drag:none}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__backdrop{opacity:0}.sf-seedance-v1__stage{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:28px var(--sf-sd1-gutter)}.sf-seedance-v1__hero{width:100%;max-width:900px;margin-top:-72px;margin-bottom:30px;text-align:center;animation:sf-sd1-rise .55s var(--sf-sd1-ease-out) both}.sf-seedance-v1__title{margin:0;font-size:clamp(28px,3.6vw,48px);font-weight:800;line-height:1.1;letter-spacing:-1.6px}.sf-seedance-v1__title .sf-keyword{--sf-gradual-background: var(--sf-keyword-background)}.sf-seedance-v1__desc{max-width:720px;margin:12px auto 0;font-size:14.5px;color:hsla(0,0%,100%,.62)}.sf-seedance-v1__thread{display:none}.sf-seedance-v1__dock{width:100%;max-width:900px;animation:sf-sd1-rise .55s var(--sf-sd1-ease-out) backwards}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__stage{align-items:stretch;justify-content:flex-start;padding:0}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__hero{display:none}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__thread{display:block;flex:1;min-height:0;padding:26px var(--sf-sd1-gutter) 10px;overflow-y:auto}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__thread::-webkit-scrollbar{width:8px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__thread::-webkit-scrollbar-thumb{border-radius:99px;background:hsla(0,0%,100%,.1)}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__dock{flex:0 0 auto;max-width:none;box-sizing:border-box;padding:6px var(--sf-sd1-gutter);animation:sf-sd1-in .45s var(--sf-sd1-ease-out) backwards}@media screen and (max-width: 880px){.sf-seedance-v1{height:max(520px + var(--sf-header-height),100dvh);--sf-sd1-frame-h: 360px}.sf-seedance-v1__glow{display:none}.sf-seedance-v1__bg{object-position:78% center}.sf-seedance-v1__stage{align-items:stretch;padding:0 16px 20px}.sf-seedance-v1__hero{max-width:none;margin-top:0;margin-bottom:24px;animation-name:sf-sd1-rise-m}.sf-seedance-v1__title{font-size:30px;line-height:1.12;letter-spacing:-1.2px}.sf-seedance-v1__desc{font-size:13.5px;line-height:1.5}.sf-seedance-v1__dock{max-width:none;animation-name:sf-sd1-rise-m}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__thread{padding:18px 16px 8px}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__thread::-webkit-scrollbar{width:0}.sf-seedance-v1[data-view=chat] .sf-seedance-v1__dock{padding:0 12px 12px}}@media(prefers-reduced-motion: reduce){.sf-seedance-v1 *,.sf-seedance-v1 *::before,.sf-seedance-v1 *::after{animation-duration:1ms !important;animation-iteration-count:1 !important;transition-duration:1ms !important}}