/* PeakPix 任务状态 v4（2026-10-03）— 排队 / 生成中 / 交付 / 失败
   只改外观。html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench = 高优先级前缀（构建时展开），保证压过站点原有的 !important 样式。
   原则：小影只出现在专属位置（缩略图、动画舞台、交付卡），绝不盖住文字和按钮。 */
@property --ppt-ang{syntax:"<angle>";inherits:false;initial-value:0deg}

/* ============ 卡片外壳 ============ */
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window{position:relative!important;isolation:isolate;overflow:hidden!important;background:linear-gradient(165deg,rgba(26,26,70,.82),rgba(10,10,32,.92))!important;border:1px solid rgba(150,156,255,.16)!important;border-radius:22px!important;transition:border-color .6s,box-shadow .6s!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;z-index:4;pointer-events:none;background:var(--ppt-bar,transparent);border-radius:22px 22px 0 0}

/* 状态胶囊 */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-result-status{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:3px 11px 3px 8px!important;border-radius:999px!important;font-weight:700!important;font-size:13px!important;line-height:1.5!important;color:var(--ppt-c,#c9cbff)!important;background:var(--ppt-pill,rgba(255,255,255,.06))!important;border:1px solid var(--ppt-pill-line,rgba(255,255,255,.1))!important;transition:color .4s,background-color .4s,border-color .4s!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-result-status i{position:relative!important;display:inline-block!important;flex:none!important;width:14px!important;height:14px!important;border-radius:50%!important;background:var(--ppt-c,#c9cbff)!important;box-shadow:none!important;animation:none!important;box-sizing:border-box!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-result-status i::before,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-result-status i::after{content:"";position:absolute}

/* 缩略图槽位：小影在这里表达状态 */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-task-benchmark{position:relative!important;overflow:hidden!important;transition:box-shadow .6s!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-task-benchmark>img{transition:filter .6s!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-task-benchmark::before,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-task-benchmark::after{content:none;position:absolute;pointer-events:none;z-index:2}

/* ============ 排队中：安静、在等，但看得出“在队伍里” ============ */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued]{--ppt-c:#c3c5ff;--ppt-pill:rgba(160,165,255,.1);--ppt-pill-line:rgba(160,165,255,.26);--ppt-bar:linear-gradient(90deg,transparent,rgba(185,187,255,.9),transparent);border-color:rgba(160,165,255,.2)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued]::before{right:auto;width:34%;animation:pptLane 3.8s cubic-bezier(.45,0,.55,1) infinite}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued] .product-result-status i{background:none!important;border:1.6px solid currentColor!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued] .product-result-status i::before{left:5.4px;top:2.2px;width:1.6px;height:4.4px;border-radius:1px;background:currentColor;transform-origin:50% 100%;transform:rotate(-40deg)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued] .product-result-status i::after{left:5.4px;top:1.4px;width:1.6px;height:5.2px;border-radius:1px;background:currentColor;transform-origin:50% 100%;animation:pptTick 6s steps(12) infinite}

/* 缩略图是这条视频自己的一帧，用来认出是哪条视频：任何状态都不压暗、不遮挡，小影只做右下角的小徽章 */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=queued],[data-user-state=failed]) .product-task-benchmark::after{content:"";right:4px;bottom:4px;width:30px;height:30px;border-radius:50%;background:rgba(10,10,32,.82) center/26px no-repeat;box-shadow:0 2px 8px rgba(0,0,0,.45)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued] .product-task-benchmark::after{background-image:url(./xiaoying-sleep-256.webp);box-shadow:0 0 0 1.5px rgba(185,187,255,.7),0 2px 8px rgba(0,0,0,.45);animation:pptDoze 3.2s ease-in-out infinite}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-task-benchmark::after{background-image:url(./xiaoying-think-256.webp);box-shadow:0 0 0 1.5px rgba(255,122,147,.8),0 2px 8px rgba(0,0,0,.45)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued] .product-task-benchmark{animation:pptWait 3.2s ease-in-out infinite!important}

/* ============ 生成中：舞台动画 + 流光边 ============ */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating]{--ppt-c:#fff;--ppt-pill:linear-gradient(135deg,rgba(107,109,255,.38),rgba(228,111,208,.26));--ppt-pill-line:rgba(180,176,255,.4);--ppt-bar:linear-gradient(90deg,#6b6dff,#9a6bff,#e46fd0,#9a6bff,#6b6dff);border-color:rgba(142,140,255,.28)!important;box-shadow:0 24px 70px rgba(70,60,220,.26)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating]::before{background-size:200% 100%;animation:pptFlow 2.6s linear infinite}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating]::after{content:"";position:absolute;inset:0;z-index:3;border-radius:22px;padding:1.5px;pointer-events:none;background:conic-gradient(from var(--ppt-ang),transparent 0 62%,rgba(142,140,255,.9) 76%,#e46fd0 84%,transparent 94%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:pptOrbit 4s linear infinite;opacity:.85}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating] .product-result-status i{background:none!important;border:2px solid rgba(255,255,255,.28)!important;border-top-color:#fff!important;animation:pptSpin .9s linear infinite!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating] .product-task-benchmark::after{content:"";left:0;right:0;top:0;height:34%;background:linear-gradient(180deg,rgba(150,160,255,0),rgba(170,180,255,.42));border-bottom:1.5px solid rgba(235,240,255,.9);box-shadow:0 2px 10px rgba(170,180,255,.7);transform:translateY(-100%);animation:pptScan 2.4s cubic-bezier(.5,0,.5,1) infinite}

html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-generation-motion{background:radial-gradient(ellipse 50% 90% at 0% 50%,rgba(110,100,255,.16),transparent 70%),rgba(8,8,28,.7)!important;border:1px solid rgba(150,156,255,.16)!important;border-radius:20px!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-art{width:min(260px,100%)!important;height:auto!important;aspect-ratio:1/1!important;margin:0 auto!important;border-radius:18px!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 42%,#1f1b5e,#0a0a24 72%)!important;box-shadow:inset 0 0 0 1px rgba(150,156,255,.14)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-art>:not(.pp-gen-canvas){display:none!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-art>.pp-gen-canvas{position:absolute;inset:0;display:block;width:100%;height:100%}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-track{height:8px!important;border-radius:8px!important;background:rgba(150,156,255,.14)!important;overflow:hidden!important;position:relative}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-track i{background:linear-gradient(90deg,#6b6dff,#9a6bff,#e46fd0)!important;border-radius:8px!important;position:relative;transition:width .9s var(--pp-ease,ease)!important;box-shadow:0 0 14px rgba(142,140,255,.75)!important}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-track i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);background-size:60px 100%;background-repeat:no-repeat;animation:pptShine 1.4s linear infinite}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-stages li.current{color:#fff!important}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-stages li.current span{background:linear-gradient(135deg,#6b6dff,#e46fd0)!important;color:#fff!important;box-shadow:0 0 0 4px rgba(142,140,255,.25)!important;animation:pptRing 1.8s ease-out infinite!important}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-stages li.complete span{background:#6ff0c4!important;color:#05301f!important}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .generation-motion-title em{color:transparent!important;background:linear-gradient(180deg,#fff,#c9c8ff);-webkit-background-clip:text;background-clip:text;font-variant-numeric:tabular-nums}

/* ============ 已完成 / 交付 ============ */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed]{--ppt-c:#8ff5d0;--ppt-pill:rgba(111,240,196,.1);--ppt-pill-line:rgba(111,240,196,.3);--ppt-bar:linear-gradient(90deg,#6ff0c4,rgba(111,240,196,.12));border-color:rgba(111,240,196,.24)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-result-status i{background:#6ff0c4!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-result-status i::after{left:4.7px;top:2.2px;width:3.4px;height:6.6px;border:solid #06301f;border-width:0 2px 2px 0;transform:rotate(45deg)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-task-benchmark::after{content:"";right:5px;bottom:5px;width:18px;height:18px;border-radius:50%;background:#6ff0c4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2306301f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 2px 8px rgba(0,0,0,.4)}

/* 成片舞台：视频按真实比例显示（不再是大黑框），右边是交付说明 */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-generation-visual.has-video{display:grid!important;grid-template-columns:fit-content(560px) minmax(0,1fr)!important;grid-template-rows:1fr auto auto 1fr!important;column-gap:28px!important;row-gap:6px!important;align-items:center!important;justify-items:start!important;padding:18px!important;border-radius:20px!important;position:relative!important;overflow:hidden!important}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-generation-visual.has-video{background:radial-gradient(ellipse 46% 120% at 0% 50%,rgba(111,240,196,.09),transparent 70%),rgba(8,8,28,.7)!important;border:1px solid rgba(150,156,255,.14)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-completed-player{grid-row:1/-1!important;grid-column:1!important;width:auto!important;max-width:100%!important;border-radius:14px!important;overflow:hidden!important;position:relative!important;box-shadow:0 0 0 1px rgba(111,240,196,.32),0 18px 50px rgba(0,0,0,.5)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-completed-video{width:auto!important;aspect-ratio:auto 9/16;max-width:100%!important;height:340px!important;max-height:62vh!important;border-radius:14px!important;background:#07071c!important;object-fit:contain!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::before{content:"成片已就绪";grid-column:2;grid-row:2;align-self:end;display:block;padding-left:40px;min-height:30px;line-height:30px;font:800 20px/30px var(--pp-font,sans-serif);color:#eafff7;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='14' fill='%236ff0c4'/%3E%3Cpath d='M9 15.5l4 4 8-8.5' fill='none' stroke='%2306301f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center/30px no-repeat}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::after{content:"点击视频即可预览 · 满意就点右上角「下载原片」";grid-column:2;grid-row:3;align-self:start;display:block;padding-left:40px;font:500 14px/1.7 var(--pp-font,sans-serif);color:#a7abd8}
/* 刚交付：小影接过成片庆祝（约 14 秒后回到常规样式） */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-delivered .product-generation-visual.has-video::before{content:"成片交付啦！";padding-left:78px;min-height:68px;line-height:68px;font-size:22px;background:url(./xiaoying-star-256.webp) left center/68px no-repeat;animation:pptCheer 1.1s 1.5s var(--pp-spring,ease) both}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-delivered .product-generation-visual.has-video::after{padding-left:78px;animation:pptFadeUp .6s 1.9s var(--pp-ease,ease) both}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-delivered{box-shadow:0 0 0 1px rgba(111,240,196,.35),0 24px 70px rgba(40,190,150,.22)!important}

/* 交付动画层（JS 在成片上临时插入，约 3.8 秒后自动移除）。
   站点 studio.css 对任务区所有元素写了 animation:none!important，所以这里的动画都要带 !important 且优先级更高。 */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver{position:absolute!important;inset:0!important;z-index:6!important;pointer-events:none!important;border-radius:inherit;overflow:hidden!important;display:block!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-veil{position:absolute;inset:0;background:repeating-linear-gradient(180deg,rgba(150,156,255,.14) 0 6px,transparent 6px 12px) left/7px 100% no-repeat,repeating-linear-gradient(180deg,rgba(150,156,255,.14) 0 6px,transparent 6px 12px) right/7px 100% no-repeat,radial-gradient(ellipse at 50% 40%,#231f66,#0a0a24 75%);clip-path:inset(0 0 0 0);animation:pptVeil 1.35s .35s cubic-bezier(.65,0,.35,1) forwards!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-sweep{position:absolute;left:-8%;right:-8%;top:-26px;height:26px;background:linear-gradient(180deg,rgba(111,240,196,0),rgba(111,240,196,.5) 70%,#eafff7);box-shadow:0 6px 26px rgba(111,240,196,.85);animation:pptSweep 1.35s .35s cubic-bezier(.65,0,.35,1) forwards!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-ring{position:absolute;left:50%;top:50%;width:90px;height:90px;margin:-45px 0 0 -45px;border-radius:50%;border:2px solid #6ff0c4;opacity:0;animation:pptBurstRing .9s 1.6s cubic-bezier(.2,.7,.3,1) forwards!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-stamp{position:absolute;left:50%;top:50%;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 16px 9px 10px;border-radius:999px;background:rgba(6,40,30,.92)!important;border:1px solid rgba(111,240,196,.6)!important;color:#eafff7;font:800 15px/1 var(--pp-font,sans-serif);box-shadow:0 10px 30px rgba(0,0,0,.45),0 0 30px rgba(111,240,196,.35);transform:translate(-50%,-50%) scale(.3);opacity:0;animation:pptStamp 2.2s 1.55s var(--pp-spring,ease) forwards!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-stamp svg{width:22px;height:22px;border-radius:50%;background:#6ff0c4!important;padding:3px;box-sizing:border-box;flex:none}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-deliver-stamp path{fill:none;stroke:#06301f;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;animation:pptDraw .45s 1.85s ease-out forwards!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-burst{position:absolute!important;inset:0!important;z-index:7!important;pointer-events:none!important;overflow:hidden!important;border-radius:inherit;display:block!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .pp-burst i{position:absolute;left:var(--x);top:var(--y);width:7px;height:11px;border-radius:2px;background:var(--c)!important;opacity:0;animation:pptConfetti 1.5s var(--d) cubic-bezier(.15,.65,.3,1) forwards!important}

/* ============ 失败：说清楚、给出路，不吓人 ============ */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed]{--ppt-c:#ffb3c3;--ppt-pill:rgba(255,122,147,.12);--ppt-pill-line:rgba(255,122,147,.32);--ppt-bar:linear-gradient(90deg,#ff7a93,rgba(255,122,147,.12));border-color:rgba(255,122,147,.28)!important;box-shadow:0 16px 50px rgba(120,20,60,.16)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-result-status i{background:#ff7a93!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-result-status i::after{content:"!";inset:0;display:grid;place-items:center;font:900 10px/14px sans-serif;color:#3a0716;text-align:center}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-task-identity-copy>p:not(.product-task-continuation-reason){position:relative!important;margin:8px 0 6px!important;padding:9px 12px 9px 36px!important;border-radius:12px!important;background:rgba(255,122,147,.08)!important;border:1px solid rgba(255,122,147,.22)!important;color:#ffd9e1!important;line-height:1.65!important;font-size:13px!important;max-width:760px;max-height:none!important;overflow:visible!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-task-identity-copy>p:not(.product-task-continuation-reason)::before{content:"!";position:absolute;left:11px;top:10px;width:16px;height:16px;border-radius:50%;background:#ff7a93;color:#3a0716;font:900 11px/16px sans-serif;text-align:center}
html[data-theme=dark] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .is-retry:not(:disabled){position:relative!important;background:linear-gradient(135deg,#6b6dff,#9a6bff 52%,#e46fd0)!important;color:#fff!important;border:0!important;box-shadow:0 8px 24px rgba(120,100,255,.42)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .is-retry:not(:disabled)::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;animation:pptNudge 2.2s 1s ease-out 3}

/* 其他状态（已取消 / 余额不足 / 待补素材 / 待同步） */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=balance],[data-user-state=materials]){--ppt-c:#ffd892;--ppt-pill:rgba(255,200,110,.1);--ppt-pill-line:rgba(255,200,110,.3);--ppt-bar:linear-gradient(90deg,#ffc86e,rgba(255,200,110,.1))}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=cancelled],[data-user-state=unavailable],[data-user-state=other]){--ppt-c:#a7abd8;--ppt-pill:rgba(167,171,216,.08);--ppt-pill-line:rgba(167,171,216,.2)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=cancelled],[data-user-state=unavailable],[data-user-state=other]) .product-result-status i{background:none!important;border:1.6px solid currentColor!important}

/* ============ 状态切换的瞬间 ============ */
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-new{animation:pptIn .6s var(--pp-ease,ease)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is(.pp-fx-changed,.pp-fx-started,.pp-fx-failed,.pp-fx-delivered) .product-result-status{animation:pptPill .7s var(--pp-spring,ease)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-started .product-generation-motion{animation:pptRise .8s var(--pp-ease,ease)!important}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-failed::after{content:"";position:absolute;inset:0;z-index:3;border-radius:22px;pointer-events:none;animation:pptFailGlow 1.6s ease-out forwards}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-failed .product-task-benchmark::after{animation:pptDrop .7s var(--pp-spring,ease)}
html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-failed .product-task-identity-copy>p:not(.product-task-continuation-reason){animation:pptFadeUp .6s .15s var(--pp-ease,ease) both!important}

@keyframes pptLane{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
@keyframes pptTick{to{transform:rotate(360deg)}}
@keyframes pptWait{0%,100%{box-shadow:0 0 0 1px rgba(185,187,255,.22)}50%{box-shadow:0 0 0 1px rgba(185,187,255,.5),0 0 18px rgba(140,140,255,.3)}}
@keyframes pptDoze{0%,100%{transform:scale(1,1)}50%{transform:scale(1.045,.955)}}
@keyframes pptZ{0%{opacity:0;transform:translate(-4px,8px) scale(.7)}30%{opacity:1}100%{opacity:0;transform:translate(6px,-10px) scale(1.1)}}
@keyframes pptFlow{to{background-position:-200% 0}}
@keyframes pptOrbit{to{--ppt-ang:360deg}}
@keyframes pptSpin{to{transform:rotate(360deg)}}
@keyframes pptScan{0%{transform:translateY(-100%)}100%{transform:translateY(300%)}}
@keyframes pptShine{from{background-position:-60px 0}to{background-position:calc(100% + 60px) 0}}
@keyframes pptRing{0%{box-shadow:0 0 0 0 rgba(142,140,255,.55)}100%{box-shadow:0 0 0 10px rgba(142,140,255,0)}}
@keyframes pptVeil{to{clip-path:inset(100% 0 0 0)}}
@keyframes pptSweep{0%{top:-26px}100%{top:100%}}
@keyframes pptBurstRing{0%{opacity:.9;transform:scale(.4)}100%{opacity:0;transform:scale(2.4)}}
@keyframes pptStamp{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}18%{opacity:1;transform:translate(-50%,-50%) scale(1)}78%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(.92)}}
@keyframes pptDraw{to{stroke-dashoffset:0}}
@keyframes pptConfetti{0%{opacity:1;transform:translate(0,0) rotate(0)}70%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))}}
@keyframes pptCheer{0%{opacity:0;transform:translateY(14px)}45%{opacity:1;transform:translateY(-8px)}100%{opacity:1;transform:none}}
@keyframes pptFadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pptPonder{0%,100%{transform:rotate(0)}30%{transform:rotate(-6deg)}60%{transform:rotate(4deg)}}
@keyframes pptQ{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
@keyframes pptNudge{0%{box-shadow:0 0 0 0 rgba(170,160,255,.65)}100%{box-shadow:0 0 0 12px rgba(170,160,255,0)}}
@keyframes pptIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes pptPill{0%{transform:scale(.8)}60%{transform:scale(1.08)}100%{transform:none}}
@keyframes pptRise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes pptFailGlow{0%{box-shadow:inset 0 0 0 1px rgba(255,122,147,0),inset 0 0 0 rgba(255,122,147,0)}25%{box-shadow:inset 0 0 0 2px rgba(255,122,147,.85),inset 0 0 40px rgba(255,122,147,.22)}100%{box-shadow:inset 0 0 0 1px rgba(255,122,147,0),inset 0 0 0 rgba(255,122,147,0)}}
@keyframes pptDrop{from{opacity:0;transform:translateY(-18px) scale(.8)}to{opacity:1;transform:none}}

/* ============ 浅色模式 ============ */
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=queued]{--ppt-c:#4f53c9;--ppt-pill:rgba(91,95,214,.08);--ppt-pill-line:rgba(91,95,214,.28)}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=generating]{--ppt-c:#fff;--ppt-pill:linear-gradient(135deg,#6b6dff,#b06bf0);--ppt-pill-line:transparent}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed]{--ppt-c:#0d7a57;--ppt-pill:rgba(20,180,130,.1);--ppt-pill-line:rgba(20,180,130,.35);--ppt-bar:linear-gradient(90deg,#22c793,rgba(34,199,147,.12))}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed]{--ppt-c:#c42a4f;--ppt-pill:rgba(230,60,100,.08);--ppt-pill-line:rgba(230,60,100,.3);--ppt-bar:linear-gradient(90deg,#ec5577,rgba(236,85,119,.12))}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=balance],[data-user-state=materials]){--ppt-c:#9a5b00;--ppt-pill:rgba(240,160,40,.1);--ppt-pill-line:rgba(240,160,40,.35)}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window:is([data-user-state=cancelled],[data-user-state=unavailable],[data-user-state=other]){--ppt-c:#5d6280}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-result-status i,html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-task-benchmark::after{background-color:#22c793!important}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-generation-visual.has-video{background:radial-gradient(ellipse 46% 120% at 0% 50%,rgba(34,199,147,.12),transparent 70%),#f4f7fb!important;border:1px solid #dce5f1!important}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::before{color:#10372b}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::after{color:#5d6280}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=failed] .product-task-identity-copy>p:not(.product-task-continuation-reason){background:#fff3f5!important;border-color:rgba(230,60,100,.28)!important;color:#7d1f36!important}
html[data-theme=light] #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .is-retry:not(:disabled){position:relative!important;background:linear-gradient(135deg,#6b6dff,#9a6bff 52%,#e46fd0)!important;color:#fff!important;border:0!important}

/* ============ 手机 ============ */
@media (max-width:700px){
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-generation-visual.has-video{grid-template-columns:fit-content(100%)!important;justify-content:center!important;grid-template-rows:auto auto auto!important;justify-items:center!important;padding:14px!important;row-gap:4px!important}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-completed-player{grid-row:1!important;margin-bottom:10px!important}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window .product-completed-video{height:300px!important}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::before{grid-column:1;grid-row:2;justify-self:center}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window[data-user-state=completed] .product-generation-visual.has-video::after{grid-column:1;grid-row:3;justify-self:center;padding-left:0;text-align:center;font-size:13px}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window.pp-fx-delivered .product-generation-visual.has-video::after{padding-left:0}
}

/* 系统开启“减少动态效果”时：保留状态配色和小影，不做动画 */
@media (prefers-reduced-motion:reduce){
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window::before,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window::after,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window *,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window *::before,html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench #productH3OmniResult .product-task-window *::after{animation:none!important;transition:none!important}
  html #jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench#jiyingWorkbench .product-task-window :is(.pp-deliver,.pp-burst){display:none!important}
}
