2137 lines
114 KiB
CSS
2137 lines
114 KiB
CSS
/* 生产管线 · 对照影擎 script-create / asset-select。不重写共享 .btn/.pill/.input。 */
|
||
.pipeline-page {
|
||
--klein: #002fa7;
|
||
--klein-hover: #002680;
|
||
--pl-muted: #6f747c;
|
||
--pl-line: rgba(34, 42, 54, 0.10);
|
||
width: 100%;
|
||
max-width: none;
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 28px clamp(40px, 3.2vw, 68px) 32px;
|
||
height: 100%;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.pipeline-page .pl-head {
|
||
min-height: 54px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
margin-bottom: 16px;
|
||
flex-shrink: 0;
|
||
}
|
||
.pipeline-page .pl-title { display: flex; align-items: center; gap: 14px; }
|
||
.pipeline-page .pl-title h1 {
|
||
margin: 0 0 5px;
|
||
font-size: 28px;
|
||
line-height: 1.2;
|
||
font-weight: 600;
|
||
letter-spacing: -.02em;
|
||
color: var(--accent-black);
|
||
}
|
||
.pipeline-page .pl-title p { margin: 0; color: var(--pl-muted); font-size: 13px; }
|
||
.pipeline-page .pl-back {
|
||
width: 38px;
|
||
height: 38px;
|
||
display: grid;
|
||
place-items: center;
|
||
flex: 0 0 auto;
|
||
border: 1px solid rgba(34, 42, 54, 0.12);
|
||
border-radius: 12px;
|
||
color: var(--accent-black);
|
||
background: rgba(255, 255, 255, 0.82);
|
||
cursor: pointer;
|
||
}
|
||
.pipeline-page .pl-back:hover { transform: translateX(-2px); background: rgba(34, 42, 54, 0.08); }
|
||
.pipeline-page .pl-back svg { width: 19px; height: 19px; }
|
||
.pipeline-page .pl-status {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
padding: 9px 13px;
|
||
border: 1px solid rgba(34, 42, 54, 0.09);
|
||
border-radius: 999px;
|
||
color: var(--pl-muted);
|
||
background: rgba(255, 255, 255, 0.76);
|
||
font-size: 12px;
|
||
}
|
||
.pipeline-page .pl-status strong { color: var(--klein); font-size: 13px; }
|
||
|
||
.pipeline-page .pl-frame {
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
display: grid;
|
||
grid-template-columns: 286px minmax(0, 1fr);
|
||
gap: 14px;
|
||
overflow: hidden;
|
||
background: transparent;
|
||
border: 0;
|
||
box-shadow: none;
|
||
}
|
||
.pipeline-page .pl-rail,
|
||
.pipeline-page .pl-main {
|
||
border: 1px solid var(--pl-line);
|
||
border-radius: 18px;
|
||
box-shadow: 0 8px 18px rgba(20, 27, 38, 0.075);
|
||
}
|
||
.pipeline-page .pl-rail {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding: 22px;
|
||
overflow: hidden;
|
||
background: rgba(249, 250, 252, 0.94);
|
||
}
|
||
.pipeline-page .pl-rail-head {
|
||
display: grid;
|
||
grid-template-columns: 40px minmax(0, 1fr);
|
||
align-items: center;
|
||
gap: 11px;
|
||
}
|
||
.pipeline-page .pl-rail-icon {
|
||
width: 40px;
|
||
height: 40px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 12px;
|
||
color: var(--klein);
|
||
background: rgba(0, 47, 167, 0.07);
|
||
}
|
||
.pipeline-page .pl-rail-icon svg { width: 18px; height: 18px; }
|
||
.pipeline-page .pl-rail-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
|
||
.pipeline-page .pl-rail-head p { margin: 4px 0 0; color: var(--pl-muted); font-size: 10px; }
|
||
.pipeline-page .pl-rail-summary {
|
||
margin-top: 20px;
|
||
padding: 12px;
|
||
border: 1px solid rgba(34, 42, 54, 0.08);
|
||
border-radius: 12px;
|
||
background: #fff;
|
||
}
|
||
.pipeline-page .pl-rail-summary > span { color: var(--pl-muted); font-size: 10px; }
|
||
.pipeline-page .pl-rail-track {
|
||
height: 5px;
|
||
margin-top: 10px;
|
||
overflow: hidden;
|
||
border-radius: 999px;
|
||
background: rgba(34, 42, 54, 0.075);
|
||
}
|
||
.pipeline-page .pl-rail-track span {
|
||
display: block;
|
||
height: 100%;
|
||
border-radius: inherit;
|
||
background: var(--klein);
|
||
transition: width 260ms ease;
|
||
}
|
||
.pipeline-page .pl-rail-steps { display: grid; gap: 9px; margin-top: 16px; overflow: auto; }
|
||
.pipeline-page .pl-step {
|
||
width: 100%;
|
||
display: grid;
|
||
grid-template-columns: 38px minmax(0, 1fr) 16px;
|
||
align-items: center;
|
||
gap: 10px;
|
||
min-height: 76px;
|
||
padding: 10px;
|
||
border: 1px solid rgba(34, 42, 54, 0.085);
|
||
border-radius: 12px;
|
||
color: var(--accent-black);
|
||
background: #fff;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
box-sizing: border-box;
|
||
transition: background-color 160ms ease, border-color 160ms ease;
|
||
}
|
||
.pipeline-page .pl-step[hidden] { display: none; }
|
||
.pipeline-page .pl-step:hover {
|
||
border-color: rgba(0, 47, 167, 0.28);
|
||
background: rgba(0, 47, 167, 0.06);
|
||
}
|
||
.pipeline-page .pl-step:hover .pl-step-chev { color: var(--klein); }
|
||
.pipeline-page .pl-step.static {
|
||
cursor: default;
|
||
}
|
||
.pipeline-page .pl-step.static:hover {
|
||
border-color: rgba(34, 42, 54, 0.085);
|
||
background: #fff;
|
||
}
|
||
.pipeline-page .pl-step.static:hover .pl-step-chev { color: var(--pl-muted); }
|
||
.pipeline-page .pl-step.current {
|
||
border-color: rgba(0, 47, 167, 0.28);
|
||
background: rgba(0, 47, 167, 0.055);
|
||
box-shadow: inset 3px 0 0 var(--klein);
|
||
}
|
||
.pipeline-page .pl-step.current:hover {
|
||
border-color: rgba(0, 47, 167, 0.42);
|
||
background: rgba(0, 47, 167, 0.10);
|
||
}
|
||
.pipeline-page .pl-step-mark {
|
||
width: 34px;
|
||
height: 34px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 10px;
|
||
color: #6f7783;
|
||
background: #eef0f4;
|
||
font-size: 9px;
|
||
font-weight: 600;
|
||
}
|
||
.pipeline-page .pl-step.current .pl-step-mark {
|
||
color: #fff;
|
||
background: var(--klein);
|
||
box-shadow: 0 7px 16px rgba(0, 47, 167, 0.18);
|
||
}
|
||
.pipeline-page .pl-step-mark svg { width: 15px; height: 15px; }
|
||
.pipeline-page .pl-step-copy { min-width: 0; display: grid; gap: 4px; }
|
||
.pipeline-page .pl-step-copy strong { font-size: 13px; }
|
||
.pipeline-page .pl-step-copy > span {
|
||
overflow: hidden;
|
||
color: var(--pl-muted);
|
||
font-size: 8px;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.pipeline-page .pl-step-chev { width: 15px; height: 15px; color: var(--pl-muted); transition: color 160ms ease; }
|
||
.pipeline-page .pl-picked { margin-top: auto; padding-top: 18px; }
|
||
.pipeline-page .pl-picked > span { color: var(--pl-muted); font-size: 9px; }
|
||
.pipeline-page .pl-picked-card {
|
||
display: grid;
|
||
grid-template-columns: 46px minmax(0, 1fr);
|
||
align-items: center;
|
||
gap: 10px;
|
||
margin-top: 8px;
|
||
padding: 10px;
|
||
border: 1px solid rgba(0, 47, 167, 0.10);
|
||
border-radius: 12px;
|
||
background: rgba(0, 47, 167, 0.04);
|
||
}
|
||
.pipeline-page .pl-picked-card img,
|
||
.pipeline-page .pl-picked-ph {
|
||
width: 46px;
|
||
height: 46px;
|
||
border-radius: 10px;
|
||
object-fit: cover;
|
||
background: #eef0f4;
|
||
}
|
||
.pipeline-page .pl-picked-card strong,
|
||
.pipeline-page .pl-picked-card small { display: block; }
|
||
.pipeline-page .pl-picked-card strong {
|
||
overflow: hidden;
|
||
font-size: 11px;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.pipeline-page .pl-picked-card small { margin-top: 4px; color: var(--pl-muted); font-size: 8px; line-height: 1.35; }
|
||
|
||
.pipeline-page .pl-main {
|
||
min-width: 0;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
background: rgba(255, 255, 255, 0.94);
|
||
}
|
||
.pipeline-page .pl-ghost,
|
||
.pipeline-page .pl-next {
|
||
min-height: 44px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
padding: 0 16px;
|
||
border-radius: 12px;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
.pipeline-page .pl-ghost {
|
||
border: 1px solid rgba(34, 42, 54, 0.11);
|
||
color: var(--accent-black);
|
||
background: #fff;
|
||
}
|
||
.pipeline-page .pl-next {
|
||
min-width: 210px;
|
||
border: 1px solid var(--klein);
|
||
color: #fff;
|
||
background: var(--klein);
|
||
box-shadow: 0 10px 22px rgba(0, 47, 167, 0.18);
|
||
}
|
||
.pipeline-page .pl-next:disabled,
|
||
.pipeline-page .pl-ghost:disabled {
|
||
opacity: .45;
|
||
cursor: not-allowed;
|
||
box-shadow: none;
|
||
}
|
||
.pipeline-page .pl-next svg { width: 16px; height: 16px; }
|
||
.pipeline-page .pl-tip { color: var(--pl-muted); font-size: 10px; }
|
||
|
||
.pipeline-page {
|
||
/* ─── Stage panes ─── */
|
||
.stage { display: none; }
|
||
.stage.active { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
|
||
|
||
.pane { background: transparent; border: 0; border-radius: 0; }
|
||
.pane-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--pl-line); }
|
||
.pane-h strong { font-size: 14px; font-weight: 600; }
|
||
|
||
.stage-foot {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 14px 20px;
|
||
margin-top: 0;
|
||
border-top: 1px solid var(--pl-line);
|
||
background: rgba(255, 255, 255, 0.96);
|
||
flex: 0 0 auto;
|
||
}
|
||
.stage-foot .info { font-size: 12px; color: var(--pl-muted); }
|
||
.stage-foot .hstack { gap: 10px; align-items: center; }
|
||
|
||
.stage[data-stage-pane="1"].active > .stage-script { flex: 1 1 0; min-height: 0; overflow: hidden; }
|
||
.stage[data-stage-pane="1"].active > .stage-script > .shot-list,
|
||
.stage[data-stage-pane="1"].active > .stage-script > .chat-pane { min-height: 0; min-width: 0; }
|
||
.stage[data-stage-pane="1"].active .shots-body,
|
||
.stage[data-stage-pane="1"].active .chat-body { max-height: none; flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
||
|
||
.stage-script-gutter { position: relative; background: transparent; cursor: col-resize; transition: background var(--t-base); }
|
||
.stage-script-gutter::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: var(--pl-line); }
|
||
.stage-script-gutter:hover::after, .stage-script-gutter.dragging::after { background: var(--klein); width: 2px; }
|
||
|
||
/* === STAGE 1 · 脚本 === */
|
||
.stage-script { display: grid; grid-template-columns: minmax(0, 1fr) 6px 390px; gap: 0; min-height: 0; flex: 1 1 0; }
|
||
.chat-pane { display: flex; flex-direction: column; background: rgba(250, 251, 253, 0.92); }
|
||
.chat-body { padding: 14px 16px; flex: 1; overflow-y: auto; max-height: 460px; display: flex; flex-direction: column; gap: 12px; }
|
||
.chat-msg {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
width: 100%;
|
||
min-width: 0;
|
||
background: none;
|
||
border: 0;
|
||
padding: 0;
|
||
}
|
||
.chat-msg.ai { align-items: flex-start; }
|
||
.chat-msg.user { align-items: flex-end; }
|
||
.chat-bubble {
|
||
width: fit-content;
|
||
max-width: 88%;
|
||
padding: 8px 12px;
|
||
font-size: 13px;
|
||
line-height: 1.55;
|
||
color: var(--accent-black);
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
border-radius: 8px;
|
||
}
|
||
.chat-msg.ai .chat-bubble {
|
||
background: #fff;
|
||
border: 1px solid rgba(34, 42, 54, 0.08);
|
||
border-radius: 8px 8px 8px 2px;
|
||
}
|
||
.chat-msg.user .chat-bubble {
|
||
background: rgba(0, 47, 167, 0.10);
|
||
border: 0;
|
||
border-radius: 8px 8px 2px 8px;
|
||
}
|
||
.chat-progress { width: 100%; padding: 2px 0; }
|
||
.chat-msg.is-progress { align-items: stretch; }
|
||
.chat-time {
|
||
margin: 0;
|
||
font-family: inherit;
|
||
font-size: 10px;
|
||
font-weight: 400;
|
||
line-height: 1;
|
||
letter-spacing: 0;
|
||
color: var(--pl-muted);
|
||
}
|
||
.ai-avatar { width: 26px; height: 26px; flex-shrink: 0; background: var(--klein); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--klein); border-radius: 8px; }
|
||
.del { text-decoration: line-through; color: var(--black-alpha-48); }
|
||
.ins { background: var(--forest-bg); color: var(--accent-forest); padding: 0 3px; }
|
||
.chat-input { padding: 14px 18px 18px; border-top: 1px solid var(--border-faint); }
|
||
.chat-input-card { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px 10px; min-width: 0; overflow: hidden; transition: border-color var(--t-base), box-shadow var(--t-base); }
|
||
.chat-input-card:focus-within { border-color: rgba(0, 47, 167, 0.38); box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.07); }
|
||
.chat-input-area { width: 100%; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: 13px; color: var(--accent-black); line-height: 1.55; resize: none; padding: 0; min-height: 42px; }
|
||
.chat-input-area::placeholder { color: var(--black-alpha-40); }
|
||
.chat-input-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
|
||
.chat-input-foot .hint { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-40); letter-spacing: .02em; }
|
||
.chat-input-foot .spacer { flex: 1; }
|
||
.chat-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; background: transparent; border: 1px solid var(--border-faint); border-radius: 50%; color: var(--ink-3); cursor: pointer; transition: border-color var(--t-base), color var(--t-base), background var(--t-base); }
|
||
.chat-icon-btn:hover { border-color: var(--accent-black); color: var(--accent-black); }
|
||
.chat-icon-btn:disabled { opacity: .45; cursor: not-allowed; }
|
||
.chat-icon-btn:disabled:hover { border-color: var(--border-faint); color: var(--ink-3); }
|
||
.chat-send-btn { width: 32px; height: 32px; display: grid; place-items: center; background: var(--klein); border: 1px solid var(--klein); border-radius: 50%; color: #fff; cursor: pointer; transition: background var(--t-base), border-color var(--t-base), transform var(--t-base); }
|
||
.chat-send-btn:hover { background: var(--klein-hover); border-color: var(--klein-hover); }
|
||
.chat-send-btn:active { transform: scale(.95); }
|
||
.chat-send-btn:disabled { background: var(--black-alpha-12); border-color: var(--black-alpha-12); color: var(--black-alpha-40); cursor: not-allowed; transform: none; }
|
||
.chat-attach-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-width: 0; max-width: 100%; }
|
||
.chat-file {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
padding: 8px 10px;
|
||
background: var(--surface);
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: var(--r-md);
|
||
}
|
||
.chat-file-ico { width: 16px; height: 16px; flex-shrink: 0; color: var(--black-alpha-48); }
|
||
.chat-file-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
|
||
.chat-file-name {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-size: 13px;
|
||
color: var(--accent-black);
|
||
line-height: 1.3;
|
||
}
|
||
.chat-file-sub { font-size: 12px; color: var(--black-alpha-48); line-height: 1.3; }
|
||
.chat-file-x {
|
||
flex-shrink: 0;
|
||
width: 18px;
|
||
height: 18px;
|
||
display: grid;
|
||
place-items: center;
|
||
background: transparent;
|
||
border: 0;
|
||
border-radius: var(--r-sm);
|
||
color: var(--black-alpha-48);
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
padding: 0;
|
||
}
|
||
.chat-file-x:hover { background: var(--black-alpha-4); color: var(--accent-black); }
|
||
|
||
.shot-list { display: flex; flex-direction: column; }
|
||
.shots-body { padding: 16px 18px; flex: 1; overflow-y: auto; max-height: 540px; display: flex; flex-direction: column; gap: 12px; position: relative; align-items: stretch; }
|
||
|
||
/* 行: 生成时左侧脚本区罩子(整体)/ 单镜罩子 + 转圈 */
|
||
.script-gen-veil { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--background-base) 86%, transparent); }
|
||
/* 方案 B · 品牌生成卡:icon-box 转圈 + 标题 + 动态点 + 橙色扫光进度条 */
|
||
.sgv-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-width: 252px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: var(--shadow-floating); }
|
||
.sgv-ico { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; background: var(--heat-12); border-radius: var(--r-sm); }
|
||
.sgv-ico .spinner { width: 18px; height: 18px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
||
.sgv-body { flex: 1; display: flex; flex-direction: column; gap: 9px; }
|
||
.sgv-title { font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
|
||
.sgv-dots { display: inline-flex; gap: 3px; align-items: center; }
|
||
.sgv-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--heat); animation: sgvBlink 1.2s infinite; }
|
||
.sgv-dots i:nth-child(2) { animation-delay: .2s; }
|
||
.sgv-dots i:nth-child(3) { animation-delay: .4s; }
|
||
.sgv-bar { position: relative; height: 4px; border-radius: 999px; background: var(--heat-12); overflow: hidden; }
|
||
.sgv-bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 42%; border-radius: 999px; background: var(--heat); animation: sgvBar 1.15s ease-in-out infinite; }
|
||
.shot-gen-veil { position: absolute; inset: 0; z-index: 4; display: flex; gap: 8px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--background-base) 80%, transparent); border-radius: 14px; }
|
||
.shot-gen-veil .mono { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
|
||
.script-gen-veil .spinner, .shot-gen-veil .spinner { width: 26px; height: 26px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; flex: 0 0 auto; }
|
||
.shot-gen-veil .spinner { width: 20px; height: 20px; }
|
||
.chat-send-btn .spinner.spinner-on-accent { width: 14px; height: 14px; border: 2px solid color-mix(in srgb, currentColor 40%, transparent); border-top-color: currentColor; border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
||
/* ⑤ 停止键:中间方块 + 外圈转圈;悬停转红提示中断 */
|
||
.chat-stop-btn { cursor: pointer; }
|
||
.chat-stop-btn:hover { background: var(--accent-crimson); border-color: var(--accent-crimson); }
|
||
.chat-stop-ring { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
|
||
.chat-stop-ring::before { content: ""; position: absolute; inset: 0; border: 2px solid color-mix(in srgb, currentColor 38%, transparent); border-top-color: currentColor; border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
||
.chat-stop-square { width: 7px; height: 7px; border-radius: 1.5px; background: currentColor; }
|
||
|
||
.shot-list > .pane-h { flex-wrap: wrap; row-gap: 8px; }
|
||
.shot-headline { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
|
||
.script-brief-summary { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
|
||
.script-brief-pill { gap: 4px; padding: 3px 8px; font-size: 12px; }
|
||
.script-brief-pill .k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
||
.script-brief-pill .v { color: var(--accent-black); max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.script-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-left: 6px; }
|
||
.script-tags .tag-group { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||
.script-tags .tg-lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; flex-shrink: 0; }
|
||
.script-tags .tag-add { width: 20px; height: 20px; display: grid; place-items: center; background: transparent; border: 1px dashed var(--black-alpha-24); border-radius: 50%; color: var(--black-alpha-48); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; transition: border-color var(--t-base), color var(--t-base), background var(--t-base); }
|
||
.script-tags .tag-add:hover { border-style: solid; border-color: var(--heat); color: var(--heat); background: var(--heat-12); }
|
||
|
||
/* 镜头脚本空缺省态 */
|
||
.shots-empty { padding: 36px 24px; margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--pl-muted); }
|
||
.shots-empty .empty-ico { width: 54px; height: 54px; border: 1px solid rgba(0, 47, 167, 0.12); border-radius: 16px; display: grid; place-items: center; color: var(--klein); background: rgba(0, 47, 167, 0.05); }
|
||
.shots-empty .empty-ico svg { width: 22px; height: 22px; }
|
||
.shots-empty .empty-title { font-size: 16px; font-weight: 600; color: var(--accent-black); }
|
||
.shots-empty .empty-hint { font-size: 12px; color: var(--pl-muted); line-height: 1.55; max-width: 280px; }
|
||
|
||
/* 镜头脚本卡 · 对照影擎 script-scene-card
|
||
shots-body 是纵向 flex + 限高滚动;卡上 overflow:hidden 会让 flex 把 min-height 当成 0,
|
||
多场时整卡被压成一条蓝边。必须锁死 shrink,高度跟内容走。 */
|
||
.shot-card {
|
||
position: relative;
|
||
flex: 0 0 auto;
|
||
width: 100%;
|
||
overflow: hidden;
|
||
border: 1px solid rgba(0, 47, 167, 0.13);
|
||
border-radius: 14px;
|
||
background: #fff;
|
||
box-shadow: 0 11px 26px rgba(20, 27, 38, 0.07);
|
||
}
|
||
.shot-head {
|
||
flex: 0 0 auto;
|
||
min-height: 50px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 14px;
|
||
padding: 12px 14px 10px;
|
||
border-bottom: 1px solid rgba(0, 47, 167, 0.13);
|
||
background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
|
||
box-shadow: inset 0 3px 0 var(--klein);
|
||
}
|
||
.shot-title { display: flex; align-items: baseline; min-width: 0; }
|
||
.shot-title strong {
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
line-height: 1.3;
|
||
color: var(--accent-black);
|
||
}
|
||
.shot-title small {
|
||
margin-left: 7px;
|
||
color: var(--pl-muted);
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
line-height: 1.3;
|
||
}
|
||
.shot-actions { display: flex; gap: 6px; }
|
||
.shot-icon-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
padding: 0;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 1px solid rgba(34, 42, 54, 0.09);
|
||
border-radius: 8px;
|
||
color: var(--pl-muted);
|
||
background: #fff;
|
||
cursor: pointer;
|
||
}
|
||
.shot-icon-btn svg { width: 13px; height: 13px; }
|
||
.shot-icon-btn:hover { color: var(--klein); border-color: rgba(0, 47, 167, 0.28); }
|
||
.shot-icon-btn:disabled { opacity: .45; cursor: not-allowed; }
|
||
.shot-icon-btn.armed { width: auto; padding: 0 8px; font-size: 12px; color: var(--accent-crimson); border-color: var(--accent-crimson); }
|
||
.shot-body { flex: 0 0 auto; display: grid; gap: 10px; padding: 13px 14px; }
|
||
.shot-edit {
|
||
display: grid;
|
||
grid-template-columns: 72px minmax(0, 1fr);
|
||
align-items: start;
|
||
gap: 10px;
|
||
}
|
||
.shot-edit > span { padding-top: 9px; color: var(--pl-muted); font-size: 12px; }
|
||
.shot-area,
|
||
.shot-dialogue {
|
||
width: 100%;
|
||
min-height: 42px;
|
||
resize: vertical;
|
||
padding: 9px 11px;
|
||
border: 1px solid transparent;
|
||
border-radius: 8px;
|
||
color: var(--accent-black);
|
||
background: rgba(34, 42, 54, 0.032);
|
||
font: inherit;
|
||
font-size: 13px;
|
||
line-height: 1.55;
|
||
box-sizing: border-box;
|
||
}
|
||
.shot-area::placeholder { color: var(--pl-muted); }
|
||
.shot-area:hover {
|
||
border-color: rgba(0, 47, 167, 0.14);
|
||
background: rgba(0, 47, 167, 0.025);
|
||
}
|
||
.shot-area:focus {
|
||
outline: none;
|
||
border-color: rgba(0, 47, 167, 0.38);
|
||
background: #fff;
|
||
box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.07);
|
||
}
|
||
.shot-dialogue { min-height: 42px; }
|
||
.shot-pills {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
padding: 0 14px 13px 96px;
|
||
}
|
||
.shot-pills span {
|
||
padding: 4px 7px;
|
||
border-radius: 999px;
|
||
color: #5b6370;
|
||
background: rgba(34, 42, 54, 0.055);
|
||
font-size: 10px;
|
||
}
|
||
.icon-mini-btn { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink-3); background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
|
||
.icon-mini-btn:hover { color: var(--klein); border-color: var(--klein); }
|
||
.icon-mini-btn.armed { width: auto; padding: 0 8px; font-size: 12px; color: var(--accent-crimson); border-color: var(--accent-crimson); background: var(--surface); }
|
||
.shot-insert-gap { flex: 0 0 auto; height: 10px; position: relative; display: flex; align-items: center; justify-content: center; padding: 0; transition: height .24s cubic-bezier(.18,.72,.28,1), padding .24s cubic-bezier(.18,.72,.28,1); }
|
||
.shot-insert-gap:hover { height: 72px; padding: 14px 0; }
|
||
.shot-insert-gap .add-shot-btn { opacity: 0; transform: translateY(4px) scale(.96); height: 28px; padding: 0 14px; background: #fff; color: var(--klein); border: 1px dashed rgba(0, 47, 167, 0.35); border-radius: 8px; font-size: 13px; font-family: inherit; font-weight: 500; cursor: pointer; transition: opacity .2s ease .04s, transform .24s cubic-bezier(.18,.72,.28,1) .04s, background var(--t-base), border-color var(--t-base), color var(--t-base); display: inline-flex; align-items: center; gap: 6px; pointer-events: none; white-space: nowrap; }
|
||
.shot-insert-gap .add-shot-btn svg { width: 12px; height: 12px; }
|
||
.shot-insert-gap:hover .add-shot-btn { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
||
.shot-insert-gap .add-shot-btn:hover { background: rgba(0, 47, 167, 0.06); border-style: solid; border-color: var(--klein); }
|
||
.shot-insert-gap--bottom { height: 72px; padding: 14px 0; }
|
||
.shot-insert-gap--bottom .add-shot-btn { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
||
|
||
/* ── Stage 4 · 视频详情弹窗(对齐设计稿 video-detail-modal) ── */
|
||
.asset-modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1010; display: flex; align-items: center; justify-content: center; padding: 40px; }
|
||
.asset-modal { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); width: min(880px, 100%); max-height: calc(100vh - 80px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
|
||
.asset-modal-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border-faint); }
|
||
.asset-modal-h h2 { font-size: 15px; font-weight: 600; }
|
||
.asset-modal-h .x { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--black-alpha-56); border-radius: var(--r-sm); margin-left: auto; }
|
||
.asset-modal-h .x:hover { background: var(--black-alpha-08); color: var(--accent-black); }
|
||
.asset-modal-body { padding: 20px 24px 24px; overflow-y: auto; flex: 1; }
|
||
.asset-modal-f { padding: 14px 20px; border-top: 1px solid var(--border-faint); display: flex; align-items: center; gap: 8px; }
|
||
.vd-main-wrap { display: flex; gap: 18px; align-items: flex-start; }
|
||
.vd-main { flex: 0 0 280px; aspect-ratio: 9/16; max-height: 460px; background: #000; border-radius: var(--r-md); overflow: hidden; position: relative; }
|
||
.vd-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
|
||
.vd-info { flex: 1; min-width: 0; }
|
||
.vd-section-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-black); margin-bottom: 10px; }
|
||
.vd-kv { display: grid; grid-template-columns: 72px 1fr; gap: 6px 10px; font-size: 13px; }
|
||
.vd-kv .k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .03em; padding-top: 1px; }
|
||
.vd-kv .v { color: var(--accent-black); min-width: 0; overflow-wrap: anywhere; }
|
||
.vd-history-h { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
|
||
.vd-history-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
|
||
.vd-history-thumb { flex: 0 0 64px; min-width: 64px; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color var(--t-base); position: relative; }
|
||
.vd-history-thumb:hover { border-color: var(--heat); }
|
||
.vd-history-thumb.current { border-color: var(--heat); background: var(--heat-12); }
|
||
.vd-history-thumb.adopted::after { content: ''; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--heat); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 9px 9px; }
|
||
.vd-history-thumb .placeholder { aspect-ratio: 9/16; }
|
||
.vd-history-thumb .ts { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); text-align: center; }
|
||
.vd-prompt-field { margin-top: 16px; }
|
||
.vd-prompt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
|
||
.vd-prompt-head .label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--black-alpha-56); letter-spacing: .04em; }
|
||
.vd-prompt-edit { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--accent-black); white-space: pre-wrap; min-height: 96px; outline: none; letter-spacing: .01em; cursor: text; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
||
.vd-prompt-edit:hover { border-color: var(--heat-20); }
|
||
.vd-prompt-edit:focus { border-color: var(--heat); background: var(--surface); box-shadow: 0 0 0 3px var(--heat-12); }
|
||
.vd-modal-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
|
||
|
||
/* 对话空态三胶囊 */
|
||
.chat-empty { padding: 28px 20px 14px; margin: auto 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
|
||
.chat-empty .ce-title { font-size: 15px; color: var(--accent-black); font-weight: 600; }
|
||
.chat-empty .ce-hint { font-size: 12px; color: var(--pl-muted); line-height: 1.6; margin-bottom: 8px; }
|
||
.chat-modes { display: flex; flex-direction: column; gap: 0; }
|
||
.chat-mode {
|
||
width: 100%;
|
||
min-height: 48px;
|
||
padding: 0 14px;
|
||
background: #fff;
|
||
border: 1px solid rgba(34, 42, 54, 0.11);
|
||
border-radius: 12px;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--accent-black);
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
margin-top: 10px;
|
||
}
|
||
.chat-mode:hover { transform: translateY(-1px); }
|
||
.chat-mode.primary { background: var(--klein); border-color: var(--klein); color: #fff; box-shadow: 0 10px 22px rgba(0, 47, 167, 0.18); }
|
||
.chat-mode svg { width: 17px; height: 17px; }
|
||
|
||
/* ============= STAGE 2 · 基础资产 · 对照影擎 asset-select ============= */
|
||
.stage[data-stage-pane="2"].active > .as-surface {
|
||
flex: 1 1 0;
|
||
min-height: 0;
|
||
display: grid;
|
||
grid-template-rows: 72px minmax(0, 1fr) 74px;
|
||
overflow: hidden;
|
||
background: #fff;
|
||
}
|
||
.as-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 18px;
|
||
padding: 0 22px;
|
||
border-bottom: 1px solid rgba(34, 42, 54, 0.08);
|
||
}
|
||
.as-head h2 { margin: 0; font-size: 19px; font-weight: 600; }
|
||
.as-head p { margin: 5px 0 0; color: var(--pl-muted); font-size: 11px; }
|
||
.as-head-side { display: flex; align-items: center; gap: 12px; }
|
||
.as-completion { display: grid; gap: 3px; text-align: right; }
|
||
.as-completion span { color: var(--pl-muted); font-size: 10px; }
|
||
.as-completion strong { color: var(--klein); font-size: 14px; font-weight: 600; }
|
||
.as-scroll {
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
padding: 20px 22px 28px;
|
||
background: #f7f9fc;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
justify-content: flex-start;
|
||
gap: 18px;
|
||
}
|
||
.as-row {
|
||
position: relative;
|
||
flex: 0 0 auto;
|
||
height: auto;
|
||
min-height: 190px;
|
||
overflow: hidden;
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 16px;
|
||
padding: 18px;
|
||
border: 1px solid rgba(0, 47, 167, 0.13);
|
||
border-radius: 16px;
|
||
background: #fff;
|
||
box-shadow: 0 12px 30px rgba(20, 27, 38, 0.075);
|
||
}
|
||
.as-row::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
width: 4px;
|
||
border-radius: 0 4px 4px 0;
|
||
background:
|
||
linear-gradient(
|
||
180deg,
|
||
rgba(0, 47, 167, 0.12) 0%,
|
||
rgba(0, 47, 167, 0.72) 14%,
|
||
var(--klein) 28%,
|
||
var(--klein) 72%,
|
||
rgba(0, 47, 167, 0.72) 86%,
|
||
rgba(0, 47, 167, 0.12) 100%
|
||
);
|
||
}
|
||
.as-row-product { grid-template-columns: 160px 190px 244px minmax(0, 1fr); align-items: start; }
|
||
.as-row-product.is-local { grid-template-columns: 160px 190px minmax(0, 1fr); }
|
||
.as-row-product .as-label { height: 176px; min-height: 176px; }
|
||
.as-row-vertical { grid-template-columns: 160px minmax(0, 1fr); align-items: stretch; }
|
||
.as-row-vertical .as-label { height: auto; min-height: 438px; }
|
||
.as-label {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
height: auto;
|
||
margin: -3px 0;
|
||
padding: 14px;
|
||
border: 1px solid rgba(0, 47, 167, 0.09);
|
||
border-radius: 12px;
|
||
background: linear-gradient(145deg, rgba(0, 47, 167, 0.065), rgba(0, 47, 167, 0.018));
|
||
}
|
||
.as-label > div > span {
|
||
width: 38px;
|
||
height: 38px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 8px;
|
||
color: var(--klein);
|
||
background: rgba(0, 47, 167, 0.08);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
}
|
||
.as-label h3 { margin: 12px 0 5px; font-size: 17px; font-weight: 600; }
|
||
.as-label small { display: block; color: var(--pl-muted); font-size: 11px; }
|
||
.as-label p { display: none; }
|
||
.as-status {
|
||
width: max-content;
|
||
padding: 6px 9px;
|
||
border-radius: 999px;
|
||
color: var(--pl-muted);
|
||
background: rgba(34, 42, 54, 0.06);
|
||
font-size: 10px;
|
||
font-weight: 500;
|
||
}
|
||
.as-status.ready { color: var(--accent-forest); background: var(--forest-bg, #e8f7ef); }
|
||
.as-label-add { margin-top: auto; }
|
||
.as-preview,
|
||
.as-work {
|
||
flex-shrink: 0;
|
||
}
|
||
.as-preview {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 176px;
|
||
min-height: 176px;
|
||
overflow: hidden;
|
||
border: 1px solid rgba(0, 47, 167, 0.15);
|
||
border-radius: 12px;
|
||
background: #fff;
|
||
box-shadow: 0 7px 18px rgba(20, 27, 38, 0.06);
|
||
}
|
||
.as-preview.ready {
|
||
background-image: var(--mock-media-url);
|
||
background-size: cover;
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
}
|
||
.as-preview-tri.ready { background-size: contain; }
|
||
.as-preview.pending:not(.ready):not(.generating)::before,
|
||
.as-gen-preview.pending:not(.ready):not(.generating)::before {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
background-color: #fff;
|
||
background-image:
|
||
radial-gradient(ellipse 4px 1px at center, rgba(0, 47, 167, 0.28) 98%, transparent),
|
||
radial-gradient(ellipse 1px 4px at center, rgba(0, 47, 167, 0.28) 98%, transparent);
|
||
background-position: center;
|
||
background-size: 10px 10px;
|
||
-webkit-mask-image: radial-gradient(ellipse 30% 18% at center, #000 0 18%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
|
||
mask-image: radial-gradient(ellipse 30% 18% at center, #000 0 18%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
|
||
}
|
||
.as-preview.pending:not(.ready):not(.generating)::after,
|
||
.as-gen-preview.pending:not(.ready):not(.generating)::after {
|
||
content: "待生成";
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
z-index: 1;
|
||
pointer-events: none;
|
||
min-width: 72px;
|
||
height: 32px;
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 0 14px;
|
||
border: 1px solid rgba(0, 47, 167, 0.26);
|
||
border-radius: 8px;
|
||
color: var(--klein);
|
||
background: #fff;
|
||
box-shadow: 0 8px 22px rgba(0, 47, 167, 0.11);
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.08em;
|
||
transform: translate(-50%, -50%);
|
||
}
|
||
.as-preview-tri.pending:not(.ready):not(.generating)::after { content: "三视图待生成"; }
|
||
.as-gen[data-asset-kind="person"] .as-gen-preview.pending:not(.ready):not(.generating)::after { content: "角色待生成"; }
|
||
.as-gen[data-asset-kind="scene"] .as-gen-preview.pending:not(.ready):not(.generating)::after { content: "场景待生成"; }
|
||
.as-preview-tag {
|
||
position: absolute;
|
||
left: 10px;
|
||
bottom: 10px;
|
||
padding: 6px 9px;
|
||
border-radius: 999px;
|
||
color: #fff;
|
||
background: rgba(17, 21, 29, 0.72);
|
||
font-size: 10px;
|
||
font-weight: 500;
|
||
}
|
||
.as-preview-hit {
|
||
position: absolute;
|
||
inset: 0;
|
||
border: 0;
|
||
padding: 0;
|
||
background: transparent;
|
||
background-image: var(--mock-media-url);
|
||
background-size: contain;
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
cursor: zoom-in;
|
||
}
|
||
.as-preview-drop { cursor: pointer; }
|
||
.as-preview.generating { display: grid; place-items: center; }
|
||
.as-preview .asset-card-loading,
|
||
.as-gen-preview .asset-card-loading { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--pl-muted); font-size: 12px; }
|
||
.as-preview .asset-spinner,
|
||
.as-gen-preview .asset-spinner {
|
||
border-color: rgba(0, 47, 167, 0.18);
|
||
border-top-color: var(--klein);
|
||
}
|
||
.as-work-col {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
}
|
||
.as-work {
|
||
width: 244px;
|
||
height: 176px;
|
||
min-height: 176px;
|
||
max-height: 176px;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-start;
|
||
gap: 0;
|
||
padding: 14px;
|
||
border: 1px solid rgba(0, 47, 167, 0.1);
|
||
border-radius: 12px;
|
||
background: #f8faff;
|
||
}
|
||
.as-work h4 { margin: 0; font-size: 14px; font-weight: 600; }
|
||
.as-work > p { margin: 8px 0 0; color: var(--pl-muted); font-size: 11px; line-height: 1.55; }
|
||
.as-row-product:not(.is-local) .as-work > p { display: none; }
|
||
.as-work-actions {
|
||
display: flex;
|
||
flex: 1 1 auto;
|
||
flex-direction: column;
|
||
justify-content: flex-end;
|
||
gap: 12px;
|
||
margin-top: auto;
|
||
}
|
||
.as-work-actions .as-ghost-btn,
|
||
.as-work-actions .as-ai-btn {
|
||
width: 100%;
|
||
min-height: 44px;
|
||
flex: 0 0 44px;
|
||
}
|
||
.as-row-product.is-local .as-work { width: min(244px, 100%); height: auto; max-height: none; }
|
||
.as-work-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
||
.as-cost { margin-left: auto; color: var(--pl-muted); font-size: 11px; }
|
||
.as-gen-stack {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-content: start;
|
||
align-items: start;
|
||
gap: 14px;
|
||
}
|
||
.as-gen {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
flex: 1 1 320px;
|
||
width: 320px;
|
||
max-width: 420px;
|
||
min-width: 280px;
|
||
min-height: 438px;
|
||
overflow: hidden;
|
||
border: 1px solid rgba(0, 47, 167, 0.15);
|
||
border-radius: 12px;
|
||
background: #fff;
|
||
box-shadow: 0 12px 28px rgba(20, 27, 38, 0.085);
|
||
}
|
||
.as-gen-preview {
|
||
position: relative;
|
||
flex: 0 0 238px;
|
||
height: 238px;
|
||
min-height: 238px;
|
||
max-height: 238px;
|
||
overflow: hidden;
|
||
border: 0;
|
||
border-bottom: 1px solid rgba(34, 42, 54, 0.08);
|
||
background: #fff;
|
||
}
|
||
.as-gen-preview.ready {
|
||
background-image: var(--mock-media-url);
|
||
background-size: cover;
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
}
|
||
.as-gen[data-asset-kind="person"] .as-gen-preview.ready {
|
||
background-image: none;
|
||
background-position: center top;
|
||
}
|
||
.as-gen-photo {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
object-position: center top;
|
||
pointer-events: none;
|
||
display: block;
|
||
}
|
||
.as-gen-preview.generating { display: grid; place-items: center; }
|
||
.as-gen-preview.ready.generating { display: block; }
|
||
.as-gen-meta {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
flex: 0 0 auto;
|
||
padding: 13px 14px 9px;
|
||
}
|
||
.as-gen-meta h4,
|
||
.as-gen-meta input {
|
||
margin: 0;
|
||
min-width: 0;
|
||
flex: 1;
|
||
border: 0;
|
||
padding: 0;
|
||
background: transparent;
|
||
color: var(--accent-black);
|
||
font: inherit;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
outline: none;
|
||
}
|
||
.as-gen-meta h4 { cursor: pointer; }
|
||
.as-gen-meta-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
|
||
.as-gen-meta > span,
|
||
.as-gen-meta-side > span {
|
||
padding: 5px 8px;
|
||
border-radius: 999px;
|
||
color: #677080;
|
||
background: #eef0f3;
|
||
font-size: 10px;
|
||
font-weight: 500;
|
||
white-space: nowrap;
|
||
}
|
||
.as-gen-prompt {
|
||
flex: 0 0 92px;
|
||
width: calc(100% - 28px);
|
||
height: 92px;
|
||
min-height: 92px;
|
||
margin: 0 14px;
|
||
padding: 11px 12px;
|
||
box-sizing: border-box;
|
||
overflow-y: auto;
|
||
border: 1px solid rgba(34, 42, 54, 0.1);
|
||
border-radius: 8px;
|
||
color: #4d5665;
|
||
background: #fafbfc;
|
||
font: inherit;
|
||
font-size: 12px;
|
||
line-height: 1.65;
|
||
outline: none;
|
||
}
|
||
.as-gen-prompt:focus {
|
||
border-color: rgba(0, 47, 167, 0.38);
|
||
background: #fff;
|
||
box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.06);
|
||
}
|
||
.as-gen-actions {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 10px;
|
||
flex: 0 0 auto;
|
||
padding: 12px 14px 14px;
|
||
}
|
||
.as-gen-actions .as-ghost-btn,
|
||
.as-gen-actions .as-ai-btn {
|
||
width: 100%;
|
||
min-height: 40px;
|
||
}
|
||
.as-empty {
|
||
min-height: 438px;
|
||
display: grid;
|
||
place-items: center;
|
||
color: var(--pl-muted);
|
||
font-size: 12px;
|
||
border: 1px dashed rgba(0, 47, 167, 0.22);
|
||
border-radius: 12px;
|
||
background: rgba(0, 47, 167, 0.02);
|
||
}
|
||
.as-action-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 18px;
|
||
padding: 0 20px;
|
||
border-top: 1px solid rgba(34, 42, 54, 0.09);
|
||
background: rgba(255, 255, 255, 0.97);
|
||
}
|
||
.as-action-bar > span {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
min-width: 0;
|
||
color: var(--pl-muted);
|
||
font-size: 11px;
|
||
line-height: 1.4;
|
||
}
|
||
.as-action-bar > span svg { width: 14px; height: 14px; flex-shrink: 0; }
|
||
.as-action-bar > div { display: flex; align-items: center; gap: 9px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
|
||
.as-spec-fields {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
gap: 8px;
|
||
}
|
||
.as-spec-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 3px;
|
||
min-width: 0;
|
||
}
|
||
.as-spec-field:nth-child(1),
|
||
.as-spec-field:nth-child(2) { width: 118px; }
|
||
.as-spec-field:nth-child(3) { width: 156px; }
|
||
.as-spec-field > span {
|
||
font-size: 10px;
|
||
line-height: 1;
|
||
color: var(--pl-muted);
|
||
white-space: nowrap;
|
||
}
|
||
.stage-foot .as-spec-fields { margin-right: 2px; }
|
||
.as-action-bar .pl-ghost,
|
||
.as-action-bar .pl-next { height: 42px; min-height: 42px; }
|
||
.as-ai-btn,
|
||
.as-ghost-btn {
|
||
min-height: 38px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 6px;
|
||
padding: 0 12px;
|
||
border-radius: 10px;
|
||
font: inherit;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
.as-ai-btn { border: 1px solid var(--klein); color: #fff; background: var(--klein); }
|
||
.as-ai-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 47, 167, 0.17); }
|
||
.as-ai-btn svg, .as-ghost-btn svg { width: 14px; height: 14px; }
|
||
.as-ai-btn:disabled, .as-ghost-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
|
||
.as-ai-btn-lg { min-height: 44px; margin-top: 18px; padding: 0 18px; font-size: 14px; }
|
||
.as-ghost-btn { border: 1px solid rgba(0, 47, 167, 0.19); color: var(--klein); background: #fff; }
|
||
.as-ghost-btn:hover { transform: translateY(-1px); border-color: rgba(0, 47, 167, 0.38); background: #eef5ff; }
|
||
.as-ghost-btn-sm { min-height: 30px; font-size: 12px; }
|
||
@media (max-width: 1180px) {
|
||
.as-row-product { grid-template-columns: 150px 1fr 1fr; }
|
||
.as-work-col { grid-column: 1 / -1; }
|
||
.as-work { width: min(244px, 100%); }
|
||
.as-row-vertical { grid-template-columns: 150px minmax(0, 1fr); }
|
||
}
|
||
|
||
.asset-sec { min-width: 0; scroll-margin-top: 16px; }
|
||
.asset-sec + .asset-sec { margin-top: 32px; }
|
||
.asset-sec .sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
|
||
.asset-sec .sec-h h3 { font-size: 15px; font-weight: 600; }
|
||
|
||
.asset-grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
|
||
.prod-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
|
||
/* 商品卡与下方人物/场景卡统一尺寸:240px 宽 + 方图(原 360px高/3:5 高窄,跟人物卡不一致) */
|
||
.prod-row > .asset-card-2 { flex: 0 0 240px; width: 240px; min-width: 0; }
|
||
.prod-preview { flex: 0 0 360px; height: 360px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px; display: none; flex-direction: column; gap: 10px; }
|
||
.prod-preview.show { display: flex; }
|
||
.prod-preview-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .04em; text-transform: uppercase; }
|
||
.prod-preview-img { aspect-ratio: 16/9; }
|
||
.prod-preview-foot { display: flex; align-items: center; gap: 8px; min-height: 30px; }
|
||
.prod-preview-history { display: none; flex-direction: column; gap: 6px; }
|
||
.prod-preview-history.show { display: flex; }
|
||
.prod-preview-history .h-lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; }
|
||
.prod-preview-history .h-lbl .ct { color: var(--accent-black); font-weight: 600; }
|
||
.prod-preview-history .h-row { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
|
||
.prod-preview-history .h-thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 16/9; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-sm); position: relative; cursor: pointer; transition: border-color var(--t-base); display: grid; place-items: center; overflow: hidden; }
|
||
.prod-preview-history .h-thumb:hover { border-color: rgba(0, 47, 167, 0.28); }
|
||
.prod-preview-history .h-thumb.adopted { border-color: var(--klein); border-width: 2px; box-shadow: 0 0 0 2px rgba(0, 47, 167, 0.12); }
|
||
.prod-preview-history .h-thumb.previewing { border-color: var(--accent-black); border-width: 2px; }
|
||
.prod-preview-history .h-thumb .v { font-family: var(--font-mono); font-size: 10px; color: var(--black-alpha-56); letter-spacing: .02em; position: relative; z-index: 1; }
|
||
.prod-preview-history .h-thumb.adopted .v { color: var(--klein); font-weight: 600; }
|
||
.prod-preview-history .h-thumb.previewing .v { color: var(--accent-black); font-weight: 600; }
|
||
.prod-preview-history .h-thumb .badge { position: absolute; top: 2px; left: 2px; font-family: var(--font-mono); font-size: 9px; padding: 0 4px; line-height: 12px; background: var(--klein); color: #fff; border-radius: 2px; letter-spacing: .02em; display: none; z-index: 2; }
|
||
.prod-preview-history .h-thumb.adopted .badge { display: block; }
|
||
.prod-preview-img.is-zoomable { cursor: zoom-in; transition: border-color var(--t-base); }
|
||
.prod-preview-img.is-zoomable:hover { border-color: var(--heat-40); }
|
||
/* 三视图空态 = 上传框:虚线示意可投放,hover 转橙提示可点 */
|
||
.prod-tri-drop { cursor: pointer; border-style: dashed; transition: border-color var(--t-base); }
|
||
.prod-tri-drop:hover { border-color: var(--heat-40); }
|
||
.prod-tri-drop:hover .ph-frame { color: var(--heat); border-color: var(--heat-20); }
|
||
.prod-preview-adopt:disabled, .prod-preview-adopt:disabled:hover { color: var(--klein); border-color: rgba(0, 47, 167, 0.28); background: rgba(0, 47, 167, 0.08); cursor: not-allowed; opacity: 1; }
|
||
|
||
.asset-card-2 { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-base), box-shadow var(--t-base); overflow: hidden; display: flex; flex-direction: column; }
|
||
.asset-card-2:hover { border-color: rgba(0, 47, 167, 0.28); box-shadow: 0 8px 22px rgba(20, 27, 38, 0.06); }
|
||
/* 流程步骤4 · 来自脚本提取、尚未生成的 seed 卡:虚线边 + 占位灰底,区别于已生成卡 */
|
||
.asset-card-2.asset-seed { border-style: dashed; cursor: default; }
|
||
.asset-card-2.asset-seed .thumb-2 { opacity: .7; }
|
||
.asset-card-2 .thumb-2 { aspect-ratio: 1; }
|
||
.asset-card-2 .body-2 { padding: 12px 14px; }
|
||
/* 对齐设计稿:人物/场景卡提示词框(mono 可编辑,非 textarea) */
|
||
.prompt-box { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--black-alpha-56); margin-top: 8px; line-height: 1.55; font-family: var(--font-mono); letter-spacing: .01em; transition: border-color var(--t-base), background var(--t-base); }
|
||
.prompt-box[contenteditable="true"] { cursor: text; outline: none; }
|
||
.prompt-box[contenteditable="true"]:hover { border-color: rgba(0, 47, 167, 0.14); }
|
||
.prompt-box[contenteditable="true"]:focus { border-color: rgba(0, 47, 167, 0.38); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.07); }
|
||
.asset-card-2 .thumb-2 .spinner { width: 26px; height: 26px; border: 2.5px solid rgba(0, 47, 167, 0.18); border-top-color: var(--klein); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
||
.asset-card-2 .body-2 .btn:disabled, .asset-card-2 .body-2 .btn.disabled { background: transparent; border-color: transparent; color: var(--black-alpha-32); box-shadow: none; cursor: not-allowed; opacity: .72; transform: none; }
|
||
.asset-card-2 .body-2 .btn:disabled:hover, .asset-card-2 .body-2 .btn.disabled:hover { background: transparent; border-color: transparent; color: var(--black-alpha-32); box-shadow: none; transform: none; }
|
||
|
||
.asset-card-2.prod-lib-card:hover { background: var(--background-lighter); border-color: var(--black-alpha-48); }
|
||
.asset-card-2.prod-lib-card .prod-thumb { position: relative; aspect-ratio: 1; }
|
||
.asset-card-2.prod-lib-card .prod-body { padding: 14px 14px 12px; flex: 0 0 auto; }
|
||
.asset-card-2.prod-lib-card .prod-name { font-size: 14px; font-weight: 600; color: var(--accent-black); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.asset-card-2.prod-lib-card .prod-cat { display: inline-flex; align-items: center; margin-top: 8px; padding: 2px 8px; background: var(--background-lighter); color: var(--black-alpha-72); border-radius: var(--r-sm); font-size: 12px; }
|
||
.asset-card-2.prod-lib-card .prod-date { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); margin-top: 10px; letter-spacing: .02em; }
|
||
.asset-card-2.prod-lib-card .prod-action { padding: 10px 12px; border-top: 1px solid var(--border-faint); background: var(--surface); }
|
||
.asset-card-2.prod-lib-card .prod-action .prod-skip-note {
|
||
font-size: 12px;
|
||
color: var(--black-alpha-56);
|
||
line-height: 1.5;
|
||
}
|
||
.asset-card-2.prod-lib-card .prod-action[hidden] { display: none; }
|
||
.asset-card-2.prod-lib-card .prod-action .btn-aigen {
|
||
width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
||
height: 34px; padding: 0 14px; background: var(--heat); color: var(--accent-white);
|
||
border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit;
|
||
box-shadow: inset 0 -2px 4px rgba(250,93,25,.20), 0 1px 1px rgba(250,93,25,.12), 0 2px 4px rgba(250,93,25,.10);
|
||
transition: background var(--t-base), box-shadow var(--t-base), transform var(--t-base);
|
||
}
|
||
.asset-card-2.prod-lib-card .prod-action .btn-aigen:hover { background: #FB6E2E; box-shadow: inset 0 -2px 4px rgba(250,93,25,.24), 0 2px 4px rgba(250,93,25,.20), 0 4px 12px rgba(250,93,25,.18); transform: translateY(-1px); }
|
||
.asset-card-2.prod-lib-card .prod-action .btn-aigen .ai-spark { width: 14px; height: 14px; flex-shrink: 0; }
|
||
|
||
/* 区头版生成按钮(人物/场景 sec-h 复用 btn-aigen,商品卡版被 .prod-action 作用域锁死,这里给区头补壳) */
|
||
.asset-sec .sec-h .btn-aigen {
|
||
display: inline-flex; align-items: center; gap: 6px;
|
||
height: 30px; padding: 0 12px; background: var(--heat); color: var(--accent-white);
|
||
border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit;
|
||
box-shadow: inset 0 -2px 4px rgba(250,93,25,.20), 0 1px 1px rgba(250,93,25,.12);
|
||
transition: background var(--t-base), box-shadow var(--t-base), transform var(--t-base);
|
||
}
|
||
.asset-sec .sec-h .btn-aigen:hover { background: #FB6E2E; transform: translateY(-1px); }
|
||
.asset-sec .sec-h .btn-aigen .ai-spark { width: 14px; height: 14px; flex-shrink: 0; }
|
||
|
||
/* ── 生成中统一置灰:凡 set disabled 的按钮都灰显 + 禁手势 + 去 hover/动效(设计师要求:已点击/生成中要置灰不可点)── */
|
||
.btn-aigen:disabled,
|
||
.asset-card-2.prod-lib-card .prod-action .btn-aigen:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
|
||
.btn-aigen:disabled:hover,
|
||
.asset-card-2.prod-lib-card .prod-action .btn-aigen:disabled:hover { background: var(--heat); box-shadow: none; transform: none; }
|
||
.chat-mode:disabled { opacity: .45; cursor: not-allowed; transform: none; }
|
||
.chat-mode:disabled:hover { transform: none; }
|
||
.pill-cta:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
|
||
.pill-cta:disabled:hover { box-shadow: none; }
|
||
.tag-add:disabled { opacity: .45; cursor: not-allowed; }
|
||
.tl-toolbar .tl-action:disabled { opacity: .38; cursor: not-allowed; }
|
||
.tl-toolbar .tl-action:disabled:hover { background: transparent; border-color: transparent; color: var(--black-alpha-72); }
|
||
|
||
.prompt-box { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--black-alpha-56); margin-top: 8px; line-height: 1.55; font-family: var(--font-mono); letter-spacing: .01em; transition: border-color var(--t-base), background var(--t-base); }
|
||
.prompt-box[contenteditable="true"] { cursor: text; outline: none; }
|
||
.prompt-box[contenteditable="true"]:hover { border-color: rgba(0, 47, 167, 0.14); }
|
||
.prompt-box[contenteditable="true"]:focus { border-color: rgba(0, 47, 167, 0.38); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.07); }
|
||
/* 外层人物/场景卡提示词框:固定 5 行高(行高 1.55 + 内边距/边框),超长不撑高、框内上下滚动 */
|
||
.prompt-box { height: calc(5 * 1.55em + 22px); overflow-y: auto; box-sizing: border-box; }
|
||
|
||
/* 生成中遮罩(资产/三视图占位复用) */
|
||
.sb-gen-veil { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border-radius: inherit; pointer-events: none; background: color-mix(in srgb, var(--surface) 62%, transparent); }
|
||
|
||
.pill-cta { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: inherit; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
||
.pill-cta.heat { background: var(--heat); color: var(--accent-white); border: 1px solid var(--heat); }
|
||
.pill-cta.heat:hover { box-shadow: var(--shadow-cta-hover); }
|
||
.pill-cta.ghost { background: var(--surface); color: var(--accent-black); border: 1px solid var(--border-faint); }
|
||
.pill-cta.ghost:hover { background: var(--background-lighter); border-color: var(--heat-20); color: var(--heat); }
|
||
.pill-cta svg { width: 13px; height: 13px; }
|
||
|
||
.prompt-edit { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--accent-black); white-space: pre-wrap; min-height: 200px; outline: none; letter-spacing: .01em; cursor: text; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
||
.prompt-edit:hover { border-color: var(--heat-20); }
|
||
.prompt-edit:focus { border-color: var(--heat); background: var(--surface); box-shadow: 0 0 0 3px var(--heat-12); }
|
||
.asset-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-pill); font-size: 11.5px; }
|
||
.asset-tag .dotc { width: 14px; height: 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: 50%; }
|
||
/* 绑定资产缩略图(替代占位圆点 · 一眼看出引用了哪张资产) */
|
||
.asset-tag .asset-thumb { width: 22px; height: 22px; flex: 0 0 22px; border-radius: var(--r-pill); background-size: cover; background-position: center; border: 1px solid var(--border-faint); }
|
||
|
||
/* ============= STAGE 3 · 视频 ============= */
|
||
.stage[data-stage-pane="3"].active > .queue-bar { border: 0; border-radius: 0; border-bottom: 1px solid var(--border-faint); margin: 0; padding: 14px 28px; flex: 0 0 auto; }
|
||
.stage[data-stage-pane="3"].active > .video-grid {
|
||
flex: 1 1 0;
|
||
min-height: 0;
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
padding: 18px 28px 24px;
|
||
background: var(--background-base);
|
||
align-content: start;
|
||
grid-auto-rows: max-content;
|
||
}
|
||
.queue-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); margin-bottom: 18px; }
|
||
.queue-bar .bar-wrap { flex: 1; height: 6px; background: var(--background-lighter); overflow: hidden; }
|
||
.queue-bar .bar-wrap > span { display: block; height: 100%; background: var(--klein); }
|
||
.video-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||
gap: 16px;
|
||
align-content: start;
|
||
align-items: start;
|
||
justify-content: start;
|
||
}
|
||
.video-card {
|
||
min-width: 0;
|
||
height: max-content;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
border: 1px solid rgba(0, 47, 167, 0.13);
|
||
border-radius: 12px;
|
||
background: var(--surface);
|
||
box-shadow: 0 12px 28px rgba(20, 27, 38, 0.07);
|
||
cursor: pointer;
|
||
}
|
||
.video-card:hover { border-color: rgba(0, 47, 167, 0.28); }
|
||
.video-thumb {
|
||
position: relative;
|
||
width: 100%;
|
||
aspect-ratio: 9 / 16;
|
||
max-height: 280px;
|
||
overflow: hidden;
|
||
background: #fff;
|
||
}
|
||
.video-thumb.pending::before {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
background-color: #fff;
|
||
background-image:
|
||
radial-gradient(ellipse 4px 1px at center, rgba(0, 47, 167, 0.28) 98%, transparent),
|
||
radial-gradient(ellipse 1px 4px at center, rgba(0, 47, 167, 0.28) 98%, transparent);
|
||
background-position: center;
|
||
background-size: 10px 10px;
|
||
-webkit-mask-image: radial-gradient(ellipse 42% 28% at center, #000 0 18%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
|
||
mask-image: radial-gradient(ellipse 42% 28% at center, #000 0 18%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.24) 72%, transparent 100%);
|
||
}
|
||
.video-thumb.pending::after,
|
||
.video-thumb.generating::after {
|
||
content: "待生成";
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
min-width: 72px;
|
||
height: 32px;
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 0 14px;
|
||
border: 1px solid rgba(0, 47, 167, 0.26);
|
||
border-radius: 8px;
|
||
color: var(--klein);
|
||
background: #fff;
|
||
box-shadow: 0 8px 22px rgba(0, 47, 167, 0.11);
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.08em;
|
||
transform: translate(-50%, -50%);
|
||
}
|
||
.video-thumb.generating::after { content: "生成中"; }
|
||
.video-thumb .video-loader {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 1;
|
||
overflow: hidden;
|
||
background:
|
||
linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.88) 43%, transparent 66%) 0 0 / 220% 100%,
|
||
linear-gradient(145deg, #eaf1fb, #f8fbff 48%, #e9eef7);
|
||
animation: videoShimmer 2.2s linear infinite;
|
||
}
|
||
.video-thumb video {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
object-fit: cover;
|
||
}
|
||
.video-thumb .btn-play {
|
||
position: absolute;
|
||
z-index: 2;
|
||
top: 50%;
|
||
left: 50%;
|
||
width: 44px;
|
||
height: 44px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 1px solid rgba(255, 255, 255, 0.58);
|
||
border-radius: 50%;
|
||
color: #fff;
|
||
background: rgba(8, 15, 29, 0.42);
|
||
cursor: pointer;
|
||
transform: translate(-50%, -50%);
|
||
}
|
||
.video-thumb .btn-play:hover { background: rgba(0, 47, 167, 0.66); }
|
||
.video-card .body { padding: 12px 12px 14px; flex: 0 0 auto; display: flex; flex-direction: column; }
|
||
.video-card-head { display: flex; align-items: center; gap: 8px; }
|
||
.video-card-title { min-width: 0; flex: 1 1 auto; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--accent-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.video-card-head .pill { flex: 0 0 auto; }
|
||
.video-meta { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .02em; margin-top: 5px; }
|
||
.video-actions { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
|
||
/* 按钮内联小 spinner(重跑「提交中/生成中」转圈),配合文字;在 btn-primary 上转白色可见 */
|
||
.btn-spin { width: 12px; height: 12px; border-width: 2px; flex: 0 0 auto; margin-right: 5px; vertical-align: -1px; }
|
||
.btn-primary .btn-spin { border-color: color-mix(in srgb, currentColor 35%, transparent); border-top-color: currentColor; }
|
||
/* 多版本入口小标识「共 N 版 ›」—— 不是按钮、是可点 mono 标识,hover 转主橙 */
|
||
.video-ver-badge { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--black-alpha-48); transition: color var(--t-base); }
|
||
.video-ver-badge:hover { color: var(--heat); }
|
||
|
||
/* ============= STAGE 4 · 拼接编辑器 ============= */
|
||
.stage[data-stage-pane="4"].active > .editor { flex: 1 1 0; min-height: 0; overflow-y: auto; height: auto; }
|
||
.stage[data-stage-pane="4"].active > .editor { border: 0; border-radius: 0; }
|
||
.stage[data-stage-pane="4"].active > .editor > .editor-preview { padding-left: 28px; }
|
||
.stage[data-stage-pane="4"].active > .editor > .editor-props { padding-right: 28px; }
|
||
.stage[data-stage-pane="4"].active > .editor > .timeline { padding-left: 28px; padding-right: 28px; }
|
||
|
||
.editor { display: grid; grid-template-columns: 1fr 280px; grid-template-rows: 1fr auto; gap: 0; height: 580px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); }
|
||
.editor-preview { padding: 16px; border-right: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint); display: flex; flex-direction: column; gap: 12px; }
|
||
.editor-preview .canvas { position: relative; overflow: hidden; flex: 1 1 0; min-height: 0; aspect-ratio: 9/16; margin: 0 auto; background: repeating-linear-gradient(135deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 12px), var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-md); display: grid; place-items: center; color: var(--black-alpha-48); font-family: var(--font-mono); font-size: 12px; }
|
||
/* 转场实时预览:切片段时画面淡场(导出才是真 xfade)。
|
||
opacity:0 兜底——@keyframes 必须在顶层(嵌套块内不生效),若动画没跑也不能变成永久黑盖板 */
|
||
.editor-preview .canvas .ed-xfade-flash { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; animation: edXfadeFlash 0.45s ease forwards; }
|
||
.editor-preview .controls { display: flex; align-items: center; gap: 8px; justify-content: center; }
|
||
.ctl-btn { width: 36px; height: 36px; border: 1px solid var(--border-faint); background: var(--surface); color: var(--black-alpha-56); border-radius: var(--r-md); display: grid; place-items: center; cursor: pointer; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
||
.ctl-btn:hover { color: var(--heat); border-color: var(--heat-40); background: var(--heat-12); }
|
||
|
||
.editor-props { padding: 16px; border-bottom: 1px solid var(--border-faint); overflow-y: auto; }
|
||
.props-tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 1px solid var(--border-faint); }
|
||
.props-tabs > div { padding: 8px 12px; font-size: 13px; color: var(--black-alpha-56); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
|
||
.props-tabs > div.active { color: var(--heat); border-bottom-color: var(--heat); font-weight: 600; }
|
||
.style-swatch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||
.swatch-card { padding: 10px; border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; }
|
||
.swatch-card:hover { background: var(--background-lighter); }
|
||
.swatch-card.selected { border-color: var(--heat); background: var(--heat-12); }
|
||
.swatch-card .demo { font-size: 12px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); margin-bottom: 4px; text-align: center; }
|
||
.swatch-card .demo.b { background: var(--accent-black); color: var(--accent-white); font-family: serif; }
|
||
.swatch-card .demo.c { color: var(--heat); -webkit-text-stroke: 0.5px var(--accent-black); }
|
||
.swatch-card .demo.d { background: var(--accent-honey, #f5c451); color: var(--accent-black); font-weight: 600; }
|
||
.swatch-card .nm { font-size: 12px; color: var(--black-alpha-48); font-family: var(--font-mono); letter-spacing: .02em; }
|
||
.props-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-faint); font-size: 13px; }
|
||
.props-row:last-child { border-bottom: 0; }
|
||
.props-row .k { color: var(--black-alpha-48); flex: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
|
||
.input-mini { width: 90px; padding: 0 10px; height: 28px; font-size: 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--black-alpha-12); }
|
||
|
||
.timeline { position: relative; grid-column: 1 / -1; padding: 14px 16px; background: var(--background-base); }
|
||
.tl-toolbar { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-faint); }
|
||
.tl-toolbar .tl-action { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: transparent; border: 1px solid transparent; border-radius: var(--r-sm); color: var(--black-alpha-72); font-size: 12px; font-family: inherit; cursor: pointer; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
||
.tl-toolbar .tl-action:hover { background: var(--surface); border-color: var(--border-faint); color: var(--accent-black); }
|
||
.tl-toolbar .tl-action.danger:hover { color: var(--accent-crimson); border-color: var(--accent-crimson); }
|
||
.tl-toolbar .tl-action svg { width: 13px; height: 13px; }
|
||
.tl-toolbar .tl-sep { width: 1px; height: 16px; background: var(--border-faint); margin: 0 4px; }
|
||
.tl-toolbar .tl-zoom { display: inline-flex; align-items: center; gap: 8px; }
|
||
.tl-toolbar .tl-zoom .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
||
.tl-toolbar .tl-zoom input[type="range"] { width: 120px; accent-color: var(--heat); }
|
||
.tl-ruler { display: grid; grid-template-columns: 80px 1fr; align-items: end; padding: 0; margin-bottom: 4px; }
|
||
.tl-ruler .l { font-family: var(--font-mono); color: var(--black-alpha-48); padding: 0 4px 4px; font-size: 12px; letter-spacing: .04em; align-self: end; }
|
||
.tl-ruler .rule-track { position: relative; height: 22px; border-bottom: 1px solid var(--border-faint); cursor: pointer; }
|
||
.tl-ruler .rule-track .tick { position: absolute; bottom: 0; width: 1px; background: var(--black-alpha-24); }
|
||
.tl-ruler .rule-track .tick.major { height: 8px; background: var(--black-alpha-48); }
|
||
.tl-ruler .rule-track .tick.minor { height: 4px; }
|
||
.tl-ruler .rule-track .t { position: absolute; bottom: 10px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .02em; white-space: nowrap; }
|
||
.tl-track { display: grid; grid-template-columns: 80px 1fr; align-items: center; padding: 3px 0; }
|
||
.tl-track .label { display: flex; align-items: center; gap: 6px; padding-left: 4px; font-size: 12px; color: var(--black-alpha-72); font-weight: 500; }
|
||
.tl-track .label .ico { width: 18px; height: 18px; display: grid; place-items: center; border-radius: var(--r-sm); flex-shrink: 0; }
|
||
.tl-track .label .ico svg { width: 12px; height: 12px; }
|
||
.tl-track .label.video .ico { background: var(--orange-tint); color: var(--heat); }
|
||
.tl-track .label.subtitle .ico { background: var(--green-bg); color: var(--accent-forest); }
|
||
.tl-track .label.bgm .ico { background: var(--background-lighter); color: var(--accent-amethyst); }
|
||
.tl-track .lane { position: relative; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); cursor: pointer; }
|
||
.tl-track.video-track .lane { height: 46px; }
|
||
.tl-track.subtitle-track .lane { height: 28px; }
|
||
.tl-track.bgm-track .lane { height: 34px; }
|
||
.tl-track .lane::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to right, var(--border-faint) 0, var(--border-faint) 1px, transparent 1px, transparent calc(100% / 15)); pointer-events: none; opacity: .55; border-radius: inherit; }
|
||
|
||
.clip { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 12px; border: 1px solid transparent; border-radius: 4px; cursor: grab; overflow: hidden; white-space: nowrap; user-select: none; box-sizing: border-box; }
|
||
.clip:hover { filter: brightness(1.04); }
|
||
.clip .num { font-family: var(--font-mono); font-weight: 600; opacity: .85; flex-shrink: 0; }
|
||
.clip .lbl { overflow: hidden; text-overflow: ellipsis; }
|
||
.clip.video { background: var(--heat-12); border-color: var(--heat-40); color: var(--heat); }
|
||
.clip.video .frames { position: absolute; top: 0; bottom: 0; left: 0; width: var(--src-width, 100%); transform: translateX(var(--src-offset, 0%)); display: flex; gap: 0; pointer-events: none; z-index: 0; border-radius: inherit; overflow: hidden; }
|
||
.clip.video .frames .fr { flex: 1; min-width: 0; background: repeating-linear-gradient(45deg, transparent 0, transparent 4px, rgba(38,38,38,.06) 4px, rgba(38,38,38,.06) 5px), rgba(250,93,25,.10); }
|
||
.clip.video .frames .fr + .fr { border-left: 1px solid rgba(255,255,255,.55); }
|
||
.clip.video .num, .clip.video .lbl { position: relative; z-index: 1; }
|
||
.clip.subtitle { background: var(--forest-bg); border-color: var(--forest-bd); color: var(--accent-forest); font-size: 12px; }
|
||
.clip.subtitle .lbl::before { content: "\201C"; font-family: serif; font-size: 14px; opacity: .55; margin-right: 2px; }
|
||
.clip.subtitle:hover { background: rgba(31, 138, 81, .14); }
|
||
.clip.bgm { background: rgba(144,97,255,.10); border-color: rgba(144,97,255,.30); color: var(--accent-amethyst, #9061ff); }
|
||
.clip.bgm .wave { position: absolute; inset: 6px 10px; pointer-events: none; opacity: .5; display: block; z-index: 0; }
|
||
.clip.bgm .wave svg { width: 100%; height: 100%; display: block; }
|
||
.clip.bgm .lbl, .clip.bgm .num { position: relative; z-index: 1; }
|
||
.playhead { position: absolute; top: -90px; bottom: -44px; width: 18px; transform: translateX(-50%); background: transparent; z-index: 10; pointer-events: auto; cursor: ew-resize; touch-action: none; }
|
||
.playhead::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 1.5px; background: var(--heat); pointer-events: none; }
|
||
.playhead::before { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--heat); box-shadow: 0 0 0 1.5px var(--surface); border-radius: 1px; pointer-events: none; }
|
||
.playhead .ph-grab { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; cursor: ew-resize; pointer-events: auto; border-radius: 50%; }
|
||
|
||
/* ── 行34 · 脚本人物/场景可编辑 chip ── */
|
||
.script-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px 2px 9px; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-pill); font-size: 12px; color: var(--accent-black); }
|
||
.script-chip .chip-x { width: 15px; height: 15px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--black-alpha-48); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
|
||
.script-chip .chip-x:hover { background: var(--black-alpha-08); color: var(--accent-crimson); }
|
||
.tag-add-input { height: 22px; width: 76px; padding: 0 8px; font-size: 12px; font-family: inherit; color: var(--accent-black); background: var(--surface); border: 1px solid var(--heat); border-radius: var(--r-pill); outline: none; }
|
||
.tag-add-input::placeholder { color: var(--black-alpha-40); }
|
||
/* 流程步骤3 · 标签待确认态:待删划掉变灰、待加虚线高亮(点发送才真正重写) */
|
||
.script-chip.pending-remove { color: var(--black-alpha-40); text-decoration: line-through; border-style: dashed; }
|
||
.script-chip.pending-add { border-style: dashed; border-color: var(--heat); color: var(--heat); background: var(--surface); }
|
||
/* 输入框上方的「待确认增删」胶囊行 */
|
||
.chat-tagedit-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 8px; }
|
||
.chat-tagedit-row[hidden] { display: none; }
|
||
.chat-tagedit-row .tagedit-chip { font-size: 12px; }
|
||
.chat-tagedit-row .tagedit-chip.add { border-color: var(--heat); color: var(--heat); }
|
||
.chat-tagedit-row .tagedit-chip.remove { color: var(--black-alpha-48); text-decoration: line-through; }
|
||
|
||
/* ── 行33 · 进度时间轴(竖线串步骤 · 当前步光扫+秒数 · 思考折叠展开)── */
|
||
.progress-timeline { display: flex; flex-direction: column; }
|
||
.progress-timeline .pt-row { display: flex; gap: 10px; animation: ptRowIn .28s ease; }
|
||
.progress-timeline .pt-rail { position: relative; flex: 0 0 12px; display: flex; justify-content: center; }
|
||
.progress-timeline .pt-rail::after { content: ""; position: absolute; top: 11px; bottom: -5px; left: 50%; width: 1px; transform: translateX(-50%); background: var(--border-faint); }
|
||
.progress-timeline .pt-row:last-child .pt-rail::after { display: none; }
|
||
.progress-timeline .pt-dot { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--klein); flex: 0 0 7px; z-index: 1; }
|
||
.progress-timeline .pt-row:not(.done):not(.active) .pt-dot { background: var(--ink-4); }
|
||
.progress-timeline .pt-row.active .pt-dot { animation: pt-pulse 1.4s ease-in-out infinite; }
|
||
.progress-timeline .pt-main { flex: 1; min-width: 0; padding-bottom: 9px; }
|
||
.progress-timeline .pt-line { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; }
|
||
.progress-timeline .pt-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
|
||
.progress-timeline .pt-row.done .pt-text { color: var(--ink-3); }
|
||
.progress-timeline .pt-text.shimmer {
|
||
background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-2) 42%, var(--ink-4) 50%, var(--ink-2) 58%, var(--ink-2) 100%);
|
||
background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
|
||
-webkit-text-fill-color: transparent; color: transparent; animation: pt-sweep 1.6s linear infinite;
|
||
}
|
||
.progress-timeline .pt-sec { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .02em; flex: 0 0 auto; }
|
||
.progress-timeline .pt-line-click { cursor: pointer; }
|
||
.progress-timeline .pt-line-click:hover .pt-text { color: var(--ink); }
|
||
.progress-timeline .pt-line-click:hover .pt-caret { color: var(--ink-2); }
|
||
.progress-timeline .pt-caret { flex: 0 0 auto; padding: 0 2px; color: var(--ink-4); font-size: 15px; line-height: 1; transition: transform .18s ease; }
|
||
.progress-timeline .pt-caret.open { transform: rotate(90deg); }
|
||
.progress-timeline .pt-think { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ink-3); white-space: pre-wrap; word-break: break-word; max-height: 168px; overflow-y: auto; border-left: 1px solid var(--border-faint); padding-left: 8px; }
|
||
|
||
/* ── 行32 · 长文本折叠 ── */
|
||
.clamp-lines { display: -webkit-box; -webkit-line-clamp: var(--clamp-lines, 10); -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; word-break: break-word; }
|
||
.clamp-toggle { margin-top: 6px; padding: 0; background: none; border: 0; color: var(--klein); font-family: inherit; font-size: 12px; cursor: pointer; }
|
||
.clamp-toggle:hover { text-decoration: underline; }
|
||
|
||
/* ── 1.5 · 生成前「表现形式 × 视频结构 × 人物 × 时长」设定卡 ── */
|
||
/* 标签列 64px:装得下最长的「表现形式」四个字(12px mono ≈ 52px)且四行对齐 */
|
||
.chat-bubble.setup-card { width: 100%; max-width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 8px; }
|
||
.setup-card .setup-lead { font-size: 13px; line-height: 1.5; color: var(--accent-black); margin-bottom: 6px; }
|
||
.setup-card .setup-field { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
|
||
.setup-card .setup-field .sf-k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
||
.setup-card .setup-select { width: 100%; }
|
||
.as-spec-field .rs-select { width: 100%; }
|
||
.props-row .rs-select { flex: 1; min-width: 0; }
|
||
/* 说明行左缩进 = 标签列 64 + gap 10,跟下拉框左边缘对齐 */
|
||
.setup-card .setup-rec { font-size: 12px; line-height: 1.5; color: var(--black-alpha-40); margin: 0 0 8px 74px; }
|
||
.setup-card .setup-rec.warn { color: var(--accent-honey); }
|
||
/* 5.3 · 套用模板时的预期说明:同套路重出 ≠ 旧片换商品名 */
|
||
.setup-card .tpl-expect { font-size: 12px; line-height: 1.6; color: var(--black-alpha-56); background: var(--heat-8); border-radius: var(--r-sm); padding: 8px 10px; margin-bottom: 8px; }
|
||
.setup-card .tpl-expect .mono { font-family: var(--font-mono); font-size: 10px; color: var(--heat); letter-spacing: .04em; margin-right: 6px; }
|
||
.setup-card .setup-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; }
|
||
.setup-card .setup-cost-hint { color: var(--pl-muted); font-size: 10px; white-space: nowrap; margin-right: 2px; }
|
||
|
||
/* ── 行34 · 添加分镜:本地草稿可编辑卡片 ── */
|
||
.draft-shot-card { border-style: dashed; }
|
||
|
||
/* ── 行38 · 资产卡可编辑提示词 + 重跑/替换 ──(.asset-prompt-edit 移到顶层:演员库弹窗 portal 到 body,嵌在 .pipeline-page 内会失效) */
|
||
.asset-card-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
|
||
.asset-card-actions .btn { display: inline-flex; align-items: center; }
|
||
|
||
/* ── 行39 · 缺三视图悬浮气泡 ── */
|
||
.tri-missing-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; background: var(--surface); border: 1px solid rgba(180,83,9,.30); border-radius: var(--r-pill); color: #B45309; font-size: 12px; cursor: help; }
|
||
.tri-missing-badge .ico { width: 6px; height: 6px; border-radius: 50%; background: #B45309; }
|
||
.tri-missing-badge .lbl-mono { font-family: var(--font-mono); letter-spacing: .02em; }
|
||
.tri-missing-badge .tri-missing-pop { position: absolute; top: calc(100% + 8px); left: 0; width: 260px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base); z-index: 20; pointer-events: none; display: flex; flex-direction: column; gap: 6px; cursor: default; }
|
||
.tri-missing-badge:hover .tri-missing-pop, .tri-missing-badge:focus-visible .tri-missing-pop { opacity: 1; visibility: visible; transform: translateY(0); }
|
||
.tri-missing-pop .pop-h { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #B45309; }
|
||
.tri-missing-pop .pop-body { font-size: 12px; line-height: 1.55; color: var(--accent-black); }
|
||
.tri-missing-pop .pop-tip { font-size: 12px; line-height: 1.5; color: var(--black-alpha-56); }
|
||
.tri-missing-pop b { color: var(--heat); }
|
||
|
||
/* ── 行39 · 三视图选择弹窗 ── */
|
||
.tri-modal { width: min(720px, 100%); }
|
||
.tri-modal .tri-modal-tip { font-size: 13px; line-height: 1.55; color: var(--black-alpha-72); padding: 10px 12px; background: var(--heat-12); border: 1px solid var(--heat-20); border-radius: var(--r-md); margin-bottom: 16px; }
|
||
.tri-modal .tri-modal-tip b { color: var(--heat); }
|
||
.tri-cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
|
||
.tri-cand-card { border: 1px solid var(--border-faint); border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--surface); transition: border-color var(--t-base), box-shadow var(--t-base); }
|
||
.tri-cand-card:hover { border-color: var(--heat); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
|
||
.tri-cand-card.adopted { border-color: var(--heat); }
|
||
.tri-cand-card .tri-cand-img { aspect-ratio: 16/9; }
|
||
.tri-cand-card .tri-cand-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; }
|
||
.tri-cand-card .tri-cand-foot .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); }
|
||
/* ── 流程步骤4 · 人物/场景详情弹窗(对齐设计稿 asset-detail-grid)── */
|
||
.asset-modal-h .ad-tag { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .02em; }
|
||
.asset-detail-grid { display: flex; align-items: flex-start; gap: 24px; width: 100%; min-width: 0; }
|
||
.asset-detail-lead { display: flex; flex-direction: column; gap: 10px; flex: 0 1 240px; width: 240px; max-width: 34%; min-width: 0; }
|
||
.asset-detail-lead .ad-lead-wrap { position: relative; width: 100%; min-width: 0; overflow: hidden; }
|
||
.asset-detail-lead .placeholder.ad-lead-img { width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 9/16; max-height: min(420px, 48vh); height: auto; box-sizing: border-box; border-radius: var(--r-md); }
|
||
.ad-zoom-btn { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; padding: 0; background: rgba(21,20,15,.7); color: #fff; border: 0; border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity var(--t-base), background var(--t-base); z-index: 3; }
|
||
.ad-zoom-btn:hover { background: rgba(21,20,15,.92); }
|
||
.ad-zoom-btn svg { width: 14px; height: 14px; }
|
||
.asset-detail-lead .ad-lead-wrap:hover .ad-zoom-btn, .asset-detail-tri-row .ad-tri-wrap:hover .ad-zoom-btn { opacity: 1; }
|
||
.asset-detail-tri-row .ad-tri-wrap { position: relative; }
|
||
.asset-detail-lead .ad-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
|
||
.asset-detail-lead .ad-thumbs .thumb { flex: 0 0 56px; width: 56px; aspect-ratio: 3/4; border-radius: var(--r-sm); border: 1px solid var(--border-faint); cursor: pointer; overflow: hidden; transition: border-color var(--t-base); }
|
||
.asset-detail-lead .ad-thumbs .thumb:hover { border-color: var(--heat-40); }
|
||
.asset-detail-lead .ad-thumbs .thumb.active { border-color: var(--heat); border-width: 2px; }
|
||
.asset-detail-right .ad-section + .ad-section { margin-top: 18px; }
|
||
.asset-detail-section-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-black); margin-bottom: 10px; }
|
||
.asset-detail-section-h .ic { width: 14px; height: 14px; color: var(--heat); flex-shrink: 0; display: grid; place-items: center; }
|
||
.asset-detail-section-h .ic svg { width: 14px; height: 14px; }
|
||
.asset-detail-section-h .ad-ratio-chip { margin-left: auto; font-family: var(--font-mono); font-size: 12px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--background-lighter); border: 1px solid var(--border-faint); color: var(--black-alpha-56); letter-spacing: .02em; }
|
||
.asset-detail-section-h .ad-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); color: var(--black-alpha-56); cursor: pointer; transition: background var(--t-base), color var(--t-base), border-color var(--t-base); }
|
||
/* hover 整体反色:橙底 + 白 icon(原仅字色变橙,icon 在白底上看不出反色) */
|
||
.asset-detail-section-h .ad-icon-btn:hover { background: var(--heat); color: var(--accent-white); border-color: var(--heat); }
|
||
.asset-detail-section-h .ad-icon-btn svg { width: 12px; height: 12px; }
|
||
.asset-detail-section-h .ad-icon-gap { margin-left: 8px; }
|
||
.asset-detail-tri-row { width: 100%; min-width: 0; }
|
||
.asset-detail-tri-row .placeholder { width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 16 / 9; box-sizing: border-box; border-radius: var(--r-md); }
|
||
.asset-detail-tri-row .placeholder.missing { display: grid; place-items: center; border: 1px dashed var(--border-faint); background: var(--background-lighter); color: var(--black-alpha-48); font-family: var(--font-mono); font-size: 12px; padding: 12px; text-align: center; gap: 8px; }
|
||
.md-view-versions { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin-top: 8px; }
|
||
.md-view-versions .v-thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 16/9; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-sm); position: relative; cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: border-color var(--t-base); }
|
||
.md-view-versions .v-thumb:hover { border-color: var(--heat-40); }
|
||
.md-view-versions .v-thumb.active { border-color: var(--heat); border-width: 2px; box-shadow: 0 0 0 2px var(--heat-12); }
|
||
.md-view-versions .v-thumb .v { font-family: var(--font-mono); font-size: 10px; color: var(--black-alpha-56); letter-spacing: .02em; }
|
||
.md-view-versions .v-thumb.active .v { color: var(--heat); font-weight: 600; }
|
||
.asset-detail-tip { margin-top: 10px; padding: 10px 12px; background: var(--heat-12); border: 1px solid var(--heat-20); border-radius: var(--r-sm); font-size: 12px; color: var(--accent-black); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; line-height: 1.5; min-width: 0; }
|
||
.asset-detail-tip svg { width: 14px; height: 14px; color: var(--heat); flex-shrink: 0; }
|
||
.asset-detail-tip span { min-width: 0; flex: 1 1 160px; }
|
||
.asset-detail-tip .ai-gen-btn { margin-left: auto; height: 26px; padding: 0 10px; background: var(--heat); color: var(--accent-white); border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 12px; cursor: pointer; font-family: inherit; flex-shrink: 0; }
|
||
.asset-modal-f .ad-foot-stats { display: flex; gap: 6px; margin-right: auto; }
|
||
.asset-modal-f .ad-stat-btn { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border-faint); border-radius: var(--r-sm); color: var(--black-alpha-72); font-size: 12px; font-family: inherit; cursor: pointer; transition: background var(--t-base), color var(--t-base), border-color var(--t-base); }
|
||
.asset-modal-f .ad-stat-btn:hover { background: var(--background-lighter); color: var(--accent-black); }
|
||
.asset-modal-f .ad-stat-btn svg { width: 13px; height: 13px; }
|
||
.asset-detail-lead { flex: 0 1 240px; width: 240px; max-width: 34%; min-width: 0; contain: inline-size; }
|
||
.asset-detail-right { flex: 1 1 0%; min-width: min(280px, 52%); overflow: hidden; }
|
||
/* 固定大小、不可拖拽(对齐设计稿:描述角色立绘的提示词栏固定) */
|
||
.ad-detail-prompt { width: 100%; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--black-alpha-72); background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; outline: none; resize: none; height: 88px; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
||
/* 版本缩略图(非 .placeholder,需自己接 --mock-media-url 才显图) */
|
||
.ad-thumbs .thumb.has-mock-media, .md-view-versions .v-thumb.has-mock-media, .prod-preview-history .h-thumb.has-mock-media { background-image: var(--mock-media-url); background-size: cover; background-position: center; background-repeat: no-repeat; }
|
||
.ad-detail-prompt:hover { border-color: var(--heat-20); }
|
||
.ad-detail-prompt:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
||
|
||
.tri-empty { text-align: center; padding: 8px 0; }
|
||
.tri-empty .tri-empty-hint { font-size: 13px; line-height: 1.6; color: var(--black-alpha-56); margin-top: 14px; }
|
||
|
||
/* ── 流程步骤4 · 基础资产卡生成中 loading + 转圈 ── */
|
||
.asset-card-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--background-base); z-index: 2; }
|
||
.asset-card-loading.veil { background: color-mix(in srgb, var(--surface) 62%, transparent); }
|
||
.asset-card-loading .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .04em; }
|
||
.asset-spinner { width: 26px; height: 26px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
||
.asset-spinner.sm { width: 13px; height: 13px; border-width: 2px; display: inline-block; vertical-align: -2px; }
|
||
.asset-card-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
|
||
.asset-card-tags .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .03em; }
|
||
|
||
/* ── 流程步骤4 · 人物/场景详情弹窗:立绘列 + 三视图 + hover 图标 ── */
|
||
.ad-portrait-col { flex: 0 0 280px; min-width: 0; }
|
||
.ad-img-wrap { position: relative; }
|
||
.ad-main-img { aspect-ratio: 9/16; max-height: 460px; border-radius: var(--r-md); overflow: hidden; }
|
||
.ad-tri-wrap { position: relative; }
|
||
.ad-tri-img { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; }
|
||
.ad-img-icons { position: absolute; bottom: 8px; right: 8px; display: flex; gap: 6px; z-index: 3; }
|
||
.ad-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: rgba(0,0,0,.55); color: #fff; cursor: pointer; transition: background var(--t-base); }
|
||
.ad-icon-btn:hover { background: var(--heat); }
|
||
.vd-history-thumb.tri .placeholder { aspect-ratio: 16/9; }
|
||
}
|
||
|
||
/* 弹窗 portal 到 body,选择器必须顶层,否则会被工作区 overflow 裁掉顶栏 */
|
||
.asset-modal-bg {
|
||
--klein: #002fa7;
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 1800;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 32px 24px;
|
||
background: rgba(21, 20, 15, 0.42);
|
||
}
|
||
.asset-modal {
|
||
background: var(--surface);
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: 12px;
|
||
width: 960px;
|
||
max-width: calc(100vw - 48px);
|
||
max-height: calc(100vh - 48px);
|
||
max-height: calc(100dvh - 48px);
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
|
||
}
|
||
.asset-modal-h {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
min-height: 56px;
|
||
padding: 12px 20px;
|
||
border-bottom: 1px solid var(--border-faint);
|
||
flex-shrink: 0;
|
||
}
|
||
.asset-modal-h h2 {
|
||
margin: 0;
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
color: var(--accent-black);
|
||
}
|
||
.asset-modal-h .ad-tag,
|
||
.asset-modal-h .mono {
|
||
font-family: var(--font-mono);
|
||
font-size: 12px;
|
||
color: var(--black-alpha-48);
|
||
letter-spacing: .02em;
|
||
}
|
||
.asset-modal-h .x {
|
||
width: 30px;
|
||
height: 30px;
|
||
display: grid;
|
||
place-items: center;
|
||
background: transparent;
|
||
border: 0;
|
||
cursor: pointer;
|
||
color: var(--black-alpha-56);
|
||
border-radius: var(--r-sm);
|
||
margin-left: auto;
|
||
}
|
||
.asset-modal-h .x:hover { background: var(--black-alpha-08); color: var(--accent-black); }
|
||
.asset-modal-body { padding: 20px 24px 24px; overflow-x: hidden; overflow-y: auto; flex: 1 1 auto; min-width: 0; min-height: 0; }
|
||
.asset-modal-f {
|
||
padding: 14px 20px;
|
||
border-top: 1px solid var(--border-faint);
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
flex-shrink: 0;
|
||
}
|
||
.asset-detail-grid {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 24px;
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
.asset-detail-lead {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
flex: 0 1 240px;
|
||
width: 240px;
|
||
max-width: 34%;
|
||
min-width: 0;
|
||
contain: inline-size;
|
||
}
|
||
.asset-detail-right {
|
||
flex: 1 1 0%;
|
||
min-width: min(280px, 52%);
|
||
overflow: hidden;
|
||
}
|
||
.asset-detail-lead .ad-lead-wrap {
|
||
position: relative;
|
||
width: 100%;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
}
|
||
.asset-detail-lead .placeholder.ad-lead-img {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
aspect-ratio: 9 / 16;
|
||
max-height: min(420px, 48vh);
|
||
height: auto;
|
||
box-sizing: border-box;
|
||
border-radius: var(--r-md);
|
||
}
|
||
.asset-detail-lead .placeholder.ad-lead-img.has-mock-media {
|
||
background-position: center top;
|
||
}
|
||
@supports not (aspect-ratio: 9 / 16) {
|
||
.asset-detail-lead .placeholder.ad-lead-img { height: min(420px, 48vh); }
|
||
}
|
||
.ad-zoom-btn {
|
||
position: absolute;
|
||
right: 8px;
|
||
bottom: 8px;
|
||
width: 32px;
|
||
height: 32px;
|
||
padding: 0;
|
||
background: rgba(21, 20, 15, .7);
|
||
color: #fff;
|
||
border: 0;
|
||
border-radius: var(--r-sm);
|
||
display: grid;
|
||
place-items: center;
|
||
cursor: pointer;
|
||
opacity: 0;
|
||
transition: opacity var(--t-base), background var(--t-base);
|
||
z-index: 3;
|
||
}
|
||
.ad-zoom-btn:hover { background: rgba(21, 20, 15, .92); }
|
||
.ad-zoom-btn svg { width: 14px; height: 14px; }
|
||
.asset-detail-lead .ad-lead-wrap:hover .ad-zoom-btn,
|
||
.asset-detail-tri-row .ad-tri-wrap:hover .ad-zoom-btn { opacity: 1; }
|
||
.asset-detail-tri-row {
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
.asset-detail-tri-row .ad-tri-wrap {
|
||
position: relative;
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
.asset-detail-lead .ad-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
|
||
.asset-detail-lead .ad-thumbs .thumb {
|
||
flex: 0 0 56px;
|
||
width: 56px;
|
||
aspect-ratio: 3/4;
|
||
border-radius: var(--r-sm);
|
||
border: 1px solid var(--border-faint);
|
||
cursor: pointer;
|
||
overflow: hidden;
|
||
transition: border-color var(--t-base);
|
||
}
|
||
.asset-detail-lead .ad-thumbs .thumb:hover { border-color: var(--heat-40); }
|
||
.asset-detail-lead .ad-thumbs .thumb.active { border-color: var(--heat); border-width: 2px; }
|
||
.asset-detail-right .ad-section + .ad-section { margin-top: 18px; }
|
||
.asset-detail-section-h {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: var(--accent-black);
|
||
margin-bottom: 10px;
|
||
}
|
||
.asset-detail-section-h .ic { width: 14px; height: 14px; color: var(--klein); flex-shrink: 0; display: grid; place-items: center; }
|
||
.asset-detail-section-h .ic svg { width: 14px; height: 14px; }
|
||
.asset-detail-section-h .ad-ratio-chip {
|
||
margin-left: auto;
|
||
font-family: var(--font-mono);
|
||
font-size: 12px;
|
||
padding: 2px 8px;
|
||
border-radius: var(--r-sm);
|
||
background: var(--background-lighter);
|
||
border: 1px solid var(--border-faint);
|
||
color: var(--black-alpha-56);
|
||
letter-spacing: .02em;
|
||
}
|
||
.asset-detail-section-h .ad-icon-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: grid;
|
||
place-items: center;
|
||
background: var(--surface);
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: var(--r-sm);
|
||
color: var(--black-alpha-56);
|
||
cursor: pointer;
|
||
transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
|
||
}
|
||
.asset-detail-section-h .ad-icon-btn:hover { background: var(--klein); color: #fff; border-color: var(--klein); }
|
||
.asset-detail-section-h .ad-icon-btn svg { width: 12px; height: 12px; }
|
||
.asset-detail-section-h .ad-icon-gap { margin-left: 8px; }
|
||
.asset-detail-right .ad-section { min-width: 0; }
|
||
.asset-detail-tri-row .placeholder {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
aspect-ratio: 16 / 9;
|
||
box-sizing: border-box;
|
||
border-radius: var(--r-md);
|
||
}
|
||
.md-view-versions { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin-top: 8px; }
|
||
.md-view-versions .v-thumb {
|
||
flex: 0 0 auto;
|
||
width: 72px;
|
||
aspect-ratio: 16/9;
|
||
background: var(--background-lighter);
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: var(--r-sm);
|
||
position: relative;
|
||
cursor: pointer;
|
||
display: grid;
|
||
place-items: center;
|
||
overflow: hidden;
|
||
transition: border-color var(--t-base);
|
||
}
|
||
.md-view-versions .v-thumb:hover { border-color: var(--heat-40); }
|
||
.md-view-versions .v-thumb.active { border-color: var(--heat); border-width: 2px; box-shadow: 0 0 0 2px var(--heat-12); }
|
||
.md-view-versions .v-thumb .v { font-family: var(--font-mono); font-size: 10px; color: var(--black-alpha-56); letter-spacing: .02em; }
|
||
.md-view-versions .v-thumb.active .v { color: var(--heat); font-weight: 600; }
|
||
.asset-detail-tip {
|
||
margin-top: 10px;
|
||
padding: 10px 12px;
|
||
background: var(--heat-12);
|
||
border: 1px solid var(--heat-20);
|
||
border-radius: var(--r-sm);
|
||
font-size: 12px;
|
||
color: var(--accent-black);
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
line-height: 1.5;
|
||
min-width: 0;
|
||
}
|
||
.asset-detail-tip svg { width: 14px; height: 14px; color: var(--heat); flex-shrink: 0; }
|
||
.asset-detail-tip span { min-width: 0; flex: 1 1 160px; }
|
||
.asset-detail-tip .ai-gen-btn {
|
||
margin-left: auto;
|
||
height: 26px;
|
||
padding: 0 10px;
|
||
background: var(--heat);
|
||
color: var(--accent-white);
|
||
border: 1px solid var(--heat);
|
||
border-radius: var(--r-sm);
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
flex-shrink: 0;
|
||
}
|
||
@media (max-width: 720px) {
|
||
.asset-detail-grid { flex-direction: column; }
|
||
.asset-detail-lead,
|
||
.asset-detail-right {
|
||
flex: none;
|
||
width: 100%;
|
||
max-width: none;
|
||
min-width: 0;
|
||
contain: none;
|
||
}
|
||
.asset-detail-lead { max-width: 200px; }
|
||
}
|
||
.asset-modal-f .ad-foot-stats { display: flex; gap: 6px; margin-right: auto; }
|
||
.asset-modal-f .ad-stat-btn {
|
||
height: 32px;
|
||
padding: 0 12px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
background: transparent;
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: var(--r-sm);
|
||
color: var(--black-alpha-72);
|
||
font-size: 12px;
|
||
font-family: inherit;
|
||
cursor: pointer;
|
||
transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
|
||
}
|
||
.asset-modal-f .ad-stat-btn:hover { background: var(--background-lighter); color: var(--accent-black); }
|
||
.asset-modal-f .ad-stat-btn svg { width: 13px; height: 13px; }
|
||
.ad-detail-prompt {
|
||
width: 100%;
|
||
font-family: var(--font-mono);
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
color: var(--black-alpha-72);
|
||
background: var(--background-base);
|
||
border: 1px solid var(--border-faint);
|
||
border-radius: var(--r-sm);
|
||
padding: 10px 12px;
|
||
outline: none;
|
||
resize: none;
|
||
height: 88px;
|
||
transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
|
||
}
|
||
.ad-thumbs .thumb.has-mock-media,
|
||
.md-view-versions .v-thumb.has-mock-media,
|
||
.prod-preview-history .h-thumb.has-mock-media {
|
||
background-image: var(--mock-media-url);
|
||
background-size: cover;
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
}
|
||
.ad-detail-prompt:hover { border-color: var(--heat-20); }
|
||
.ad-detail-prompt:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
||
.vd-main-wrap { display: flex; gap: 18px; align-items: flex-start; }
|
||
.vd-main { flex: 0 0 280px; aspect-ratio: 9/16; max-height: 460px; background: #000; border-radius: var(--r-md); overflow: hidden; position: relative; }
|
||
.vd-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
|
||
.vd-info { flex: 1; min-width: 0; }
|
||
.vd-section-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-black); margin-bottom: 10px; }
|
||
.vd-kv { display: grid; grid-template-columns: 72px 1fr; gap: 6px 10px; font-size: 13px; }
|
||
.vd-kv .k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .03em; padding-top: 1px; }
|
||
.vd-kv .v { color: var(--accent-black); min-width: 0; overflow-wrap: anywhere; }
|
||
.vd-history-h { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
|
||
.vd-history-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
|
||
.vd-history-thumb { flex: 0 0 64px; min-width: 64px; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color var(--t-base); position: relative; }
|
||
.vd-history-thumb:hover { border-color: var(--heat); }
|
||
.vd-history-thumb.current { border-color: var(--heat); background: var(--heat-12); }
|
||
.vd-history-thumb .placeholder { aspect-ratio: 9/16; }
|
||
.vd-history-thumb .ts { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); text-align: center; }
|
||
.vd-prompt-field { margin-top: 16px; }
|
||
.vd-prompt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
|
||
.vd-prompt-head .label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--black-alpha-56); letter-spacing: .04em; }
|
||
.vd-prompt-edit { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--accent-black); white-space: pre-wrap; min-height: 96px; outline: none; letter-spacing: .01em; cursor: text; }
|
||
.vd-modal-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
|
||
|
||
/* 流程步骤4 · 基础资产 loading 转圈(顶层 @keyframes 才注册) */
|
||
@keyframes assetSpin { to { transform: rotate(360deg); } }
|
||
@keyframes videoShimmer { to { background-position: -220% 0, 0 0; } }
|
||
|
||
/* 进度流逐条滚入(顶层 @keyframes 才注册) */
|
||
@keyframes psRowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
|
||
|
||
/* 顶层 @keyframes:嵌套进 .pipeline-page 块内不会注册,动画不执行(product-detail 同坑) */
|
||
@keyframes edXfadeFlash { from { opacity: 0.72; } to { opacity: 0; } }
|
||
|
||
/* 行33 · 进度时间轴(顶层才注册:行入场 / 当前点脉冲 / 状态字光扫) */
|
||
@keyframes ptRowIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
|
||
@keyframes pt-pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(0, 47, 167, 0.16); } 50% { box-shadow: 0 0 0 5px transparent; } }
|
||
@keyframes pt-sweep { from { background-position: 140% 0; } to { background-position: -40% 0; } }
|
||
|
||
/* 方案 B · 生成卡(顶层才注册:动态点闪烁 / 橙色扫光进度条) */
|
||
@keyframes sgvBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
|
||
@keyframes sgvBar { 0% { left: -42%; } 100% { left: 100%; } }
|
||
|
||
/* ── 流程步骤4 · 演员库覆盖层(portal 到 body,顶层选择器才生效)── */
|
||
/* 资产卡/演员库工作台的提示词输入框:顶层定义,页面内(资产卡)与 portal 弹窗(添加人物工作台)都生效 */
|
||
/* 固定三行高度、不可拖拽(对齐设计稿:人物提示词框固定在三行) */
|
||
.asset-prompt-edit { width: 100%; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; line-height: 1.55; letter-spacing: .01em; color: var(--black-alpha-72); background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 8px 10px; outline: none; resize: none; min-height: 0; height: 74px; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
||
.asset-prompt-edit:hover { border-color: var(--heat-20); }
|
||
.asset-prompt-edit:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
||
.asset-prompt-edit::placeholder { color: var(--black-alpha-32); }
|
||
.actorlib-bg { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 1020; display: flex; align-items: center; justify-content: center; padding: 40px; }
|
||
.actorlib { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); width: min(920px, 100%); max-height: calc(100vh - 80px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
|
||
.actorlib-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border-faint); }
|
||
.actorlib-h h2 { font-size: 15px; font-weight: 600; }
|
||
.actorlib-h .x { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--black-alpha-56); border-radius: var(--r-sm); margin-left: auto; }
|
||
.actorlib-h .x:hover { background: var(--black-alpha-08); color: var(--accent-black); }
|
||
.actorlib-body { padding: 16px 20px 22px; overflow-y: auto; flex: 1; }
|
||
.actorlib-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
|
||
.actorlib-tabs { display: inline-flex; gap: 6px; }
|
||
.al-tab { padding: 6px 12px; font-size: 13px; border: 1px solid var(--border-faint); background: var(--surface); border-radius: var(--r-sm); cursor: pointer; color: var(--black-alpha-72); transition: border-color var(--t-base), background var(--t-base), color var(--t-base); }
|
||
.al-tab:hover { border-color: var(--heat-40); }
|
||
.al-tab.active { border-color: var(--heat); background: var(--heat-12); color: var(--accent-black); font-weight: 500; }
|
||
.actorlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
|
||
.actor-card { display: flex; flex-direction: column; gap: 6px; }
|
||
.actor-card .actor-thumb { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: pointer; border: 1px solid var(--border-faint); transition: border-color var(--t-base); }
|
||
.actor-card .actor-thumb:hover { border-color: var(--heat); }
|
||
.actor-card .actor-pick { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(250,93,25,.0); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity var(--t-base), background var(--t-base); }
|
||
.actor-card .actor-thumb:hover .actor-pick { opacity: 1; background: rgba(250,93,25,.42); }
|
||
.actor-name { font-size: 12px; color: var(--black-alpha-72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.actorlib-studio-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
|
||
.actorlib-drop { border: 1.5px dashed var(--border-strong, var(--black-alpha-32)); border-radius: var(--r-md); padding: 40px 20px; text-align: center; color: var(--black-alpha-72); cursor: pointer; transition: border-color var(--t-base), background var(--t-base); }
|
||
.actorlib-drop:hover { border-color: var(--heat); background: var(--heat-12); }
|
||
/* 添加人物工作台多步:左 = 生成/上传 + 候选;右 = 选中立绘命名 / 三视图 / 保存 */
|
||
.actorlib-studio-grid { display: grid; grid-template-columns: 1fr 240px; gap: 18px; align-items: start; }
|
||
.actorlib-studio-right { border-left: 1px solid var(--border-faint); padding-left: 18px; }
|
||
.actorlib-studio-detail .actor-thumb { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative; border: 1px solid var(--border-faint); }
|
||
.actor-card .actor-thumb.active { border-color: var(--heat); }
|
||
@media (max-width: 720px) { .actorlib-studio-grid { grid-template-columns: 1fr; } .actorlib-studio-right { border-left: none; border-top: 1px solid var(--border-faint); padding-left: 0; padding-top: 16px; } }
|
||
|
||
/* ── 实体提取闸门(进资产趴蒙版 + 三按钮):不自动花钱,用户点了才提取/生成 ── */
|
||
.stage[data-stage-pane="2"] { position: relative; }
|
||
.extract-gate {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 12;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 24px;
|
||
background: rgba(255, 255, 255, .72);
|
||
backdrop-filter: blur(6px);
|
||
-webkit-backdrop-filter: blur(6px);
|
||
border-radius: var(--r-md);
|
||
}
|
||
.extract-gate-panel {
|
||
width: min(440px, 100%);
|
||
background: var(--surface-raised);
|
||
box-shadow: inset 0 0 0 1px var(--border-faint), var(--shadow-floating);
|
||
border-radius: var(--r-md);
|
||
padding: 28px 24px;
|
||
text-align: center;
|
||
}
|
||
.eg-title { font-size: 16px; font-weight: 600; color: var(--accent-black); }
|
||
.eg-sub { font-size: 11px; color: var(--black-alpha-48); margin-top: 6px; }
|
||
.eg-cost-hint { font-size: 11px; color: var(--black-alpha-48); margin-top: 8px; }
|
||
.extract-gate-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
|
||
.eg-btn {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
text-align: left;
|
||
padding: 13px 15px;
|
||
border: none;
|
||
border-radius: var(--r-md);
|
||
background: var(--background-base);
|
||
box-shadow: inset 0 0 0 1px var(--border-faint);
|
||
cursor: pointer;
|
||
transition: box-shadow .15s ease, background .15s ease;
|
||
}
|
||
.eg-btn:hover { box-shadow: inset 0 0 0 1px var(--klein); background: rgba(0, 47, 167, 0.04); }
|
||
.eg-btn-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||
.eg-btn-main { font-size: 13.5px; font-weight: 500; color: var(--accent-black); }
|
||
.eg-btn-sub { font-size: 11.5px; color: var(--black-alpha-48); }
|
||
.eg-tag { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; font-family: var(--font-mono); white-space: nowrap; line-height: 1.5; }
|
||
.eg-tag-free { color: var(--black-alpha-56); box-shadow: inset 0 0 0 1px var(--border-faint); }
|
||
.eg-tag-pay { color: var(--klein); box-shadow: inset 0 0 0 1px rgba(0, 47, 167, 0.28); background: rgba(0, 47, 167, 0.08); }
|
||
.eg-btn-full { box-shadow: inset 0 0 0 1px rgba(0, 47, 167, 0.28); }
|
||
.eg-btn-full:hover { box-shadow: inset 0 0 0 1px var(--klein); background: rgba(0, 47, 167, 0.08); }
|
||
.eg-err { margin-top: 14px; font-size: 12px; color: var(--accent-crimson); }
|
||
.extract-gate-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 8px; }
|
||
.eg-spinner { width: 30px; height: 30px; border-radius: 999px; border: 2.5px solid var(--border-faint); border-top-color: var(--klein); animation: eg-spin .8s linear infinite; }
|
||
@keyframes eg-spin { to { transform: rotate(360deg); } }
|
||
.eg-load-msg { font-size: 14px; font-weight: 500; color: var(--accent-black); }
|
||
.eg-load-sub { font-size: 11px; color: var(--black-alpha-48); }
|
||
.eg-reextract { margin-top: 14px; width: 100%; }
|
||
|
||
/* ── 兜底弹窗拦截:生成故事板/视频前,参考图不齐就拦住,让用户去补 / 仍要生成 ── */
|
||
.ref-gate-mask {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 1800;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 24px;
|
||
background: rgba(21, 20, 15, .42);
|
||
backdrop-filter: blur(8px);
|
||
-webkit-backdrop-filter: blur(8px);
|
||
}
|
||
.ref-gate-modal {
|
||
width: min(460px, 100%);
|
||
background: var(--surface-raised);
|
||
box-shadow: var(--shadow-floating);
|
||
border-radius: var(--r-md);
|
||
padding: 24px;
|
||
}
|
||
.rg-title { font-size: 16px; font-weight: 600; color: var(--accent-black); }
|
||
.rg-body { font-size: 13px; line-height: 1.6; color: var(--black-alpha-64); margin-top: 10px; }
|
||
.rg-body strong { color: var(--heat); font-weight: 600; }
|
||
.rg-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
|
||
.rg-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--accent-black); padding: 5px 11px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border-faint); background: var(--background-base); }
|
||
.rg-kind { font-size: 10px; font-family: var(--font-mono); padding: 2px 6px; border-radius: 999px; }
|
||
.rg-kind-person { color: var(--heat); background: var(--heat-8); }
|
||
.rg-kind-scene { color: var(--black-alpha-56); background: var(--black-alpha-5); }
|
||
.rg-actions { display: flex; gap: 10px; margin-top: 22px; align-items: stretch; }
|
||
.rg-actions .btn-primary,
|
||
.rg-actions .rg-force { flex: 1; }
|
||
.rg-force {
|
||
height: auto;
|
||
min-height: 36px;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 2px;
|
||
white-space: normal;
|
||
text-align: center;
|
||
line-height: 1.25;
|
||
}
|
||
.rg-warn { font-size: 10px; font-family: var(--font-mono); color: var(--black-alpha-48); }
|
||
|
||
/* 提取闸门单按钮:醒目主 CTA */
|
||
.eg-extract-btn { margin-top: 24px; min-width: 220px; }
|
||
|
||
/* C:角色/场景卡 采用/未采用 toggle */
|
||
.adopt-toggle { height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; letter-spacing: .02em; }
|
||
.adopt-toggle.adopted { color: var(--accent-forest); background: var(--forest-bg); border-color: var(--forest-bd); }
|
||
.adopt-toggle.unadopted { color: var(--black-alpha-56); background: var(--black-alpha-4); border-color: var(--border-faint); }
|
||
.adopt-toggle:hover { border-color: var(--black-alpha-24); }
|
||
/* D:角色/场景卡 hover 删除 + 二次确认 */
|
||
.asset-card-2 { position: relative; }
|
||
.asset-card-del { position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: none; border-radius: var(--r-sm); background: var(--black-alpha-48); color: var(--accent-white); cursor: pointer; opacity: 0; transition: opacity .15s, background .15s; }
|
||
.asset-card-del svg { width: 14px; height: 14px; }
|
||
.asset-card-2:hover .asset-card-del,
|
||
.as-gen:hover .asset-card-del { opacity: 1; }
|
||
.asset-card-del:hover { background: var(--accent-crimson); }
|
||
.asset-card-del-confirm { position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; gap: 6px; }
|
||
.asset-card-del-confirm button { height: 24px; padding: 0 8px; border-radius: var(--r-sm); font-size: 11.5px; border: 1px solid var(--border-faint); cursor: pointer; }
|
||
.asset-card-del-confirm .del-yes { background: var(--accent-crimson); border-color: var(--accent-crimson); color: var(--accent-white); }
|
||
.asset-card-del-confirm .del-no { background: var(--surface); color: var(--black-alpha-56); }
|
||
|
||
/* 5.1 存为模板弹窗 · 「会存进模板的内容」摊开清单 + 免责说明 */
|
||
.tpl-capture { display: flex; flex-direction: column; gap: 1px; background: var(--border-faint); border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border-faint); }
|
||
.tpl-capture .row { display: flex; gap: 12px; padding: 9px 12px; background: var(--background-base); font-size: 12.5px; line-height: 1.6; }
|
||
.tpl-capture .k { flex: 0 0 64px; color: var(--black-alpha-48); }
|
||
.tpl-capture .v { flex: 1; color: var(--accent-black); word-break: break-word; }
|
||
.tpl-note { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--black-alpha-56); }
|
||
.tpl-note .mono { font-family: var(--font-mono); font-size: 10px; color: var(--heat); margin-right: 4px; }
|
||
|
||
/* 脚本模型菜单挂到 body:输入卡 overflow:hidden 会裁掉向上展开的列表 */
|
||
.chat-model-menu.chip-menu {
|
||
--klein: #002fa7;
|
||
position: fixed;
|
||
top: auto;
|
||
display: block;
|
||
z-index: 9999;
|
||
}
|
||
.chat-model-menu.chip-menu .mi.selected {
|
||
color: var(--klein) !important;
|
||
background: rgba(0, 47, 167, 0.10) !important;
|
||
}
|
||
.chat-model-menu.chip-menu .mi.selected .mi-check {
|
||
color: var(--klein) !important;
|
||
}
|
||
|
||
/* 模特立绘上传区:拖拽投放高亮 */
|
||
.actorlib-drop.is-dragover {
|
||
border-style: solid;
|
||
border-color: var(--heat);
|
||
background: var(--heat-8);
|
||
}
|