Files
ai-video-editor/src/styles.css
T

5730 lines
163 KiB
CSS

:root {
color-scheme: dark;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
"PingFang SC", "Microsoft YaHei", sans-serif;
background: #07090d;
color: #eef5f7;
font-synthesis: none;
text-rendering: optimizeLegibility;
font-size: 13px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
overflow: hidden;
background:
radial-gradient(circle at 46% -18%, rgba(48, 240, 219, 0.1), transparent 28%),
#07090d;
-webkit-font-smoothing: antialiased;
}
button,
textarea,
input {
font: inherit;
}
button {
color: inherit;
}
button:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.app-shell {
display: grid;
grid-template-rows: 52px minmax(360px, 1fr) 354px;
width: 100vw;
height: 100vh;
height: 100dvh;
min-width: 1120px;
background: #090b0f;
}
.topbar {
position: relative;
z-index: 50;
display: grid;
grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
align-items: center;
gap: 18px;
padding: 0 18px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(14, 17, 23, 0.96);
backdrop-filter: blur(18px);
}
.project-cluster,
.topbar-center,
.topbar-actions,
.transport-row,
.playback-controls,
.timeline-tools,
.timeline-icon-group,
.voice-header,
.panel-title-row,
.script-meta,
.model-row,
.slider-field > div,
.voice-actions {
display: flex;
align-items: center;
}
.project-cluster {
gap: 13px;
min-width: 0;
}
.project-title {
font-size: 15px;
font-weight: 650;
line-height: 1.2;
}
.project-title-row {
display: flex;
align-items: center;
gap: 7px;
}
.project-file-button {
display: inline-flex;
align-items: center;
gap: 3px;
border: 0;
padding: 2px 5px;
border-radius: 5px;
color: #8e9aa5;
font: inherit;
font-size: 12px;
background: transparent;
cursor: pointer;
}
.project-file-button:hover { color: #e8fffc; background: rgba(255,255,255,.075); }
.project-file-input { display: none; }
.file-menu-card {
display: grid;
width: 294px;
gap: 5px;
padding: 8px;
}
.file-menu-heading {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 5px 6px 8px;
color: #f1f8fa;
font-size: 13px;
font-weight: 700;
}
.file-menu-heading small {
color: #72808b;
font-size: 10px;
font-weight: 600;
letter-spacing: .04em;
text-transform: uppercase;
}
.file-menu-action {
display: grid;
grid-template-columns: 30px minmax(0, 1fr) auto;
align-items: center;
min-height: 56px;
gap: 9px;
width: 100%;
padding: 7px 8px;
border: 1px solid transparent;
border-radius: 8px;
color: #e2edf1;
text-align: left;
background: transparent;
cursor: pointer;
transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.file-menu-action:hover {
border-color: rgba(49, 239, 217, .23);
background: rgba(53, 240, 221, .08);
}
.file-menu-action:active { transform: scale(.985); }
.file-menu-icon {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 7px;
color: #aebbc3;
background: rgba(255,255,255,.07);
}
.file-menu-copy { display: grid; gap: 3px; min-width: 0; }
.file-menu-copy strong { color: #eaf4f7; font-size: 13px; font-weight: 650; }
.file-menu-copy small { color: #84929d; font-size: 11px; white-space: nowrap; }
.file-menu-format {
align-self: start;
margin-top: 3px;
color: #72818b;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 10px;
}
.file-menu-divider { height: 1px; margin: 3px 5px; background: rgba(255,255,255,.08); }
.file-menu-resources { display: flex; flex-wrap: wrap; gap: 6px 13px; padding: 7px 8px 2px; }
.file-menu-resources a { color: #8fa0aa; font-size: 11px; text-decoration: none; }
.file-menu-resources a:hover { color: #57e8d8; }
.file-menu-new { min-height: 46px; }
.file-menu-new .file-menu-copy small { display: none; }
.file-menu-action.is-primary { background: rgba(38, 221, 202, .09); }
.file-menu-action.is-primary .file-menu-icon { color: #0f2021; background: #35e9d6; }
.file-menu-action.is-primary .file-menu-copy strong { color: #dffff9; }
.file-menu-action.is-primary:hover { border-color: rgba(53, 240, 221, .48); background: rgba(38, 221, 202, .15); }
.autosave {
display: flex;
align-items: center;
gap: 5px;
margin-top: 4px;
color: #7f8a95;
font-size: 12px;
}
.autosave svg {
color: #29d9c8;
}
.topbar-center {
justify-content: center;
gap: 8px;
}
.topbar-actions {
justify-content: flex-end;
gap: 10px;
}
.divider {
width: 1px;
height: 19px;
margin: 0 6px;
background: rgba(255, 255, 255, 0.12);
}
.icon-button,
.ghost-action,
.ratio-select,
.preview-button,
.export-button,
.fit-button,
.voice-filter,
.script-meta button,
.generate-button,
.secondary-download {
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 7px;
background: transparent;
cursor: pointer;
}
.icon-button {
width: 34px;
height: 34px;
color: #aeb8c2;
}
.icon-button:hover,
.icon-button.is-active {
color: #ecfffd;
background: rgba(255, 255, 255, 0.08);
}
.ghost-action,
.preview-button,
.ratio-select,
.fit-button,
.voice-filter {
gap: 6px;
min-height: 32px;
padding: 0 11px;
color: #c8d0d7;
font-size: 13px;
line-height: 1;
white-space: nowrap;
background: rgba(255, 255, 255, 0.055);
}
.fit-button {
min-width: 74px;
flex: 0 0 auto;
}
.fit-button svg {
flex: 0 0 auto;
}
.ghost-action {
background: transparent;
color: #98a3ad;
}
.ghost-action:hover,
.preview-button:hover,
.ratio-select:hover,
.fit-button:hover,
.voice-filter:hover {
background: rgba(255, 255, 255, 0.09);
}
.export-button {
gap: 7px;
min-height: 34px;
padding: 0 16px;
color: #061313;
font-size: 14px;
font-weight: 750;
background: linear-gradient(135deg, #45f5e4, #26cfc0);
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}
.menu-anchor {
position: relative;
display: inline-flex;
align-items: center;
}
.popover {
position: absolute;
top: calc(100% + 8px);
right: 0;
z-index: 80;
min-width: 190px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 10px;
background: #171b22;
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}
/* The project trigger sits in the left side of the top bar. Open into the
workspace, not back over the app's left edge. */
.project-file-popover {
right: auto;
left: 0;
}
.popover-close {
position: absolute;
top: 8px;
right: 8px;
display: grid;
place-items: center;
width: 24px;
height: 24px;
border: 0;
border-radius: 6px;
color: #aeb8c2;
background: rgba(255, 255, 255, 0.06);
cursor: pointer;
}
.menu-list,
.settings-panel {
display: grid;
gap: 7px;
}
.menu-list button,
.settings-panel button {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
min-height: 34px;
border: 0;
border-radius: 6px;
padding: 0 10px;
color: #dce8ee;
font-size: 13px;
text-align: left;
background: rgba(255, 255, 255, 0.045);
cursor: pointer;
}
.menu-list button:hover,
.menu-list button.is-selected,
.settings-panel button:hover {
color: #effffd;
background: rgba(46, 234, 216, 0.12);
}
.menu-list span {
color: #7f8b96;
font-size: 11px;
}
.settings-panel {
padding-top: 24px;
}
.settings-panel strong {
color: #f0f8fa;
font-size: 13px;
}
.settings-panel label {
display: flex;
align-items: center;
gap: 8px;
color: #cbd7de;
font-size: 13px;
}
.settings-panel label span {
min-width: 64px;
}
.settings-panel select {
width: 100%;
min-width: 132px;
height: 32px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 7px;
outline: 0;
padding: 0 9px;
color: #eaf6f7;
background: #1b2028;
}
.export-settings-popover { width: 360px; padding: 0; overflow: hidden; }
.export-settings-card { display: grid; gap: 14px; padding: 18px; }
.export-settings-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-right: 24px; }
.export-settings-heading div { display: grid; gap: 4px; }
.export-settings-heading strong { color: #f4fbfc; font-size: 16px; }
.export-settings-heading small, .export-settings-note { color: #7f8c96; font-size: 11px; line-height: 1.5; }
.export-settings-heading > span { border: 1px solid rgba(69,245,228,.22); border-radius: 5px; padding: 3px 7px; color: #45e8d8; background: rgba(69,245,228,.08); font-size: 10px; font-weight: 750; }
.export-setting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.export-setting-field { display: grid; gap: 7px; color: #aebbc3; font-size: 12px; }
.export-setting-field select { width: 100%; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 0 10px; color: #eaf5f6; outline: 0; background: #20252d; }
.export-setting-field select:focus { border-color: rgba(69,245,228,.48); }
.export-quality-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.export-quality-options button { height: 34px; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; color: #abb6bf; background: rgba(255,255,255,.04); cursor: pointer; }
.export-quality-options button.is-selected { border-color: rgba(69,245,228,.45); color: #eafffd; background: rgba(69,245,228,.12); }
.export-settings-note { padding: 9px 10px; border-radius: 7px; background: rgba(255,255,255,.035); }
.export-confirm-button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border: 0; border-radius: 7px; color: #061313; font-size: 13px; font-weight: 800; background: linear-gradient(135deg, #45f5e4, #26cfc0); cursor: pointer; }
.export-confirm-button:disabled { color: #758086; background: rgba(255,255,255,.07); cursor: not-allowed; }
.editor-grid {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 90px minmax(250px, 0.66fr) minmax(520px, 1.62fr) minmax(300px, 0.78fr);
grid-template-rows: minmax(0, 1fr);
gap: 6px;
min-height: 0;
padding: 6px;
overflow: hidden;
background: #07090d;
}
.editor-grid.is-compact-rail {
grid-template-columns: 50px minmax(250px, 0.66fr) minmax(520px, 1.62fr) minmax(300px, 0.78fr);
}
.language-intro {
position: fixed;
inset: 0;
z-index: 220;
display: grid;
place-items: center;
padding: 28px;
background:
linear-gradient(180deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.985)),
#07090d;
animation: intro-fade-in 420ms ease both;
}
.language-intro.is-closing {
animation: intro-fade-out 520ms ease both;
}
.language-intro-card {
width: min(720px, 100%);
border: 1px solid rgba(53, 234, 217, 0.18);
border-radius: 10px;
padding: 28px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
#11161d;
box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
animation: intro-card-in 560ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}
.language-intro-preview {
display: grid;
grid-template-columns: 1.1fr 0.68fr;
grid-template-rows: 64px 34px;
gap: 8px;
height: 108px;
margin-bottom: 24px;
}
.language-intro-preview span {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
}
.language-intro-preview span:first-child {
grid-row: span 2;
background:
linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.32)),
url("/assets/sample-portrait.png") center / cover;
}
.language-intro-preview span:nth-child(2)::before,
.language-intro-preview span:nth-child(3)::before {
position: absolute;
inset: 12px auto 12px 12px;
width: 72%;
border-radius: 999px;
background: linear-gradient(90deg, #35ead9, rgba(53, 234, 217, 0.18));
animation: intro-strip 940ms ease both;
content: "";
}
.language-intro-preview span:nth-child(3)::before {
width: 58%;
animation-delay: 120ms;
}
.language-intro-card p {
margin: 0 0 8px;
color: #62efe3;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.language-intro-card h1 {
margin: 0;
color: #f2fafb;
line-height: 1.15;
letter-spacing: 0;
}
.language-title-en,
.language-title-local {
display: block;
}
.language-title-en {
font-size: clamp(28px, 4vw, 42px);
font-weight: 840;
}
.language-title-local {
margin-top: 8px;
color: #c8d7df;
font-size: 18px;
font-weight: 720;
}
.language-intro-copy {
display: block;
margin-top: 10px;
color: #94a1ac;
font-size: 14px;
line-height: 1.55;
}
.language-intro-copy strong,
.language-intro-copy span {
display: block;
}
.language-intro-copy strong {
color: #dbe8ec;
font-weight: 680;
}
.language-intro-copy span {
margin-top: 2px;
}
.first-visual-guide {
position: fixed;
z-index: 10020;
inset: 0;
background: rgba(3, 7, 12, .48);
backdrop-filter: blur(1.5px);
}
.first-visual-guide-heading {
position: fixed;
top: 18px;
left: 50%;
display: flex;
align-items: center;
gap: 16px;
min-height: 44px;
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 10px;
padding: 7px 8px 7px 16px;
color: #eef8fa;
background: #171d25;
box-shadow: 0 16px 50px rgba(0, 0, 0, .42);
transform: translateX(-50%);
}
.first-visual-guide-heading strong { font-size: 13px; white-space: nowrap; }
.first-visual-guide-heading button { min-height: 30px; border: 0; border-radius: 6px; padding: 0 13px; color: #061411; font-size: 12px; font-weight: 750; background: #35ead9; cursor: pointer; }
.first-visual-guide-dismiss { position: fixed; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: #dce7ea; background: #171d25; cursor: pointer; }
.first-visual-guide-highlight {
position: fixed;
border: 2px solid #35ead9;
border-radius: 8px;
box-shadow: 0 0 0 3px rgba(53, 234, 217, .18), 0 0 28px rgba(53, 234, 217, .3);
pointer-events: none;
}
.first-visual-guide-demo {
position: fixed;
z-index: 2;
overflow: visible;
pointer-events: none;
}
.first-visual-guide-demo.is-transform { container-type: size; }
.first-visual-guide-demo-box {
position: absolute;
top: 28%;
left: 24%;
width: 48%;
height: 44%;
border: 1.5px dashed rgba(255, 255, 255, .92);
border-radius: 3px;
background: rgba(53, 234, 217, .07);
transform-origin: center;
animation: first-visual-transform-demo 3.8s cubic-bezier(.42, 0, .22, 1) infinite;
}
.first-visual-guide-demo-box i { position: absolute; width: 9px; height: 9px; border: 2px solid #071018; border-radius: 50%; background: #35ead9; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.first-visual-guide-demo-box i:nth-child(1) { top: -5px; left: -5px; }
.first-visual-guide-demo-box i:nth-child(2) { top: -5px; right: -5px; }
.first-visual-guide-demo-box i:nth-child(3) { right: -5px; bottom: -5px; }
.first-visual-guide-demo-box i:nth-child(4) { bottom: -5px; left: -5px; }
.first-visual-guide-demo-cursor {
position: absolute;
top: 51%;
left: 48%;
color: #fff;
filter: drop-shadow(0 2px 3px rgba(0,0,0,.9));
animation: first-visual-drag-cursor 3.8s cubic-bezier(.42, 0, .22, 1) infinite;
}
.first-visual-guide-demo.is-context { display: grid; place-items: center; }
.first-visual-guide-demo-mouse {
position: absolute;
z-index: 2;
color: #fff;
filter: drop-shadow(0 2px 3px rgba(0,0,0,.9));
animation: first-visual-right-click 3.8s ease-in-out infinite;
}
.first-visual-guide-click-ring {
position: absolute;
width: 22px;
height: 22px;
border: 2px solid #35ead9;
border-radius: 50%;
opacity: 0;
animation: first-visual-click-ring 3.8s ease-out infinite;
}
.first-visual-guide-mini-menu {
position: absolute;
z-index: 1;
top: calc(50% - 60px);
left: calc(50% + 18px);
width: 94px;
border: 1px solid rgba(255,255,255,.16);
border-radius: 7px;
padding: 7px;
opacity: 0;
background: #1c232c;
box-shadow: 0 12px 28px rgba(0,0,0,.5);
transform: translateY(6px) scale(.96);
animation: first-visual-menu-demo 3.8s ease-in-out infinite;
}
.first-visual-guide-mini-menu i { display: block; height: 5px; margin: 6px 3px; border-radius: 3px; background: rgba(225,239,242,.75); }
.first-visual-guide-mini-menu i:nth-child(2) { width: 72%; }
.first-visual-guide-mini-menu i:nth-child(3) { width: 84%; }
@keyframes first-visual-transform-demo {
0%, 12%, 88%, 100% { transform: translate(0, 0) scale(1); }
38%, 50% { transform: translate(10%, -7%) scale(1); }
70%, 80% { transform: translate(10%, -7%) scale(1.14); }
}
@keyframes first-visual-drag-cursor {
0%, 10%, 88%, 100% { opacity: 0; transform: translate(-35px, 22px); }
16%, 24% { opacity: 1; transform: translate(0, 0) scale(.9); }
38%, 50% { opacity: 1; transform: translate(10cqw, -7cqh) scale(.9); }
58% { opacity: 0; transform: translate(10cqw, -7cqh); }
64% { opacity: 1; transform: translate(calc(24cqw - 4px), calc(22cqh - 4px)); }
72%, 80% { opacity: 1; transform: translate(calc(31cqw - 4px), calc(29cqh - 4px)); }
}
@keyframes first-visual-right-click {
0%, 12%, 82%, 100% { opacity: 0; transform: translate(-38px, 12px) scale(1); }
20%, 30% { opacity: 1; transform: translate(0, 0) scale(1); }
34%, 40% { opacity: 1; transform: translate(0, 0) scale(.84); color: #35ead9; }
48%, 72% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes first-visual-click-ring {
32% { opacity: .9; transform: scale(.45); }
48% { opacity: 0; transform: scale(1.8); }
}
@keyframes first-visual-menu-demo {
0%, 38%, 82%, 100% { opacity: 0; transform: translateY(6px) scale(.96); }
48%, 72% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
.first-visual-guide-demo * { animation: none !important; }
.first-visual-guide-demo-box { transform: translate(8%, -5%) scale(1.08); }
.first-visual-guide-demo-cursor, .first-visual-guide-demo-mouse { opacity: 1; }
.first-visual-guide-mini-menu { opacity: 1; transform: none; }
}
.first-visual-guide-card {
position: fixed;
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
gap: 10px;
width: 320px;
border: 1px solid rgba(53, 234, 217, .5);
border-radius: 9px;
padding: 13px 14px;
color: #dfeaed;
background: #151c24;
box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
pointer-events: none;
}
.first-visual-guide-card svg { color: #35ead9; }
.first-visual-guide-card span { font-size: 12px; line-height: 1.55; }
@media (max-width: 760px) {
.first-visual-guide-card { left: 16px !important; width: calc(100vw - 32px); }
.first-visual-guide-card.is-canvas { top: 76px !important; }
.first-visual-guide-card.is-timeline { bottom: 16px !important; }
}
.language-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
margin-top: 24px;
}
.language-grid button {
min-width: 0;
min-height: 76px;
border: 1px solid rgba(255, 255, 255, 0.085);
border-radius: 8px;
padding: 12px 10px;
color: #e8f2f5;
text-align: left;
background: rgba(255, 255, 255, 0.045);
cursor: pointer;
transition:
transform 160ms ease,
border-color 160ms ease,
background 160ms ease;
}
.language-grid button:hover {
border-color: rgba(53, 234, 217, 0.72);
background: rgba(53, 234, 217, 0.095);
transform: translateY(-2px);
}
.language-grid strong,
.language-grid span {
display: block;
}
.language-grid strong {
overflow-wrap: anywhere;
font-size: 15px;
line-height: 1.2;
}
.language-grid span {
margin-top: 8px;
color: #83909b;
font-size: 11px;
}
.language-intro-card small {
display: block;
margin-top: 16px;
color: #77848e;
font-size: 12px;
}
@keyframes intro-fade-in {
from {
opacity: 0;
}
}
@keyframes intro-fade-out {
to {
opacity: 0;
transform: scale(1.012);
}
}
@keyframes intro-card-in {
from {
opacity: 0.92;
transform: translateY(18px) scale(0.985);
}
}
@keyframes intro-strip {
from {
transform: translateX(-110%);
}
}
.tool-rail,
.media-panel,
.preview-stage,
.voice-panel,
.timeline {
background: #11151b;
border: 1px solid rgba(255, 255, 255, 0.055);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.tool-rail {
display: flex;
flex-direction: column;
align-items: center;
gap: 9px;
min-height: 0;
max-height: 100%;
padding: 12px 6px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
border-radius: 7px;
scrollbar-width: none;
}
.tool-rail::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
.tool-rail.is-compact {
padding-right: 5px;
padding-left: 5px;
}
.tool-rail.is-compact .rail-tool {
width: 40px;
min-height: 44px;
}
.tool-rail.is-compact .rail-tool span {
display: none;
}
.rail-tool {
display: grid;
place-items: center;
flex: 0 0 auto;
gap: 5px;
width: 100%;
min-height: 58px;
border: 0;
border-radius: 7px;
padding: 0;
color: #9ca7b2;
background: transparent;
cursor: pointer;
}
.rail-tool span {
width: 100%;
overflow: hidden;
font-size: 11.5px;
font-weight: 600;
line-height: 1.2;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
.rail-tool:hover,
.rail-tool.is-active {
color: #33e8d6;
background: rgba(51, 232, 214, 0.08);
}
.media-panel,
.voice-panel,
.preview-stage {
position: relative;
min-height: 0;
border-radius: 7px;
}
.focus-preview-backdrop {
position: fixed;
z-index: 9998;
inset: 0;
border: 0;
padding: 0;
background: rgba(3, 6, 10, .82);
backdrop-filter: blur(8px);
cursor: default;
}
.preview-stage.is-focus-preview {
position: fixed;
z-index: 9999;
inset: 20px;
grid-template-rows: 54px minmax(0, 1fr) 70px;
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 12px;
padding: 0;
background: #0f1319;
box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}
.focus-preview-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
min-width: 0;
border-bottom: 1px solid rgba(255, 255, 255, .08);
padding: 0 14px 0 18px;
background: #141920;
}
.focus-preview-header > div { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.focus-preview-header strong { color: #edf5f7; font-size: 14px; }
.focus-preview-header span { overflow: hidden; color: #84919b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.preview-stage.is-focus-preview .preview-canvas { padding: 12px; }
.preview-stage.is-focus-preview .preview-empty { width: auto; min-width: min(420px, 78%); }
.preview-stage.is-focus-preview .preview-empty strong,
.preview-stage.is-focus-preview .preview-empty span { max-width: min(520px, 82%); text-align: center; }
.preview-stage.is-focus-preview .preview-frame { box-shadow: 0 20px 64px rgba(0, 0, 0, .5); }
.media-panel {
display: flex;
flex-direction: column;
padding: 18px 18px 16px;
overflow: hidden;
}
.tabs {
display: flex;
align-items: center;
gap: 24px;
min-height: 34px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tabs button {
position: relative;
height: 34px;
padding: 0;
border: 0;
color: #8e98a4;
font-size: 14px;
font-weight: 650;
white-space: nowrap;
background: transparent;
cursor: pointer;
}
.tabs button.is-active {
color: #f3fbfd;
}
.tabs button.is-active::after {
position: absolute;
right: 0;
bottom: -1px;
left: 0;
height: 2px;
border-radius: 999px;
background: #2ce6d4;
content: "";
}
.tabs.compact {
gap: 28px;
margin-top: 2px;
}
.drop-zone {
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
align-items: center;
gap: 2px 10px;
min-height: 78px;
margin-top: 12px;
padding: 10px 12px;
border: 1px dashed rgba(173, 184, 196, 0.24);
border-radius: 8px;
color: #99a5b1;
text-align: left;
background: rgba(255, 255, 255, 0.018);
cursor: pointer;
transition:
border-color 160ms ease,
background 160ms ease,
color 160ms ease;
}
.drop-zone strong {
color: #dfe8ee;
font-size: 14px;
line-height: 1.25;
}
.drop-zone span {
min-width: 0;
overflow: hidden;
color: #7c8793;
font-size: 11px;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.drop-zone svg {
grid-row: 1 / span 2;
justify-self: center;
width: 32px;
height: 32px;
color: #8c96a2;
}
.drop-zone:hover,
.drop-zone.is-dragging {
border-color: rgba(46, 233, 217, 0.76);
color: #eafdfb;
background: rgba(46, 233, 217, 0.06);
}
.asset-card {
position: relative;
z-index: 0;
display: block;
min-width: 0;
margin-top: 22px;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 8px;
padding: 7px;
color: #cbd4dc;
background: rgba(255, 255, 255, 0.026);
transition:
border-color 150ms ease,
background 150ms ease,
transform 150ms ease;
}
.asset-card:hover {
border-color: rgba(53, 234, 217, 0.34);
background: rgba(53, 234, 217, 0.045);
}
.asset-card.is-selected {
border-color: rgba(53, 234, 217, 0.74);
color: #ecfffd;
background: rgba(53, 234, 217, 0.07);
}
.asset-card.is-selected::before {
content: none;
}
.asset-thumb {
position: relative;
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: 6px;
background: rgba(255, 255, 255, 0.05);
}
.asset-thumb img,
.asset-thumb video {
width: 100%;
height: 100%;
border: 1px solid rgba(48, 230, 214, 0.48);
border-radius: 6px;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.asset-audio-thumb {
display: grid;
place-items: center;
width: 100%;
height: 100%;
border: 1px solid rgba(103, 181, 255, 0.62);
border-radius: 6px;
color: #8bc5ff;
background:
linear-gradient(135deg, rgba(41, 68, 124, 0.8), rgba(18, 30, 55, 0.92)),
#111827;
}
.asset-thumb span {
position: absolute;
right: 5px;
bottom: 5px;
display: block;
margin-top: 0;
border-radius: 4px;
padding: 1px 5px;
color: #eafffd;
font-size: 10px;
font-weight: 800;
background: rgba(0, 0, 0, 0.68);
}
.asset-thumb .asset-preview-hover {
position: absolute;
z-index: 5;
inset: 0;
display: grid;
align-content: center;
justify-items: center;
gap: 5px;
margin: 0;
border-radius: 6px;
padding: 0;
color: #f2fffe;
opacity: 0;
background: rgba(2, 8, 11, 0.52);
backdrop-filter: blur(1.5px);
transform: scale(0.98);
transition: opacity 140ms ease, transform 140ms ease;
pointer-events: none;
}
.asset-preview-hover svg { filter: drop-shadow(0 3px 10px rgba(0,0,0,.6)); }
.asset-preview-hover em { color: #f2fffe; font-size: 10px; font-style: normal; font-weight: 700; }
.asset-row-button:hover .asset-preview-hover,
.asset-row-button:focus-visible .asset-preview-hover { opacity: 1; transform: scale(1); }
.asset-card strong,
.voice-card strong {
display: block;
color: #f0f7f8;
font-size: 14px;
font-weight: 700;
}
.asset-card > div:nth-child(2) {
min-width: 0;
margin-top: 8px;
}
.asset-card strong {
overflow: hidden;
font-size: 12px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.asset-card span,
.voice-card em {
display: block;
margin-top: 5px;
color: #7c8793;
font-size: 11px;
font-style: normal;
}
.asset-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 10px;
margin-top: 14px;
padding: 2px 2px 10px 0;
overflow-x: hidden;
overflow-y: auto;
}
.library-type-tabs {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 5px;
margin-top: 14px;
padding: 3px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.035);
}
.library-type-tabs button {
min-width: 0;
border: 0;
border-radius: 6px;
padding: 7px 4px;
color: #84919c;
font-size: 11px;
background: transparent;
cursor: pointer;
}
.library-type-tabs button.is-active { color: #eafffd; background: rgba(53, 234, 217, 0.12); box-shadow: inset 0 0 0 1px rgba(53, 234, 217, 0.28); }
.library-search { margin-top: 8px; }
.library-search input { width: 100%; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; padding: 9px 10px; color: #e9f2f4; background: rgba(6,10,14,.62); outline: none; }
.library-search input:focus { border-color: rgba(53,234,217,.52); }
.library-provider { margin-top: 7px; color: #697680; font-size: 10px; }
.library-provider strong { color: #9aa9b2; font-weight: 600; }
.library-loading-grid {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.library-skeleton-card { min-width: 0; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; padding: 7px; background: rgba(255,255,255,.018); }
.library-skeleton-thumb, .asset-media-loading { position: relative; overflow: hidden; border-radius: 6px; background: rgba(121,136,148,.075); }
.library-skeleton-thumb { aspect-ratio: 16 / 10; }
.library-skeleton-thumb::after, .asset-media-loading::after {
content: "";
position: absolute;
inset: 0;
transform: translateX(-110%);
background: linear-gradient(100deg, transparent 18%, rgba(184,206,211,.06) 36%, rgba(216,235,236,.15) 50%, rgba(184,206,211,.06) 64%, transparent 82%);
animation: library-shimmer 1.55s cubic-bezier(.4,0,.2,1) infinite;
}
.library-skeleton-thumb i, .asset-media-loading i { position: absolute; inset: 28% 34%; border-radius: 999px; background: rgba(171,190,195,.045); filter: blur(9px); animation: library-breathe 1.7s ease-in-out infinite; }
.library-skeleton-card > span, .library-skeleton-card > small { display: block; overflow: hidden; border-radius: 4px; background: rgba(151,166,176,.11); }
.library-skeleton-card > span { width: 76%; height: 12px; margin-top: 10px; }
.library-skeleton-card > small { width: 54%; height: 9px; margin-top: 8px; }
.asset-media-loading { position: absolute; z-index: 2; inset: 0; }
.asset-download-progress { position: absolute; z-index: 4; inset: auto 6px 6px; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(4,9,13,.7); }
.asset-download-progress i { display: block; width: var(--asset-progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2ee9d9, #7cf8ed); box-shadow: 0 0 8px rgba(46,233,217,.45); transition: width 120ms ease-out; }
.asset-ready-dot { position: absolute; z-index: 4; top: 7px; left: 7px; width: 7px; height: 7px; border: 1px solid rgba(225,255,251,.8); border-radius: 50%; background: #2ee9d9; box-shadow: 0 0 7px rgba(46,233,217,.7); }
@keyframes library-shimmer { to { transform: translateX(110%); } }
@keyframes library-breathe { 0%,100% { opacity: .35; transform: scale(.82); } 50% { opacity: .8; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
.library-skeleton-thumb::after, .asset-media-loading::after, .library-skeleton-thumb i, .asset-media-loading i { animation: none; }
}
.asset-list.upload-assets {
max-height: min(430px, 50vh);
padding-right: 2px;
}
.asset-row-wrap {
position: relative;
min-width: 0;
cursor: grab;
transition:
opacity 140ms ease,
transform 140ms ease;
}
.asset-row-wrap.is-dragging {
opacity: 0.52;
transform: scale(0.99);
}
.asset-row-button {
display: block;
width: 100%;
min-width: 0;
border: 0;
padding: 0;
text-align: left;
background: transparent;
cursor: grab;
touch-action: none;
user-select: none;
}
.asset-row-button:active,
.asset-row-wrap:active {
cursor: grabbing;
}
.asset-list .asset-card,
.asset-row-button .asset-card {
margin-top: 0;
}
.asset-delete {
position: absolute;
top: 9px;
right: 9px;
z-index: 3;
display: grid;
place-items: center;
width: 26px;
height: 26px;
border: 0;
border-radius: 6px;
color: #d3dde5;
background: rgba(4, 9, 13, 0.68);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
cursor: pointer;
}
.asset-list > .empty-state {
grid-column: 1 / -1;
}
.asset-preview-backdrop {
position: fixed;
z-index: 10000;
inset: 0;
display: grid;
place-items: center;
padding: 28px;
background: rgba(2, 6, 9, 0.78);
backdrop-filter: blur(10px);
}
.asset-preview-dialog {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
width: min(920px, calc(100vw - 56px));
height: min(720px, calc(100vh - 56px));
overflow: hidden;
border: 1px solid rgba(143, 181, 191, 0.24);
border-radius: 16px;
color: #eaf2f4;
background: #0e1419;
box-shadow: 0 36px 110px rgba(0, 0, 0, 0.7), inset 0 1px rgba(255, 255, 255, 0.05);
}
.asset-preview-dialog header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
min-width: 0;
padding: 15px 17px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.asset-preview-dialog header > div { min-width: 0; }
.asset-preview-dialog header span { display: block; color: #77848e; font-size: 11px; }
.asset-preview-dialog header strong { display: block; overflow: hidden; margin-top: 3px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.asset-preview-dialog header button { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 0; color: #b9c5cb; background: rgba(255,255,255,.035); cursor: pointer; }
.asset-preview-dialog header button:hover { color: #fff; border-color: rgba(53,234,217,.36); background: rgba(53,234,217,.08); }
.asset-preview-media {
display: grid;
min-height: 0;
place-items: center;
overflow: hidden;
padding: 22px;
background: radial-gradient(circle at 50% 45%, #182129 0, #080c10 72%);
}
.asset-preview-media img,
.asset-preview-media video { display: block; max-width: 100%; max-height: 100%; border-radius: 5px; object-fit: contain; box-shadow: 0 12px 44px rgba(0,0,0,.42); }
.asset-preview-media video { width: 100%; height: 100%; background: #000; }
.asset-preview-audio { position: relative; display: grid; width: min(580px, 100%); justify-items: center; gap: 18px; padding: 36px; border: 1px solid rgba(117,181,208,.16); border-radius: 14px; color: #8bc5ff; background: linear-gradient(145deg,rgba(31,55,91,.68),rgba(12,21,34,.88)); }
.asset-preview-audio strong { max-width: 100%; overflow: hidden; color: #e8f3f8; text-overflow: ellipsis; white-space: nowrap; }
.asset-preview-audio audio { width: 100%; transition: opacity 180ms ease, transform 180ms ease; }
.asset-preview-audio audio.is-waiting { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.asset-preview-audio audio.is-ready { opacity: 1; transform: translateY(0); }
.asset-preview-audio-loading { display: grid; min-height: 54px; place-items: center; gap: 9px; color: #aac0ca; font-size: 12px; }
.asset-preview-audio-loading i { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 999px; background: conic-gradient(#54eadc var(--audio-preview-progress, 0%), rgba(117,217,235,.13) 0); box-shadow: 0 0 24px rgba(53,234,217,.12); font-style: normal; transition: background 160ms ease; }
.asset-preview-audio-loading i::after { position: absolute; inset: 4px; border-radius: inherit; content: ""; background: #16263a; }
.asset-preview-audio-loading b { position: relative; z-index: 1; color: #c9fffa; font-size: 10px; font-variant-numeric: tabular-nums; }
.asset-preview-audio-loading span { animation: library-breathe 1.7s ease-in-out infinite; }
.asset-preview-audio-error { min-height: 54px; display: grid; place-items: center; color: #ffaaa5; font-size: 12px; text-align: center; }
.asset-preview-dialog footer { overflow: hidden; padding: 11px 17px; color: #82909a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.06); }
@media (max-width: 640px) {
.asset-preview-backdrop { padding: 12px; }
.asset-preview-dialog { width: calc(100vw - 24px); height: calc(100vh - 24px); }
.asset-preview-media { padding: 10px; }
}
.asset-drag-preview {
position: fixed;
z-index: 90;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 7px 9px;
max-width: 260px;
transform: translate(14px, 14px);
border: 1px solid rgba(53, 234, 217, 0.42);
border-radius: 7px;
padding: 6px 10px 6px 6px;
color: #ecfffd;
pointer-events: none;
background: rgba(12, 20, 26, 0.94);
box-shadow:
0 16px 40px rgba(0, 0, 0, 0.34),
0 0 0 1px rgba(53, 234, 217, 0.16);
animation: asset-drag-lift 140ms ease both;
}
.asset-drag-thumb {
grid-row: span 2;
display: grid;
place-items: center;
width: 62px;
height: 38px;
overflow: hidden;
border-radius: 5px;
color: #061515;
font-size: 10px;
font-weight: 850;
background: #35ead9;
}
.asset-drag-thumb img,
.asset-drag-thumb video {
width: 100%;
height: 100%;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.asset-drag-preview span {
color: #35ead9;
font-size: 10px;
font-weight: 850;
}
.asset-drag-preview strong {
overflow: hidden;
font-size: 12px;
font-weight: 760;
text-overflow: ellipsis;
white-space: nowrap;
}
@keyframes asset-drag-lift {
from {
opacity: 0.72;
transform: translate(10px, 16px) scale(0.96);
}
to {
opacity: 1;
transform: translate(14px, 14px) scale(1);
}
}
.empty-state {
display: grid;
place-items: center;
min-height: 126px;
border: 1px dashed rgba(255, 255, 255, 0.14);
border-radius: 8px;
padding: 18px;
color: #82909b;
font-size: 13px;
line-height: 1.6;
text-align: center;
background: rgba(255, 255, 255, 0.025);
}
.tool-panel {
display: flex;
flex-direction: column;
min-height: 0;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
}
.tool-panel::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
.tool-panel h2 {
margin: 4px 0 16px;
color: #f0f8fa;
font-size: 16px;
letter-spacing: 0;
}
.smart-vision-panel {
gap: 14px;
padding-right: 2px;
scrollbar-color: rgba(143, 158, 172, 0.38) transparent;
scrollbar-width: thin;
}
.smart-hub-panel { gap: 16px; }
.smart-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.smart-hub-grid > button { display: grid; align-content: start; min-width: 0; min-height: 104px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; padding: 13px; color: #8e9ca8; text-align: left; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); cursor: pointer; }
.smart-hub-grid > button:first-child { grid-column: span 2; min-height: 92px; }
.smart-hub-grid > button:hover { border-color: rgba(53,234,217,.32); color: #e9f7f6; }
.smart-hub-grid > button.is-active { border-color: rgba(53,234,217,.64); color: #35ead9; background: linear-gradient(145deg, rgba(53,234,217,.14), rgba(77,128,255,.07)); box-shadow: inset 0 0 0 1px rgba(53,234,217,.1); }
.smart-hub-grid svg { margin-bottom: 13px; }
.smart-hub-grid strong { overflow: hidden; color: #edf5f6; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.smart-hub-grid span { margin-top: 4px; overflow: hidden; color: #788793; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.smart-feature-empty { display: grid; place-items: center; min-height: 210px; border: 1px dashed rgba(255,255,255,.1); border-radius: 12px; padding: 26px 20px; color: #72828e; text-align: center; background: rgba(255,255,255,.018); }
.smart-feature-empty svg { color: #5e7482; }
.smart-feature-empty strong { margin-top: 13px; color: #dce8ea; font-size: 14px; }
.smart-feature-empty span { max-width: 230px; margin-top: 8px; font-size: 11px; line-height: 1.65; }
.smart-feature-empty em { margin-top: 16px; border-radius: 999px; padding: 5px 9px; color: #8d9ca7; font-size: 10px; font-style: normal; background: rgba(255,255,255,.05); }
.smart-feature-empty.is-avatar em { color: #77ded3; background: rgba(53,234,217,.07); }
.smart-hub-panel .smart-vision-panel { overflow: visible; padding: 0; }
.smart-context-empty { display: grid; place-items: center; min-height: 310px; border: 1px dashed rgba(255,255,255,.1); border-radius: 12px; padding: 30px; color: #70808c; text-align: center; }
.smart-context-empty svg { color: #5c7280; }
.smart-context-empty strong { margin-top: 15px; color: #e3edef; font-size: 14px; }
.smart-context-empty span { max-width: 240px; margin-top: 8px; color: #798894; font-size: 11px; line-height: 1.6; }
.auto-edit-panel { display: grid; gap: 14px; }
.auto-edit-intro { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid rgba(53,234,217,.16); border-radius: 11px; background: linear-gradient(145deg, rgba(53,234,217,.1), rgba(77,128,255,.05)); }
.auto-edit-intro svg { flex: 0 0 auto; color: #35ead9; }
.auto-edit-intro div { display: grid; gap: 4px; }
.auto-edit-intro strong { color: #edf8f7; font-size: 13px; }
.auto-edit-intro span, .auto-edit-status-card p { color: #82919b; font-size: 11px; line-height: 1.55; }
.auto-edit-status-card { display: grid; gap: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.auto-edit-status-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auto-edit-status-card > div > span { color: #c1cdd2; font-size: 12px; }
.auto-edit-status-card p { margin: 0; }
.auto-edit-status-card .auto-edit-warning { color: #d8b96e; }
.auto-edit-availability { color: #82919b; font-size: 10px; }
.auto-edit-availability.is-available { color: #35ead9; }
.auto-edit-availability.is-unavailable { color: #f27e7e; }
.auto-edit-availability.is-downloadable, .auto-edit-availability.is-downloading { color: #e7c56f; }
.auto-edit-flow { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px 9px; align-items: start; }
.auto-edit-flow > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #071616; font-size: 10px; font-weight: 700; background: #35ead9; }
.auto-edit-flow p { display: grid; gap: 2px; margin: 0; }
.auto-edit-flow strong { color: #dce7e9; font-size: 12px; }
.auto-edit-flow small { color: #74838e; font-size: 10px; }
.auto-edit-progress { display: grid; gap: 8px; }
.auto-edit-progress > div { display: flex; justify-content: space-between; color: #9eacb4; font-size: 11px; }
.auto-edit-progress progress { width: 100%; accent-color: #35ead9; }
.auto-edit-generate { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) 22px; align-items: center; gap: 10px; width: 100%; min-height: 58px; overflow: hidden; border: 1px solid rgba(53,234,217,.72); border-radius: 11px; padding: 9px 12px; color: #061817; text-align: left; background: linear-gradient(120deg,#73b7ff 0%,#38e9d9 54%,#69f1c7 100%); box-shadow: 0 10px 28px rgba(38,217,200,.18), inset 0 1px 0 rgba(255,255,255,.35); cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.auto-edit-generate::after { content:""; position:absolute; inset:-60% auto -60% -35%; width:34%; transform:rotate(18deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent); transition:left 360ms ease; }
.auto-edit-generate:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 34px rgba(38,217,200,.27), inset 0 1px 0 rgba(255,255,255,.42); }
.auto-edit-generate:hover:not(:disabled)::after { left:115%; }
.auto-edit-generate:active:not(:disabled) { transform: translateY(0); }
.auto-edit-generate:disabled { border-color: rgba(255,255,255,.1); color:#7d898e; background:rgba(255,255,255,.055); box-shadow:none; cursor:not-allowed; }
.auto-edit-generate-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; color:#07302d; background:rgba(255,255,255,.34); box-shadow:inset 0 0 0 1px rgba(255,255,255,.28); }
.auto-edit-generate:disabled .auto-edit-generate-icon { color:#68757b; background:rgba(255,255,255,.055); }
.auto-edit-generate > span:nth-child(2) { display:grid; gap:2px; min-width:0; }
.auto-edit-generate strong { overflow:hidden; font-size:12px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-generate small { overflow:hidden; color:rgba(5,38,35,.68); font-size:9px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-generate:disabled small { color:#66747a; }
.auto-edit-generate-arrow { font-size:18px; font-weight:700; transition:transform 160ms ease; }
.auto-edit-generate:hover:not(:disabled) .auto-edit-generate-arrow { transform:translateX(3px); }
.auto-edit-review-backdrop { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:28px; background:rgba(3,7,11,.78); backdrop-filter:blur(9px); animation:auto-edit-backdrop-in 160ms ease-out; }
.auto-edit-review-dialog { display:grid; grid-template-rows:auto 3px minmax(0,1fr) auto; width:min(960px,calc(100vw - 56px)); height:min(720px,calc(100vh - 56px)); overflow:hidden; border:1px solid rgba(117,177,199,.25); border-radius:18px; color:#dce8eb; background:linear-gradient(145deg,rgba(18,25,33,.99),rgba(9,14,20,.99)); box-shadow:0 38px 120px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.05); animation:auto-edit-dialog-in 180ms ease-out; }
.auto-edit-review-header { display:grid; grid-template-columns:42px minmax(0,1fr) auto 34px; align-items:center; gap:12px; min-height:76px; padding:13px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.auto-edit-review-mark { display:grid; place-items:center; width:40px; height:40px; border:1px solid rgba(53,234,217,.4); border-radius:12px; color:#041817; background:linear-gradient(145deg,#71b8ff,#39ead8); box-shadow:0 8px 24px rgba(53,234,217,.16); }
.auto-edit-review-header > div:nth-child(2) { display:grid; gap:2px; }
.auto-edit-review-header > div:nth-child(2) > span { color:#5fddd1; font-size:9px; font-weight:750; letter-spacing:.15em; text-transform:uppercase; }
.auto-edit-review-header h2 { margin:0; color:#f2f8f9; font-size:17px; letter-spacing:-.02em; }
.auto-edit-review-status { display:flex; align-items:center; gap:7px; border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:6px 10px; color:#91a0a8; font-size:10px; background:rgba(255,255,255,.035); }
.auto-edit-review-status i { width:6px; height:6px; border-radius:50%; background:#e5bd68; box-shadow:0 0 9px rgba(229,189,104,.7); animation:auto-edit-pulse 1.1s ease-in-out infinite; }
.auto-edit-review-status.is-complete { color:#78e6d9; border-color:rgba(53,234,217,.24); background:rgba(53,234,217,.07); }
.auto-edit-review-status.is-complete i { background:#35ead9; box-shadow:0 0 9px rgba(53,234,217,.8); animation:none; }
.auto-edit-review-status.is-error { color:#ffaaaa; border-color:rgba(255,104,117,.25); background:rgba(255,83,99,.07); }
.auto-edit-review-status.is-error i { background:#ff6875; animation:none; }
.auto-edit-review-close { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:8px; color:#80909a; background:transparent; cursor:pointer; }
.auto-edit-review-close:hover { color:#f3f8f9; background:rgba(255,255,255,.07); }
.auto-edit-review-progress { overflow:hidden; background:rgba(255,255,255,.04); }
.auto-edit-review-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#68aaff,#35ead9); box-shadow:0 0 16px rgba(53,234,217,.55); transition:width 220ms ease; }
.auto-edit-review-body { display:grid; grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr); gap:1px; min-height:0; overflow:hidden; background:rgba(255,255,255,.07); }
.auto-edit-review-section { min-width:0; overflow:auto; padding:19px; background:#0d131a; scrollbar-width:thin; scrollbar-color:#33434e transparent; }
.auto-edit-review-section-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.auto-edit-review-section-title > div { display:flex; align-items:center; gap:9px; }
.auto-edit-review-section-title > div > span { display:grid; place-items:center; width:26px; height:26px; border:1px solid rgba(53,234,217,.24); border-radius:8px; color:#35ead9; font-size:9px; font-weight:800; background:rgba(53,234,217,.06); }
.auto-edit-review-section-title strong { color:#e8f1f3; font-size:13px; }
.auto-edit-review-section-title em { color:#6d7d87; font-size:9px; font-style:normal; }
.auto-edit-review-section > p { margin:7px 0 16px 35px; color:#6d7d87; font-size:10px; line-height:1.5; }
.auto-edit-candidate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.auto-edit-candidate-card { overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:11px; background:rgba(255,255,255,.025); transition:border-color 150ms ease,transform 150ms ease; }
.auto-edit-candidate-card:hover { transform:translateY(-2px); border-color:rgba(53,234,217,.34); }
.auto-edit-candidate-card > div { position:relative; aspect-ratio:1/1; overflow:hidden; background:#000; }
.auto-edit-candidate-card img { width:100%; height:100%; object-fit:contain; }
.auto-edit-candidate-card > div span,.auto-edit-candidate-card > div time { position:absolute; top:8px; border:1px solid rgba(255,255,255,.12); border-radius:6px; padding:4px 6px; color:#eaf4f4; font-size:8px; background:rgba(5,10,15,.72); backdrop-filter:blur(5px); }
.auto-edit-candidate-card > div span { left:8px; color:#42e7d6; }
.auto-edit-candidate-card > div time { right:8px; font-variant-numeric:tabular-nums; }
.auto-edit-candidate-card > div em { position:absolute; right:8px; bottom:8px; border:1px solid rgba(255,255,255,.12); border-radius:6px; padding:4px 6px; color:#aebcc2; font-size:8px; font-style:normal; background:rgba(5,10,15,.72); backdrop-filter:blur(5px); }
.auto-edit-candidate-card footer { display:grid; grid-template-columns:auto auto; gap:6px; align-items:center; padding:8px 9px; color:#72818b; font-size:8px; }
.auto-edit-candidate-card footer strong { justify-self:end; color:#9cabb2; font-variant-numeric:tabular-nums; }
.auto-edit-candidate-card footer i { grid-column:1/-1; height:3px; overflow:hidden; border-radius:9px; background:rgba(255,255,255,.06); }
.auto-edit-candidate-card footer b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6aa9ff,#35ead9); }
.auto-edit-model-results { background:#0b1117; }
.auto-edit-result-list { display:grid; gap:8px; }
.auto-edit-result-list article { display:grid; grid-template-columns:28px minmax(0,1fr); gap:9px; padding:10px; border:1px solid rgba(255,255,255,.07); border-radius:9px; background:rgba(255,255,255,.025); }
.auto-edit-result-list article > span { display:grid; place-items:center; width:27px; height:27px; border-radius:7px; color:#76e5d9; font-size:9px; font-weight:750; background:rgba(53,234,217,.08); }
.auto-edit-result-list article div { display:grid; gap:5px; min-width:0; }
.auto-edit-result-list p { margin:0; color:#dce7ea; font-size:11px; line-height:1.45; }
.auto-edit-result-list time { color:#667984; font-size:8px; font-variant-numeric:tabular-nums; }
.auto-edit-clip-results { display:grid; gap:10px; }
.auto-edit-clip-result { overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:11px; background:rgba(255,255,255,.02); }
.auto-edit-clip-result.is-running { border-color:rgba(229,189,104,.28); box-shadow:inset 3px 0 0 rgba(229,189,104,.65); }
.auto-edit-clip-result.is-complete { border-color:rgba(53,234,217,.2); box-shadow:inset 3px 0 0 rgba(53,234,217,.65); }
.auto-edit-clip-result.is-error { border-color:rgba(255,104,117,.22); box-shadow:inset 3px 0 0 rgba(255,104,117,.62); }
.auto-edit-clip-result > header { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:9px; min-height:50px; padding:7px 9px; border-bottom:1px solid rgba(255,255,255,.055); background:rgba(255,255,255,.018); }
.auto-edit-clip-result > header img { width:52px; height:36px; border-radius:6px; object-fit:contain; background:#000; }
.auto-edit-clip-result > header div { display:grid; gap:3px; min-width:0; }
.auto-edit-clip-result > header strong { overflow:hidden; color:#dce7e9; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-clip-result > header span { color:#667680; font-size:8px; }
.auto-edit-clip-result > header em { border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:4px 7px; color:#7d8c95; font-size:8px; font-style:normal; white-space:nowrap; }
.auto-edit-clip-result.is-running > header em { color:#d9bd7d; border-color:rgba(229,189,104,.2); background:rgba(229,189,104,.06); }
.auto-edit-clip-result.is-complete > header em { color:#69dbcf; border-color:rgba(53,234,217,.2); background:rgba(53,234,217,.06); }
.auto-edit-clip-result .auto-edit-result-list { gap:6px; padding:8px; }
.auto-edit-clip-result .auto-edit-result-list article { border:0; padding:7px; background:rgba(255,255,255,.022); }
.auto-edit-clip-pending { display:flex; align-items:center; justify-content:center; gap:8px; min-height:62px; color:#61717b; font-size:9px; }
.auto-edit-clip-pending i { width:13px; height:13px; border:2px solid rgba(229,189,104,.15); border-top-color:#e5bd68; border-radius:50%; animation:auto-edit-spin .8s linear infinite; }
.auto-edit-clip-error { margin:0; padding:10px; color:#d18c94; font-size:9px; line-height:1.45; }
.auto-edit-review-loading { display:grid; place-items:center; align-content:center; gap:12px; min-height:220px; border:1px dashed rgba(255,255,255,.08); border-radius:11px; color:#667781; font-size:10px; background:rgba(255,255,255,.012); }
.auto-edit-review-loading i { width:25px; height:25px; border:2px solid rgba(53,234,217,.13); border-top-color:#35ead9; border-radius:50%; animation:auto-edit-spin .85s linear infinite; }
.auto-edit-review-error { display:grid; gap:5px; border:1px solid rgba(255,104,117,.2); border-radius:10px; padding:12px; color:#c4868d; font-size:10px; background:rgba(255,83,99,.055); }
.auto-edit-review-error strong { color:#ffadb4; font-size:11px; }
.auto-edit-review-actions { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; min-height:72px; padding:12px 18px; border-top:1px solid rgba(255,255,255,.07); background:rgba(8,13,18,.96); }
.auto-edit-review-actions > div { display:grid; gap:3px; }
.auto-edit-review-actions > div strong { color:#dfe9eb; font-size:11px; }
.auto-edit-review-actions > div span { color:#677883; font-size:9px; }
.auto-edit-review-actions .panel-secondary { min-width:78px; }
.auto-edit-apply { display:flex; align-items:center; justify-content:center; gap:7px; min-width:148px; min-height:38px; border:1px solid rgba(53,234,217,.7); border-radius:9px; color:#061817; font-size:11px; font-weight:800; background:linear-gradient(125deg,#69b6ff,#39ead7); box-shadow:0 8px 20px rgba(53,234,217,.15); cursor:pointer; }
.auto-edit-apply:disabled { border-color:rgba(255,255,255,.08); color:#5f6e75; background:rgba(255,255,255,.045); box-shadow:none; cursor:not-allowed; }
@keyframes auto-edit-spin { to { transform:rotate(360deg); } }
@keyframes auto-edit-pulse { 50% { opacity:.35; transform:scale(.75); } }
@keyframes auto-edit-backdrop-in { from { opacity:0; } }
@keyframes auto-edit-dialog-in { from { opacity:0; transform:translateY(10px) scale(.985); } }
@media (max-width:760px) { .auto-edit-review-body { grid-template-columns:1fr; overflow:auto; } .auto-edit-review-section { overflow:visible; } .auto-edit-review-dialog { height:calc(100vh - 24px); width:calc(100vw - 24px); } .auto-edit-review-actions { grid-template-columns:1fr 1fr; } .auto-edit-review-actions > div { grid-column:1/-1; } }
.smart-vision-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.smart-vision-heading > div > span {
display: block;
margin-bottom: 4px;
color: #6f7e89;
font-size: 10px;
font-weight: 780;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.smart-vision-heading h2 {
margin: 0;
}
.smart-vision-status {
display: inline-flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
min-height: 25px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 999px;
padding: 0 9px;
color: #87939e;
font-size: 10px;
font-weight: 720;
background: rgba(255, 255, 255, 0.035);
}
.smart-vision-status i {
width: 6px;
height: 6px;
border-radius: 50%;
background: #68747e;
}
.smart-vision-status.is-ready {
border-color: rgba(53, 234, 217, 0.2);
color: #9cefe7;
background: rgba(53, 234, 217, 0.07);
}
.smart-vision-status.is-ready i {
background: #35ead9;
box-shadow: 0 0 9px rgba(53, 234, 217, 0.55);
}
.smart-vision-status.is-running {
border-color: rgba(118, 161, 255, 0.28);
color: #b9ccff;
background: rgba(91, 132, 239, 0.08);
}
.smart-vision-status.is-running i {
background: #7aa2ff;
animation: vision-status-pulse 1s ease-in-out infinite;
}
@keyframes vision-status-pulse {
50% {
opacity: 0.32;
transform: scale(0.74);
}
}
.vision-model-stack {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.vision-model-stack > div {
display: grid;
grid-template-columns: 26px minmax(0, 1fr);
align-items: center;
gap: 7px;
min-width: 0;
min-height: 58px;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 8px;
padding: 9px;
color: #8baeff;
background:
linear-gradient(135deg, rgba(103, 144, 255, 0.08), rgba(53, 234, 217, 0.035)),
rgba(255, 255, 255, 0.025);
}
.vision-model-stack > div:last-child {
color: #40dfcf;
}
.vision-model-stack span {
display: grid;
min-width: 0;
}
.vision-model-stack strong {
overflow: hidden;
color: #e7f0f5;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.vision-model-stack em {
overflow: hidden;
margin-top: 2px;
color: #76838e;
font-size: 9px;
font-style: normal;
text-overflow: ellipsis;
white-space: nowrap;
}
.vision-empty-state {
border: 1px dashed rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 14px;
color: #7f8c97;
font-size: 12px;
line-height: 1.55;
text-align: center;
background: rgba(255, 255, 255, 0.022);
}
.vision-analyze-button {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
flex: 0 0 auto;
width: 100%;
min-height: 44px;
}
.vision-progress {
display: grid;
gap: 8px;
border: 1px solid rgba(122, 162, 255, 0.16);
border-radius: 8px;
padding: 11px;
background: rgba(81, 119, 218, 0.055);
}
.vision-progress > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: #9aa8b5;
font-size: 10px;
}
.vision-progress > div span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vision-progress > div strong {
color: #dce7ff;
font-size: 10px;
}
.vision-progress-track {
display: block;
height: 4px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
}
.vision-progress-track > span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #6e91ff, #35ead9);
transition: width 180ms ease;
}
.vision-result-card {
display: grid;
grid-template-columns: 34px minmax(0, 1fr) auto auto;
align-items: center;
gap: 9px;
min-height: 64px;
border: 1px solid rgba(53, 234, 217, 0.16);
border-radius: 8px;
padding: 10px;
background:
radial-gradient(circle at 8% 16%, rgba(53, 234, 217, 0.09), transparent 42%),
rgba(255, 255, 255, 0.025);
}
.vision-result-card > div:not(.vision-subject-icon) {
display: grid;
gap: 3px;
min-width: 0;
}
.vision-result-card span {
color: #71808b;
font-size: 9px;
}
.vision-result-card strong {
overflow: hidden;
color: #eef9f8;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.vision-result-card p {
grid-column: 1 / -1;
margin: 0;
color: #a6b2bd;
font-size: 11px;
line-height: 1.5;
}
.vision-subject-icon {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border-radius: 8px;
color: #35ead9;
background: rgba(53, 234, 217, 0.1);
}
.vision-confidence,
.vision-object-count {
min-width: 38px;
border-left: 1px solid rgba(255, 255, 255, 0.065);
padding-left: 9px;
}
.vision-timeline-summary {
display: flex;
align-items: baseline;
gap: 6px;
min-height: 34px;
border: 1px solid rgba(110, 145, 255, 0.14);
border-radius: 7px;
padding: 8px 10px;
color: #82909b;
background: rgba(110, 145, 255, 0.055);
font-size: 10px;
}
.vision-timeline-summary strong {
color: #79eadf;
font-size: 13px;
}
.vision-timeline-summary em {
color: #82909b;
font-style: normal;
}
.vision-feature-list {
display: grid;
gap: 8px;
}
.vision-feature-list label {
display: grid;
grid-template-columns: 28px minmax(0, 1fr) 30px;
align-items: center;
gap: 9px;
min-height: 62px;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 8px;
padding: 9px 10px;
color: #8091a0;
background: rgba(255, 255, 255, 0.028);
transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}
.vision-feature-list label.is-active {
border-color: rgba(53, 234, 217, 0.26);
color: #37e5d4;
background: rgba(53, 234, 217, 0.055);
}
.vision-feature-list label.is-disabled {
opacity: 0.42;
}
.vision-feature-list label > span {
display: grid;
gap: 3px;
min-width: 0;
}
.vision-feature-list strong {
color: #dce7ec;
font-size: 11px;
}
.vision-feature-list em {
color: #75828d;
font-size: 9px;
font-style: normal;
line-height: 1.35;
}
.vision-feature-list input {
position: relative;
width: 28px;
height: 16px;
margin: 0;
appearance: none;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
cursor: pointer;
transition: background 140ms ease, border-color 140ms ease;
}
.vision-feature-list input::after {
position: absolute;
top: 2px;
left: 2px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #87939d;
content: "";
transition: transform 140ms ease, background 140ms ease;
}
.vision-feature-list input:checked {
border-color: rgba(53, 234, 217, 0.62);
background: rgba(53, 234, 217, 0.22);
}
.vision-feature-list input:checked::after {
background: #35ead9;
transform: translateX(12px);
}
.vision-feature-list input:disabled {
cursor: not-allowed;
}
.vision-model-note {
margin: -2px 2px 0;
color: #697681;
font-size: 10px;
line-height: 1.55;
}
.avatar-lab-card { display: grid; gap: 10px; border: 1px solid rgba(123, 142, 255, .2); border-radius: 10px; padding: 12px; background: linear-gradient(135deg, rgba(88, 113, 234, .11), rgba(53, 234, 217, .04)); }
.avatar-lab-heading { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.avatar-lab-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #b7c8ff; background: rgba(112, 139, 255, .16); }
.avatar-lab-heading > div { display: grid; gap: 2px; }
.avatar-lab-heading > div > span { color: #8290b8; font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.avatar-lab-heading strong { color: #eff4ff; font-size: 12px; }
.avatar-lab-heading em { border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px 6px; color: #98a5ba; font-size: 9px; font-style: normal; }
.avatar-lab-heading em.is-ready { border-color: rgba(53, 234, 217, .28); color: #89eadf; background: rgba(53, 234, 217, .08); }
.avatar-lab-card p { margin: 0; color: #92a0ae; font-size: 10px; line-height: 1.55; }
.avatar-lab-requirements { display: flex; flex-wrap: wrap; gap: 5px; }
.avatar-lab-requirements span { border: 1px solid rgba(255, 255, 255, .08); border-radius: 5px; padding: 4px 6px; color: #788794; font-size: 9px; }
.avatar-lab-requirements span.is-ready { border-color: rgba(53, 234, 217, .25); color: #8eece2; background: rgba(53, 234, 217, .06); }
.avatar-open-button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; width: 100%; font-size: 11px; }
.avatar-context-panel { display: grid; gap: 14px; }
.audio-clip-context-panel { display: grid; gap: 14px; }
.audio-property-row { display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 10px; color: #9aa8b8; font-size: 11px; }
.audio-property-row input { min-width: 0; height: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 0 8px; color: #eaf6f7; background: rgba(255,255,255,.04); }
.audio-property-slider { display: grid; gap: 8px; }
.audio-property-slider > span { display: flex; justify-content: space-between; gap: 10px; color: #94a2b0; font-size: 11px; }
.audio-property-slider b { color: #dce7eb; font-weight: 650; }.audio-property-slider em { color: #69e4d9; font-style: normal; }
.audio-property-slider input { width: 100%; accent-color: #35ead9; }
.audio-context-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.audio-context-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; }.audio-context-actions .is-danger { color: #ff969b; }
.audio-download-actions,
.audio-delete-actions {
display: grid;
gap: 9px;
}
.audio-download-actions {
margin-top: 10px;
}
.audio-delete-actions {
gap: 8px;
margin-top: 7px;
padding-top: 13px;
border-top: 1px solid rgba(255, 255, 255, 0.075);
}
.audio-download-actions > button,
.audio-delete-actions > button {
min-height: 40px;
}
.audio-delete-actions .is-danger:not(:disabled) {
color: #ff9da5;
border-color: rgba(255, 103, 116, 0.22);
background: rgba(255, 82, 97, 0.055);
}
.avatar-context-hero { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: start; padding: 13px; border: 1px solid rgba(109, 137, 255, .22); border-radius: 10px; background: linear-gradient(135deg, rgba(85, 112, 235, .15), rgba(53, 234, 217, .05)); }
.avatar-context-hero > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #b4c7ff; background: rgba(108, 137, 255, .18); }
.avatar-context-hero > div { display: grid; gap: 4px; }
.avatar-context-hero small { color: #91a5d9; font-size: 9px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.avatar-context-hero strong { color: #eff5ff; font-size: 15px; }
.avatar-context-hero em { color: #9aa8b8; font-size: 10px; font-style: normal; line-height: 1.45; }
.avatar-input-list { display: grid; gap: 8px; }
.avatar-input-list > div { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 53px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 8px 10px; color: #758494; background: rgba(255,255,255,.025); }
.avatar-input-list > div.is-ready { border-color: rgba(53,234,217,.2); color: #61dace; background: rgba(53,234,217,.045); }
.avatar-input-list span { display: grid; gap: 3px; }.avatar-input-list strong { color: #dfe9ef; font-size: 11px; }.avatar-input-list em { color: #778592; font-size: 9px; font-style: normal; }
.avatar-sync-mode { display: flex; justify-content: space-between; align-items: center; border-radius: 8px; padding: 10px; color: #93a2b0; background: rgba(255,255,255,.035); font-size: 10px; }.avatar-sync-mode strong { color: #77e5da; font-size: 10px; }.avatar-context-note { margin: 0; color: #778592; font-size: 10px; line-height: 1.55; }.avatar-generate-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; width: 100%; }
.avatar-quality-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.avatar-quality-picker button { display: grid; gap: 3px; min-width: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 9px; text-align: left; color: #9aa8b8; background: rgba(255,255,255,.025); cursor: pointer; }.avatar-quality-picker button.is-active { border-color: rgba(53,234,217,.32); background: rgba(53,234,217,.075); box-shadow: inset 0 0 0 1px rgba(53,234,217,.06); }.avatar-quality-picker strong { color: #dfe9ef; font-size: 10px; }.avatar-quality-picker button.is-active strong { color: #82e9df; }.avatar-quality-picker em { overflow: hidden; color: #71808e; font-size: 8px; font-style: normal; line-height: 1.35; text-overflow: ellipsis; }
.avatar-official-notice { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; border: 1px solid rgba(108, 137, 255, .24); border-radius: 8px; padding: 10px; color: #9bb6ff; background: rgba(93, 122, 240, .08); }.avatar-official-notice > span { display: grid; gap: 3px; }.avatar-official-notice strong { color: #dce7ff; font-size: 11px; }.avatar-official-notice em { color: #94a2b4; font-size: 9px; font-style: normal; line-height: 1.45; }
.avatar-porting-stages { display: grid; gap: 7px; }
.avatar-porting-stages > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; color: #6f7c8a; font-size: 10px; }
.avatar-porting-stages span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; font-size: 9px; }
.avatar-porting-stages .is-done { color: #70ded3; }.avatar-porting-stages .is-done span { border-color: rgba(53,234,217,.3); background: rgba(53,234,217,.08); }
.avatar-porting-stages .is-active { color: #b9c8ff; }.avatar-porting-stages .is-active span { border-color: rgba(112,139,255,.38); background: rgba(112,139,255,.12); }
.avatar-probe-results { display: grid; gap: 5px; border-radius: 8px; padding: 9px; background: rgba(255,255,255,.025); }
.avatar-probe-results > div { display: grid; grid-template-columns: 7px minmax(0,1fr); align-items: center; gap: 7px; color: #91a0af; font-size: 9px; line-height: 1.4; }
.avatar-probe-results > div > span { width: 6px; height: 6px; border-radius: 50%; background: #7e8b98; }
.avatar-probe-results .is-passed > span { background: #35ead9; }.avatar-probe-results .is-warning > span { background: #f0b75c; }.avatar-probe-results .is-blocked > span,.avatar-probe-results .is-failed > span { background: #ff7f86; }
.avatar-probe-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; }
.avatar-generation-progress { display: grid; gap: 7px; border-radius: 8px; padding: 9px 10px; background: rgba(53,234,217,.045); }
.avatar-generation-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #91a4b2; font-size: 9px; }.avatar-generation-progress strong { color: #70ded3; font-size: 10px; }
.avatar-generation-progress > i { display: block; overflow: hidden; height: 4px; border-radius: 999px; background: rgba(255,255,255,.07); }.avatar-generation-progress b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#6ea6ff,#35ead9); transition: width .25s ease; }
.vision-result-actions {
display: grid;
grid-template-columns: 1fr;
gap: 8px;
}
.vision-result-actions button {
width: 100%;
}
.side-textarea {
width: 100%;
min-height: 210px;
resize: vertical;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 7px;
outline: 0;
padding: 13px;
color: #eef7f7;
font-size: 14px;
line-height: 1.6;
background: rgba(255, 255, 255, 0.045);
}
.quick-grid,
.choice-list,
.segment-list,
.metric-list {
display: grid;
gap: 10px;
}
.quick-grid {
grid-template-columns: 1fr;
margin-top: 14px;
}
.quick-grid button,
.choice-list button,
.segment-list button,
.panel-primary,
.panel-secondary,
.panel-danger {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 38px;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 7px;
padding: 0 12px;
color: #dbe6ec;
font-size: 13px;
background: rgba(255, 255, 255, 0.045);
cursor: pointer;
}
.quick-grid button:hover,
.choice-list button:hover,
.choice-list button.is-selected,
.segment-list button:hover,
.segment-list button.is-current {
border-color: rgba(46, 234, 216, 0.8);
color: #effffd;
background: rgba(46, 234, 216, 0.09);
}
.segment-list button.is-selected {
box-shadow: inset 0 0 0 1px rgba(103, 181, 255, 0.78);
}
.segment-list button.is-hidden {
color: #7f8b96;
opacity: 0.52;
}
.sticker-panel {
gap: 0;
padding-bottom: 4px;
scrollbar-width: none;
}
.sticker-panel::-webkit-scrollbar {
display: none;
}
.sticker-none-button,
.sticker-load-more {
display: flex;
align-items: center;
justify-content: space-between;
flex: 0 0 auto;
min-height: 42px;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 7px;
padding: 0 12px;
color: #dbe6ec;
font-size: 13px;
font-weight: 700;
background: rgba(255, 255, 255, 0.045);
cursor: pointer;
}
.sticker-none-button:hover,
.sticker-none-button.is-selected,
.sticker-load-more:hover {
border-color: rgba(46, 234, 216, 0.8);
color: #effffd;
background: rgba(46, 234, 216, 0.09);
}
.sticker-none-button svg {
color: #35ead9;
}
.sticker-category-row {
display: flex;
gap: 7px;
flex: 0 0 auto;
margin: 12px 0;
overflow-x: auto;
scrollbar-width: none;
}
.sticker-category-row::-webkit-scrollbar {
display: none;
}
.sticker-category-row button {
flex: 0 0 auto;
min-height: 30px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 999px;
padding: 0 11px;
color: #9aa6b0;
font-size: 12px;
font-weight: 750;
background: rgba(255, 255, 255, 0.042);
cursor: pointer;
}
.sticker-category-row button:hover,
.sticker-category-row button.is-active {
border-color: rgba(53, 234, 217, 0.72);
color: #effffd;
background: rgba(53, 234, 217, 0.1);
}
.sticker-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.sticker-tile {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
min-width: 0;
aspect-ratio: 1 / 1.12;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 8px;
padding: 7px 7px 8px;
color: #dce7ec;
background: rgba(255, 255, 255, 0.04);
cursor: pointer;
}
.sticker-tile:hover,
.sticker-tile.is-selected {
border-color: rgba(53, 234, 217, 0.8);
background: rgba(53, 234, 217, 0.08);
}
.sticker-tile-thumb {
display: grid;
place-items: center;
min-height: 0;
aspect-ratio: 1;
border-radius: 7px;
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.08), rgba(103, 181, 255, 0.055)),
rgba(255, 255, 255, 0.055);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}
.sticker-tile-thumb img {
display: block;
width: 82%;
height: 82%;
object-fit: contain;
filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}
.sticker-tile-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
min-width: 0;
margin-top: 6px;
color: #cdd8de;
font-size: 11px;
font-weight: 740;
line-height: 1.15;
}
.sticker-tile-label span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sticker-tile-label svg {
flex: 0 0 auto;
color: #35ead9;
}
.sticker-load-more {
width: 100%;
margin-top: 12px;
}
.sticker-load-more span:last-child {
color: #82909b;
font-size: 12px;
}
.sticker-load-sentinel {
display: block;
width: 100%;
height: 1px;
flex: 0 0 auto;
}
.switch-row {
display: flex;
align-items: center;
gap: 9px;
margin-bottom: 14px;
color: #d8e4ea;
font-size: 13px;
}
.segmented {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
}
.segmented button {
min-height: 34px;
border: 0;
border-radius: 7px;
color: #9ba7b2;
background: rgba(255, 255, 255, 0.055);
cursor: pointer;
}
.segmented button.is-active {
color: #071616;
font-weight: 760;
background: #33e6d3;
}
.compact-slider {
margin: 16px 0;
}
.segment-list {
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
.segment-list button {
justify-content: flex-start;
text-align: left;
line-height: 1.45;
}
.caption-tool-panel {
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
padding-right: 8px;
padding-bottom: 18px;
scrollbar-color: rgba(143, 158, 172, 0.42) transparent;
scrollbar-width: none;
}
.caption-tool-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.caption-tool-panel > .segmented {
gap: 6px;
}
.caption-tool-panel > .segmented button {
min-height: 32px;
border-radius: 6px;
padding: 4px 8px;
font-size: 12px;
line-height: 1;
}
.caption-tool-panel > h2,
.caption-tool-panel > .switch-row,
.caption-tool-panel > .segmented,
.caption-tool-panel > .compact-slider,
.caption-tool-panel > .caption-editor {
flex: 0 0 auto;
}
.caption-tool-panel .segment-list {
flex: 1 1 96px;
min-height: 0;
margin-top: 2px;
padding: 1px 3px 10px 0;
}
.caption-tool-panel .segment-list::-webkit-scrollbar {
width: 8px;
}
.caption-tool-panel .segment-list::-webkit-scrollbar-thumb {
border: 2px solid rgba(17, 21, 27, 0.96);
border-radius: 999px;
background: rgba(143, 157, 169, 0.52);
}
.caption-tool-panel .segment-list::-webkit-scrollbar-track {
background: transparent;
}
.caption-editor {
display: grid;
gap: 9px;
margin: 14px 0;
}
.caption-style-panel { display: grid; gap: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.025); }
.caption-style-panel .compact-slider { margin: 2px 0; }
.tool-helper-copy { margin: 0; color: #8fa0ab; font-size: 12px; line-height: 1.5; }
.generated-voice-result { display: grid; gap: 9px; padding: 11px; border: 1px solid rgba(55,232,216,.28); border-radius: 9px; background: rgba(55,232,216,.07); }
.generated-voice-result > div { display: flex; gap: 8px; color: #37e8d8; }
.generated-voice-result span { display: grid; gap: 2px; }
.generated-voice-result strong { font-size: 12px; }
.generated-voice-result em { color: #91a4ad; font-size: 11px; font-style: normal; }
.generated-voice-result audio { width: 100%; height: 34px; }
.caption-style-heading { display: grid; gap: 2px; }
.caption-style-heading strong { font-size: 13px; color: #eaf7f7; }
.caption-style-heading span { font-size: 11px; color: #82909c; }
.caption-style-presets { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 8px; }
.caption-color-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.caption-style-presets button { min-width: 0; min-height: 36px; padding: 6px 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; color: #b8c5cd; font-size: 10px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(255,255,255,.04); cursor:pointer; }
.caption-style-presets button.is-active { color: #061515; border-color: #37e8d8; background: #37e8d8; }
.caption-color-row label { display:grid; gap:4px; color:#93a0aa; font-size:11px; }
.caption-color-row input { width:100%; height:28px; padding:2px; border:1px solid rgba(255,255,255,.1); border-radius:5px; background:#0c1015; }
.caption-editor > label:first-child {
color: #d8e4ea;
font-size: 12px;
font-weight: 720;
}
.caption-editor textarea {
width: 100%;
min-height: 88px;
resize: vertical;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 7px;
outline: 0;
padding: 10px;
color: #eef7f7;
font-size: 13px;
line-height: 1.55;
background: rgba(255, 255, 255, 0.045);
}
.metric-list {
margin-bottom: 16px;
}
.metric-list div {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 44px;
border-radius: 7px;
padding: 0 12px;
background: rgba(255, 255, 255, 0.045);
}
.metric-list span {
color: #8d9aa5;
font-size: 12px;
}
.metric-list strong {
min-width: 0;
max-width: 58%;
overflow: hidden;
color: #edf7f8;
font-size: 13px;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.panel-primary {
justify-content: center;
color: #061515;
font-weight: 780;
background: linear-gradient(135deg, #78a3ff 0%, #33ebd7 76%);
}
.panel-secondary,
.panel-danger {
justify-content: center;
gap: 7px;
}
.panel-primary:disabled,
.panel-secondary:disabled,
.panel-danger:disabled {
opacity: 0.45;
cursor: not-allowed;
filter: saturate(0.6);
}
.panel-danger {
border-color: rgba(255, 101, 116, 0.28);
color: #ffd7dc;
background: rgba(255, 79, 96, 0.09);
}
.panel-danger:hover {
border-color: rgba(255, 101, 116, 0.58);
color: #fff4f5;
background: rgba(255, 79, 96, 0.15);
}
.audio-entry-card {
position: relative;
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
align-items: center;
gap: 12px;
width: 100%;
min-height: 72px;
margin-bottom: 14px;
border: 1px solid rgba(53, 234, 217, 0.3);
border-radius: 8px;
padding: 12px;
color: #eafdfb;
text-align: left;
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.12), rgba(120, 163, 255, 0.08)),
rgba(255, 255, 255, 0.04);
cursor: pointer;
}
.audio-tool-panel {
width: 100%;
max-width: 100%;
padding-right: 8px;
overflow-x: hidden;
overflow-y: auto;
scrollbar-gutter: stable;
}
.audio-tool-panel > * {
flex: 0 0 auto;
max-width: 100%;
}
.audio-tool-panel .audio-entry-card {
grid-template-columns: 48px minmax(0, 1fr);
align-items: center;
min-width: 0;
min-height: 94px;
height: auto;
padding: 14px;
overflow: hidden;
}
.audio-tool-panel .audio-entry-card > span {
display: grid;
gap: 5px;
min-width: 0;
}
.audio-tool-panel .audio-entry-card strong,
.audio-tool-panel .audio-entry-card em {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
word-break: normal;
}
.audio-tool-panel .audio-entry-card strong {
font-size: 14px;
line-height: 1.25;
}
.audio-tool-panel .audio-entry-card em {
font-size: 11px;
line-height: 1.4;
}
.audio-tool-panel .metric-list,
.audio-tool-panel .metric-list > div {
min-width: 0;
max-width: 100%;
}
.audio-entry-card:disabled {
opacity: 0.52;
cursor: not-allowed;
filter: saturate(0.7);
}
.audio-entry-card svg {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 999px;
padding: 8px;
color: #061515;
background: #35ead9;
}
.audio-entry-card strong,
.audio-entry-card em {
display: block;
}
.audio-entry-card strong {
font-size: 14px;
}
.audio-entry-card em {
margin-top: 5px;
color: #8e9ba6;
font-size: 12px;
font-style: normal;
}
.audio-entry-card:hover {
border-color: rgba(53, 234, 217, 0.72);
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.18), rgba(120, 163, 255, 0.12)),
rgba(255, 255, 255, 0.055);
}
.audio-entry-card:disabled:hover {
border-color: rgba(53, 234, 217, 0.3);
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.12), rgba(120, 163, 255, 0.08)),
rgba(255, 255, 255, 0.04);
}
.caption-entry-card {
border-color: rgba(103, 181, 255, 0.28);
background:
linear-gradient(135deg, rgba(103, 181, 255, 0.12), rgba(53, 234, 217, 0.07)),
rgba(255, 255, 255, 0.04);
}
.caption-entry-card svg {
background: #78a3ff;
}
.separation-entry-card {
border-color: rgba(196, 126, 255, 0.3);
background: linear-gradient(135deg, rgba(170, 91, 255, 0.14), rgba(103, 181, 255, 0.08)), rgba(255, 255, 255, 0.04);
}
.separation-entry-card svg {
color: #170a20;
background: #c47eff;
}
.inline-progress {
position: absolute;
left: 12px;
right: 12px;
bottom: 7px;
height: 4px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
}
.inline-progress span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #78a3ff, #33ebd7);
transition: width 180ms ease;
}
.visual-choice-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.visual-effects-panel { gap: 12px; }
.visual-effects-panel > .tool-panel { padding: 0; }
.visual-effects-panel > .tool-panel > h2 { font-size: 13px; color: #9ba9b2; }
.visual-context-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.075); border-radius: 9px; background: rgba(4,10,14,.42); }
.visual-context-tabs button { min-width: 0; border: 0; border-radius: 6px; padding: 8px 3px; color: #82919b; background: transparent; font-size: 11px; cursor: pointer; }
.visual-context-tabs button:hover { color: #c8d8de; background: rgba(255,255,255,.04); }
.visual-context-tabs button.is-active { color: #dffffb; background: rgba(53,234,217,.13); box-shadow: inset 0 0 0 1px rgba(53,234,217,.38); }
.visual-editor-card { display: grid; gap: 12px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.035); }
.visual-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.visual-editor-heading span { display: flex; align-items: center; gap: 7px; font-weight: 760; }
.visual-editor-heading svg { color: #35ead9; }
.visual-editor-heading em { color: #7f8d97; font-size: 11px; font-style: normal; }
.mask-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mask-choice-grid button { min-width: 0; padding: 8px 3px; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; color: #aebbc3; background: rgba(255,255,255,.035); font-size: 11px; cursor: pointer; }
.mask-choice-grid button.is-active { border-color: #35ead9; color: #eafffd; background: rgba(53,234,217,.12); }
.mask-empty-hint { margin: 2px 0 0; color: #7f8d97; font-size: 11px; line-height: 1.5; }
.visual-speed-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.visual-speed-presets button { min-width: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; padding: 7px 2px; color: #aab8c0; background: rgba(255,255,255,.035); font-size: 11px; cursor: pointer; font-variant-numeric: tabular-nums; }
.visual-speed-presets button.is-active { border-color: #35ead9; color: #eafffd; background: rgba(53,234,217,.12); }
.visual-speed-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.visual-speed-summary span { display: grid; gap: 4px; padding: 9px 10px; border-radius: 7px; background: rgba(5,10,14,.36); }
.visual-speed-summary em { color: #7f8d97; font-size: 10px; font-style: normal; }
.visual-speed-summary strong { color: #d9e6eb; font-size: 12px; font-variant-numeric: tabular-nums; }
.visual-speed-hint { margin: 0; color: #7f8d97; font-size: 10px; line-height: 1.55; }
.visual-speed-empty { min-height: 92px; }
.visual-animation-card { gap: 11px; }
.visual-animation-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 3px; border-radius: 7px; background: rgba(4,10,14,.42); }
.visual-animation-sections button { border: 0; border-radius: 5px; padding: 7px; color: #8998a1; background: transparent; font-size: 11px; cursor: pointer; }
.visual-animation-sections button.is-active { color: #dffffb; background: rgba(53,234,217,.13); box-shadow: inset 0 0 0 1px rgba(53,234,217,.34); }
.visual-animation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.visual-animation-grid > button { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 8px; min-width: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; padding: 7px; color: #aebbc3; background: rgba(255,255,255,.035); text-align: left; cursor: pointer; }
.visual-animation-grid > button:hover { border-color: rgba(53,234,217,.38); color: #e2fffc; background: rgba(53,234,217,.07); }
.visual-animation-grid > button.is-active { border-color: #35ead9; color: #effffd; background: rgba(53,234,217,.12); }
.visual-animation-grid strong { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.visual-animation-swatch { position: relative; display: grid; place-items: center; width: 38px; height: 28px; overflow: hidden; border-radius: 5px; background: linear-gradient(135deg, rgba(103,181,255,.26), rgba(53,234,217,.18)); }
.visual-animation-swatch i { width: 18px; height: 14px; border: 1px solid rgba(222,255,251,.78); border-radius: 2px; background: rgba(222,255,251,.16); }
.visual-animation-swatch.is-none i { width: 22px; height: 1px; border: 0; background: rgba(222,255,251,.6); transform: rotate(-32deg); }
.visual-animation-swatch.is-fade i { opacity: .42; }
.visual-animation-swatch.is-zoom i { transform: scale(.72); box-shadow: 0 0 0 3px rgba(222,255,251,.12); }
.visual-animation-swatch.is-slide-left i { transform: translateX(-7px); }
.visual-animation-swatch.is-slide-up i { transform: translateY(6px); }
.visual-animation-duration { margin-top: 1px; }
.remaster-card { gap: 11px; }
.remaster-model-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 7px; background: rgba(5,10,14,.38); }
.remaster-model-row > span { display: grid; gap: 3px; min-width: 0; }
.remaster-model-row strong { color: #dce8ed; font-size: 12px; }
.remaster-model-row em { color: #77858f; font-size: 10px; font-style: normal; }
.remaster-model-row > i { flex: 0 0 auto; border-radius: 999px; padding: 4px 7px; color: #8997a0; background: rgba(255,255,255,.05); font-size: 9px; font-style: normal; }
.remaster-model-row > i.is-ready { color: #8ff2e8; background: rgba(53,234,217,.12); }
.remaster-preview-toggle { margin: 0; }
.remaster-progress { display: grid; gap: 6px; }
.remaster-progress > span { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.remaster-progress > span > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#67a9ff,#35ead9); transition: width 160ms ease; }
.remaster-progress small { color: #81909a; font-size: 10px; }
.remaster-result-meta { display: flex; align-items: center; gap: 7px; color: #84929b; font-size: 10px; }
.remaster-result-meta span { border-radius: 5px; padding: 4px 6px; background: rgba(255,255,255,.045); font-variant-numeric: tabular-nums; }
.remaster-result-meta button { margin-left: auto; border: 0; padding: 4px; color: #9aa8b0; background: transparent; font-size: 10px; cursor: pointer; }
.remaster-performance-row { display: grid; gap: 7px; }
.remaster-performance-row .visual-speed-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.remaster-backend { justify-self: start; border-radius: 999px; padding: 4px 7px; color: #7f8d96; background: rgba(255,255,255,.045); font-size: 9px; }
.remaster-backend.is-gpu { color: #8ff2e8; background: rgba(53,234,217,.12); }
.remaster-backend.is-cpu { color: #f1c17b; background: rgba(241,170,70,.11); }
.visual-add-all-keyframes { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; color: #8debe2; }
.visual-keyframe-times { display: flex; gap: 5px; overflow-x: auto; padding: 1px 0 3px; scrollbar-width: thin; }
.visual-keyframe-times button { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 3px 7px; color: #829099; background: rgba(255,255,255,.03); font-size: 10px; font-variant-numeric: tabular-nums; cursor: pointer; }
.visual-keyframe-times button:hover { border-color: rgba(53,234,217,.34); color: #c5f9f4; }
.visual-keyframe-times button.is-current { border-color: rgba(53,234,217,.55); color: #9af4eb; background: rgba(53,234,217,.12); }
.visual-property-value { display: flex; align-items: center; gap: 8px; }
.visual-number-field { display: flex; align-items: center; justify-content: flex-end; width: 82px; height: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(5,10,14,.38); }
.visual-number-field:focus-within { border-color: rgba(53,234,217,.58); box-shadow: 0 0 0 1px rgba(53,234,217,.08); }
.visual-number-field input { box-sizing: border-box; width: 58px; height: 100%; appearance: textfield; border: 0; padding: 0 4px 0 7px; color: #d9e6eb; background: transparent; font: inherit; font-size: 11px; text-align: right; outline: 0; font-variant-numeric: tabular-nums; }
.visual-number-field input::-webkit-inner-spin-button,
.visual-number-field input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; appearance: none; }
.visual-number-field i { flex: 0 0 auto; width: 17px; padding-right: 6px; color: #77858e; font-size: 10px; font-style: normal; text-align: left; }
.visual-property-value > button { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 0; color: #81909a; background: rgba(255,255,255,.035); cursor: pointer; }
.visual-property-value > button:hover { border-color: rgba(53,234,217,.4); color: #8debe2; }
.visual-property-value > button.is-active { border-color: rgba(53,234,217,.62); color: #35ead9; background: rgba(53,234,217,.12); box-shadow: 0 0 0 1px rgba(53,234,217,.06); }
.preview-frame > img, .preview-frame > video { transform-origin: center; }
.visual-mask-editor { position: absolute; z-index: 8; box-sizing: border-box; border: 1.5px solid #35ead9; border-radius: 2px; background: rgba(53,234,217,.035); box-shadow: 0 0 0 1px rgba(3,12,15,.7), 0 0 18px rgba(53,234,217,.13); cursor: move; touch-action: none; }
.visual-mask-editor.is-circle { border-radius: 50%; }
.visual-mask-editor.is-rounded { border-radius: 12%; }
.visual-mask-editor > span { position: absolute; top: -25px; left: 0; padding: 3px 7px; border-radius: 4px; color: #061515; background: #35ead9; font-size: 10px; font-weight: 800; }
.visual-mask-editor > button { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border: 2px solid #071014; border-radius: 50%; padding: 0; background: #35ead9; cursor: nwse-resize; }
.visual-effects-panel.is-context-mode { padding: 0; }
.voice-panel.is-visual-context .voice-tab-body { padding-top: 4px; }
.visual-choice-card {
position: relative;
min-width: 0;
min-height: 102px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 8px;
padding: 7px;
color: #dce7ec;
background: rgba(255, 255, 255, 0.042);
cursor: pointer;
}
.visual-choice-card::after {
position: absolute;
inset: -40% auto -40% -70%;
width: 46%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
transform: rotate(12deg);
opacity: 0;
content: "";
pointer-events: none;
}
.visual-choice-card:hover,
.visual-choice-card.is-selected {
border-color: rgba(53, 234, 217, 0.78);
color: #f2fffd;
background: rgba(53, 234, 217, 0.075);
}
.visual-choice-card:hover::after {
opacity: 1;
animation: choice-sheen 780ms ease;
}
.visual-choice-thumb {
position: relative;
display: block;
height: 58px;
overflow: hidden;
border-radius: 6px;
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.16), rgba(120, 163, 255, 0.12)),
var(--choice-image) center / cover;
filter: var(--choice-filter, none);
transition:
transform 180ms ease,
filter 180ms ease;
}
.visual-choice-card:hover .visual-choice-thumb {
transform: scale(1.035);
}
.visual-choice-card.is-transition .visual-choice-thumb {
filter: none;
}
.visual-choice-card.is-transition .visual-choice-thumb::before,
.visual-choice-card.is-transition .visual-choice-thumb::after {
position: absolute;
inset: 0;
content: "";
}
.visual-choice-card.is-transition .visual-choice-thumb::before {
background: var(--choice-image) center / cover;
}
.visual-choice-card.is-transition .visual-choice-thumb::after {
background: linear-gradient(90deg, rgba(4, 9, 13, 0.72), transparent 62%);
transform-origin: left center;
transition: transform 180ms ease, opacity 180ms ease;
}
.visual-choice-card.is-transition:hover .visual-choice-thumb::after {
transform: translateX(18%);
}
.visual-choice-card.preview-none .visual-choice-thumb::after {
opacity: 0.18;
}
.visual-choice-card.preview-fade .visual-choice-thumb::after {
background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 52%, rgba(0, 0, 0, 0.22));
}
.visual-choice-card.preview-flash .visual-choice-thumb::after {
background: rgba(255, 255, 255, 0.36);
}
.visual-choice-card.preview-wipe-left .visual-choice-thumb::after {
background: linear-gradient(90deg, rgba(53, 234, 217, 0.76) 0 42%, transparent 42%);
}
.visual-choice-card.preview-wipe-up .visual-choice-thumb::after {
background: linear-gradient(0deg, rgba(53, 234, 217, 0.72) 0 44%, transparent 44%);
}
.visual-choice-card.preview-blur .visual-choice-thumb::before {
filter: blur(2px);
transform: scale(1.06);
}
.visual-choice-card.preview-split .visual-choice-thumb::after {
background:
linear-gradient(90deg, rgba(53, 234, 217, 0.68) 0 8%, transparent 8% 92%, rgba(53, 234, 217, 0.68) 92%),
linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 50%, rgba(0, 0, 0, 0.54));
}
.visual-choice-card.preview-glitch .visual-choice-thumb::after {
background:
linear-gradient(0deg, transparent 0 22%, rgba(53, 234, 217, 0.66) 22% 30%, transparent 30% 58%, rgba(255, 95, 132, 0.56) 58% 66%, transparent 66%),
linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}
.visual-choice-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
margin-top: 8px;
font-size: 12px;
font-weight: 740;
line-height: 1.2;
}
.visual-choice-label svg {
flex: 0 0 auto;
color: #35ead9;
}
@keyframes choice-sheen {
from {
transform: translateX(0) rotate(12deg);
}
to {
transform: translateX(430%) rotate(12deg);
}
}
.preview-stage {
display: grid;
grid-template-rows: minmax(0, 1fr) 70px;
gap: 0;
padding: 4px;
overflow: hidden;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
#12161c;
}
.preview-canvas {
position: relative;
display: grid;
place-items: center;
min-height: 0;
padding: 3px 4px 2px;
background: #171b22;
}
.preview-canvas.is-empty {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
#12161c;
}
.preview-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
width: min(420px, 78%);
aspect-ratio: var(--preview-ratio, 16 / 9);
border: 1px dashed rgba(173, 184, 196, 0.22);
border-radius: 8px;
color: #9da9b5;
background: rgba(255, 255, 255, 0.025);
cursor: pointer;
}
.preview-empty strong {
color: #e3edf2;
font-size: 14px;
line-height: 1.35;
}
.preview-empty span {
color: #77838e;
font-size: 12px;
line-height: 1.45;
}
.preview-frame {
position: relative;
display: grid;
place-items: center;
max-width: 100%;
max-height: 100%;
overflow: hidden;
aspect-ratio: var(--preview-ratio, 16 / 9);
background: #080a0e;
box-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
}
.preview-frame.has-background-removed {
background-color: #11171c;
background-image:
linear-gradient(45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
linear-gradient(-45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%),
linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%);
background-position: 0 0, 0 7px, 7px -7px, -7px 0;
background-size: 14px 14px;
}
.preview-frame.has-background-removed > .visual-media-layer > img {
background: transparent;
}
.visual-media-layer {
position: absolute;
inset: 0;
display: grid;
place-items: center;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
overflow: hidden;
}
.visual-media-layer.is-transform-editable { cursor: move; }
.visual-transform-box {
position: absolute;
z-index: 7;
border: 1.5px dashed rgba(255, 255, 255, .94);
box-shadow: 0 0 0 1px rgba(5, 10, 18, .55), 0 0 20px rgba(53, 234, 217, .13);
cursor: move;
pointer-events: auto;
transform-origin: center;
touch-action: none;
}
.visual-transform-label {
position: absolute;
top: -25px;
left: -1px;
max-width: 120px;
overflow: hidden;
padding: 3px 7px;
border-radius: 4px;
border: 1px solid rgba(53, 234, 217, .58);
color: #e9fbf9;
background: rgba(10, 18, 24, .9);
box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
font-size: 10px;
font-weight: 750;
line-height: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.visual-transform-handle,
.visual-transform-rotate {
position: absolute;
z-index: 2;
width: 14px;
height: 14px;
border: 3px solid #091117;
border-radius: 50%;
padding: 0;
background: #35ead9;
box-shadow: 0 0 0 1.5px rgba(235, 255, 253, .9), 0 2px 8px rgba(0, 0, 0, .55);
}
.visual-transform-handle.is-nw { top: -7px; left: -7px; cursor: nwse-resize; }
.visual-transform-handle.is-ne { top: -7px; right: -7px; cursor: nesw-resize; }
.visual-transform-handle.is-sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
.visual-transform-handle.is-se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.visual-transform-handle.is-n { top: -7px; left: calc(50% - 7px); cursor: ns-resize; }
.visual-transform-handle.is-e { top: calc(50% - 7px); right: -7px; cursor: ew-resize; }
.visual-transform-handle.is-s { bottom: -7px; left: calc(50% - 7px); cursor: ns-resize; }
.visual-transform-handle.is-w { top: calc(50% - 7px); left: -7px; cursor: ew-resize; }
.visual-transform-rotate { top: -38px; left: calc(50% - 7px); cursor: grab; }
.visual-transform-rotate::after { position: absolute; top: 11px; left: 5px; width: 2px; height: 25px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.95) 0 3px, transparent 3px 5px); content: ""; }
.visual-overlay-layer {
position: absolute;
transform-origin: center;
cursor: move;
touch-action: none;
}
.visual-overlay-layer > img,
.visual-overlay-layer > video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; pointer-events: none; }
.visual-overlay-layer.is-selected { border: 1.5px dashed rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(5,10,18,.55), 0 0 20px rgba(53,234,217,.15); }
.visual-overlay-order-actions { position: absolute; top: -26px; right: 0; display: flex; gap: 3px; }
.visual-overlay-order-actions button { display: grid; place-items: center; width: 22px; height: 20px; border: 1px solid rgba(53,234,217,.58); border-radius: 4px; padding: 0; color: #eafffd; background: #142528; cursor: pointer; }
.visual-snap-guide { position: absolute; z-index: 30; pointer-events: none; background: #ff4fa3; box-shadow: 0 0 0 1px rgba(6,10,16,.7); }
.visual-snap-guide.is-center-x, .visual-snap-guide.is-quarter-x-1, .visual-snap-guide.is-quarter-x-3, .visual-snap-guide.is-left, .visual-snap-guide.is-right { top: 0; bottom: 0; width: 1px; }
.visual-snap-guide.is-center-x { left: 50%; }
.visual-snap-guide.is-quarter-x-1 { left: 25%; }
.visual-snap-guide.is-quarter-x-3 { left: 75%; }
.visual-snap-guide.is-left { left: 0; }
.visual-snap-guide.is-right { right: 0; }
.visual-snap-guide.is-center-y, .visual-snap-guide.is-quarter-y-1, .visual-snap-guide.is-quarter-y-3, .visual-snap-guide.is-top, .visual-snap-guide.is-bottom { right: 0; left: 0; height: 1px; }
.visual-snap-guide.is-center-y { top: 50%; }
.visual-snap-guide.is-quarter-y-1 { top: 25%; }
.visual-snap-guide.is-quarter-y-3 { top: 75%; }
.visual-snap-guide.is-top { top: 0; }
.visual-snap-guide.is-bottom { bottom: 0; }
.visual-overlay-track { position: relative; min-width: 0; border-bottom: 1px solid rgba(255,255,255,.045); background: rgba(88,166,255,.025); }
.visual-overlay-track.is-selected { background: rgba(88,166,255,.07); }
.visual-overlay-clip { position: absolute; top: 5px; left: var(--overlay-left); width: var(--overlay-width); height: 38px; overflow: hidden; border: 1px solid rgba(88,166,255,.5); border-radius: 5px; padding: 0; background: #162231; color: #eaf4ff; text-align: left; cursor: pointer; }
.visual-overlay-drop-preview { position: absolute; top: 5px; left: var(--overlay-left); width: var(--overlay-width); height: 38px; min-width: 18px; display: grid; place-items: center; overflow: hidden; border: 1px dashed rgba(83,166,255,.96); border-radius: 5px; color: #dcecff; font-size: 10px; font-weight: 700; background: repeating-linear-gradient(-45deg,rgba(83,166,255,.24) 0 8px,rgba(83,166,255,.08) 8px 16px); box-shadow: inset 0 0 0 1px rgba(83,166,255,.16),0 0 18px rgba(50,132,255,.2); pointer-events: none; }
.visual-overlay-drop-preview span { overflow: hidden; padding: 0 6px; text-overflow: ellipsis; white-space: nowrap; }
.visual-overlay-thumbnails { position: absolute; inset: 0; display: flex; overflow: hidden; opacity: .72; }
.visual-overlay-thumbnails > img, .visual-overlay-thumbnails > video { flex: 1 0 auto; min-width: 42px; height: 100%; object-fit: cover; }
.visual-overlay-clip > span { position: absolute; right: 6px; bottom: 4px; left: 6px; z-index: 2; overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.visual-overlay-clip.is-video > span { left: 31px; }
.visual-overlay-clip.is-current { border-color: #35ead9; }
.visual-overlay-clip.is-selected-segment { border-color: #58a6ff; box-shadow: 0 0 0 2px rgba(88,166,255,.28), 0 0 14px rgba(88,166,255,.25); filter: brightness(1.12); }
.clip-mute-toggle { position: absolute; top: 4px; left: 4px; z-index: 5; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 0; color: #eef8fb; background: rgba(5,10,14,.78); cursor: pointer; }
.clip-mute-toggle:hover { color: #071616; background: #35ead9; }
.visual-overlay-resize { position: absolute; top: 4px; bottom: 4px; width: 6px; border-radius: 3px; background: rgba(232,244,255,.9); opacity: 0; cursor: ew-resize; }
.visual-overlay-resize.is-start { left: 2px; }
.visual-overlay-resize.is-end { right: 2px; }
.visual-overlay-clip.is-selected-segment .visual-overlay-resize { opacity: 1; }
.visual-overlay-inspector { display: grid; gap: 12px; }
.visual-overlay-inspector label { display: grid; grid-template-columns: minmax(0,1fr) 82px; align-items: center; gap: 10px; color: #9ba8b5; font-size: 12px; }
.visual-overlay-inspector input { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; padding: 7px 8px; color: #eef5f7; background: #11161d; }
.visual-overlay-inspector .sticker-properties-preview video { width: 100%; height: 92px; object-fit: contain; }
.visual-overlay-delete { justify-self: end; color: #ff8e96; }
.visual-overlay-presets { display: grid; gap: 8px; }
.visual-overlay-presets > strong { color: #c9d4de; font-size: 12px; }
.visual-overlay-presets > div { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; }
.visual-overlay-presets button { height: 32px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 0; color: #c8d8e7; background: #121a23; cursor: pointer; }
.visual-overlay-presets button:hover { border-color: #58a6ff; color: #fff; background: rgba(88,166,255,.12); }
.panel-title-row > *, .tool-panel button, .voice-panel button { min-width: 0; }
.tool-panel button, .voice-panel button { text-wrap: balance; }
.visual-media-layer > img,
.visual-media-layer > video {
grid-area: 1 / 1;
}
.visual-media-layer > .remaster-preview-frame { z-index: 2; }
.visual-media-layer > img,
.visual-media-layer > video {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center center;
background: #080a0e;
}
.preview-canvas.fit-cover .visual-media-layer > img,
.preview-canvas.fit-cover .visual-media-layer > video {
object-fit: cover;
}
.vision-detection-box {
position: absolute;
z-index: 4;
min-width: 8px;
min-height: 8px;
border: 1px solid rgba(123, 163, 255, 0.9);
border-radius: 2px;
pointer-events: none;
box-shadow:
0 0 0 1px rgba(3, 7, 12, 0.5),
inset 0 0 18px rgba(109, 147, 255, 0.05);
}
.vision-detection-box::before,
.vision-detection-box::after {
position: absolute;
width: 9px;
height: 9px;
border-color: #8caaff;
content: "";
}
.vision-detection-box::before {
top: -2px;
left: -2px;
border-top: 2px solid;
border-left: 2px solid;
}
.vision-detection-box::after {
right: -2px;
bottom: -2px;
border-right: 2px solid;
border-bottom: 2px solid;
}
.vision-detection-box.is-subject {
border-color: rgba(53, 234, 217, 0.92);
box-shadow:
0 0 0 1px rgba(3, 7, 12, 0.55),
0 0 18px rgba(53, 234, 217, 0.11),
inset 0 0 22px rgba(53, 234, 217, 0.045);
}
.vision-detection-box.is-subject::before,
.vision-detection-box.is-subject::after {
border-color: #35ead9;
}
.vision-detection-box > span {
position: absolute;
top: -20px;
left: -1px;
max-width: 150px;
overflow: hidden;
border-radius: 3px 3px 3px 0;
padding: 3px 5px;
color: #eef3ff;
font-size: 8px;
font-weight: 760;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
background: rgba(65, 94, 172, 0.94);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24);
}
.vision-detection-box.is-subject > span {
color: #071716;
background: rgba(53, 234, 217, 0.96);
}
.preview-ai-badges {
position: absolute;
top: 10px;
left: 10px;
z-index: 5;
display: flex;
flex-wrap: wrap;
gap: 5px;
max-width: calc(100% - 20px);
pointer-events: none;
}
.preview-ai-badges span {
overflow: hidden;
border: 1px solid rgba(53, 234, 217, 0.22);
border-radius: 999px;
padding: 4px 7px;
color: #b5f5ef;
font-size: 8px;
font-weight: 740;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
background: rgba(7, 15, 20, 0.74);
backdrop-filter: blur(8px);
}
.preview-frame.is-image-hidden::before {
display: grid;
place-items: center;
width: 100%;
height: 100%;
border: 1px dashed rgba(255, 255, 255, 0.18);
border-radius: 8px;
color: #7f8b96;
font-size: 13px;
background: #0b0e13;
content: attr(data-hidden-label);
}
.caption-overlay {
position: absolute;
z-index: 2;
box-sizing: border-box;
border: 0;
padding: 0;
overflow: visible;
background: transparent;
cursor: move;
transform: translate(-50%, -50%);
touch-action: none;
appearance: none;
}
.caption-overlay canvas {
display: block;
width: 100%;
height: 100%;
pointer-events: none;
}
.caption-canvas-guide {
position: absolute;
z-index: 5;
display: none;
pointer-events: none;
background: #31ead7;
box-shadow: 0 0 10px rgba(49, 234, 215, 0.55);
}
.preview-frame[data-caption-guide-x] .caption-canvas-guide.is-vertical {
top: 0;
bottom: 0;
left: var(--caption-guide-x);
display: block;
width: 1px;
}
.preview-frame[data-caption-guide-y] .caption-canvas-guide.is-horizontal {
right: 0;
left: 0;
top: var(--caption-guide-y);
display: block;
height: 1px;
}
.caption-overlay:hover,
.caption-overlay:focus-visible {
outline: 2px solid rgba(53, 234, 217, 0.64);
outline-offset: 2px;
}
.caption-overlay.at-top {
top: 12%;
}
.caption-overlay.at-middle {
top: 50%;
transform: translate(-50%, -50%);
}
.caption-overlay.at-bottom {
bottom: 13%;
}
.sticker-overlay {
position: absolute;
z-index: 3;
pointer-events: none;
}
.sticker-transform-box {
width: clamp(76px, 18%, 142px);
aspect-ratio: 1;
background: transparent;
cursor: move;
pointer-events: auto;
touch-action: none;
}
.sticker-overlay-image { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.sticker-overlay.is-editable {
outline: 1px dashed rgba(53, 234, 217, 0.8);
outline-offset: 4px;
}
.sticker-rotate-handle,
.sticker-scale-handle { position: absolute; z-index: 2; width: 14px; height: 14px; border: 2px solid #081315; border-radius: 50%; padding: 0; background: #35ead9; box-shadow: 0 0 0 1px rgba(255,255,255,.72); }
.sticker-rotate-handle { top: -23px; left: 50%; cursor: grab; transform: translateX(-50%); }
.sticker-rotate-handle::after { position: absolute; top: 11px; left: 5px; width: 2px; height: 10px; background: #35ead9; content: ""; }
.sticker-scale-handle { right: -11px; bottom: -11px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #071311; cursor: nwse-resize; }
.sticker-scale-handle svg { pointer-events: none; }
.sticker-properties-panel { display: grid; gap: 14px; }
.sticker-properties-preview { display: grid; place-items: center; min-height: 92px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.025); }
.sticker-properties-preview img { width: 70px; height: 70px; object-fit: contain; }
.sticker-property-field { display: grid; gap: 7px; }
.sticker-property-field > div { display: flex; align-items: center; justify-content: space-between; color: #9aa8b4; font-size: 12px; }
.sticker-property-field strong { color: #e5f0f3; font-variant-numeric: tabular-nums; }
.sticker-property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sticker-property-grid label { display: grid; gap: 5px; color: #8f9da8; font-size: 11px; }
.sticker-property-grid input { width: 100%; min-width: 0; height: 34px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 0 8px; color: #e9f4f5; background: rgba(255,255,255,.04); }
.sticker-delete-button { display: inline-flex; align-items: center; justify-content: center; justify-self: end; gap: 6px; min-height: 30px; width: auto; border: 1px solid rgba(255,112,122,.2); border-radius: 6px; padding: 5px 11px; color: #ff9ca3; background: rgba(255,90,102,.07); font-size: 11px; cursor: pointer; }
.sticker-delete-button:hover { border-color: rgba(255,112,122,.38); background: rgba(255,90,102,.11); }
.sticker-overlay.is-label {
border-radius: 7px;
padding: 9px 15px;
color: #061515;
font-size: 17px;
font-weight: 850;
background: rgba(53, 240, 221, 0.94);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.transport {
padding: 7px 10px 2px;
}
.scrubber,
.slider-field input[type="range"] {
width: 100%;
height: 4px;
accent-color: #35ead9;
cursor: pointer;
}
.transport-row {
justify-content: space-between;
gap: 10px;
min-width: 0;
margin-top: 6px;
flex-wrap: nowrap;
}
.transport-row > span {
flex: 1 1 132px;
min-width: 116px;
color: #e2ebf0;
font-size: 14px;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.transport-row em {
color: #66717d;
font-style: normal;
}
.playback-controls {
flex: 0 0 auto;
gap: 6px;
}
.voice-panel {
display: flex;
flex-direction: column;
min-height: 0;
padding: 16px 18px 14px;
overflow: hidden;
}
.voice-panel > .panel-title-row,
.voice-panel > .tabs {
flex: 0 0 auto;
}
.voice-tab-body {
flex: 1 1 auto;
min-height: 0;
margin-top: 12px;
padding: 0 6px 18px 0;
overflow-x: hidden;
overflow-y: auto;
scrollbar-gutter: stable;
}
.voice-tab-body::-webkit-scrollbar {
width: 8px;
}
.voice-tab-body::-webkit-scrollbar-thumb {
border: 2px solid rgba(17, 21, 27, 0.96);
border-radius: 999px;
background: rgba(143, 157, 169, 0.52);
}
.voice-tab-body::-webkit-scrollbar-track {
background: transparent;
}
.panel-title-row {
justify-content: space-between;
gap: 12px;
}
.panel-title-row h1 {
margin: 0;
color: #f0f7f8;
font-size: 16px;
font-weight: 750;
letter-spacing: 0;
}
.status-pill {
max-width: 210px;
overflow: hidden;
padding: 5px 8px;
border-radius: 999px;
color: #91f1e8;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
background: rgba(47, 232, 214, 0.11);
}
.status-pill.generating {
color: #b8fffb;
background: rgba(47, 232, 214, 0.18);
}
.status-pill.error {
color: #ffc7c7;
background: rgba(255, 97, 107, 0.14);
}
.status-pill.done {
color: #d7fff8;
}
.field-label {
display: block;
margin: 18px 0 9px;
color: #dce6eb;
font-size: 13px;
font-weight: 720;
}
.script-box {
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 7px;
background: rgba(255, 255, 255, 0.045);
}
.script-box textarea {
display: block;
width: 100%;
height: 134px;
resize: none;
border: 0;
outline: 0;
padding: 14px 14px 4px;
color: #eef7f7;
font-size: 14px;
line-height: 1.62;
background: transparent;
}
.script-meta {
justify-content: space-between;
padding: 0 12px 10px;
color: #87939e;
font-size: 12px;
}
.script-meta button {
gap: 5px;
padding: 4px 5px;
color: #9faab4;
}
.caption-context-panel {
display: flex;
flex-direction: column;
min-height: 0;
gap: 12px;
}
.caption-context-tabs {
margin-top: 12px;
}
.caption-context-tabs button {
flex: 1;
}
.caption-voice-panel {
min-width: 0;
}
.caption-voice-hint {
margin: 2px 0 12px;
border: 1px solid rgba(53, 234, 217, 0.16);
border-radius: 7px;
padding: 10px 12px;
color: #9eabb4;
font-size: 12px;
line-height: 1.55;
background: rgba(53, 234, 217, 0.055);
}
.caption-voice-panel .field-label:first-of-type {
margin-top: 0;
}
.caption-context-panel .field-label {
margin-top: 2px;
}
.caption-sync-box textarea {
min-height: 150px;
}
.caption-context-empty {
display: grid;
place-items: center;
gap: 8px;
min-height: 156px;
border: 1px dashed rgba(173, 184, 196, 0.18);
border-radius: 8px;
padding: 18px;
color: #88959f;
text-align: center;
background: rgba(255, 255, 255, 0.025);
}
.caption-context-empty svg {
color: #5eece0;
}
.caption-context-empty strong {
color: #dce8ec;
font-size: 13px;
}
.caption-context-empty span {
max-width: 260px;
font-size: 12px;
line-height: 1.55;
}
.visual-context-empty {
display: grid;
place-items: center;
gap: 8px;
min-height: 210px;
border: 1px dashed rgba(173, 184, 196, 0.18);
border-radius: 8px;
padding: 24px 18px;
color: #88959f;
text-align: center;
background: rgba(255, 255, 255, 0.025);
}
.visual-context-empty svg {
color: #5eece0;
}
.visual-context-empty strong {
color: #dce8ec;
font-size: 13px;
}
.visual-context-empty span {
max-width: 250px;
font-size: 12px;
line-height: 1.55;
}
.caption-context-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.caption-context-actions button {
min-width: 0;
min-height: 38px;
padding: 0 9px;
overflow: hidden;
font-size: 12px;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.caption-context-actions button svg {
flex: 0 0 auto;
}
.caption-context-actions + .caption-context-heading {
margin-top: 2px;
}
.caption-context-heading {
display: flex;
align-items: center;
gap: 7px;
color: #dce7eb;
font-size: 13px;
font-weight: 760;
}
.caption-context-heading > span { display:flex; align-items:center; gap:7px; min-width:0; }
.caption-import-button { margin-left:auto; display:inline-flex; align-items:center; gap:5px; border:1px solid rgba(109,225,255,.24); border-radius:7px; padding:5px 8px; color:#bcefff; background:rgba(40,174,215,.08); font-size:11px; cursor:pointer; }
.caption-import-button:hover { border-color:rgba(109,225,255,.5); background:rgba(40,174,215,.15); }
.caption-empty-import { display:inline-flex; align-items:center; justify-content:center; gap:6px; margin-top:4px; min-height:34px; padding:0 12px; border:1px solid rgba(86,232,216,.4); border-radius:8px; color:#d9fffa; background:rgba(38,195,181,.12); font-size:12px; font-weight:700; cursor:pointer; }
.caption-empty-import:hover { border-color:rgba(86,232,216,.72); background:rgba(38,195,181,.2); }
.srt-import-backdrop { position:fixed; inset:0; z-index:140; display:grid; place-items:center; padding:24px; background:rgba(3,7,11,.78); backdrop-filter:blur(8px); }
.srt-import-dialog { width:min(420px, 100%); padding:22px; border:1px solid rgba(116,220,255,.22); border-radius:14px; background:#10171f; box-shadow:0 24px 70px rgba(0,0,0,.5); }
.srt-import-dialog > strong { display:block; color:#f2f8fb; font-size:17px; }
.srt-import-dialog > p { margin:10px 0 20px; color:#9aabb6; font-size:13px; line-height:1.55; }
.srt-import-dialog > div { display:flex; justify-content:flex-end; gap:9px; }
.caption-context-list {
display: grid;
gap: 8px;
min-height: 0;
}
.caption-context-list button {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 42px;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 7px;
padding: 0 10px;
color: #dfe9ed;
text-align: left;
background: rgba(255, 255, 255, 0.045);
}
.caption-context-list button:hover,
.caption-context-list button.is-current {
border-color: rgba(53, 234, 217, 0.38);
background: rgba(53, 234, 217, 0.08);
}
.caption-context-list button.is-selected {
border-color: rgba(94, 236, 224, 0.74);
background: rgba(53, 234, 217, 0.13);
}
.caption-context-list button.is-hidden {
opacity: 0.56;
}
.caption-context-list span {
min-width: 0;
overflow: hidden;
font-size: 12px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.caption-context-list em {
color: #8d9aa5;
font-size: 11px;
font-style: normal;
font-variant-numeric: tabular-nums;
}
.voice-header {
justify-content: space-between;
margin-top: 10px;
}
.voice-header .field-label {
margin: 0;
}
.voice-filter {
min-height: 30px;
padding: 0 10px;
font-size: 12px;
}
.voice-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 10px;
}
.voice-card {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
position: relative;
gap: 9px;
align-items: center;
min-height: 64px;
border: 1px solid rgba(255, 255, 255, 0.065);
border-radius: 7px;
padding: 10px;
text-align: left;
background: rgba(255, 255, 255, 0.04);
cursor: pointer;
}
.voice-card:hover,
.voice-card.is-selected {
border-color: rgba(47, 234, 218, 0.92);
background: rgba(47, 234, 218, 0.07);
}
.voice-card .avatar {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
color: #062220;
background: linear-gradient(135deg, #88b8ff, #34ead8);
}
.voice-card small {
position: absolute;
right: 8px;
top: 8px;
color: #8fece4;
font-size: 10px;
font-weight: 760;
}
.model-row {
justify-content: space-between;
gap: 12px;
margin-top: 10px;
min-height: 42px;
padding: 7px 8px 7px 12px;
border: 1px solid rgba(255, 255, 255, 0.045);
border-radius: 8px;
color: #8b98a4;
font-size: 12px;
background: rgba(255, 255, 255, 0.035);
}
.voice-sample-preview {
display: grid;
gap: 8px;
margin-top: 10px;
padding: 10px;
border: 1px solid rgba(136, 184, 255, 0.18);
border-radius: 8px;
background: rgba(136, 184, 255, 0.06);
}
.voice-sample-preview > div {
display: grid;
gap: 2px;
}
.voice-sample-preview strong {
color: #dce8ef;
font-size: 12px;
}
.voice-sample-preview span {
color: #8b9aa5;
font-size: 11px;
}
.voice-sample-preview audio {
width: 100%;
height: 34px;
}
.model-row span:first-child {
min-width: 0;
overflow: hidden;
color: #cbd5dc;
text-overflow: ellipsis;
white-space: nowrap;
}
.model-row button {
flex: 0 0 auto;
border: 0;
border-radius: 999px;
min-width: 70px;
padding: 6px 11px;
color: #83eee5;
font-size: 11px;
font-weight: 700;
line-height: 1;
white-space: nowrap;
background: rgba(46, 234, 216, 0.08);
cursor: pointer;
}
.model-row button:hover {
background: rgba(46, 234, 216, 0.14);
}
.slider-field {
margin-top: 14px;
}
.slider-field > div {
justify-content: space-between;
margin-bottom: 8px;
color: #d6e1e7;
font-size: 13px;
}
.slider-field span {
color: #aeb9c3;
font-variant-numeric: tabular-nums;
}
.progress-track {
height: 5px;
margin-top: 13px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
}
.progress-track span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #77a7ff, #32ead8);
transition: width 180ms ease;
}
.voice-actions {
gap: 10px;
margin-top: 14px;
padding-top: 14px;
}
.generate-button {
flex: 1;
gap: 8px;
min-height: 38px;
color: #071616;
font-size: 14px;
font-weight: 780;
background: linear-gradient(135deg, #78a3ff 0%, #33ebd7 76%);
}
.secondary-download {
width: 42px;
height: 38px;
color: #d8e8ed;
background: rgba(255, 255, 255, 0.075);
}
.history-panel {
display: grid;
gap: 10px;
margin-top: 18px;
overflow: auto;
}
.panel-subtitle {
margin-top: 4px;
color: #8e9ba6;
font-size: 12px;
font-weight: 760;
}
.record-card {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
min-height: 78px;
border: 1px solid rgba(53, 234, 217, 0.26);
border-radius: 8px;
padding: 12px;
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.09), rgba(120, 163, 255, 0.06)),
rgba(255, 255, 255, 0.036);
}
.record-card strong,
.record-card span {
display: block;
}
.record-card strong {
color: #f2fbfc;
font-size: 14px;
}
.record-card span {
margin-top: 6px;
color: #8d9aa5;
font-size: 12px;
line-height: 1.4;
}
.record-card button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 34px;
border: 0;
border-radius: 7px;
padding: 0 12px;
color: #061515;
font-size: 12px;
font-weight: 800;
background: #35ead9;
cursor: pointer;
}
.record-card button:disabled {
color: #74828d;
background: rgba(255, 255, 255, 0.08);
}
.record-card.is-recording {
border-color: rgba(255, 104, 120, 0.68);
background:
linear-gradient(135deg, rgba(255, 80, 99, 0.13), rgba(53, 234, 217, 0.06)),
rgba(255, 255, 255, 0.036);
}
.record-card.is-recording strong::before {
display: inline-block;
width: 8px;
height: 8px;
margin-right: 8px;
border-radius: 999px;
background: #ff5d72;
box-shadow: 0 0 0 0 rgba(255, 93, 114, 0.42);
animation: record-pulse 900ms ease infinite;
content: "";
}
.history-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto auto;
gap: 8px;
align-items: center;
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 7px;
padding: 10px;
background: rgba(255, 255, 255, 0.04);
}
.history-item.is-selected {
border-color: rgba(46, 234, 216, 0.85);
background: rgba(46, 234, 216, 0.08);
}
.history-item strong,
.history-item span {
display: block;
}
.history-item strong {
color: #edf7f8;
font-size: 13px;
}
.history-item span {
overflow: hidden;
margin-top: 5px;
color: #8794a0;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-item button {
min-height: 28px;
border: 0;
border-radius: 6px;
padding: 0 8px;
color: #cbd9df;
font-size: 12px;
background: rgba(255, 255, 255, 0.07);
cursor: pointer;
}
.history-item button:hover {
color: #061515;
background: #33e6d3;
}
@keyframes record-pulse {
to {
box-shadow: 0 0 0 8px rgba(255, 93, 114, 0);
}
}
.timeline {
position: relative;
z-index: 30;
display: grid;
grid-template-rows: 40px 1fr;
min-height: 0;
margin: 0 6px 6px;
border-radius: 7px;
overflow: hidden;
background: #10141a;
}
.timeline-tools {
justify-content: space-between;
padding: 0 18px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(255, 255, 255, 0.018);
}
.timeline-icon-group {
gap: 5px;
}
.timeline-sync-readout {
max-width: 0;
overflow: hidden;
color: #7f8b95;
font-size: 11px;
white-space: nowrap;
opacity: 0;
transition: max-width 160ms ease, opacity 160ms ease;
}
.timeline-icon-group:hover .timeline-sync-readout,
.timeline-sync-readout.is-linked {
max-width: 92px;
opacity: 1;
}
.timeline-sync-readout.is-linked {
color: #75ded4;
}
.timeline-segment-tools {
display: flex;
align-items: center;
gap: 6px;
}
.timeline-segment-tools > button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
min-height: 30px;
border: 0;
border-radius: 7px;
padding: 0 10px;
color: #cdd8df;
font-size: 12px;
font-weight: 700;
background: rgba(255, 255, 255, 0.065);
cursor: pointer;
}
.timeline-segment-tools > button:hover {
color: #061515;
background: #33e6d3;
}
.timeline-segment-tools > .timeline-play-button {
min-width: 74px;
color: #061515;
background: #33ead8;
}
.timeline-segment-tools > .timeline-play-button:hover {
background: #7affef;
}
.timeline-segment-tools > .timeline-play-button:disabled {
color: #74828d;
background: rgba(255, 255, 255, 0.07);
}
.zoom-readout {
display: grid;
place-items: center;
min-width: 48px;
height: 28px;
border-radius: 7px;
color: #b7c4cc;
font-size: 12px;
font-variant-numeric: tabular-nums;
background: rgba(255, 255, 255, 0.055);
}
.timeline-board {
display: grid;
grid-template-columns: 164px minmax(0, 1fr);
grid-template-rows: 28px auto;
min-height: 0;
max-height: min(430px, 48vh);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-color: rgba(143, 158, 172, 0.42) transparent;
scrollbar-width: thin;
}
.timeline-board::-webkit-scrollbar { width: 7px; }
.timeline-board::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(143, 158, 172, 0.42); }
.track-labels {
display: grid;
grid-template-rows: repeat(5, 48px);
border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.track-labels-ruler-spacer {
position: sticky;
top: 0;
z-index: 8;
min-height: 28px;
border-bottom: 1px solid rgba(255, 255, 255, 0.035);
padding: 0;
background: #10141a;
}
.timeline-ruler-viewport {
position: sticky;
top: 0;
z-index: 8;
min-width: 0;
overflow: hidden;
padding: 0 18px 0 8px;
background: #10141a;
}
.timeline-ruler-canvas {
position: relative;
height: 28px;
min-width: 25%;
transition: width 140ms cubic-bezier(0.16, 1, 0.3, 1);
}
.track-labels div {
display: flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.045);
color: #c8d3db;
font-size: 13px;
font-weight: 650;
cursor: default;
}
.track-labels svg {
color: #83909d;
}
.track-labels div.is-selected {
color: #eafffd;
background: rgba(46, 234, 216, 0.07);
}
.track-labels div.is-track-disabled {
color: #75818c;
background: rgba(255, 255, 255, 0.018);
}
.track-labels div.is-track-disabled > button:not(:first-child) {
opacity: 0.5;
}
.track-labels button {
display: grid;
place-items: center;
width: 22px;
height: 22px;
border: 0;
border-radius: 5px;
color: #83909d;
background: transparent;
cursor: pointer;
}
.track-labels button:hover {
color: #35ead9;
background: rgba(255, 255, 255, 0.08);
}
.track-labels .track-name-button {
display: inline-flex;
justify-content: flex-start;
width: auto;
min-width: 0;
flex: 1;
overflow: hidden;
padding: 0 0 0 2px;
color: inherit;
font-size: 13px;
font-weight: 650;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
background: transparent;
}
.track-labels .track-name-button:hover {
color: #eafffd;
background: transparent;
}
.tracks {
position: relative;
min-width: 0;
padding: 0 18px 12px 8px;
overflow-x: auto;
overflow-y: hidden;
}
.track-scroll {
position: relative;
display: grid;
grid-template-rows: repeat(5, 48px);
min-height: 100%;
min-width: 25%;
transition: width 140ms cubic-bezier(0.16, 1, 0.3, 1);
}
.track-scroll.is-wheel-zooming {
transition: none;
}
.ruler {
position: relative;
display: block;
color: #7e8995;
font-size: 12px;
font-variant-numeric: tabular-nums;
cursor: ew-resize;
touch-action: none;
background: #10141a;
}
.playhead-ruler {
position: absolute;
top: 0;
bottom: 0;
z-index: 9;
width: 2px;
background: #f4fbff;
cursor: ew-resize;
touch-action: none;
}
.playhead-ruler::after {
position: absolute;
right: 50%;
bottom: 0;
width: 18px;
height: 10px;
background: #f4fbff;
clip-path: polygon(0 0, 100% 0, 50% 100%);
transform: translateX(50%);
content: "";
}
.ruler::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 1px;
background: rgba(255, 255, 255, 0.035);
content: "";
}
.ruler-tick {
position: absolute;
top: 0;
bottom: 0;
width: 1px;
border-left: 1px solid rgba(255, 255, 255, 0.06);
padding-left: 7px;
color: #838f9b;
line-height: 24px;
white-space: nowrap;
pointer-events: none;
}
.ruler-tick.is-major {
border-left-color: rgba(255, 255, 255, 0.12);
}
.ruler-tick.is-minor {
top: 15px;
bottom: auto;
height: 8px;
padding-left: 0;
color: transparent;
border-left-color: rgba(255, 255, 255, 0.05);
}
.playhead {
position: absolute;
top: 0;
bottom: 12px;
width: 2px;
background: #f4fbff;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
z-index: 5;
cursor: ew-resize;
touch-action: none;
}
.playhead::before {
display: none;
}
.snap-guide {
position: absolute;
top: 0;
bottom: 12px;
z-index: 6;
width: 2px;
pointer-events: none;
background: #31ead7;
box-shadow: 0 0 0 1px rgba(49, 234, 215, 0.34), 0 0 18px rgba(49, 234, 215, 0.42);
}
.snap-guide span {
position: absolute;
top: 7px;
left: 8px;
border: 1px solid rgba(49, 234, 215, 0.44);
border-radius: 5px;
padding: 3px 6px;
color: #dffefd;
font-size: 11px;
font-weight: 750;
white-space: nowrap;
background: rgba(7, 21, 24, 0.92);
}
.image-track,
.caption-track,
.sticker-track,
.audio-track {
position: relative;
display: flex;
align-items: center;
width: 100%;
min-width: 0;
border: 0;
min-width: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.045);
text-align: left;
background: transparent;
cursor: pointer;
}
.image-track.is-track-disabled,
.caption-track.is-track-disabled,
.sticker-track.is-track-disabled,
.audio-track.is-track-disabled {
background: rgba(8, 12, 16, 0.32);
}
.is-track-disabled > .image-clip,
.is-track-disabled > .caption-segment,
.is-track-disabled > .sticker-segment,
.is-track-disabled > .audio-clip {
opacity: 0.32;
filter: grayscale(0.72) saturate(0.45);
pointer-events: none;
}
.is-track-disabled .image-resize-handle {
display: none;
}
.image-track {
position: relative;
gap: 2px;
overflow: hidden;
padding: 4px 0;
}
.main-track-drop-preview {
position: absolute;
top: 4px;
bottom: 4px;
left: var(--main-drop-left);
z-index: 10;
display: grid;
place-items: center;
width: var(--main-drop-width);
min-width: 22px;
overflow: hidden;
border: 1px dashed rgba(53, 234, 217, 0.98);
border-radius: 5px;
color: #c9fffa;
font-size: 10px;
font-weight: 800;
background: repeating-linear-gradient(-45deg, rgba(53,234,217,.25) 0 8px, rgba(53,234,217,.07) 8px 16px);
box-shadow: 0 0 18px rgba(53,234,217,.24);
pointer-events: none;
}
.main-track-drop-preview span { overflow: hidden; padding: 0 6px; text-overflow: ellipsis; white-space: nowrap; }
.visual-junction {
position: absolute;
top: 27px;
z-index: 8;
display: grid;
place-items: center;
width: 22px;
height: 22px;
margin: 0;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.42);
border-radius: 6px;
color: #e8f1f5;
background: #202933;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
transform: translate(-50%, -50%);
cursor: pointer;
}
.visual-junction:hover,
.visual-junction.has-transition {
border-color: #35ead9;
color: #061513;
background: #35ead9;
}
.visual-junction span { font-size: 15px; line-height: 1; transform: rotate(45deg); }
.transition-popover {
position: fixed;
z-index: 80;
width: 320px;
padding: 14px;
border: 1px solid rgba(255, 255, 255, 0.13);
border-radius: 12px;
color: #edf7f8;
background: rgba(19, 25, 32, 0.98);
box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
transform: translate(-50%, calc(-100% - 12px));
}
.transition-popover-head,
.transition-duration-control > span { display: flex; align-items: center; justify-content: space-between; }
.transition-popover-head { margin-bottom: 12px; }
.transition-popover-head strong { font-size: 14px; }
.transition-popover-head button { width: 26px; height: 26px; border: 0; border-radius: 6px; color: #9baab5; background: transparent; cursor: pointer; }
.transition-popover-head button:hover { color: #fff; background: rgba(255,255,255,.08); }
.transition-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.transition-presets > button { min-width: 0; padding: 8px 5px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; color: #aebbc4; background: rgba(255,255,255,.035); cursor: pointer; }
.transition-presets > button:hover,
.transition-presets > button.is-selected { border-color: rgba(53,234,217,.72); color: #eafffd; background: rgba(53,234,217,.09); }
.transition-presets span { display: block; margin-top: 5px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.transition-preview { display: block; width: 100%; height: 24px; border-radius: 4px; background: linear-gradient(90deg,#527eb0 0 48%,#c17c65 52% 100%); }
.transition-preview.preview-fade { background: linear-gradient(90deg,#527eb0,#20252b,#c17c65); }
.transition-preview.preview-flash { background: linear-gradient(90deg,#527eb0,#fff,#c17c65); }
.transition-preview.preview-wipe-left,
.transition-preview.preview-wipe-up { background: linear-gradient(120deg,#527eb0 0 45%,#c17c65 47% 100%); }
.transition-preview.preview-blur { filter: blur(1px); }
.transition-duration-control { display: block; margin-top: 13px; }
.transition-duration-control span { color: #b8c4cc; font-size: 12px; }
.transition-duration-control em { color: #35ead9; font-style: normal; font-variant-numeric: tabular-nums; }
.transition-duration-control input { width: 100%; margin-top: 8px; accent-color: #35ead9; }
.preview-transition-layer { position: absolute; inset: 0; z-index: 2; overflow: hidden; opacity: var(--transition-progress); pointer-events: none; }
.preview-transition-layer img,
.preview-transition-layer video { width: 100%; height: 100%; display: block; }
.preview-transition-layer.type-wipe-left { clip-path: inset(0 0 0 calc((1 - var(--transition-progress)) * 100%)); opacity: 1; }
.preview-transition-layer.type-wipe-up { clip-path: inset(calc((1 - var(--transition-progress)) * 100%) 0 0); opacity: 1; }
.preview-transition-layer.type-split { clip-path: inset(0 calc((1 - var(--transition-progress)) * 50%)); opacity: 1; }
.preview-transition-layer.type-zoom img,
.preview-transition-layer.type-zoom video { transform: scale(calc(1.12 - var(--transition-progress) * .12)); }
.preview-transition-layer.type-blur img,
.preview-transition-layer.type-blur video { filter: blur(calc((1 - var(--transition-progress)) * 12px)); }
.preview-transition-layer.type-flash i { position: absolute; inset: 0; opacity: .7; background: #fff; }
.image-track.is-reordering,
.caption-track.is-reordering {
cursor: grabbing;
background: linear-gradient(90deg, rgba(53, 234, 217, 0.07), transparent 46%);
}
.image-clip {
position: relative;
display: flex;
align-items: stretch;
flex: 0 0 var(--image-clip-width, auto);
width: var(--image-clip-width, auto);
min-width: 68px;
max-width: 100%;
height: 36px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 5px;
background: rgba(12, 18, 24, 0.86);
box-shadow: inset 0 0 0 1px rgba(46, 234, 216, 0.14);
cursor: grab;
touch-action: none;
transition:
transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
border-color 160ms ease,
box-shadow 160ms ease,
opacity 160ms ease,
filter 160ms ease;
will-change: transform;
}
.image-clip.is-current {
border-color: rgba(49, 234, 215, 0.58);
}
.image-clip.is-selected-segment {
z-index: 4;
border-color: #8bacff;
outline: 1px solid rgba(139, 172, 255, 0.82);
outline-offset: -2px;
filter: brightness(1.07) saturate(1.06);
box-shadow:
inset 0 0 0 1px rgba(210, 224, 255, 0.18),
0 0 8px rgba(90, 139, 255, 0.24);
}
.image-thumbnails {
display: grid;
grid-auto-flow: column;
grid-auto-columns: var(--thumbnail-cell-width, 84px);
align-items: stretch;
justify-content: start;
width: 100%;
min-width: 0;
overflow: hidden;
}
.image-thumbnails img {
display: block;
width: 100%;
min-width: 0;
height: 36px;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.image-thumbnails.is-video video {
width: 100%;
height: 36px;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.image-thumbnails.is-video {
grid-template-columns: repeat(var(--video-thumbnail-count, 1), minmax(0, 1fr));
grid-auto-columns: unset;
gap: 1px;
background: #05070a;
}
.image-thumbnails.is-video img {
width: 100%;
min-width: 0;
height: 36px;
object-fit: cover;
background: #05070a;
}
.image-thumbnails.is-video.is-portrait-video img {
object-fit: contain;
}
.image-clip.is-video {
border-color: rgba(103, 181, 255, 0.52);
box-shadow: inset 0 0 0 1px rgba(103, 181, 255, 0.18);
}
.image-clip.is-preparing {
border-color: rgba(53, 234, 217, 0.58);
background: rgba(8, 24, 27, 0.92);
cursor: progress;
box-shadow: inset 0 0 0 1px rgba(53, 234, 217, 0.16), 0 0 12px rgba(53, 234, 217, 0.09);
}
.image-clip.is-preparing::before {
position: absolute;
inset: 0;
content: "";
background: linear-gradient(105deg, transparent 18%, rgba(92, 255, 239, 0.13) 42%, rgba(190, 255, 249, 0.2) 50%, rgba(92, 255, 239, 0.13) 58%, transparent 82%);
transform: translateX(-110%);
animation: timeline-media-shimmer 1.45s cubic-bezier(.45, 0, .55, 1) infinite;
}
.timeline-media-preparing {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
width: 100%;
padding: 0 9px;
color: #c9fffa;
pointer-events: none;
}
.timeline-media-preparing strong {
overflow: hidden;
font-size: 10px;
font-weight: 720;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-media-preparing em {
margin-left: auto;
color: rgba(204, 255, 250, 0.72);
font-size: 9px;
font-style: normal;
font-variant-numeric: tabular-nums;
}
.timeline-media-spinner {
flex: 0 0 auto;
width: 12px;
height: 12px;
border: 1.5px solid rgba(163, 255, 247, 0.24);
border-top-color: #55f3e3;
border-radius: 999px;
animation: timeline-media-spin .72s linear infinite;
}
@keyframes timeline-media-shimmer { to { transform: translateX(110%); } }
@keyframes timeline-media-spin { to { transform: rotate(360deg); } }
.image-clip.is-reorder-dragging {
z-index: 7;
border-style: dashed;
border-color: rgba(53, 234, 217, 0.96);
opacity: 1;
filter: none;
transform: translateY(0);
background:
repeating-linear-gradient(
-45deg,
rgba(53, 234, 217, 0.12) 0 8px,
rgba(53, 234, 217, 0.04) 8px 16px
),
rgba(5, 20, 23, 0.72);
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.32),
0 0 0 1px rgba(53, 234, 217, 0.22),
0 0 18px rgba(53, 234, 217, 0.18);
cursor: grabbing;
}
.image-clip.is-reorder-dragging .image-thumbnails,
.image-clip.is-reorder-dragging .image-clip-duration {
opacity: 0;
}
.image-clip.is-reorder-dragging::after {
position: absolute;
inset: 0;
display: grid;
place-items: center;
color: #bffef8;
font-size: 11px;
font-weight: 800;
letter-spacing: 0;
content: attr(data-placeholder);
pointer-events: none;
}
.image-clip.is-reorder-target:not(.is-reorder-dragging) {
border-color: rgba(53, 234, 217, 0.72);
transform: translateY(3px);
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.26),
0 0 0 1px rgba(53, 234, 217, 0.16);
}
.image-clip.is-overlay-promotion-insert-target {
margin-left: var(--promotion-gap-width, 0%);
}
.image-clip-duration {
position: absolute;
right: 12px;
bottom: 3px;
z-index: 2;
border-radius: 4px;
padding: 1px 5px;
color: #eafcff;
font-size: 10px;
font-weight: 750;
font-variant-numeric: tabular-nums;
background: rgba(3, 8, 12, 0.72);
pointer-events: none;
}
.image-resize-handle {
position: absolute;
top: 0;
right: 0;
z-index: 3;
width: 13px;
height: 100%;
border: 0;
border-left: 1px solid rgba(255, 255, 255, 0.26);
border-radius: 0;
padding: 0;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(53, 234, 217, 0.2)),
rgba(4, 11, 15, 0.34);
cursor: ew-resize;
touch-action: none;
}
.image-resize-handle::before,
.image-resize-handle::after {
position: absolute;
top: 9px;
width: 1px;
height: 18px;
border-radius: 999px;
background: rgba(235, 255, 253, 0.72);
content: "";
}
.image-resize-handle::before {
right: 7px;
}
.image-resize-handle::after {
right: 4px;
}
.image-resize-handle:hover {
background: rgba(53, 234, 217, 0.34);
}
.caption-track,
.sticker-track {
display: block;
overflow: hidden;
}
.caption-segment {
position: absolute;
top: 50%;
left: var(--caption-left, 0%);
display: flex;
align-items: center;
justify-content: center;
width: var(--caption-width, 12%);
min-width: 0;
max-width: calc(100% - var(--caption-left, 0%));
height: 34px;
overflow: hidden;
border: 0;
border-radius: 4px;
padding: 0 max(5px, calc(12px * var(--timeline-zoom, 1)));
color: #d9ecff;
font-size: 12px;
font-weight: 650;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
background: linear-gradient(180deg, #1e5fb8, #194f9a);
cursor: pointer;
touch-action: none;
transition:
transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
box-shadow 160ms ease,
opacity 160ms ease,
filter 160ms ease,
background 160ms ease;
transform: translateY(-50%);
will-change: transform;
}
.caption-segment:hover {
filter: brightness(1.12);
}
.caption-segment.is-current {
outline: 2px solid rgba(255, 255, 255, 0.55);
outline-offset: -2px;
}
.caption-segment.is-selected-segment {
z-index: 4;
border-color: #ffad6b;
outline: 1px solid rgba(255, 173, 107, 0.82);
outline-offset: -2px;
filter: brightness(1.06);
box-shadow:
inset 0 0 0 1px rgba(255, 229, 207, 0.16),
0 0 8px rgba(255, 137, 72, 0.22);
}
.caption-segment-label {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.caption-resize-handle {
position: absolute;
z-index: 2;
top: 0;
bottom: 0;
width: 10px;
cursor: ew-resize;
opacity: 0;
transition: opacity 120ms ease, background 120ms ease;
}
.caption-resize-handle.is-start { left: 0; }
.caption-resize-handle.is-end { right: 0; }
.caption-segment:hover .caption-resize-handle,
.caption-segment.is-selected-segment .caption-resize-handle { opacity: 1; }
.caption-resize-handle:hover { background: rgba(255, 255, 255, 0.22); }
.sticker-track {
padding: 5px 0;
}
.sticker-segment {
position: absolute;
top: 50%;
left: var(--sticker-left, 0%);
display: flex;
align-items: center;
gap: 7px;
width: var(--sticker-width, 8%);
min-width: 76px;
max-width: calc(100% - var(--sticker-left, 0%));
height: 36px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 5px;
padding: 3px 8px 3px 4px;
color: #e9f8fa;
font-size: 11px;
font-weight: 760;
text-align: left;
background:
linear-gradient(135deg, rgba(53, 234, 217, 0.16), rgba(103, 181, 255, 0.12)),
rgba(11, 18, 24, 0.92);
cursor: grab;
transform: translateY(-50%);
touch-action: none;
}
.sticker-segment:hover {
border-color: rgba(53, 234, 217, 0.72);
filter: brightness(1.08);
}
.sticker-segment:active {
cursor: grabbing;
}
.sticker-segment.is-current {
outline: 2px solid rgba(255, 255, 255, 0.48);
outline-offset: -2px;
}
.sticker-segment.is-selected-segment {
z-index: 4;
border-color: #35ead9;
outline: 1px solid rgba(53, 234, 217, 0.82);
outline-offset: -2px;
filter: brightness(1.06);
box-shadow:
inset 0 0 0 1px rgba(205, 255, 250, 0.16),
0 0 8px rgba(53, 234, 217, 0.2);
}
.sticker-segment img {
flex: 0 0 auto;
width: 28px;
height: 28px;
object-fit: contain;
filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.25));
user-select: none;
-webkit-user-drag: none;
}
.sticker-segment span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.caption-segment.is-hidden {
color: #8a98a5;
opacity: 0.48;
background: linear-gradient(180deg, #1a2938, #14202d);
}
.caption-segment.is-reorder-dragging {
z-index: 7;
border: 1px dashed rgba(53, 234, 217, 0.96);
color: transparent;
opacity: 1;
filter: none;
transform: translateY(-50%);
background:
repeating-linear-gradient(
-45deg,
rgba(53, 234, 217, 0.13) 0 8px,
rgba(53, 234, 217, 0.05) 8px 16px
),
rgba(5, 20, 23, 0.7);
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.38),
0 0 0 1px rgba(53, 234, 217, 0.24),
0 0 18px rgba(53, 234, 217, 0.16);
cursor: grabbing;
}
.caption-segment.is-reorder-dragging::after {
position: absolute;
inset: 0;
display: grid;
place-items: center;
color: #bffef8;
font-size: 11px;
font-weight: 800;
content: attr(data-placeholder);
pointer-events: none;
}
.caption-segment.is-reorder-target:not(.is-reorder-dragging) {
filter: brightness(1.08);
transform: translateY(calc(-50% + 3px));
box-shadow:
inset 0 0 0 2px rgba(53, 234, 217, 0.66),
0 0 0 1px rgba(53, 234, 217, 0.24);
}
.timeline-context-menu {
position: fixed;
z-index: 180;
display: grid;
width: 210px;
max-width: calc(100vw - 20px);
padding: 5px;
border: 1px solid rgba(104, 132, 139, .4);
border-radius: 9px;
background: rgba(15, 20, 26, .98);
box-shadow: 0 18px 50px rgba(0, 0, 0, .48);
transform: translateY(-4px);
}
.timeline-context-heading { display: flex; justify-content: space-between; gap: 8px; padding: 6px 7px 7px; color: #e9f2f4; font-size: 11px; line-height: 1; font-weight: 750; white-space: nowrap; }
.timeline-context-heading span { overflow: hidden; color: #71818a; font-size: 9px; font-weight: 650; text-overflow: ellipsis; text-transform: uppercase; }
.timeline-context-menu button { display: flex; align-items: center; gap: 7px; min-height: 29px; width: 100%; overflow: hidden; padding: 5px 7px; border: 0; border-radius: 6px; color: #cbd7da; font-size: 12px; line-height: 1.15; text-align: left; text-overflow: ellipsis; white-space: nowrap; background: transparent; cursor: pointer; }
.timeline-context-menu button svg { flex: 0 0 auto; }
.timeline-context-menu button:disabled { cursor: wait; opacity: .72; }
.timeline-context-menu button.is-loading svg { animation: timeline-context-spin .75s linear infinite; }
.timeline-context-menu button:hover { color: #f2ffff; background: rgba(53, 234, 217, .1); }
.timeline-context-menu button.is-danger { color: #ff9a9a; }
.timeline-context-menu button.is-danger:hover { background: rgba(255, 90, 90, .1); }
.timeline-context-divider { height: 1px; margin: 4px 3px; background: rgba(255,255,255,.08); }
@keyframes timeline-context-spin { to { transform: rotate(360deg); } }
.timeline-drag-ghost {
position: fixed;
z-index: 220;
display: flex;
align-items: center;
gap: 8px;
min-width: 148px;
max-width: 260px;
height: 46px;
border: 1px solid rgba(103, 181, 255, 0.8);
border-radius: 6px;
padding: 4px 8px 4px 5px;
color: #f4fffe;
pointer-events: none;
background: rgba(10, 17, 24, 0.94);
box-shadow:
0 16px 36px rgba(0, 0, 0, 0.42),
0 0 0 1px rgba(53, 234, 217, 0.22);
transform: translate(14px, -50%) rotate(-1deg);
}
.timeline-drag-ghost::before {
position: absolute;
inset: -5px;
border: 1px solid rgba(53, 234, 217, 0.22);
border-radius: 9px;
content: "";
}
.timeline-drag-ghost-thumb {
width: 88px;
height: 36px;
overflow: hidden;
border-radius: 4px;
background: rgba(255, 255, 255, 0.08);
}
.timeline-drag-ghost-thumb img,
.timeline-drag-ghost-thumb video {
width: 100%;
height: 100%;
object-fit: cover;
}
.timeline-drag-ghost span {
margin-left: auto;
border-radius: 4px;
padding: 2px 5px;
color: #eafcff;
font-size: 10px;
font-weight: 800;
font-variant-numeric: tabular-nums;
background: rgba(3, 8, 12, 0.74);
}
.timeline-drag-ghost.type-caption {
justify-content: center;
min-width: 160px;
height: 42px;
border-color: rgba(53, 234, 217, 0.84);
background:
linear-gradient(180deg, rgba(35, 104, 194, 0.96), rgba(26, 80, 156, 0.96)),
rgba(10, 17, 24, 0.94);
}
.timeline-drag-ghost.type-caption strong {
overflow: hidden;
max-width: 220px;
font-size: 12px;
font-weight: 760;
text-overflow: ellipsis;
white-space: nowrap;
}
.audio-track {
overflow: hidden;
padding: 4px 0;
}
.source-audio-extraction-state {
display: flex;
align-items: center;
gap: 8px;
margin-left: 12px;
color: #ffd45f;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.source-audio-extraction-state svg {
animation: timeline-context-spin 0.8s linear infinite;
}
.audio-clip {
position: relative;
min-width: 0;
max-width: 100%;
height: 40px;
container-type: inline-size;
}
.audio-clip::before {
position: absolute;
inset: -4px -5px;
content: "";
}
.audio-track:not(.source-track):not(.music-track) .audio-clip {
position: absolute;
top: 4px;
cursor: grab;
}
.audio-track:not(.source-track):not(.music-track) .audio-clip:active {
cursor: grabbing;
}
.audio-clip.is-selected .waveform-strip {
border-color: #b493ff;
outline: 1px solid rgba(180, 147, 255, 0.82);
outline-offset: -2px;
filter: brightness(1.07) saturate(1.05);
box-shadow:
inset 0 0 0 1px rgba(230, 219, 255, 0.16),
0 0 8px rgba(153, 109, 255, 0.22);
}
.audio-clip.is-source.is-selected .waveform-strip {
border-color: #ffd45f;
outline-color: #ffd45f;
box-shadow:
inset 0 0 0 1px rgba(255, 241, 198, 0.18),
0 0 8px rgba(255, 190, 55, 0.24);
}
.audio-clip.is-music.is-selected .waveform-strip {
border-color: #65ddb0;
outline-color: #65ddb0;
box-shadow:
inset 0 0 0 1px rgba(210, 255, 238, 0.17),
0 0 8px rgba(66, 211, 157, 0.22);
}
.audio-clip.is-source .waveform-strip {
border-color: rgba(250, 194, 93, 0.52);
background: rgba(125, 88, 22, 0.26);
}
.audio-clip.is-source.is-linked {
position: absolute;
top: 4px;
}
.audio-clip.is-source .waveform-strip span {
background: #f7c256;
}
.audio-clip.is-music .waveform-strip {
border-color: rgba(103, 181, 255, 0.5);
background: rgba(39, 75, 138, 0.27);
}
.audio-clip.is-music .waveform-strip span {
background: #6ab3ff;
}
.image-track.is-selected,
.caption-track.is-selected,
.sticker-track.is-selected,
.audio-track.is-selected {
background: rgba(46, 234, 216, 0.035);
}
.image-track.is-drop-target,
.sticker-track.is-drop-target,
.audio-track.is-drop-target {
background:
linear-gradient(90deg, rgba(46, 234, 216, 0.14), rgba(46, 234, 216, 0.035)),
rgba(46, 234, 216, 0.045);
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.42),
inset 0 0 24px rgba(53, 234, 217, 0.08);
}
.image-track.is-drop-landing,
.sticker-track.is-drop-landing,
.audio-track.is-drop-landing {
animation: track-drop-land 560ms ease;
}
.track-drop-hint {
display: none;
}
.asset-drop-slot {
position: absolute;
top: 50%;
left: var(--drop-x, 50%);
z-index: 9;
display: grid;
grid-template-columns: 1fr;
place-items: center;
gap: 1px 8px;
width: max(120px, calc(150px * var(--timeline-zoom, 1)));
min-width: 104px;
height: 42px;
overflow: hidden;
border: 1px dashed rgba(53, 234, 217, 0.82);
border-radius: 6px;
padding: 4px 10px;
color: #bffef8;
font-size: 10px;
font-weight: 820;
pointer-events: none;
background:
repeating-linear-gradient(
-45deg,
rgba(53, 234, 217, 0.16) 0 8px,
rgba(53, 234, 217, 0.05) 8px 16px
),
rgba(4, 18, 21, 0.76);
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.2),
0 0 18px rgba(53, 234, 217, 0.14);
animation: asset-drop-slot-in 180ms ease both;
transform: translate(-50%, -50%);
}
.asset-drop-slot.has-thumb {
grid-template-columns: 54px minmax(0, 1fr);
place-items: center start;
min-width: 160px;
}
.asset-drop-slot-thumb {
grid-row: 1 / span 2;
display: grid;
place-items: center;
width: 54px;
height: 32px;
overflow: hidden;
border-radius: 4px;
color: #061515;
font-size: 9px;
font-weight: 850;
background: #35ead9;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.asset-drop-slot-thumb img,
.asset-drop-slot-thumb video {
width: 100%;
height: 100%;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.asset-drop-slot.type-sticker .asset-drop-slot-thumb img,
.asset-drag-preview.type-sticker .asset-drag-thumb img {
object-fit: contain;
padding: 2px;
}
.asset-drop-slot span,
.asset-drop-slot strong {
position: relative;
z-index: 1;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.asset-drop-slot span { display: flex; align-items: center; gap: 4px; }
.asset-drop-slot.mode-overlay {
height: 38px;
border-color: rgba(83,166,255,.92);
color: #d9ebff;
background: repeating-linear-gradient(-45deg,rgba(83,166,255,.22) 0 8px,rgba(83,166,255,.07) 8px 16px),rgba(8,19,34,.9);
box-shadow: inset 0 0 0 1px rgba(83,166,255,.22),0 0 20px rgba(50,132,255,.2);
}
.asset-drop-slot.mode-overlay strong { color: #78b8ff; }
.image-track.is-drop-overlay { background: linear-gradient(180deg,rgba(68,144,255,.16),rgba(68,144,255,.035)); box-shadow: inset 0 0 0 1px rgba(88,166,255,.56),inset 0 0 24px rgba(88,166,255,.1); }
.image-track.is-drop-image .asset-drop-slot { border-style: solid; }
.asset-drop-slot::after {
position: absolute;
inset: -50% auto -50% -38%;
width: 36%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
transform: rotate(12deg);
animation: asset-drop-sheen 920ms ease infinite;
content: "";
}
.asset-drop-slot strong {
color: #66fff1;
font-size: 9px;
letter-spacing: 0;
}
.audio-track .asset-drop-slot {
width: min(260px, 48%);
height: 42px;
}
@keyframes asset-drop-slot-in {
from {
opacity: 0;
transform: translate(-50%, calc(-50% + 4px)) scaleX(0.92);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scaleX(1);
}
}
@keyframes asset-drop-sheen {
from {
transform: translateX(0) rotate(12deg);
}
to {
transform: translateX(440%) rotate(12deg);
}
}
@keyframes track-drop-land {
0% {
box-shadow: inset 0 0 0 1px rgba(53, 234, 217, 0);
}
34% {
box-shadow:
inset 0 0 0 1px rgba(53, 234, 217, 0.72),
inset 0 0 32px rgba(53, 234, 217, 0.16);
}
100% {
box-shadow: inset 0 0 0 1px rgba(53, 234, 217, 0);
}
}
.waveform-strip {
display: flex;
align-items: center;
gap: 1px;
width: 100%;
height: 40px;
overflow: hidden;
border: 1px solid rgba(41, 225, 204, 0.52);
border-radius: 6px;
padding: 5px 9px;
background: rgba(17, 89, 82, 0.28);
}
.waveform-strip span {
width: auto;
height: calc(4px + var(--bar) * 22px);
flex: 1 1 0;
min-width: 0;
border-radius: 999px;
opacity: 0.62;
background: #20d2bf;
}
@container (max-width: 160px) {
.waveform-strip {
padding-inline: 6px;
}
.waveform-strip span {
display: none;
}
.waveform-strip span:nth-child(2n + 1) {
display: block;
}
}
@container (max-width: 96px) {
.waveform-strip {
padding-inline: 4px;
}
.waveform-strip span:nth-child(2n + 1) {
display: none;
}
.waveform-strip span:nth-child(4n + 1) {
display: block;
}
}
@container (max-width: 52px) {
.waveform-strip {
padding-inline: 3px;
}
.waveform-strip span:nth-child(4n + 1) {
display: none;
}
.waveform-strip span:nth-child(8n + 1) {
display: block;
}
}
@container (max-width: 28px) {
.waveform-strip {
gap: 0.5px;
padding-inline: 2px;
}
.waveform-strip span:nth-child(8n + 1) {
display: none;
}
.waveform-strip span:nth-child(16n + 1) {
display: block;
}
}
.audio-clip-duration {
position: absolute;
right: 8px;
bottom: 7px;
border-radius: 5px;
padding: 2px 6px;
color: #eafcff;
font-size: 11px;
font-weight: 800;
font-variant-numeric: tabular-nums;
background: rgba(0, 0, 0, 0.7);
}
@container (max-width: 68px) {
.audio-clip-duration {
display: none;
}
}
.waveform-strip.is-active span {
opacity: 0.95;
background: #34ead8;
}
.waveform-strip.is-muted {
opacity: 0.25;
}
.export-progress-overlay {
position: fixed;
inset: 0;
z-index: 80;
display: grid;
place-items: center;
padding: 24px;
background: rgba(3, 6, 10, 0.48);
backdrop-filter: blur(8px);
}
.export-progress-card {
width: min(420px, 100%);
border: 1px solid rgba(53, 234, 217, 0.28);
border-radius: 8px;
padding: 18px;
background: rgba(15, 20, 27, 0.96);
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}
.export-progress-header,
.export-progress-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.export-progress-header span {
color: #edf9fb;
font-size: 15px;
font-weight: 760;
}
.export-progress-header strong {
color: #33ead8;
font-size: 22px;
font-variant-numeric: tabular-nums;
}
.export-progress-bar {
height: 9px;
margin: 16px 0 12px;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
}
.export-progress-bar span {
display: block;
width: 0;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #78a3ff, #33ead8);
transition: width 160ms ease;
}
.export-progress-meta {
color: #8996a2;
font-size: 12px;
font-variant-numeric: tabular-nums;
}
.export-progress-meta span:first-child {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.remaster-progress-overlay {
position: fixed;
inset: 0;
z-index: 96;
display: grid;
place-items: center;
padding: 28px;
background:
radial-gradient(circle at 50% 42%, rgba(53, 234, 217, 0.13), transparent 36%),
rgba(2, 5, 9, 0.78);
backdrop-filter: blur(14px) saturate(0.78);
}
.remaster-progress-card {
display: grid;
grid-template-columns: 76px minmax(0, 1fr);
gap: 22px;
width: min(560px, 100%);
border: 1px solid rgba(53, 234, 217, 0.34);
border-radius: 14px;
padding: 25px;
background: rgba(13, 19, 26, 0.97);
box-shadow: 0 32px 100px rgba(0, 0, 0, 0.64), 0 0 0 1px rgba(255,255,255,.025) inset;
}
.remaster-progress-orbit {
position: relative;
width: 68px;
height: 68px;
border: 1px solid rgba(53, 234, 217, 0.22);
border-radius: 50%;
background: radial-gradient(circle, rgba(53,234,217,.2) 0 18%, transparent 20%);
}
.remaster-progress-orbit::before,
.remaster-progress-orbit::after {
content: "";
position: absolute;
inset: 7px;
border: 2px solid transparent;
border-top-color: #35ead9;
border-right-color: rgba(103,169,255,.72);
border-radius: 50%;
animation: remaster-orbit 1.1s linear infinite;
}
.remaster-progress-orbit::after { inset: 17px; animation-direction: reverse; animation-duration: .75s; }
@keyframes remaster-orbit { to { transform: rotate(360deg); } }
.remaster-progress-copy { min-width: 0; }
.remaster-progress-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.remaster-progress-header span { color: #f3fbfc; font-size: 17px; font-weight: 760; }
.remaster-progress-header strong { color: #35ead9; font-size: 26px; font-variant-numeric: tabular-nums; }
.remaster-progress-bar { height: 9px; margin: 17px 0 13px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.remaster-progress-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#68a9ff,#35ead9); box-shadow: 0 0 15px rgba(53,234,217,.34); transition: width 180ms ease; }
.remaster-progress-detail { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #8999a5; font-size: 11px; font-variant-numeric: tabular-nums; }
.remaster-progress-detail strong { min-width: 0; overflow: hidden; color: #b9c7cd; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.remaster-progress-copy p { margin: 16px 0; color: #75838d; font-size: 11px; line-height: 1.55; }
.remaster-progress-copy button { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 14px; color: #cdd7db; background: rgba(255,255,255,.055); font: inherit; font-size: 12px; cursor: pointer; }
.remaster-progress-copy button:hover { border-color: rgba(255,112,112,.45); color: #ffd7d7; background: rgba(255,83,83,.09); }
@media (max-width: 560px) {
.remaster-progress-card { grid-template-columns: 1fr; }
.remaster-progress-orbit { margin: 0 auto; }
}
.toast {
position: fixed;
right: 22px;
bottom: 316px;
z-index: 40;
max-width: 340px;
border: 1px solid rgba(46, 234, 216, 0.35);
border-radius: 8px;
padding: 11px 14px;
color: #eafffd;
font-size: 13px;
background: rgba(14, 19, 25, 0.96);
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
@media (min-width: 1181px) and (max-width: 1600px) {
.editor-grid {
grid-template-columns: 74px minmax(270px, 0.66fr) minmax(540px, 1.62fr) minmax(280px, 0.76fr);
}
.editor-grid.is-compact-rail {
grid-template-columns: 50px minmax(270px, 0.66fr) minmax(540px, 1.62fr) minmax(280px, 0.76fr);
}
.preview-stage {
padding-right: 4px;
padding-left: 4px;
}
}
@media (max-width: 1180px) {
body {
overflow: auto;
}
.app-shell {
min-width: 0;
height: auto;
min-height: 100vh;
grid-template-rows: 56px auto auto;
}
.topbar {
grid-template-columns: 1fr auto;
}
.topbar-center {
display: none;
}
.editor-grid {
grid-template-columns: 90px minmax(0, 1fr);
grid-template-areas:
"rail preview"
"rail media"
"rail voice";
}
.tool-rail {
grid-area: rail;
}
.media-panel {
grid-area: media;
}
.preview-stage {
grid-area: preview;
min-height: 460px;
}
.voice-panel {
grid-area: voice;
}
.timeline {
min-height: 292px;
}
}
/* Tool panels remain wheel/trackpad scrollable without persistent scrollbar chrome. */
.media-panel .tool-panel {
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
}
.media-panel .tool-panel::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}