Files
yingqing/core/frontend/src/video-remix-page.css
T

1374 lines
30 KiB
CSS

/* 提炼提示词 · 对照影擎 remix-page。不重写共享 .btn/.pill/.input/.chip/.textarea。 */
.vr-page {
--klein: #002fa7;
--klein-hover: #002680;
--muted: #6f747c;
--text: #17181a;
--shadow-card: 0 8px 20px rgba(20, 27, 38, 0.09);
width: 100%;
max-width: none;
box-sizing: border-box;
margin: -24px -28px -60px;
padding: 52px clamp(40px, 3.2vw, 68px) 48px;
}
@media (max-width: 1100px) {
.vr-page { margin: -28px -24px -48px; }
}
.vr-page .vr-inner {
width: min(1560px, 100%);
margin: 0 auto;
}
.vr-page .video-tool-page {
min-height: calc(100vh - 116px - 100px);
}
.vr-page .page-header {
position: relative;
min-height: 76px;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 30px;
margin-bottom: 34px;
}
.vr-page .image-title-row {
display: flex;
align-items: flex-start;
gap: 13px;
}
.vr-page .image-back-button {
width: 38px;
height: 38px;
display: grid;
place-items: center;
flex: 0 0 auto;
margin-top: 2px;
border: 1px solid rgba(0, 47, 167, 0.46);
border-radius: 12px;
color: var(--klein);
background: rgba(255, 255, 255, 0.82);
cursor: pointer;
box-shadow: 0 5px 14px rgba(0, 47, 167, 0.07);
transition: background-color 180ms ease, transform 180ms ease;
}
.vr-page .image-back-button:hover {
transform: translateX(-2px);
border-color: var(--klein);
background: rgba(0, 47, 167, 0.055);
}
.vr-page .image-back-button svg { width: 19px; height: 19px; }
.vr-page .page-heading h1 {
margin: 0 0 10px;
font-size: 32px;
line-height: 1.2;
font-weight: 600;
letter-spacing: -.02em;
color: var(--text);
}
.vr-page .page-heading p {
margin: 0;
color: var(--muted);
font-size: 15px;
}
.vr-page .video-flow-grid {
display: grid;
grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
gap: 22px;
margin-top: 26px;
}
.vr-page .remix-flow-grid {
grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
}
.vr-page .video-flow-panel,
.vr-page .video-result-panel {
padding: 24px;
border: 1px solid rgba(34, 42, 54, 0.1);
border-radius: 16px;
background: rgba(255, 255, 255, 0.92);
box-shadow: var(--shadow-card);
}
.vr-page .video-remix-upload-panel,
.vr-page .remix-information-panel,
.vr-page .remix-prompt-panel {
position: relative;
overflow: hidden;
border-color: rgba(0, 47, 167, 0.13);
background-color: rgba(251, 253, 255, 0.96);
box-shadow: 0 16px 38px rgba(22, 45, 92, 0.07), 0 2px 8px rgba(34, 42, 54, 0.035);
}
.vr-page .video-remix-upload-panel {
display: flex;
flex-direction: column;
}
.vr-page .video-remix-upload-panel::before,
.vr-page .remix-prompt-panel::before {
content: "";
position: absolute;
inset: 0 auto auto 0;
width: 100%;
height: 3px;
background: var(--klein);
}
.vr-page .remix-information-panel {
isolation: isolate;
background-color: rgba(249, 252, 255, 0.96);
}
.vr-page .remix-information-panel::before {
content: "";
position: absolute;
inset: 0 0 auto;
z-index: -1;
height: 3px;
background: var(--klein);
transition: height 220ms ease;
}
.vr-page .remix-information-panel.has-result::before {
height: 86px;
background: var(--klein);
}
.vr-page .remix-information-panel > * {
position: relative;
z-index: 1;
}
.vr-page .remix-information-panel .video-result-placeholder,
.vr-page .remix-information-panel .video-analysis-result,
.vr-page .remix-information-panel .remix-generating-state {
min-height: 286px;
}
.vr-page .remix-information-panel .video-result-placeholder {
color: var(--muted);
}
.vr-page .remix-information-panel .video-result-placeholder strong {
color: var(--text);
font-size: 16px;
}
.vr-page .remix-information-panel .video-result-placeholder svg {
color: var(--klein);
}
.vr-page .remix-placeholder-icon {
width: 54px;
height: 54px;
display: grid;
place-items: center;
margin-bottom: 4px;
border: 1px solid rgba(0, 47, 167, 0.13);
border-radius: 16px;
background: rgba(0, 47, 167, 0.055);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.vr-page .remix-info-heading {
min-height: 62px;
display: flex;
align-items: flex-start;
gap: 12px;
color: #fff;
}
.vr-page .remix-status-icon {
width: 38px;
height: 38px;
flex: 0 0 auto;
display: grid;
place-items: center;
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 12px;
background: rgba(255, 255, 255, 0.12);
}
.vr-page .remix-status-icon svg { width: 19px; height: 19px; }
.vr-page .remix-eyebrow {
display: block;
margin-bottom: 3px;
color: rgba(255, 255, 255, 0.66);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.vr-page .remix-info-heading h2 {
margin: 0;
color: #fff;
font-size: 18px;
font-weight: 600;
}
.vr-page .remix-info-heading p {
margin: 5px 0 0;
color: rgba(255, 255, 255, 0.7);
font-size: 11px;
}
.vr-page .remix-info-list {
flex: 1;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-rows: repeat(2, minmax(0, 1fr));
gap: 9px;
margin-top: 16px;
}
.vr-page .remix-info-item {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
padding: 11px 12px;
border: 1px solid rgba(0, 47, 167, 0.09);
border-radius: 11px;
background: rgba(255, 255, 255, 0.76);
}
.vr-page .remix-info-item span,
.vr-page .remix-info-file span {
display: flex;
align-items: center;
gap: 7px;
color: #72809a;
font-size: 12px;
font-weight: 500;
}
.vr-page .remix-info-item span svg,
.vr-page .remix-info-file span svg {
width: 15px;
height: 15px;
color: var(--klein);
}
.vr-page .remix-info-item strong {
display: block;
margin-top: 9px;
color: #1f2b42;
font-size: 16px;
line-height: 1.3;
font-weight: 600;
}
.vr-page .remix-info-list .remix-info-file {
margin-top: 0;
padding: 11px 12px;
}
.vr-page .remix-info-list .remix-info-file strong { font-size: 14px; }
.vr-page .remix-info-list .remix-info-file small { font-size: 11px; }
.vr-page .remix-info-file strong,
.vr-page .remix-info-file small {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vr-page .remix-info-file strong {
margin-top: 6px;
color: #1f2b42;
font-size: 12px;
font-weight: 600;
}
.vr-page .remix-info-file small {
margin-top: 3px;
color: #8a95a9;
font-size: 10px;
}
.vr-page .remix-prompt-panel {
min-height: 188px;
margin-top: 22px;
padding: 24px;
border: 1px solid rgba(0, 47, 167, 0.13);
border-radius: 16px;
}
.vr-page .remix-prompt-placeholder {
min-height: 138px;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
color: var(--muted);
text-align: left;
}
.vr-page .remix-prompt-placeholder > span {
width: 48px;
height: 48px;
flex: 0 0 auto;
display: grid;
place-items: center;
border: 1px solid rgba(0, 47, 167, 0.13);
border-radius: 14px;
color: var(--klein);
background: rgba(0, 47, 167, 0.055);
}
.vr-page .remix-prompt-placeholder svg { width: 22px; height: 22px; }
.vr-page .remix-prompt-placeholder strong {
display: block;
color: var(--text);
font-size: 15px;
font-weight: 600;
}
.vr-page .remix-prompt-result { display: none; }
.vr-page .remix-prompt-panel.has-result .remix-prompt-placeholder { display: none; }
.vr-page .remix-prompt-panel.has-result .remix-prompt-result { display: block; }
.vr-page .remix-prompt-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 15px;
}
.vr-page .remix-prompt-head-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex: 0 0 auto;
}
.vr-page .remix-prompt-head-actions .remix-prompt-head-btn {
min-width: 0;
height: 36px;
padding: 0 14px;
font-size: 13px;
font-weight: 500;
}
/* 「生成视频」是这一步的主动作,放按钮组最左边 */
.vr-page .remix-prompt-head-actions .primary-action.remix-prompt-head-btn {
order: -1;
font-weight: 600;
}
.vr-page .remix-prompt-head-actions .remix-prompt-head-btn svg {
width: 14px;
height: 14px;
}
.vr-page .secondary-action:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.vr-page .remix-prompt-title {
display: flex;
align-items: flex-start;
}
.vr-page .remix-prompt-title h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: var(--text);
}
.vr-page .remix-prompt-panel .analysis-prompt {
width: 100%;
/* 分镜稿动辄十几行,162px 只能看到两三镜,滚动条里翻稿太难受 —— 按视口给高度,
矮屏保底 300px,高屏最多 520px,再长才交给内部滚动。 */
height: clamp(300px, 46vh, 520px);
min-height: 300px;
max-height: 520px;
overflow-y: auto;
resize: vertical;
padding: 15px;
border: 1px solid rgba(0, 47, 167, 0.14);
border-radius: 11px;
outline: none;
color: var(--text);
background: rgba(255, 255, 255, 0.82);
box-shadow: inset 0 1px 2px rgba(27, 45, 83, 0.025);
font: inherit;
font-size: 13px;
line-height: 1.65;
box-sizing: border-box;
}
.vr-page .remix-prompt-panel .analysis-prompt:focus {
border-color: var(--klein);
box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.08);
}
.vr-page .video-flow-actions.remix-analyze-actions {
justify-content: flex-end;
margin-top: auto;
padding-top: 22px;
}
.vr-page .remix-generating-content .remix-cancel-analyze {
margin-top: 6px;
min-width: 112px;
height: 40px;
color: var(--klein);
border-color: rgba(0, 47, 167, 0.22);
background: rgba(0, 47, 167, 0.06);
}
.vr-page .remix-generating-content .remix-cancel-analyze:hover:not(:disabled) {
background: rgba(0, 47, 167, 0.1);
}
.vr-page .video-flow-panel h2,
.vr-page .video-result-panel h2 {
margin: 0;
font-size: 20px;
font-weight: 600;
color: var(--text);
}
.vr-page .remix-information-panel.has-result .remix-info-heading h2 {
color: #fff;
font-size: 18px;
}
.vr-page .video-flow-step { margin-top: 22px; }
.vr-page .video-flow-step-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 9px;
}
.vr-page .video-flow-step-head strong {
font-size: 14px;
font-weight: 600;
color: var(--text);
}
.vr-page .video-flow-step-head span {
color: var(--muted);
font-size: 11px;
}
.vr-page .video-upload-field {
min-height: 148px;
display: grid;
place-items: center;
padding: 22px;
border: 1px dashed rgba(0, 47, 167, 0.3);
border-radius: 13px;
color: #42506a;
background: rgba(0, 47, 167, 0.04);
text-align: center;
cursor: pointer;
transition: border-color 160ms ease, background 160ms ease;
}
.vr-page .video-upload-field:hover,
.vr-page .video-upload-field.has-file,
.vr-page .video-upload-field.is-dragover {
border-color: var(--klein);
background: rgba(0, 47, 167, 0.075);
}
/* 拖拽悬停:实线 + 略深底,和「已选好」区分开 */
.vr-page .video-upload-field.is-dragover {
border-style: solid;
background: rgba(0, 47, 167, 0.11);
}
.vr-page .video-upload-field > span {
display: grid;
place-items: center;
gap: 8px;
min-width: 0;
}
.vr-page .video-upload-field svg {
width: 28px;
height: 28px;
color: var(--klein);
}
.vr-page .video-upload-field strong {
color: var(--text);
font-size: 14px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.vr-page .video-upload-field small {
color: var(--muted);
font-size: 12px;
}
.vr-page .video-flow-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 22px;
}
.vr-page .primary-action,
.vr-page .secondary-action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
border-radius: 11px;
cursor: pointer;
font: inherit;
transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.vr-page .primary-action {
min-width: 158px;
height: 50px;
padding: 0 22px;
color: #fff;
background: var(--klein);
border: 0;
box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18);
}
.vr-page .primary-action:hover:not(:disabled) {
transform: translateY(-2px);
background: var(--klein-hover);
}
.vr-page .primary-action:disabled {
opacity: 0.38;
transform: none;
box-shadow: none;
cursor: not-allowed;
}
.vr-page .secondary-action {
min-width: 132px;
height: 46px;
padding: 0 18px;
color: var(--text);
border: 1px solid rgba(28, 34, 43, 0.12);
background: rgba(34, 42, 54, 0.05);
}
.vr-page .secondary-action:hover:not(:disabled) {
background: rgba(34, 42, 54, 0.10);
}
.vr-page .primary-action svg,
.vr-page .secondary-action svg {
width: 19px;
height: 19px;
}
.vr-page .video-result-placeholder,
.vr-page .video-analysis-result {
min-height: 360px;
}
.vr-page .video-result-placeholder {
display: grid;
place-items: center;
color: var(--muted);
text-align: center;
}
.vr-page .video-result-placeholder > div {
display: grid;
place-items: center;
gap: 10px;
}
.vr-page .video-analysis-result { display: none; }
.vr-page .video-result-panel.has-result .video-result-placeholder { display: none; }
.vr-page .video-result-panel.has-result .video-analysis-result { display: block; }
.vr-page .remix-information-panel.has-result .video-analysis-result {
display: flex;
flex-direction: column;
}
.vr-page .remix-generating-state {
display: none;
place-items: center;
text-align: center;
}
.vr-page .remix-information-panel.is-analyzing .video-result-placeholder,
.vr-page .remix-information-panel.is-analyzing .video-analysis-result {
display: none;
}
.vr-page .remix-information-panel.is-analyzing .remix-generating-state {
display: grid;
}
.vr-page .remix-generating-content {
width: min(280px, 100%);
display: grid;
justify-items: center;
gap: 10px;
}
.vr-page .remix-generating-visual {
position: relative;
width: 136px;
height: 104px;
margin-bottom: 10px;
}
.vr-page .remix-generating-frame {
position: absolute;
inset: 4px 18px 18px 4px;
display: grid;
place-items: center;
overflow: hidden;
border: 1px solid rgba(0, 47, 167, 0.14);
border-radius: 16px;
color: var(--klein);
background: rgba(255, 255, 255, 0.94);
}
.vr-page .remix-generating-frame svg {
width: 26px;
height: 26px;
stroke-width: 1.7;
}
.vr-page .remix-generating-frame::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(110deg, transparent 28%, rgba(0, 47, 167, 0.13) 50%, transparent 72%);
transform: translateX(-130%);
animation: remix-frame-scan 1.35s ease-in-out infinite;
}
.vr-page .remix-generating-badge {
position: absolute;
right: 0;
bottom: 0;
width: 44px;
height: 44px;
display: grid;
place-items: center;
border: 3px solid #fff;
border-radius: 14px;
color: #fff;
background: var(--klein);
animation: remix-badge-pulse 1.35s ease-in-out infinite;
}
.vr-page .remix-generating-badge svg {
width: 18px;
height: 18px;
}
.vr-page .remix-generating-content > strong {
color: var(--text);
font-size: 16px;
font-weight: 600;
}
.vr-page .remix-generating-content > span {
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
/* 读取任务状态期间左侧整块不可操作:只锁提交按钮不够,用户照样能点/拖上传 */
.vr-page .video-remix-upload-panel.is-locked {
pointer-events: none;
opacity: 0.55;
filter: saturate(0.85);
transition: opacity 160ms ease;
}
/* 进页面先确认后端有没有在跑的任务,确认完之前不给看空表单也不让提交 */
.vr-page .remix-restoring-state { display: none; place-items: center; text-align: center; }
.vr-page .remix-information-panel.is-restoring .remix-restoring-state { display: grid; }
.vr-page .remix-information-panel.is-restoring .video-result-placeholder,
.vr-page .remix-information-panel.is-restoring .remix-generating-state,
.vr-page .remix-information-panel.is-restoring .video-analysis-result { display: none; }
.vr-page .remix-restoring-content {
display: grid;
justify-items: center;
gap: 10px;
width: min(280px, 100%);
}
.vr-page .remix-restoring-content strong { color: var(--text); font-size: 16px; font-weight: 600; }
.vr-page .remix-restoring-content span:not(.remix-restoring-spinner) {
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
.vr-page .remix-restoring-spinner {
width: 26px;
height: 26px;
border-radius: 50%;
border: 2px solid rgba(0, 47, 167, 0.16);
border-top-color: var(--klein);
animation: remix-restoring-spin 0.8s linear infinite;
}
@keyframes remix-restoring-spin { to { transform: rotate(360deg); } }
.vr-page .remix-generating-bar {
width: 210px;
height: 4px;
margin-top: 8px;
overflow: hidden;
border-radius: 999px;
background: rgba(16, 16, 18, 0.08);
}
.vr-page .remix-generating-bar span {
width: 44%;
height: 100%;
display: block;
border-radius: inherit;
background: var(--klein);
animation: remix-progress-slide 1.15s ease-in-out infinite;
}
@keyframes remix-progress-slide {
0% { transform: translateX(-100%); }
100% { transform: translateX(330%); }
}
@keyframes remix-frame-scan {
0% { transform: translateX(-130%); }
100% { transform: translateX(130%); }
}
@keyframes remix-badge-pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.07); }
}
.vr-page .remix-progress-strip {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0;
margin-top: 22px;
padding: 15px 20px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 14px;
background: rgba(255, 255, 255, 0.88);
box-shadow: 0 10px 28px rgba(22, 45, 92, 0.055);
}
.vr-page .remix-progress-step {
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 9px;
color: #8893a7;
font-size: 12px;
font-weight: 600;
}
.vr-page .remix-progress-step:not(:last-child)::after {
content: "";
position: absolute;
top: 50%;
left: calc(50% + 52px);
width: calc(100% - 104px);
height: 1px;
background: rgba(0, 47, 167, 0.13);
}
.vr-page .remix-progress-dot {
width: 24px;
height: 24px;
display: grid;
place-items: center;
border: 1px solid rgba(0, 47, 167, 0.16);
border-radius: 50%;
color: #78849a;
background: #fff;
font-size: 10px;
line-height: 1;
transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.vr-page .remix-progress-step.active,
.vr-page .remix-progress-step.done {
color: #23314a;
}
.vr-page .remix-progress-step.active .remix-progress-dot {
border-color: var(--klein);
color: #fff;
background: var(--klein);
box-shadow: 0 0 0 5px rgba(0, 47, 167, 0.08);
}
.vr-page .remix-progress-step.done .remix-progress-dot {
border-color: rgba(0, 47, 167, 0.28);
color: var(--klein);
background: #eef3ff;
}
.vr-page .remix-page .video-flow-grid {
margin-top: 18px;
}
.vr-page .remix-page .video-remix-upload-panel,
.vr-page .remix-page .remix-information-panel,
.vr-page .remix-page .remix-prompt-panel {
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vr-page .remix-page .video-remix-upload-panel:hover,
.vr-page .remix-page .remix-information-panel:hover,
.vr-page .remix-page .remix-prompt-panel:hover {
border-color: rgba(0, 47, 167, 0.22);
box-shadow: 0 18px 42px rgba(22, 45, 92, 0.09), 0 3px 10px rgba(34, 42, 54, 0.04);
}
.vr-page .remix-page .video-remix-upload-panel {
min-height: 354px;
}
.vr-page .remix-page .video-remix-upload-panel > h2 {
display: flex;
align-items: center;
gap: 10px;
}
.vr-page .remix-page .video-remix-upload-panel > h2::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--klein);
box-shadow: 0 0 0 5px rgba(0, 47, 167, 0.075);
}
.vr-page .remix-page .video-flow-step {
flex: 1;
display: flex;
flex-direction: column;
}
.vr-page .remix-page .video-upload-field {
flex: 1;
min-height: 196px;
border-width: 1px;
border-color: rgba(0, 47, 167, 0.28);
background: #f5f8ff;
}
.vr-page .remix-page .video-upload-field:hover,
.vr-page .remix-page .video-upload-field:focus-within,
.vr-page .remix-page .video-upload-field.is-dragover {
border-color: var(--klein);
background: #f0f5ff;
box-shadow: inset 0 0 0 1px rgba(0, 47, 167, 0.05);
}
.vr-page .remix-page .video-upload-field > span {
gap: 10px;
}
.vr-page .remix-page .video-upload-field svg {
width: 34px;
height: 34px;
padding: 8px;
box-sizing: content-box;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 14px;
background: #fff;
box-shadow: 0 8px 20px rgba(0, 47, 167, 0.08);
}
.vr-page .remix-page .video-upload-field strong {
color: #1d2940;
font-size: 15px;
}
/* 预览卡与「视频复刻」页保持同一套:缩略图 + 文件信息 + 更换按钮,不再整块铺黑底 */
.vr-page .remix-page .video-upload-field.has-preview {
min-height: 0;
padding: 12px;
place-items: stretch;
text-align: left;
border-style: solid;
cursor: default;
}
.vr-page .video-upload-preview {
display: grid;
grid-template-columns: minmax(0, 132px) minmax(0, 1fr) auto;
align-items: center;
gap: 14px;
width: 100%;
min-width: 0;
}
.vr-page .remix-page .video-upload-field.has-preview video {
width: 100%;
height: auto;
aspect-ratio: 9 / 16;
max-height: 168px;
display: block;
border-radius: 8px;
object-fit: contain;
background: #0f1728;
}
.vr-page .video-upload-preview-meta {
display: grid;
gap: 4px;
min-width: 0;
}
.vr-page .video-upload-change {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 13px;
border: 1px solid rgba(0, 47, 167, 0.3);
border-radius: 8px;
background: transparent;
color: var(--klein);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 160ms ease, border-color 160ms ease;
}
.vr-page .video-upload-change:hover {
border-color: var(--klein);
background: rgba(0, 47, 167, 0.075);
}
.vr-page .video-upload-change.is-disabled {
pointer-events: none;
opacity: 0.45;
}
.vr-page .video-upload-change svg { width: 15px; height: 15px; }
@media (max-width: 720px) {
.vr-page .video-upload-preview { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
.vr-page .video-upload-change { grid-column: 1 / -1; justify-content: center; }
}
.vr-page .remix-page .video-upload-field strong {
color: #1d2940;
font-size: 15px;
}
.vr-page .remix-page .remix-information-panel {
display: flex;
flex-direction: column;
}
.vr-page .remix-page .remix-information-panel .video-result-placeholder,
.vr-page .remix-page .remix-information-panel .video-analysis-result,
.vr-page .remix-page .remix-information-panel .remix-generating-state,
.vr-page .remix-page .remix-information-panel .remix-restoring-state {
flex: 1;
}
.vr-page .remix-page .remix-information-panel.has-result .video-analysis-result,
.vr-page .remix-page .remix-prompt-panel.has-result .remix-prompt-result {
animation: remixReveal 260ms ease both;
}
.vr-page .remix-page .remix-info-item {
box-shadow: 0 5px 16px rgba(25, 49, 95, 0.045);
transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.vr-page .remix-page .remix-info-item:hover {
border-color: rgba(0, 47, 167, 0.2);
transform: translateY(-1px);
box-shadow: 0 8px 20px rgba(25, 49, 95, 0.075);
}
.vr-page .remix-page .remix-prompt-panel .analysis-prompt {
border-left: 3px solid var(--klein);
background: #fff;
box-shadow: inset 0 1px 3px rgba(27, 45, 83, 0.03), 0 8px 22px rgba(22, 45, 92, 0.045);
}
.vr-page .remix-page .remix-prompt-title h2 {
display: flex;
align-items: center;
gap: 9px;
}
@keyframes remixReveal {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.vr-page .remix-page .remix-information-panel.has-result .video-analysis-result,
.vr-page .remix-page .remix-prompt-panel.has-result .remix-prompt-result {
animation: none;
}
.vr-page .remix-generating-frame::after,
.vr-page .remix-generating-badge {
animation: none;
}
}
.vr-page .remix-history-section {
margin-top: 30px;
}
.vr-page .remix-history-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-bottom: 14px;
}
.vr-page .remix-history-head h2 {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
color: var(--text);
font-size: 19px;
font-weight: 600;
}
.vr-page .remix-history-count {
color: var(--muted);
font-size: 12px;
}
.vr-page .remix-history-empty {
padding: 28px 16px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 15px;
color: var(--muted);
background: rgba(255, 255, 255, 0.72);
font-size: 13px;
text-align: center;
}
.vr-page .remix-history-list {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.vr-page .remix-history-card {
position: relative;
display: grid;
grid-template-columns: 184px minmax(0, 1fr);
gap: 20px;
padding: 12px;
overflow: hidden;
border: 1px solid rgba(0, 47, 167, 0.13);
border-radius: 15px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 12px 30px rgba(22, 45, 92, 0.06);
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vr-page .remix-history-card::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 3px;
background: var(--klein);
}
.vr-page .remix-history-card:hover {
border-color: rgba(0, 47, 167, 0.24);
box-shadow: 0 16px 36px rgba(22, 45, 92, 0.09);
transform: translateY(-1px);
}
.vr-page .remix-history-cover {
position: relative;
height: 108px;
overflow: hidden;
border-radius: 11px;
background: #e9eef8;
cursor: pointer;
}
.vr-page .remix-history-cover img,
.vr-page .remix-history-cover video {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.vr-page .remix-history-cover.is-playable {
cursor: pointer;
}
.vr-page .remix-history-play {
position: absolute;
inset: 0;
width: 36px;
height: 36px;
margin: auto;
display: grid;
place-items: center;
border-radius: 50%;
color: #fff;
background: rgba(0, 47, 167, 0.88);
pointer-events: none;
}
.vr-page .remix-history-play svg {
width: 16px;
height: 16px;
margin-left: 2px;
}
.vr-page .remix-history-cover.is-playing .remix-history-play {
opacity: 0;
}
.vr-page .remix-history-duration {
position: absolute;
right: 8px;
bottom: 8px;
padding: 4px 7px;
border-radius: 6px;
color: #fff;
background: rgba(13, 19, 31, 0.78);
font-size: 10px;
font-weight: 600;
}
.vr-page .remix-history-content {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 8px 8px 8px 0;
}
.vr-page .remix-history-copy {
min-width: 0;
}
.vr-page .remix-history-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 99px;
color: var(--klein);
background: #eef3ff;
font-size: 10px;
font-weight: 600;
}
.vr-page .remix-history-status::before {
content: "";
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--klein);
}
.vr-page .remix-history-copy h3 {
margin: 9px 0 0;
overflow: hidden;
color: #1d2940;
font-size: 16px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.vr-page .remix-history-copy p {
margin: 7px 0 0;
color: var(--muted);
font-size: 11px;
}
.vr-page .remix-history-actions {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 16px;
}
.vr-page .remix-history-actions time {
color: #8b96a8;
font-size: 11px;
}
.vr-page .remix-history-open {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 9px 13px;
border: 1px solid rgba(0, 47, 167, 0.24);
border-radius: 9px;
color: var(--klein);
background: #fff;
font: inherit;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.vr-page .remix-history-open:hover {
border-color: var(--klein);
color: #fff;
background: var(--klein);
}
.vr-page .remix-history-open svg {
width: 14px;
height: 14px;
}
.vr-page .remix-history-prompt {
grid-column: 1 / -1;
padding: 16px;
border: 1px solid rgba(0, 47, 167, 0.1);
border-radius: 11px;
background: #f7f9fd;
animation: remixReveal 220ms ease both;
}
.vr-page .remix-history-prompt[hidden] {
display: none;
}
.vr-page .remix-history-prompt-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 10px;
}
.vr-page .remix-history-prompt-head strong {
color: #334058;
font-size: 12px;
font-weight: 600;
}
.vr-page .remix-history-prompt-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex: 0 0 auto;
}
.vr-page .remix-history-prompt textarea {
width: 100%;
height: 162px;
min-height: 162px;
max-height: 162px;
display: block;
resize: none;
overflow-y: auto;
padding: 13px 14px;
border: 1px solid rgba(34, 42, 54, 0.12);
border-radius: 9px;
outline: none;
color: #27334a;
background: #fff;
font: inherit;
font-size: 12px;
line-height: 1.7;
box-sizing: border-box;
}
.vr-page .remix-history-copy-button {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 11px;
border: 1px solid rgba(0, 47, 167, 0.2);
border-radius: 8px;
color: var(--klein);
background: #fff;
font: inherit;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.vr-page .remix-history-copy-button:hover {
border-color: var(--klein);
color: #fff;
background: var(--klein);
}
.vr-page .remix-history-copy-button svg {
width: 13px;
height: 13px;
}
@media (max-width: 1120px) {
.vr-page .video-flow-grid,
.vr-page .remix-flow-grid { grid-template-columns: 1fr; }
.vr-page .remix-prompt-head { flex-wrap: wrap; }
.vr-page .video-flow-actions { flex-wrap: wrap; }
.vr-page .remix-progress-step:not(:last-child)::after {
left: calc(50% + 42px);
width: calc(100% - 84px);
}
.vr-page .remix-history-card {
grid-template-columns: 1fr;
}
.vr-page .remix-history-content {
align-items: flex-start;
flex-direction: column;
gap: 14px;
}
}