Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
@import "../../../../../assets/creator-subtitle-fonts/fallback-fonts.css";
@font-face {
font-family: "OpenCreator Sans Regular";
src: url("/fonts/opencreator/OpenCreatorSans-Regular.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "OpenCreator Sans Medium";
src: url("/fonts/opencreator/OpenCreatorSans-Medium.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "OpenCreator Sans Bold";
src: url("/fonts/opencreator/OpenCreatorSans-Bold.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: "OpenCreator Serif Regular";
src: url("/fonts/opencreator/OpenCreatorSerif-Regular.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "OpenCreator Serif Medium";
src: url("/fonts/opencreator/OpenCreatorSerif-Medium.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "OpenCreator Serif Bold";
src: url("/fonts/opencreator/OpenCreatorSerif-Bold.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: "OpenCreator Rounded Regular";
src: url("/fonts/opencreator/OpenCreatorRounded-Regular.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "OpenCreator Rounded Medium";
src: url("/fonts/opencreator/OpenCreatorRounded-Medium.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "OpenCreator Rounded Bold";
src: url("/fonts/opencreator/OpenCreatorRounded-Bold.woff2") format("woff2");
font-display: swap;
font-style: normal;
font-weight: 700;
}
.creator-tools-page {
height: 100%;
overflow: auto;
background: var(--conversation-bg);
color: var(--text);
}
.creator-tools-page-header {
min-height: var(--page-title-row-height);
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 24px;
}
.creator-tools-page-header h1,
.dashboard-featured h2 {
margin: 0;
font-weight: 600;
letter-spacing: 0;
}
.creator-tools-page-header h1 {
font-size: 26px;
line-height: 1.25;
}
.dashboard-featured h2 {
margin-bottom: 16px;
font-size: 17px;
line-height: 1.3;
}
.dashboard-featured-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.dashboard-featured-card {
position: relative;
min-width: 0;
aspect-ratio: 16 / 9;
overflow: hidden;
padding: 0;
border: 0;
border-radius: 8px;
background: var(--surface-2);
color: #f7f7f8;
text-align: start;
isolation: isolate;
}
.dashboard-featured-card img,
.dashboard-featured-scrim {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.dashboard-featured-card img {
z-index: -2;
display: block;
object-fit: cover;
transition: transform 180ms ease;
}
.dashboard-featured-scrim {
z-index: -1;
background: linear-gradient(180deg, transparent 20%, rgba(10, 12, 16, 0.84) 100%);
}
.dashboard-featured-card[data-accent="warm"] .dashboard-featured-copy strong {
color: #f2d497;
}
.dashboard-featured-card[data-accent="cyan"] .dashboard-featured-copy strong {
color: #73dce8;
}
.dashboard-featured-card[data-accent="neutral"] .dashboard-featured-copy strong {
color: #f3f3f4;
}
.dashboard-featured-copy {
position: absolute;
right: 18px;
bottom: 16px;
left: 18px;
display: grid;
gap: 5px;
}
.dashboard-featured-copy strong {
overflow: hidden;
font-size: 23px;
font-weight: 650;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}
.dashboard-featured-copy > span {
display: inline-flex;
align-items: center;
gap: 3px;
color: rgba(255, 255, 255, 0.82);
font-size: 12px;
line-height: 1;
}
.dashboard-featured-card:hover img {
transform: scale(1.025);
}
.dashboard-featured-card:active,
.dashboard-app-card:active {
transform: translateY(1px);
}
.dashboard-featured-card:focus-visible,
.dashboard-app-card:focus-visible,
.dashboard-category-tabs button:focus-visible,
.dashboard-search:focus-within {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.dashboard-directory {
margin-top: 30px;
}
.dashboard-directory-controls {
min-width: 0;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 20px;
margin-bottom: 22px;
border-bottom: 1px solid var(--border-hairline);
}
.dashboard-category-tabs {
min-width: 0;
display: flex;
gap: 28px;
overflow-x: auto;
scrollbar-width: none;
}
.dashboard-category-tabs::-webkit-scrollbar {
display: none;
}
.dashboard-category-tabs button {
position: relative;
height: 40px;
flex: 0 0 auto;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
color: var(--subtle);
font-size: 13px;
font-weight: 550;
white-space: nowrap;
}
.dashboard-category-tabs button:hover,
.dashboard-category-tabs button[aria-selected="true"] {
color: var(--text);
}
.dashboard-category-tabs button[aria-selected="true"]::after {
content: "";
position: absolute;
right: 0;
bottom: -1px;
left: 0;
height: 2px;
background: var(--accent);
}
.dashboard-search {
width: 224px;
height: 36px;
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 7px;
padding: 0 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--muted);
}
.dashboard-search input {
min-width: 0;
width: 100%;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 12px;
}
.dashboard-search input::placeholder {
color: var(--subtle);
}
.dashboard-app-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.dashboard-app-card {
min-width: 0;
min-height: 76px;
display: grid;
grid-template-columns: 44px minmax(0, 1fr);
align-items: center;
gap: 12px;
padding: 10px 14px 10px 10px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--text);
text-align: start;
transition:
border-color 140ms ease,
background-color 140ms ease,
transform 120ms ease;
}
.dashboard-app-card:hover {
border-color: color-mix(in srgb, var(--text) 18%, var(--border));
background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
}
.dashboard-app-icon {
width: 44px;
height: 44px;
display: grid;
place-items: center;
border-radius: 8px;
background: var(--surface-2);
color: var(--muted);
}
.dashboard-app-copy {
min-width: 0;
display: grid;
gap: 5px;
}
.dashboard-app-copy > span:last-child {
overflow: hidden;
color: var(--muted);
font-size: 11px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.dashboard-app-title {
min-width: 0;
display: flex;
align-items: center;
gap: 6px;
}
.dashboard-app-title strong {
overflow: hidden;
font-size: 13px;
font-weight: 600;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.dashboard-app-title small {
flex: 0 0 auto;
padding: 2px 4px;
border-radius: 3px;
background: var(--accent);
color: var(--on-accent);
font-size: 9px;
font-weight: 700;
line-height: 1;
}
.dashboard-empty {
min-height: 190px;
display: grid;
place-content: center;
justify-items: center;
gap: 10px;
color: var(--muted);
text-align: center;
}
.dashboard-empty p {
margin: 0;
font-size: 13px;
}
.dashboard-empty button {
padding: 0;
border: 0;
background: transparent;
color: var(--accent);
font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
.dashboard-featured-card img,
.dashboard-app-card {
transition: none;
}
.dashboard-featured-card:hover img,
.dashboard-featured-card:active,
.dashboard-app-card:active {
transform: none;
}
}
@media (max-width: 980px) {
.dashboard-featured-grid,
.dashboard-app-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-featured-card:last-child {
display: none;
}
}
@media (max-width: 700px) {
.creator-tools-page-header {
margin-bottom: 20px;
}
.dashboard-featured-grid {
grid-template-columns: 1fr;
}
.dashboard-featured-card:last-child {
display: block;
}
.dashboard-featured-card {
aspect-ratio: 16 / 9;
}
.dashboard-featured-copy strong {
font-size: 20px;
}
.dashboard-directory-controls {
align-items: stretch;
flex-direction: column-reverse;
gap: 8px;
}
.dashboard-search {
width: 100%;
margin-bottom: 0;
}
.dashboard-category-tabs {
gap: 24px;
}
.dashboard-app-grid {
grid-template-columns: 1fr;
}
}
.video-translation-page {
height: 100%;
overflow: auto hidden;
background: var(--conversation-bg);
color: var(--text);
}
.video-translation-page-inner {
width: min(1080px, calc(100% - 48px));
margin: 0 auto;
padding: 11px 0 64px;
}
.video-translation-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 24px;
}
.video-translation-header > button {
width: 36px;
height: 36px;
flex: 0 0 auto;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--muted);
}
.video-translation-header > button:hover {
background: var(--surface-2);
color: var(--text);
}
.video-translation-title-icon {
width: 36px;
height: 36px;
flex: 0 0 auto;
display: grid;
place-items: center;
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 12%, var(--surface));
color: var(--accent);
}
.video-translation-header-copy {
min-width: 0;
}
.video-translation-header h1,
.video-translation-header p,
.video-translation-section h2,
.video-translation-section p,
.video-translation-summary h2,
.video-translation-summary p {
margin: 0;
letter-spacing: 0;
}
.video-translation-header h1 {
font-size: 21px;
font-weight: 650;
line-height: 1.25;
}
.video-translation-header p {
margin-top: 3px;
color: var(--muted);
font-size: 13px;
line-height: 1.3;
}
.video-translation-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 270px;
align-items: start;
gap: 28px;
}
.video-translation-form {
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.video-translation-section {
padding: 24px 26px 26px;
}
.video-translation-section + .video-translation-section {
border-top: 1px solid var(--border-hairline);
}
.video-translation-section-heading {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 20px;
}
.video-translation-section-heading > span {
width: 28px;
height: 22px;
flex: 0 0 auto;
display: grid;
place-items: center;
margin-top: 1px;
border-radius: 5px;
background: var(--surface-2);
color: var(--subtle);
font-size: 12px;
font-weight: 700;
}
.video-translation-section-heading h2 {
font-size: 15px;
font-weight: 650;
line-height: 1.25;
}
.video-translation-section-heading p {
margin-top: 4px;
color: var(--muted);
font-size: 13px;
line-height: 1.35;
}
.video-translation-source-tabs {
width: fit-content;
display: flex;
gap: 3px;
margin-bottom: 16px;
padding: 3px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
}
.video-translation-source-tabs button {
height: 31px;
display: inline-flex;
align-items: center;
gap: 7px;
padding: 0 12px;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.video-translation-source-tabs button[aria-selected="true"] {
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 3px color-mix(in srgb, var(--text) 12%, transparent);
}
.video-translation-field {
min-width: 0;
display: grid;
gap: 7px;
}
.video-translation-field > span,
.video-translation-field > label {
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.video-translation-field > span small {
color: var(--subtle);
font-size: 11px;
font-weight: 450;
}
.video-translation-field input,
.video-translation-field :is(select, .app-select-trigger),
.video-translation-url-field > div {
width: 100%;
height: 40px;
box-sizing: border-box;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 13px;
}
.video-translation-field input {
padding: 0 12px;
outline: 0;
}
.video-translation-url-field > div {
display: flex;
align-items: center;
gap: 9px;
padding: 0 12px;
color: var(--subtle);
}
.video-translation-url-field > div input {
min-width: 0;
height: 38px;
padding: 0;
border: 0;
background: transparent;
}
.video-translation-field input::placeholder {
color: var(--subtle);
}
.video-translation-field input:focus,
.video-translation-url-field > div:focus-within,
.video-translation-select-wrap:focus-within {
border-color: color-mix(in srgb, var(--accent) 64%, var(--border));
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}
.video-translation-field[data-agent-focus="true"] .video-translation-select-wrap,
.video-translation-toggle-list[data-agent-focus="true"],
.video-translation-option-block[data-agent-focus="true"] {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.video-translation-url-field > div input:focus {
box-shadow: none;
}
.video-translation-upload input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
clip-path: inset(50%);
}
.video-translation-upload > button {
width: 100%;
min-height: 72px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 12px 18px;
border: 1px dashed var(--border-strong);
border-radius: 8px;
background: color-mix(in srgb, var(--surface-2) 70%, transparent);
color: var(--muted);
}
.video-translation-upload > button:hover {
border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
background: color-mix(in srgb, var(--accent) 5%, var(--surface-2));
}
.video-translation-upload > button span {
min-width: 0;
display: grid;
gap: 4px;
text-align: start;
}
.video-translation-upload > button strong,
.video-translation-upload > button small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-upload > button strong {
color: var(--text);
font-size: 13px;
font-weight: 600;
}
.video-translation-upload > button small {
color: var(--muted);
font-size: 11px;
}
.video-translation-error {
margin: 0;
color: var(--danger);
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.video-translation-language-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
align-items: end;
gap: 10px;
}
.video-translation-language-arrow {
height: 40px;
display: grid;
place-items: center;
color: var(--subtle);
}
.video-translation-select-wrap {
position: relative;
height: 40px;
border-radius: 7px;
}
.video-translation-select-wrap :is(select, .app-select-trigger) {
appearance: none;
padding-block: 0;
padding-inline: 12px 40px;
outline: 0;
}
.video-translation-language-row :is(select, .app-select-trigger) {
font-family: var(--font), var(--creator-subtitle-fallback-families);
}
.video-translation-select-wrap > svg {
position: absolute;
top: 50%;
inset-inline-end: 12px;
pointer-events: none;
color: var(--subtle);
transform: translateY(-50%);
}
.video-translation-toggle-list {
margin-top: 18px;
border-top: 1px solid var(--border-hairline);
}
.video-translation-toggle-row {
min-height: 52px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}
.video-translation-toggle-row + .video-translation-toggle-row,
.video-translation-subtitle-import + .video-translation-toggle-row,
.video-translation-inline-setting + .video-translation-toggle-row {
border-top: 1px solid var(--border-hairline);
}
.video-translation-toggle-row > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-translation-toggle-row strong {
font-size: 13px;
font-weight: 570;
}
.video-translation-toggle-row small {
color: var(--muted);
font-size: 11px;
line-height: 1.3;
}
.video-translation-toggle-row.is-disabled {
opacity: 0.55;
}
.video-translation-subtitle-import-fields {
gap: 12px;
margin: 0;
padding: 14px 14px 16px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: color-mix(in srgb, var(--surface-2) 46%, transparent);
}
.video-translation-subtitle-import-fields label {
display: grid;
gap: 6px;
}
.video-translation-subtitle-import-fields label > span,
.video-translation-subtitle-file-field > label,
.video-translation-subtitle-import-fields p {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.video-translation-subtitle-import-fields :is(select, .app-select-trigger) {
padding: 0 10px;
}
.video-translation-subtitle-file-field {
display: grid;
gap: 6px;
}
.video-translation-subtitle-file-picker {
min-height: 42px;
display: flex;
align-items: center;
gap: 8px;
padding: 4px 12px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
}
.video-translation-subtitle-file-picker input.app-visually-hidden {
width: 1px;
height: 1px;
padding: 0;
border: 0;
}
.video-translation-subtitle-file-picker button {
flex: 0 0 auto;
padding: 4px 8px;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--surface-2);
color: var(--text);
font-size: 12px;
}
.video-translation-subtitle-file-picker button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-subtitle-file-picker .video-translation-subtitle-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-inline-start: auto;
padding: 0;
}
.video-translation-subtitle-file-picker > span {
min-width: 0;
overflow: hidden;
color: var(--muted);
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-subtitle-import-fields details {
color: var(--muted);
font-size: 11px;
}
.video-translation-switch {
width: 34px;
height: 20px;
flex: 0 0 auto;
padding: 2px;
border: 0;
border-radius: 10px;
background: color-mix(in srgb, var(--text) 18%, var(--surface-2));
transition: background-color 140ms ease;
}
.video-translation-switch span {
width: 16px;
height: 16px;
display: block;
border-radius: 50%;
background: #ffffff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
transition: transform 140ms ease;
}
.video-translation-switch[aria-checked="true"] {
background: var(--accent);
}
.video-translation-switch[aria-checked="true"] span {
transform: translateX(14px);
}
.video-translation-inline-setting {
min-height: 46px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding-inline-start: 14px;
border-top: 1px solid var(--border-hairline);
color: var(--muted);
font-size: 12px;
}
.video-translation-inline-setting > div {
display: flex;
gap: 3px;
padding: 3px;
border-radius: 7px;
background: var(--surface-2);
}
.video-translation-inline-setting button {
height: 26px;
padding: 0 10px;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
font-size: 12px;
}
.video-translation-inline-setting button[aria-pressed="true"] {
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 3px color-mix(in srgb, var(--text) 10%, transparent);
}
.video-translation-options {
display: grid;
gap: 10px;
}
.video-translation-options .video-translation-section-heading {
margin-bottom: 10px;
}
.video-translation-option-block {
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: color-mix(in srgb, var(--conversation-bg) 56%, var(--surface));
}
.video-translation-option-title {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
gap: 10px;
padding: 6px 12px 6px 9px;
}
.video-translation-option-title .video-translation-toggle-row {
min-height: 40px;
}
/* Title and description share one line; the description truncates first. */
.video-translation-option-title .video-translation-toggle-row > span {
display: flex;
align-items: baseline;
gap: 10px;
overflow: hidden;
}
.video-translation-option-title .video-translation-toggle-row strong {
flex-shrink: 0;
white-space: nowrap;
}
.video-translation-option-title .video-translation-toggle-row small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-option-icon {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.video-translation-option-content {
display: grid;
gap: 14px;
margin: 0 14px 14px 53px;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
}
.video-translation-dubbing-row {
grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
align-items: start;
gap: 12px 20px;
}
/* Labels sit to the left of their controls to keep the dubbing block one row tall. */
.video-translation-dubbing-row > .video-translation-voice-source,
.video-translation-dubbing-row > .creator-tool-field,
.video-translation-dubbing-row .tts-voice-picker-field {
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 10px;
}
.video-translation-dubbing-row > .video-translation-voice-source > span,
.video-translation-dubbing-row > .creator-tool-field > span,
.video-translation-dubbing-row .tts-voice-picker-field > span {
white-space: nowrap;
}
.video-translation-dubbing-row .tts-voice-picker {
align-items: center;
}
.video-translation-voice-source {
display: grid;
gap: 7px;
min-width: 0;
}
.video-translation-voice-source > span {
color: var(--muted);
font-size: 12px;
font-weight: 600;
}
.video-translation-voice-source > div {
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
padding: 0 11px;
box-sizing: border-box;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
}
.video-translation-voice-source strong,
.video-translation-voice-source small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-voice-source strong {
flex-shrink: 0;
color: var(--text);
font-size: 13px;
}
.video-translation-voice-source small {
color: var(--subtle);
font-size: 11px;
text-align: end;
}
.video-translation-voice-config-actions {
grid-column: 1 / -1;
display: flex;
align-items: baseline;
justify-content: space-between;
flex-wrap: wrap;
gap: 6px 12px;
color: var(--subtle);
font-size: 11px;
}
.video-translation-voice-config-actions button {
padding: 2px 0;
border: 0;
background: transparent;
color: var(--muted);
font-size: 12px;
cursor: pointer;
}
.video-translation-voice-config-actions button:hover { color: var(--text); }
.video-translation-voice-config-actions button:disabled { opacity: 0.5; cursor: default; }
.video-translation-upload.is-compact > button {
min-height: 58px;
justify-content: flex-start;
}
.video-translation-format {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.video-translation-format button {
position: relative;
min-width: 0;
height: 56px;
display: grid;
place-content: center;
gap: 3px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.video-translation-format button[aria-checked="true"] {
border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
color: var(--text);
}
.video-translation-format button:disabled {
cursor: not-allowed;
opacity: 0.45;
background: var(--surface-2);
}
.video-translation-format button > span {
font-size: 13px;
font-weight: 650;
}
.video-translation-format button > small {
color: var(--muted);
font-size: 11px;
}
.video-translation-format button svg {
position: absolute;
top: 6px;
right: 6px;
color: var(--accent);
}
.video-translation-title-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.video-translation-subtitle-style-title {
margin: 0;
font-size: 14px;
font-weight: 650;
}
.video-translation-output-settings {
display: grid;
grid-template-columns: minmax(0, 1fr);
align-items: start;
gap: 16px;
}
.video-translation-output-settings > .video-translation-step-panel {
min-width: 0;
container-type: inline-size;
container-name: video-translation-output-controls;
}
.video-translation-dubbing-settings {
margin-top: 16px;
}
.video-translation-subtitle-style-section {
display: grid;
gap: 12px;
margin-top: 16px;
}
.video-translation-subtitle-style-column {
min-width: 0;
display: grid;
grid-template-rows: 36px auto auto;
align-content: start;
gap: 10px;
}
.video-translation-subtitle-style-column > .video-translation-subtitle-style-title {
align-self: center;
}
.video-translation-subtitle-style-tabs-row {
min-width: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.video-translation-subtitle-customize {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 32px;
max-width: 100%;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font: inherit;
font-size: 12px;
cursor: pointer;
}
.video-translation-subtitle-customize > svg { flex-shrink: 0; }
.video-translation-subtitle-customize:hover { background: var(--surface-2); border-color: var(--border-strong); }
.video-translation-subtitle-customize:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.video-translation-subtitle-style-tabs {
flex: 1 1 180px;
min-width: 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2px;
padding: 2px;
border-radius: 7px;
background: var(--surface-2);
}
.video-translation-subtitle-style-tabs > button {
min-width: 0;
height: 28px;
padding: 0 8px;
overflow: hidden;
text-overflow: ellipsis;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
font: inherit;
font-size: 12px;
font-weight: 550;
white-space: nowrap;
cursor: pointer;
}
.video-translation-subtitle-style-tabs > button:hover {
color: var(--text);
}
.video-translation-subtitle-style-tabs > button[aria-selected="true"] {
background: var(--surface-3);
color: var(--text);
}
.video-translation-subtitle-style-tabs > button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.video-translation-subtitle-presets-empty {
margin: 0;
padding: 12px;
border: 1px dashed var(--border);
border-radius: 8px;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.video-translation-output-format-inline {
display: flex;
align-items: center;
gap: 10px;
}
.video-translation-output-format-inline > span {
white-space: nowrap;
}
.video-translation-output-format-inline .video-translation-select-wrap {
width: 190px;
}
.video-translation-subtitle-style-body {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
align-items: start;
gap: 16px;
}
.video-translation-subtitle-presets {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
align-content: start;
gap: 8px;
}
@container video-translation-output-controls (max-width: 560px) {
.video-translation-subtitle-style-body {
grid-template-columns: minmax(0, 1fr);
}
.video-translation-subtitle-presets {
grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}
}
.video-translation-subtitle-preset {
min-width: 0;
display: grid;
gap: 4px;
padding: 4px 4px 6px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
color: var(--muted);
font-size: 11px;
font-weight: 550;
text-align: center;
cursor: pointer;
}
.video-translation-subtitle-preset:hover {
border-color: var(--border-strong);
color: var(--text);
}
.video-translation-subtitle-preset:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-subtitle-preset[aria-checked="true"] {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
color: var(--text);
}
.video-translation-subtitle-preset-thumb {
position: relative;
aspect-ratio: 16 / 10;
container-type: inline-size;
display: grid;
place-items: end center;
overflow: hidden;
border-radius: 5px;
background: linear-gradient(160deg, #3b4350 0%, #1b2027 60%, #11151a 100%);
}
.video-translation-subtitle-preset-thumb > img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
/* Preserve the thumbnail treatment against the global filter reset. */
filter: brightness(0.55) blur(3px) !important;
transform: scale(1.08);
}
.video-translation-subtitle-preset-lines {
position: relative;
display: grid;
max-width: calc(100% - 8px);
gap: 2px;
padding-bottom: 10%;
font-family: var(--subtitle-thumb-family);
line-height: 1.1;
white-space: nowrap;
-webkit-text-stroke: var(--subtitle-thumb-stroke);
paint-order: stroke fill;
text-shadow: var(--subtitle-thumb-shadow);
}
.video-translation-subtitle-preset-lines > [data-line="translation"] {
color: var(--subtitle-thumb-color);
font-size: var(--subtitle-thumb-size);
}
.video-translation-subtitle-preset-lines > [data-line="original"] {
color: var(--subtitle-thumb-secondary);
font-size: calc(var(--subtitle-thumb-size) * 0.62);
}
.video-translation-style-drawer-backdrop {
position: fixed;
z-index: 120;
inset: 0;
display: flex;
justify-content: flex-end;
background: transparent;
}
.video-translation-style-drawer {
width: min(440px, 100%);
height: 100%;
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto auto;
border-inline-start: 1px solid var(--border-strong);
background: var(--surface);
box-shadow: -18px 0 60px color-mix(in srgb, #000 28%, transparent);
animation: video-translation-drawer-in 180ms ease-out;
}
@keyframes video-translation-drawer-in {
from { transform: translateX(24px); opacity: 0; }
to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.video-translation-style-drawer {
animation: none;
}
}
.video-translation-style-drawer > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 20px;
border-bottom: 1px solid var(--border-hairline);
}
.video-translation-style-drawer > header h2 {
margin: 0;
font-size: 15px;
font-weight: 650;
}
.video-translation-style-drawer > header button {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
cursor: pointer;
}
.video-translation-style-drawer > header button:hover {
background: var(--surface-2);
color: var(--text);
}
.video-translation-style-drawer-body {
min-height: 0;
overflow-y: auto;
display: grid;
align-content: start;
gap: 12px;
padding: 16px 20px 20px;
container-type: inline-size;
container-name: video-translation-output-controls;
}
.video-translation-style-drawer-section {
margin: 4px 0 0;
color: var(--muted);
font-size: 12px;
font-weight: 650;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.video-translation-style-drawer > footer {
display: flex;
align-items: center;
gap: 9px;
padding: 13px 20px;
border-top: 1px solid var(--border-hairline);
background: var(--surface-2);
}
.video-translation-style-drawer > footer > span {
flex: 1;
}
.video-translation-style-drawer > footer button,
.video-translation-style-drawer-save button {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
gap: 6px;
white-space: nowrap;
}
.video-translation-style-drawer > header > div {
display: flex;
gap: 4px;
}
.video-translation-style-drawer > footer button[data-intent="ghost"] {
padding: 0 12px;
border-color: var(--border-strong);
background: var(--surface-3);
color: var(--text);
font-weight: 550;
}
.video-translation-style-drawer > footer button[data-intent="ghost"]:hover:not(:disabled) {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, var(--surface-3));
}
.video-translation-style-drawer > footer button:disabled,
.video-translation-style-drawer-save button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.video-translation-style-drawer-save {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: end;
gap: 8px;
padding: 12px 20px;
border-top: 1px solid var(--border-hairline);
}
.video-translation-style-drawer-save button {
height: 40px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 7px;
background: transparent;
color: var(--text);
cursor: pointer;
}
.video-translation-style-drawer-save button[data-intent="primary"] {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-translation-style-stack {
display: grid;
gap: 12px;
}
.video-translation-range-control {
display: grid;
gap: 7px;
}
.video-translation-range-control > span {
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.video-translation-range-control > div {
display: grid;
grid-template-columns: minmax(0, 1fr) 72px;
align-items: center;
gap: 12px;
}
.video-translation-range-control input[type="range"] {
width: 100%;
height: 4px;
margin: 0;
border-radius: 999px;
background: linear-gradient(to right, var(--accent) var(--range-progress, 0%), var(--surface-3) var(--range-progress, 0%));
appearance: none;
cursor: pointer;
}
.video-translation-range-control input[type="range"]::-webkit-slider-thumb {
width: 14px;
height: 14px;
border: 2px solid var(--surface);
border-radius: 50%;
background: var(--accent-strong);
appearance: none;
}
.video-translation-range-control input[type="range"]::-moz-range-thumb {
width: 14px;
height: 14px;
border: 2px solid var(--surface);
border-radius: 50%;
background: var(--accent-strong);
}
.video-translation-range-control input[type="range"]:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
}
.video-translation-range-control input[type="number"] {
width: 100%;
height: 34px;
padding: 0 8px;
box-sizing: border-box;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 13px;
text-align: end;
}
.video-translation-subtitle-preset-saved {
position: relative;
min-width: 0;
display: grid;
}
.video-translation-subtitle-preset-actions {
position: absolute;
top: 2px;
right: 2px;
display: flex;
gap: 3px;
opacity: 0;
}
.video-translation-subtitle-preset-actions > button {
display: grid;
place-items: center;
width: 20px;
height: 20px;
border: 0;
border-radius: 50%;
background: color-mix(in srgb, #000 65%, transparent);
color: #fff;
cursor: pointer;
}
.video-translation-subtitle-preset-actions > button:hover {
background: color-mix(in srgb, #000 85%, transparent);
}
.video-translation-subtitle-preset-saved:hover .video-translation-subtitle-preset-actions,
.video-translation-subtitle-preset-actions:focus-within {
opacity: 1;
}
@media (hover: none) {
.video-translation-subtitle-preset-actions {
opacity: 1;
}
}
.video-translation-style-drawer > footer button {
height: 36px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 7px;
background: transparent;
color: var(--text);
cursor: pointer;
}
.video-translation-style-drawer > footer button[data-intent="primary"] {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-translation-style-control {
display: grid;
gap: 7px;
}
.video-translation-style-control > span {
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.video-translation-typography-fields {
display: grid;
grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
gap: 10px;
}
.video-translation-advanced-style {
border-top: 1px solid var(--border-hairline);
}
.video-translation-advanced-style > summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 40px;
padding: 8px 0;
box-sizing: border-box;
color: var(--muted);
font-size: 12px;
font-weight: 550;
cursor: pointer;
list-style: none;
}
.video-translation-advanced-style > summary::-webkit-details-marker {
display: none;
}
.video-translation-advanced-style > summary:hover {
color: var(--text);
}
.video-translation-advanced-style > summary:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-advanced-style[open] > summary svg {
transform: rotate(180deg);
}
.video-translation-advanced-style-content {
display: grid;
gap: 12px;
}
.video-translation-color-trigger {
width: 100%;
min-width: 0;
height: 38px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
cursor: pointer;
font-size: 12px;
}
.video-translation-current-color {
width: 20px;
height: 20px;
flex: 0 0 auto;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--subtitle-swatch-color);
}
.video-translation-color-trigger > svg {
flex: 0 0 auto;
margin-inline-start: auto;
color: var(--muted);
}
.video-translation-color-trigger:hover,
.video-translation-color-trigger[aria-expanded="true"] {
border-color: var(--border-strong);
}
.video-translation-color-palette {
position: fixed;
z-index: 160;
display: grid;
gap: 12px;
overflow-y: auto;
padding: 14px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
color: var(--text);
box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 12%, transparent);
}
.video-translation-color-palette-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
font-size: 12px;
}
.video-translation-color-palette-heading > button {
width: 24px;
height: 24px;
display: grid;
place-items: center;
padding: 0;
border: 0;
border-radius: 4px;
background: transparent;
color: var(--muted);
cursor: pointer;
}
.video-translation-color-palette-heading > button:hover {
background: var(--surface-2);
color: var(--text);
}
.video-translation-color-trigger:focus-visible,
.video-translation-color-palette button:focus-visible,
.video-translation-color-palette input:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-custom-color-fields {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 12px;
}
.video-translation-color-palette .video-translation-color-picker {
width: 100%;
height: 150px;
}
.video-translation-color-palette .react-colorful__saturation {
border-radius: 4px;
border-bottom: 0;
}
.video-translation-color-palette .react-colorful__hue {
height: 14px;
margin-top: 12px;
border-radius: 4px;
}
.video-translation-color-palette .react-colorful__pointer {
width: 18px;
height: 18px;
}
.video-translation-color-palette .react-colorful__interactive:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-color-hex {
width: 100%;
min-width: 0;
height: 32px;
padding: 0 8px;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--surface-2);
color: var(--text);
font-size: 12px;
}
.video-translation-color-options {
min-height: 38px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 9px;
}
.video-translation-color-options > button {
width: 26px;
height: 26px;
flex: 0 0 auto;
display: grid;
place-items: center;
padding: 0;
border: 2px solid var(--surface);
border-radius: 50%;
outline: 1px solid var(--border);
background: var(--subtitle-swatch-color);
color: var(--subtitle-swatch-ink, #17191d);
}
.video-translation-color-options > button[aria-pressed="true"] {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.video-translation-style-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.video-translation-outline-fields {
display: grid;
grid-template-columns: minmax(0, 1fr) 88px;
align-items: start;
gap: 12px;
}
.video-translation-shadow-settings {
display: grid;
gap: 10px;
padding-top: 4px;
border-top: 1px solid var(--border-hairline);
}
.video-translation-subtitle-preview {
min-width: 0;
width: 100%;
display: grid;
grid-template-rows: auto auto;
align-content: start;
gap: 7px;
}
.video-translation-subtitle-preview > div {
position: relative;
width: min(100%, calc(320px * (var(--subtitle-preview-aspect-ratio, 16 / 9))));
max-height: 320px;
justify-self: center;
aspect-ratio: var(--subtitle-preview-aspect-ratio, 16 / 9);
overflow: hidden;
border: 1px solid #343a43;
border-radius: 8px;
background: #1b2027;
box-sizing: border-box;
color: var(--subtitle-preview-color);
font-family: var(--subtitle-preview-font-family), var(--creator-subtitle-fallback-families);
text-align: center;
}
.video-translation-subtitle-preview > div::after {
content: "";
position: absolute;
z-index: 1;
inset: 0;
background: transparent;
pointer-events: none;
}
.video-translation-subtitle-preview-media {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.video-translation-subtitle-preview-media[data-ready="false"] {
opacity: 0;
}
.video-translation-subtitle-preview[data-converted="true"] .video-translation-subtitle-preview-media {
top: 19.53125%;
height: var(--subtitle-video-height, 31.640625%);
object-fit: fill;
}
.video-translation-subtitle-rendered-preview,
.video-translation-subtitle-preview-status {
position: absolute;
z-index: 2;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
}
.video-translation-subtitle-preview-status {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
color: #ffffff;
font-size: 12px;
}
.video-translation-subtitle-preview-status button {
display: grid;
place-items: center;
width: 28px;
height: 28px;
border: 1px solid #69717d;
border-radius: 4px;
background: #303640;
color: #ffffff;
cursor: pointer;
}
.video-translation-subtitle-preview[data-orientation="portrait"] > div {
width: min(180px, 100%);
justify-self: center;
}
.video-translation-subtitle-preview-titles {
position: absolute;
z-index: 2;
inset: 0 0 auto;
height: 19.53125%;
display: flex;
flex-direction: column;
justify-content: center;
gap: 3px;
padding: 0 8px;
box-sizing: border-box;
overflow: hidden;
background: #000;
color: #ffff00;
font-family: "OpenCreator Sans Bold", system-ui, sans-serif;
line-height: 1.2;
}
.video-translation-subtitle-preview-titles > div {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
overflow-wrap: anywhere;
}
.video-translation-subtitle-preview-titles [data-title-kind="major"] {
font-size: 11px;
font-weight: 700;
}
.video-translation-subtitle-preview-titles [data-title-kind="minor"] {
font-size: 9px;
font-weight: 400;
}
.video-translation-summary {
position: sticky;
top: 24px;
min-width: 0;
padding: 18px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.video-translation-summary-heading {
display: flex;
align-items: center;
gap: 9px;
margin-bottom: 16px;
}
.video-translation-summary-heading > span {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 11%, var(--surface-2));
color: var(--accent);
}
.video-translation-summary h2 {
font-size: 13px;
font-weight: 650;
}
.video-translation-source-summary {
min-width: 0;
display: flex;
align-items: center;
gap: 9px;
padding: 11px;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.video-translation-source-summary > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-translation-source-summary small {
color: var(--subtle);
font-size: 11px;
}
.video-translation-source-summary strong {
overflow: hidden;
color: var(--text);
font-size: 12px;
font-weight: 550;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-summary dl {
display: grid;
gap: 0;
margin: 14px 0 18px;
}
.video-translation-summary dl > div {
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
gap: 8px;
padding: 9px 0;
border-bottom: 1px solid var(--border-hairline);
font-size: 12px;
line-height: 1.35;
}
.video-translation-summary dt {
color: var(--subtle);
}
.video-translation-summary dd {
min-width: 0;
margin: 0;
color: var(--text);
text-align: end;
overflow-wrap: anywhere;
}
.video-translation-submit {
width: 100%;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 12px;
font-weight: 650;
}
.video-translation-submit:hover {
background: var(--accent-strong);
}
.video-translation-summary > p {
display: flex;
align-items: flex-start;
justify-content: center;
gap: 5px;
margin-top: 10px;
color: var(--subtle);
font-size: 11px;
line-height: 1.35;
text-align: center;
}
.creator-task-summary {
position: static;
}
.creator-task-final-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 250px;
align-items: start;
gap: 14px;
}
.creator-task-final-grid > .stickman-version-draft {
grid-column: 1 / -1;
}
.creator-result-layout {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) 250px;
align-items: start;
gap: 14px;
}
.creator-result-layout > .video-result-pane {
min-width: 0;
}
.creator-result-layout > .creator-task-summary {
position: sticky;
top: 18px;
}
.cover-result-workspace .creator-result-layout {
flex: 1 1 auto;
min-height: 0;
grid-template-rows: minmax(0, 1fr);
align-items: stretch;
overflow: hidden;
}
.cover-result-workspace .creator-result-layout > .creator-task-summary {
align-self: start;
}
.cover-result-workspace .video-result-pane {
min-height: 0;
}
.video-translation-header button:focus-visible,
.video-translation-source-tabs button:focus-visible,
.video-translation-upload button:focus-visible,
.video-translation-switch:focus-visible,
.video-translation-inline-setting button:focus-visible,
.video-translation-format button:focus-visible,
.video-translation-submit:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.video-translation-switch,
.video-translation-switch span {
transition: none;
}
}
@media (max-width: 900px) {
.video-translation-layout {
grid-template-columns: 1fr;
}
.video-translation-summary {
position: static;
}
.video-translation-summary dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 24px;
}
}
.creator-workspace-page {
height: 100%;
overflow: auto hidden;
background: var(--conversation-bg);
color: var(--text);
}
.creator-workspace-layout {
height: 100%;
}
.creator-resizable-layout {
min-width: 680px;
min-height: 0;
display: grid;
grid-template-columns:
minmax(
0,
min(
var(--creator-workspace-pane-width, calc(75% - 3.5px)),
calc(100% - 287px)
)
)
7px
minmax(280px, 1fr);
align-items: stretch;
overflow: hidden;
}
.creator-mobile-tabs {
display: none;
}
@media (max-width: 760px) {
.creator-resizable-layout {
min-width: 0;
grid-template-columns: minmax(0, 1fr);
grid-template-rows: 42px minmax(0, 1fr);
}
.creator-mobile-tabs {
display: flex;
grid-row: 1;
gap: 4px;
padding: 5px 10px;
border-bottom: 1px solid var(--border-hairline);
background: var(--surface);
}
.creator-mobile-tabs button {
flex: 1;
min-width: 0;
border: 0;
border-radius: 4px;
background: transparent;
color: var(--muted);
font: inherit;
font-size: 12px;
cursor: pointer;
}
.creator-mobile-tabs button[aria-selected="true"] {
background: var(--surface-2);
color: var(--text);
font-weight: 650;
}
.creator-resizable-layout > :not(.creator-mobile-tabs, .creator-pane-resize) {
grid-row: 2;
min-width: 0;
}
.creator-resizable-layout[data-mobile-pane="workspace"] > .creator-collaboration-panel,
.creator-resizable-layout[data-mobile-pane="agent"] > :nth-child(2),
.creator-pane-resize {
display: none;
}
}
.creator-pane-resize {
z-index: 2;
height: 100%;
background: var(--conversation-bg);
}
.creator-workspace-main {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
border-inline-end: 1px solid var(--border-hairline);
}
.creator-workspace-header {
height: var(--page-title-band-height);
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
gap: 12px;
padding: 0 24px;
border-bottom: 1px solid var(--border-hairline);
background: var(--surface);
box-sizing: border-box;
}
.creator-workspace-header.has-title-icon {
grid-template-columns: 34px 36px minmax(0, 1fr);
}
.creator-workspace-header.has-actions {
grid-template-columns: 34px minmax(0, 1fr) auto;
}
.creator-workspace-header.has-title-icon.has-actions {
grid-template-columns: 34px 36px minmax(0, 1fr) auto;
}
.creator-workspace-header-actions {
display: flex;
align-items: center;
}
.creator-workspace-title-icon {
width: 36px;
height: 36px;
display: grid;
place-items: center;
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 12%, var(--surface));
color: var(--accent);
}
.creator-workspace-header > button {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border: 1px solid transparent;
border-radius: 7px;
background: transparent;
color: var(--muted);
}
.creator-workspace-header > button:hover {
border-color: var(--border);
background: var(--surface-2);
color: var(--text);
}
.creator-workspace-header h1,
.creator-workspace-header p,
.creator-tool-agent h2,
.creator-tool-agent p,
.creator-tool-panel h2,
.creator-tool-panel p {
margin: 0;
letter-spacing: 0;
}
.creator-workspace-header h1 {
font-size: 18px;
font-weight: 650;
}
.creator-workspace-header p {
margin-top: 3px;
color: var(--muted);
font-size: 12px;
}
.creator-workspace-content {
min-height: 0;
overflow-y: auto;
padding: 24px;
scrollbar-gutter: stable;
}
.creator-tool-stack {
width: min(1120px, 100%);
display: grid;
gap: 14px;
margin: 0 auto;
}
.video-download-workspace-page .creator-workspace-layout {
--creator-workspace-pane-width: calc(80% - 3.5px);
}
.auto-clip-tool-stack {
position: relative;
}
.stickman-workspace-content {
display: grid;
min-height: 0;
overflow: hidden;
}
.stickman-tool-stack {
height: 100%;
min-height: 0;
grid-template-rows: auto minmax(0, 1fr);
}
.stickman-tool-top {
display: grid;
gap: 14px;
}
.stickman-step-scroll {
height: 100%;
min-height: 0;
overflow-y: auto;
padding: 2px 2px 24px;
box-sizing: border-box;
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
.stickman-step-scroll[data-step="1"],
.stickman-step-scroll[data-step="2"],
.stickman-step-scroll[data-step="3"],
.stickman-step-scroll[data-step="4"],
.stickman-step-scroll[data-step="5"] {
display: grid;
grid-template-rows: minmax(0, 1fr);
overflow: hidden;
padding-bottom: 2px;
scrollbar-gutter: auto;
}
.stickman-step-scroll[data-step="1"] > .creator-task-workspace,
.stickman-step-scroll[data-step="2"] > .creator-task-workspace,
.stickman-step-scroll[data-step="3"] > .creator-task-workspace,
.stickman-step-scroll[data-step="4"] > .creator-task-workspace,
.stickman-step-scroll[data-step="5"] > .creator-task-workspace {
min-height: 0;
height: 100%;
}
.stickman-wizard-actions {
display: flex;
justify-content: flex-end;
margin-top: 0;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
}
.video-translation-steps.creator-tool-steps-two ol {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-translation-steps.image-generation-steps ol {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stickman-steps {
width: min(860px, 100%);
}
.video-translation-steps.stickman-steps ol {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.stickman-steps button strong {
min-height: 32px;
display: grid;
place-items: start center;
overflow: visible;
font-size: 12px;
line-height: 1.35;
text-align: center;
white-space: normal;
}
.creator-workspace-page .stickman-steps button:focus-visible {
outline: 0;
}
.creator-workspace-page .stickman-steps button:focus-visible > span {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.creator-tool-panel {
min-width: 0;
padding: 20px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.creator-tool-panel-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.creator-tool-panel-heading > div > span {
display: block;
margin-bottom: 4px;
color: var(--accent);
font-size: 11px;
font-weight: 650;
}
.creator-tool-panel-heading h2,
.wechat-layout-preview-heading h2 {
margin: 0;
font-size: 17px;
font-weight: 650;
line-height: 1.3;
}
.creator-tool-panel-heading p {
margin-top: 5px;
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.video-download-platform-section {
margin-bottom: 18px;
}
.video-download-platform-section > span {
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.video-download-platforms {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px 18px;
margin: 14px 0 0;
padding: 0;
list-style: none;
}
.video-download-platforms li {
width: 78px;
min-width: 0;
display: grid;
justify-items: center;
align-content: start;
gap: 7px;
color: var(--text);
font-size: 12px;
font-weight: 600;
line-height: 1.2;
text-align: center;
}
.video-download-platforms img {
display: block;
width: 32px;
height: 32px;
object-fit: contain;
}
.video-download-platforms li > span {
max-width: 100%;
overflow-wrap: anywhere;
}
.video-source-platforms-compact {
width: min(592px, 100%);
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 12px;
margin: 10px auto 0;
}
.video-source-platforms-compact > span {
flex-shrink: 0;
font-weight: 450;
}
.video-source-platforms-compact .video-download-platforms {
justify-content: flex-start;
gap: 0;
margin: 0;
}
.video-source-platforms-compact li {
position: relative;
width: 32px;
height: 32px;
display: block;
}
.video-source-platform-mark {
width: 32px;
height: 32px;
display: grid;
place-items: center;
border-radius: 4px;
}
.video-source-platforms-compact .video-source-platform-mark img {
width: 20px;
height: 20px;
}
.video-source-platform-mark:hover,
.video-source-platform-mark:focus-visible {
background: var(--surface-2);
}
.video-source-platforms-compact li > .video-source-platform-tooltip {
position: absolute;
pointer-events: none;
z-index: 5;
bottom: calc(100% + 6px);
left: 50%;
max-width: none;
transform: translateX(-50%);
padding: 5px 8px;
border: 1px solid var(--border);
border-radius: 5px;
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 450;
line-height: 1.4;
white-space: nowrap;
box-shadow: 0 3px 8px rgb(0 0 0 / 12%);
}
@media (pointer: coarse) {
.video-source-platforms-compact li,
.video-source-platform-mark {
width: 44px;
height: 44px;
}
}
.creator-tool-panel-heading > small {
display: inline-flex;
align-items: center;
gap: 5px;
color: #26825f;
font-size: 12px;
white-space: nowrap;
}
.video-download-runtime-notice {
min-height: 54px;
display: grid;
grid-template-columns: 20px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.video-download-runtime-notice[data-tone="warning"] {
border-color: color-mix(in srgb, #b7791f 36%, var(--border));
background: color-mix(in srgb, #b7791f 6%, var(--surface));
}
.video-download-runtime-notice[data-tone="danger"] {
border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
background: color-mix(in srgb, var(--danger) 6%, var(--surface));
}
.video-download-runtime-notice > span {
display: inline-grid;
place-items: center;
color: var(--accent);
}
.video-download-runtime-notice[data-tone="warning"] > span {
color: #9a6517;
}
.video-download-runtime-notice[data-tone="danger"] > span {
color: var(--danger);
}
.video-download-runtime-notice > div {
min-width: 0;
display: grid;
gap: 3px;
}
.video-download-runtime-notice strong {
font-size: 12px;
font-weight: 650;
}
.video-download-runtime-notice small {
overflow-wrap: anywhere;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.video-download-runtime-notice button {
min-height: 32px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.video-download-runtime-notice button:disabled {
cursor: wait;
opacity: 0.64;
}
.video-download-runtime-notice > .video-download-runtime-actions {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 7px;
}
@media (max-width: 700px) {
.video-download-runtime-notice {
grid-template-columns: 20px minmax(0, 1fr);
}
.video-download-runtime-notice > .video-download-runtime-actions {
grid-column: 2;
justify-content: flex-start;
flex-wrap: wrap;
}
}
.creator-tool-field {
min-width: 0;
display: grid;
gap: 8px;
}
.creator-tool-field > span,
.creator-tool-field > label {
color: var(--muted);
font-size: 12px;
font-weight: 560;
}
.creator-tool-field > span small {
color: var(--subtle);
font-weight: 450;
}
.creator-tool-field input,
.creator-tool-field textarea,
.creator-tool-field :is(select, .app-select-trigger) {
width: 100%;
box-sizing: border-box;
border: 1px solid var(--border);
border-radius: 7px;
outline: 0;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 13px;
}
.creator-tool-field input,
.creator-tool-field :is(select, .app-select-trigger) {
height: 40px;
padding: 0 11px;
}
.creator-tool-field textarea {
min-height: 88px;
resize: vertical;
padding: 10px 11px;
line-height: 1.55;
}
.creator-tool-field input:focus,
.creator-tool-field textarea:focus,
.creator-tool-field :is(select, .app-select-trigger):focus,
.creator-tool-url-input:focus-within,
.cover-youtube-field > div:focus-within {
border-color: var(--border-strong);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 5%, transparent);
}
.creator-tool-form-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: start;
gap: 16px;
margin-top: 16px;
}
.auto-clip-settings-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.auto-clip-setting-sections {
display: grid;
gap: 20px;
}
.auto-clip-setting-section {
min-width: 0;
}
.auto-clip-setting-section + .auto-clip-setting-section {
padding-top: 18px;
border-top: 1px solid var(--border-hairline);
}
.auto-clip-setting-section > header {
min-height: 20px;
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
}
.auto-clip-setting-section > header h3 {
margin: 0;
font-size: 13px;
font-weight: 650;
letter-spacing: 0;
}
.auto-clip-setting-section > header span {
color: var(--muted);
font-size: 11px;
}
.auto-clip-setting-section .creator-tool-form-row {
margin-top: 10px;
}
.creator-tool-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 16px;
}
.creator-tool-primary,
.creator-tool-actions > button,
.creator-tool-url-input > button {
min-height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 13px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 12px;
font-weight: 620;
white-space: nowrap;
}
.creator-tool-primary:disabled,
.creator-tool-actions > button:disabled {
border-color: var(--border);
background: var(--surface-2);
color: var(--subtle);
}
.creator-tool-segmented {
width: fit-content;
display: flex;
gap: 3px;
margin-bottom: 16px;
padding: 3px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
}
.creator-tool-segmented button {
min-height: 31px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 10px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
}
.creator-tool-segmented button[aria-selected="true"] {
border-color: var(--border);
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 8%, transparent);
}
.creator-tool-upload {
min-height: 112px;
display: grid;
place-items: center;
align-content: center;
gap: 6px;
overflow: hidden;
padding: 14px;
border: 1px dashed var(--border-strong);
border-radius: 8px;
background: var(--conversation-bg);
color: var(--muted);
text-align: center;
cursor: pointer;
box-sizing: border-box;
}
.creator-tool-upload input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.creator-tool-upload strong {
color: var(--text);
font-size: 13px;
font-weight: 620;
}
.creator-tool-upload span {
color: var(--subtle);
font-size: 11px;
}
.creator-tool-upload img {
width: 68px;
height: 68px;
object-fit: cover;
border-radius: 7px;
}
.stickman-character-upload {
display: grid;
gap: 12px;
}
.stickman-upload-guidance {
display: grid;
grid-template-columns: 16px minmax(0, 1fr);
align-items: start;
gap: 9px;
padding: 0 2px;
color: var(--muted);
}
.stickman-upload-guidance > svg {
margin-top: 1px;
color: var(--accent);
}
.stickman-upload-guidance strong {
display: block;
color: var(--text);
font-size: 12px;
font-weight: 620;
}
.stickman-upload-guidance p {
margin-top: 3px;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.creator-tool-notice {
min-height: 34px;
display: flex;
align-items: center;
gap: 7px;
margin: 0;
padding: 8px 11px;
border-inline-start: 2px solid var(--accent);
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
color: var(--muted);
font-size: 12px;
box-sizing: border-box;
}
.media-generation-workspace-content {
overflow: hidden;
}
.media-generation-stack {
height: 100%;
grid-template-rows: auto minmax(0, 1fr) auto;
}
.media-generation-step-scroll {
min-height: 0;
display: grid;
grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
overflow-x: hidden;
overflow-y: auto;
padding: 2px;
scrollbar-gutter: stable;
background: var(--surface);
}
.creator-runtime-blocker-page {
display: grid;
place-items: center;
padding: 32px;
box-sizing: border-box;
}
.creator-runtime-blocker {
width: min(560px, 100%);
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 16px;
align-items: start;
padding: 24px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
box-sizing: border-box;
}
.creator-runtime-blocker > span {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border-radius: 6px;
background: var(--surface-2);
color: var(--muted);
}
.creator-runtime-blocker h1 {
margin: 0;
font-size: 18px;
line-height: 1.35;
letter-spacing: 0;
}
.creator-runtime-blocker p {
margin: 8px 0 0;
color: var(--muted);
font-size: 13px;
line-height: 1.6;
}
.creator-runtime-blocker > button {
grid-column: 2;
justify-self: start;
min-height: 34px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
}
.creator-tool-agent > header {
display: grid;
grid-template-columns: 36px minmax(0, 1fr);
align-items: center;
gap: 11px;
padding: 16px;
border-bottom: 1px solid var(--border-hairline);
}
.media-generation-prompt-panel .creator-tool-panel-heading > small {
color: var(--subtle);
font-variant-numeric: tabular-nums;
}
.video-generation-prompt-inputs {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
align-items: start;
gap: 12px;
}
.video-reference-field {
min-width: 0;
display: grid;
gap: 7px;
}
.video-reference-label {
color: var(--muted);
font-size: 12px;
font-weight: 560;
white-space: nowrap;
}
.video-reference-upload-wrap {
position: relative;
width: 92px;
min-width: 0;
}
.video-reference-upload {
display: block;
width: 92px;
color: var(--muted);
cursor: pointer;
}
.video-reference-upload > input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.video-reference-thumbnail {
width: 92px;
height: 92px;
box-sizing: border-box;
display: grid;
place-items: center;
align-content: center;
gap: 3px;
overflow: hidden;
border: 1px dashed var(--border-strong);
border-radius: 4px;
background: var(--conversation-bg);
color: var(--subtle);
transition: border-color 140ms ease, background 140ms ease;
}
.video-reference-thumbnail small {
font-size: 10px;
line-height: 1;
}
.video-reference-thumbnail img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.video-reference-meta {
display: block;
width: 92px;
overflow: hidden;
color: var(--subtle);
font-size: 10px;
line-height: 1.3;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-reference-upload:hover .video-reference-thumbnail,
.video-reference-upload:focus-within .video-reference-thumbnail {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 5%, var(--conversation-bg));
}
.video-reference-remove {
position: absolute;
top: 5px;
right: 5px;
width: 24px;
height: 24px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
border-radius: 5px;
background: color-mix(in srgb, var(--conversation-bg) 88%, transparent);
color: var(--text);
backdrop-filter: blur(5px);
}
.video-reference-remove:hover {
color: var(--text);
}
.video-generation-settings-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
align-items: end;
gap: 16px;
}
.video-generation-settings-grid .creator-tool-field {
min-width: 0;
}
@media (max-width: 700px) {
.video-generation-prompt-inputs {
grid-template-columns: 76px minmax(0, 1fr);
gap: 10px;
}
.video-reference-upload-wrap,
.video-reference-upload,
.video-reference-meta {
width: 76px;
}
.video-reference-thumbnail {
width: 76px;
height: 76px;
}
.video-generation-settings-grid {
grid-template-columns: minmax(0, 1fr);
}
}
.media-generation-control {
display: grid;
gap: 9px;
margin-top: 20px;
}
.media-generation-control:first-of-type {
margin-top: 0;
}
.media-generation-control > span {
color: var(--muted);
font-size: 12px;
font-weight: 560;
}
.media-generation-control .creator-tool-segmented {
width: 100%;
margin-bottom: 0;
}
.media-generation-control .creator-tool-segmented button {
flex: 1 1 0;
}
.media-generation-option-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.media-generation-option-grid > button {
min-width: 0;
min-height: 88px;
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
grid-template-rows: auto auto;
align-content: center;
column-gap: 10px;
padding: 12px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--text);
text-align: start;
}
.media-generation-option-grid > button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.media-generation-option-grid > button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
}
.media-generation-option-grid strong,
.media-generation-option-grid small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.media-generation-option-grid strong {
align-self: end;
font-size: 12px;
font-weight: 620;
}
.media-generation-option-grid small {
align-self: start;
color: var(--subtle);
font-size: 10px;
}
.media-generation-ratio-swatch {
grid-row: 1 / 3;
width: 28px;
height: 28px;
align-self: center;
border: 1px solid var(--border-strong);
border-radius: 3px;
background: var(--surface-2);
box-sizing: border-box;
}
.media-generation-ratio-swatch[data-ratio="3:2"],
.media-generation-ratio-swatch[data-ratio="16:9"] {
height: 19px;
}
.media-generation-ratio-swatch[data-ratio="2:3"],
.media-generation-ratio-swatch[data-ratio="9:16"] {
width: 19px;
}
.media-generation-setting-note {
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: start;
gap: 9px;
margin-top: 20px;
padding: 12px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--muted);
}
.media-generation-setting-note > span {
display: grid;
gap: 3px;
}
.media-generation-setting-note strong {
color: var(--text);
font-size: 11px;
font-weight: 620;
}
.media-generation-setting-note small {
font-size: 10px;
line-height: 1.45;
}
.tool-agent-composer-toolbar[data-compact="true"] {
justify-content: flex-end;
}
.tool-agent-composer-actions {
gap: 8px;
}
.image-generation-result-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.image-generation-result-grid[data-count="1"] {
grid-template-columns: minmax(0, 440px);
justify-content: center;
}
.image-generation-result-grid article {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
}
.image-generation-result-grid img {
width: 100%;
aspect-ratio: 1;
display: block;
object-fit: cover;
background: var(--surface-2);
}
.image-generation-result-grid article > .video-result-player-status {
width: 100%;
aspect-ratio: 1;
}
.image-generation-result-grid[data-ratio="3:2"] img {
aspect-ratio: 3 / 2;
}
.image-generation-result-grid[data-ratio="3:2"] article > .video-result-player-status {
aspect-ratio: 3 / 2;
}
.image-generation-result-grid[data-ratio="2:3"] img {
aspect-ratio: 2 / 3;
}
.image-generation-result-grid[data-ratio="2:3"] article > .video-result-player-status {
aspect-ratio: 2 / 3;
}
.tool-agent-composer-select:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.tool-agent-composer-select span {
min-width: 0;
min-height: 44px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 7px 8px 7px 10px;
}
.image-generation-result-grid article > footer > span {
min-width: 0;
display: grid;
gap: 2px;
}
.image-generation-result-grid article strong {
color: var(--text);
font-size: 11px;
font-weight: 620;
}
.image-generation-result-grid article small {
color: var(--subtle);
font-size: 9px;
}
.image-generation-result-grid article button {
width: 30px;
height: 30px;
flex: 0 0 auto;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--muted);
}
.image-generation-result-grid article button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.media-generation-result-actions {
display: flex;
justify-content: flex-end;
margin-top: 12px;
}
.media-generation-result-actions > button,
.video-generation-result > div > div > button {
min-height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
font-size: 11px;
font-weight: 600;
}
@media (max-width: 960px) {
.video-generation-workspace-page .creator-task-final-grid {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 760px) {
.image-generation-workspace-page .creator-workspace-header,
.cover-generation-workspace-page .creator-workspace-header {
padding: 0 16px;
}
.image-generation-workspace-page .creator-workspace-content,
.cover-generation-workspace-page .creator-workspace-content {
padding: 16px;
}
.image-generation-workspace-page .creator-tool-panel,
.cover-generation-workspace-page .creator-tool-panel {
padding: 16px;
}
.image-generation-workspace-page .creator-task-final-grid,
.image-generation-workspace-page .media-generation-option-grid,
.image-generation-workspace-page .image-generation-result-grid,
.cover-generation-workspace-page .creator-result-layout,
.cover-generation-workspace-page .cover-result-grid {
grid-template-columns: minmax(0, 1fr);
}
.image-generation-workspace-page .media-generation-output-panel .creator-tool-panel-heading {
align-items: stretch;
flex-direction: column;
}
.image-generation-workspace-page .media-generation-output-panel .video-result-version {
align-self: flex-start;
}
.cover-generation-workspace-page .video-result-toolbar,
.cover-generation-workspace-page .video-result-pane-heading {
align-items: stretch;
flex-direction: column;
}
.cover-generation-workspace-page .video-result-tabs {
overflow-x: auto;
}
.cover-generation-workspace-page .video-result-version {
align-self: flex-start;
}
}
.wechat-article-workspace-content {
overflow: hidden;
}
.wechat-article-stack {
position: relative;
height: 100%;
grid-template-rows: auto minmax(0, 1fr) auto;
}
.wechat-article-stack[data-step="4"] {
row-gap: 0;
}
.creator-tool-toast,
.wechat-article-toast {
position: absolute;
z-index: 12;
top: 60px;
left: 50%;
width: min(420px, calc(100% - 32px));
min-height: 44px;
display: grid;
grid-template-columns: 24px minmax(0, 1fr) 28px;
align-items: center;
gap: 8px;
padding: 9px 9px 9px 12px;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 12px 32px color-mix(in srgb, var(--text) 14%, transparent);
color: var(--text);
transform: translateX(-50%);
box-sizing: border-box;
}
.creator-tool-toast > span,
.wechat-article-toast > span {
width: 24px;
height: 24px;
display: grid;
place-items: center;
color: var(--danger);
}
.creator-tool-toast[data-tone="success"] > span,
.wechat-article-toast[data-tone="success"] > span {
color: var(--success);
}
.creator-tool-toast > div,
.wechat-article-toast > div {
min-width: 0;
display: grid;
gap: 3px;
}
.creator-tool-toast p,
.wechat-article-toast p {
min-width: 0;
color: var(--text);
font-size: 12px;
line-height: 1.45;
}
.creator-tool-toast a,
.wechat-article-toast a {
width: fit-content;
color: var(--accent);
font-size: 11px;
font-weight: 650;
text-decoration: none;
}
.creator-tool-toast a:hover,
.wechat-article-toast a:hover {
text-decoration: underline;
}
.creator-tool-toast button,
.wechat-article-toast button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.creator-tool-toast button:hover,
.wechat-article-toast button:hover {
background: var(--surface-2);
color: var(--text);
}
.creator-tool-toast button:focus-visible,
.wechat-article-toast button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.wechat-article-stack[data-phase="result"] {
grid-template-rows: minmax(0, 1fr);
}
.wechat-result-workspace .creator-result-layout {
flex: 1 1 auto;
min-height: 0;
grid-template-rows: minmax(0, 1fr);
align-items: stretch;
overflow: hidden;
}
.wechat-result-workspace .creator-result-layout > .creator-task-summary {
align-self: start;
}
.wechat-result-content {
display: grid;
align-content: start;
gap: 18px;
}
.wechat-result-document-list {
display: grid;
gap: 10px;
}
.wechat-result-image-assets {
display: grid;
gap: 10px;
padding: 14px;
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: var(--surface);
}
.wechat-result-image-assets > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.wechat-result-image-assets > header > div {
min-width: 0;
display: grid;
gap: 2px;
}
.wechat-result-image-assets > header strong {
font-size: 12px;
}
.wechat-result-image-assets > header small {
color: var(--muted);
font-size: 10px;
}
.wechat-result-image-assets > header > span {
flex: 0 0 auto;
padding: 3px 6px;
border-radius: 5px;
background: color-mix(in srgb, var(--accent) 9%, var(--surface-2));
color: var(--accent);
font-size: 9px;
font-weight: 650;
}
.wechat-result-image-assets > div {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.wechat-result-image-assets article {
min-width: 0;
display: grid;
grid-template-columns: 76px minmax(0, 1fr) 30px;
align-items: center;
gap: 9px;
padding: 7px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
}
.wechat-result-image-assets article > div {
width: 76px;
aspect-ratio: 3 / 2;
display: grid;
place-items: center;
overflow: hidden;
border-radius: 5px;
background: var(--surface-3);
color: var(--subtle);
}
.wechat-result-image-assets img {
width: 100%;
height: 100%;
object-fit: cover;
}
.wechat-result-image-assets article > section {
min-width: 0;
display: grid;
gap: 3px;
}
.wechat-result-image-assets article > section strong,
.wechat-result-image-assets article > section small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-result-image-assets article > section strong {
font-size: 10px;
}
.wechat-result-image-assets article > section small {
color: var(--subtle);
font-size: 9px;
}
.wechat-result-image-assets article > button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
padding: 0;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.wechat-result-image-assets article > button:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.video-translation-steps.wechat-article-steps ol {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.wechat-article-scroll {
min-height: 0;
overflow-y: auto;
padding: 2px;
scrollbar-gutter: stable;
}
.wechat-article-scroll[data-step="4"] {
overflow: hidden;
scrollbar-gutter: auto;
}
.wechat-article-scroll[data-step="1"] {
display: grid;
grid-template-rows: minmax(0, 1fr);
overflow: hidden;
scrollbar-gutter: auto;
}
.wechat-article-scroll[data-step="3"] {
display: grid;
grid-template-rows: minmax(0, 1fr);
overflow: hidden;
scrollbar-gutter: auto;
}
.wechat-article-scroll[data-step="4"] > .wechat-article-panel {
height: 100%;
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
}
.wechat-inspiration-panel {
overflow: hidden;
padding: 0;
}
.wechat-inspiration-heading {
margin: 0;
padding: 20px;
border-bottom: 1px solid var(--border-hairline);
}
.wechat-inspiration-workbench {
min-height: 430px;
display: grid;
grid-template-columns: 280px minmax(0, 1fr);
}
.wechat-inspiration-library {
min-width: 0;
display: flex;
flex-direction: column;
gap: 14px;
padding: 18px;
border-inline-end: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--surface-2) 64%, var(--surface));
}
.wechat-inspiration-library > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.wechat-inspiration-library > header > div,
.wechat-inspiration-link-section > div {
min-width: 0;
display: grid;
gap: 3px;
}
.wechat-inspiration-library > header strong,
.wechat-inspiration-link-section > div strong {
color: var(--text);
font-size: 13px;
font-weight: 650;
}
.wechat-inspiration-library > header span,
.wechat-inspiration-link-section > div span {
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.wechat-inspiration-library > header b {
flex: 0 0 auto;
min-width: 42px;
padding: 4px 7px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
border-radius: 6px;
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
color: var(--accent);
font-size: 11px;
font-weight: 700;
text-align: center;
}
.wechat-inspiration-add {
min-width: 0;
display: grid;
align-content: start;
gap: 22px;
padding: 24px;
}
.wechat-inspiration-dropzone {
min-height: 220px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 28px;
border: 1px dashed var(--border);
border-radius: 8px;
background: color-mix(in srgb, var(--surface-2) 54%, transparent);
text-align: center;
transition: border-color 140ms ease, background-color 140ms ease;
}
.wechat-inspiration-dropzone[data-active="true"] {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.wechat-inspiration-dropzone[data-disabled="true"] {
background: var(--surface-2);
}
.wechat-inspiration-drop-icon {
width: 42px;
height: 42px;
display: grid;
place-items: center;
margin-bottom: 2px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--accent);
}
.wechat-inspiration-dropzone > strong {
color: var(--text);
font-size: 14px;
}
.wechat-inspiration-dropzone > p {
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.wechat-inspiration-dropzone > button {
min-height: 34px;
margin-top: 3px;
padding: 0 14px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 12px;
font-weight: 650;
}
.wechat-inspiration-dropzone > small {
margin-top: 2px;
color: var(--subtle);
font-size: 10px;
line-height: 1.4;
}
.wechat-inspiration-link-section {
display: grid;
gap: 11px;
}
.wechat-inline-input {
min-height: 42px;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 9px;
padding: 0 8px 0 12px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
}
.wechat-inline-input:focus-within {
border-color: var(--accent);
}
.wechat-inline-input > svg {
color: var(--subtle);
}
.wechat-inline-input input {
min-width: 0;
height: 40px;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
}
.wechat-inline-input button,
.wechat-generate-button,
.wechat-article-toolbar > button {
min-height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
color: var(--text);
font-size: 12px;
font-weight: 600;
}
.wechat-inline-input input:disabled {
color: var(--subtle);
cursor: not-allowed;
}
.wechat-inline-input button:disabled,
.wechat-inspiration-dropzone > button:disabled {
opacity: .48;
cursor: not-allowed;
}
.wechat-inspiration-capacity {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
color: var(--muted);
font-size: 11px;
}
.wechat-inspiration-capacity small {
color: var(--subtle);
text-align: end;
}
.wechat-source-list {
min-height: 0;
display: grid;
align-content: start;
gap: 8px;
overflow-y: auto;
}
.wechat-source-list > div {
min-width: 0;
display: grid;
grid-template-columns: 30px minmax(0, 1fr) 28px;
align-items: center;
gap: 9px;
padding: 9px 10px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
}
.wechat-source-list > div > span {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--muted);
}
.wechat-source-list > div > div {
min-width: 0;
display: grid;
gap: 2px;
}
.wechat-source-list strong {
font-size: 12px;
}
.wechat-source-list small {
color: var(--muted);
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-source-list button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border: 0;
background: transparent;
color: var(--subtle);
}
.wechat-source-list button:hover {
color: var(--text);
background: var(--surface);
}
.wechat-inspiration-panel button:focus-visible,
.wechat-inspiration-panel input:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.wechat-inspiration-library .wechat-empty-source {
flex: 1 1 auto;
min-height: 240px;
margin: 0;
padding: 24px 12px;
border: 0;
background: transparent;
}
.wechat-inspiration-library .wechat-empty-source strong {
color: var(--text);
font-size: 12px;
}
.wechat-empty-source,
.wechat-generation-empty {
min-height: 180px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 9px;
margin-top: 18px;
padding: 28px;
border: 1px dashed var(--border);
border-radius: 7px;
color: var(--muted);
text-align: center;
}
.wechat-empty-source p,
.wechat-generation-empty p {
max-width: 520px;
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
.wechat-generation-empty strong {
color: var(--text);
font-size: 14px;
}
.wechat-brief-grid {
min-height: 0;
height: 100%;
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
align-items: stretch;
gap: 14px;
}
.wechat-writing-brief-panel,
.wechat-template-selection-panel {
min-height: 0;
height: 100%;
overflow-y: auto;
}
.wechat-writing-brief-panel {
display: flex;
flex-direction: column;
}
.wechat-writing-brief-panel > .creator-tool-field:first-of-type {
min-height: 0;
flex: 1 1 auto;
grid-template-rows: auto minmax(0, 1fr);
}
.wechat-writing-brief-panel > .creator-tool-field:first-of-type textarea {
min-height: 0;
height: 100%;
resize: none;
}
.wechat-template-selection-panel {
display: flex;
flex-direction: column;
}
.wechat-current-template {
position: relative;
display: grid;
grid-template-columns: 38px minmax(0, 1fr);
gap: 11px;
padding: 15px 0;
border-top: 1px solid var(--border-hairline);
border-bottom: 1px solid var(--border-hairline);
}
.wechat-current-template > button {
position: absolute;
top: 10px;
right: 0;
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.wechat-current-template > button:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.wechat-current-template > span {
width: 38px;
height: 38px;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 9%, var(--surface-2));
color: var(--accent);
}
.wechat-current-template > div {
min-width: 0;
display: grid;
gap: 5px;
}
.wechat-current-template strong {
padding-inline-end: 34px;
font-size: 14px;
}
.wechat-current-template .wechat-template-community-badge {
width: fit-content;
padding: 2px 5px;
border-radius: 4px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
font-size: 9px;
font-weight: 650;
}
.wechat-current-template p {
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.wechat-current-template > div > div,
.wechat-template-grid button > div,
.wechat-template-detail-tags {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.wechat-current-template i,
.wechat-template-grid i,
.wechat-template-detail-tags i {
padding: 3px 6px;
border-radius: 4px;
background: var(--surface-2);
color: var(--subtle);
font-size: 9px;
font-style: normal;
line-height: 1.2;
}
.wechat-template-inline-list {
flex: 1 1 auto;
min-height: 0;
max-height: 360px;
display: grid;
align-content: start;
gap: 7px;
overflow-y: auto;
padding-inline-end: 3px;
scrollbar-gutter: stable;
}
.wechat-template-inline-filters {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-bottom: 10px;
}
.wechat-template-inline-filters button {
min-height: 27px;
padding: 0 9px;
border: 1px solid var(--border-hairline);
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 10px;
font-weight: 550;
}
.wechat-template-inline-filters button:hover {
border-color: var(--border);
background: var(--state-hover-bg);
color: var(--text);
}
.wechat-template-inline-filters button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 28%, var(--border-hairline));
background: var(--accent-soft);
color: var(--text);
font-weight: 650;
}
.wechat-template-inline-list > button {
position: relative;
min-width: 0;
min-height: 62px;
display: grid;
grid-template-columns: 32px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: color-mix(in srgb, var(--surface) 84%, var(--surface-page));
color: var(--text);
text-align: start;
}
.wechat-template-inline-list > button:hover {
border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
background: color-mix(in srgb, var(--accent) 4%, var(--surface));
}
.wechat-template-inline-list > button > span {
width: 32px;
height: 32px;
display: grid;
place-items: center;
background: transparent;
color: var(--muted);
}
.wechat-template-inline-list > button > div {
min-width: 0;
display: grid;
gap: 3px;
}
.wechat-template-inline-list strong,
.wechat-template-inline-list p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-template-inline-list strong {
font-size: 12px;
}
.wechat-template-inline-list p {
color: var(--muted);
font-size: 10px;
}
.wechat-template-inline-list small {
padding: 3px 5px;
border-radius: 4px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
font-size: 9px;
font-weight: 650;
}
.wechat-template-library-trigger {
min-height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
margin-top: 14px;
padding: 0 13px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
color: var(--text);
font-size: 12px;
font-weight: 650;
}
.wechat-template-library-trigger:hover {
border-color: var(--border-strong);
background: var(--surface-3);
}
.wechat-template-instructions {
margin-top: auto;
padding-top: 18px;
}
.wechat-template-instructions summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 10px 0;
border-top: 1px solid var(--border-hairline);
color: var(--muted);
cursor: pointer;
font-size: 12px;
font-weight: 600;
list-style: none;
}
.wechat-template-instructions summary::-webkit-details-marker {
display: none;
}
.wechat-template-instructions summary svg {
transition: transform 140ms ease;
}
.wechat-template-instructions[open] summary svg {
transform: rotate(180deg);
}
.wechat-template-instructions textarea {
min-height: 150px;
resize: vertical;
}
.wechat-template-library-overlay {
position: fixed;
z-index: 100;
inset: 0;
display: block;
background: color-mix(in srgb, var(--scrim) 82%, transparent);
backdrop-filter: blur(5px);
}
.wechat-template-library {
position: absolute;
top: 50%;
left: var(--wechat-template-library-left, 18px);
width: min(
var(--wechat-template-library-width, 1040px),
calc(100vw - var(--wechat-template-library-left, 18px) - 18px)
);
height: min(660px, calc(100vh - 36px));
min-height: 0;
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow-dialog);
transform: translateY(-50%);
}
.wechat-template-library > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
padding: 18px 20px;
border-bottom: 1px solid var(--border-hairline);
}
.wechat-template-library > header h2,
.wechat-template-library > header p {
margin: 0;
}
.wechat-template-library > header h2 {
font-size: 18px;
}
.wechat-template-library > header p {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
}
.wechat-template-library > header > button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
padding: 0;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.wechat-template-library > header > button:hover {
background: var(--surface-2);
color: var(--text);
}
.wechat-template-top-filters {
min-width: 0;
display: flex;
gap: 5px;
overflow-x: auto;
padding: 9px 16px;
border-bottom: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--surface-2) 24%, var(--surface));
scrollbar-width: none;
}
.wechat-template-top-filters::-webkit-scrollbar {
display: none;
}
.wechat-template-top-filters button {
flex: 0 0 auto;
min-height: 30px;
padding: 0 11px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 12px;
font-weight: 550;
}
.wechat-template-top-filters button:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.wechat-template-top-filters button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 24%, var(--border-hairline));
background: var(--accent-soft);
color: var(--text);
font-weight: 650;
}
.wechat-template-library-body {
min-height: 0;
display: grid;
grid-template-columns: 150px minmax(0, 1fr) 280px;
}
.wechat-template-categories {
min-width: 0;
display: grid;
align-content: start;
gap: 3px;
padding: 14px 10px;
border-inline-end: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--surface-2) 46%, var(--surface));
}
.wechat-template-categories button {
min-height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 0 9px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 12px;
text-align: start;
}
.wechat-template-categories button:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.wechat-template-categories button[data-selected="true"] {
background: var(--accent-soft);
color: var(--text);
font-weight: 650;
}
.wechat-template-categories small {
color: var(--subtle);
font-size: 11px;
}
.wechat-template-browser {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 14px;
padding: 16px;
}
.wechat-template-search {
min-height: 38px;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 8px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-page);
color: var(--subtle);
}
.wechat-template-search:focus-within {
border-color: var(--border-strong);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 5%, transparent);
}
.wechat-template-search input {
min-width: 0;
height: 36px;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
font-size: 13px;
}
.wechat-template-grid {
min-height: 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 9px;
overflow-y: auto;
padding-inline-end: 3px;
scrollbar-gutter: stable;
}
.wechat-template-grid > button {
position: relative;
min-width: 0;
min-height: 142px;
display: grid;
grid-template-rows: 28px auto minmax(34px, auto) auto;
align-content: start;
gap: 6px;
padding: 13px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: color-mix(in srgb, var(--surface) 84%, var(--surface-page));
color: var(--text);
text-align: start;
}
.wechat-template-grid > button:hover {
border-color: var(--border);
background: var(--surface-2);
}
.wechat-template-grid > button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
box-shadow: inset 2px 0 0 var(--accent);
}
.wechat-template-grid > button > span {
width: 28px;
height: 28px;
display: grid;
place-items: center;
background: transparent;
color: var(--muted);
}
.wechat-template-grid > button strong {
padding-inline-end: 54px;
font-size: 13px;
}
.wechat-template-grid .wechat-template-community-badge {
position: absolute;
top: 15px;
right: 12px;
padding: 3px 5px;
border-radius: 4px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
font-size: 10px;
font-weight: 650;
}
.wechat-template-grid > button[data-selected="true"] .wechat-template-community-badge {
right: 39px;
}
.wechat-template-grid > button p {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.wechat-template-grid > button b {
position: absolute;
top: 12px;
right: 12px;
width: 20px;
height: 20px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--accent);
color: var(--on-accent);
}
.wechat-template-detail {
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 22px 20px;
border-inline-start: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--surface-2) 44%, var(--surface));
}
.wechat-template-detail > span {
color: var(--accent);
font-size: 11px;
font-weight: 650;
}
.wechat-template-detail h3 {
margin: 8px 0 0;
font-size: 18px;
}
.wechat-template-detail > p {
margin: 8px 0 14px;
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
.wechat-template-source {
width: 100%;
display: grid;
grid-template-columns: minmax(0, 1fr) 28px;
align-items: center;
gap: 4px 8px;
margin-top: 18px;
padding: 12px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface);
box-sizing: border-box;
}
.wechat-template-source > div {
min-width: 0;
display: grid;
gap: 3px;
}
.wechat-template-source strong,
.wechat-template-source span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-template-source strong {
color: var(--text);
font-size: 11px;
}
.wechat-template-source span,
.wechat-template-source small {
color: var(--muted);
font-size: 10px;
}
.wechat-template-source small {
grid-column: 1 / -1;
}
.wechat-template-source > a {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border-radius: 6px;
color: var(--muted);
}
.wechat-template-source > a:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.wechat-template-structure {
width: 100%;
margin-top: 22px;
padding-top: 16px;
border-top: 1px solid var(--border-hairline);
}
.wechat-template-structure > strong {
font-size: 12px;
}
.wechat-template-structure ol {
display: grid;
gap: 10px;
margin: 13px 0 0;
padding: 0;
list-style: none;
counter-reset: article-template-step;
}
.wechat-template-structure li {
display: grid;
grid-template-columns: 22px minmax(0, 1fr);
align-items: center;
gap: 8px;
color: var(--muted);
font-size: 12px;
counter-increment: article-template-step;
}
.wechat-template-structure li::before {
content: counter(article-template-step, decimal-leading-zero);
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
}
.wechat-template-detail > button {
width: 100%;
min-height: 38px;
margin-top: auto;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 12px;
font-weight: 650;
}
.wechat-template-empty {
min-height: 220px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 7px;
color: var(--muted);
text-align: center;
}
.wechat-template-empty strong {
color: var(--text);
font-size: 12px;
}
.wechat-template-empty p {
margin: 0;
color: var(--muted);
font-size: 10px;
}
.wechat-topic-count {
max-width: 180px;
margin-top: 16px;
}
.wechat-topic-count input {
min-height: 38px;
}
.wechat-preset-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-bottom: 16px;
}
.wechat-preset-list button {
min-width: 0;
display: grid;
gap: 4px;
padding: 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: transparent;
color: var(--text);
text-align: start;
}
.wechat-preset-list button[data-selected="true"] {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.wechat-preset-list strong {
font-size: 12px;
}
.wechat-preset-list small {
color: var(--muted);
font-size: 10px;
line-height: 1.4;
}
.wechat-layout-workbench {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(216px, 232px);
align-items: start;
gap: 22px;
}
.wechat-layout-sidebar {
position: sticky;
top: 0;
min-width: 0;
max-height: calc(100vh - 230px);
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
gap: 10px;
padding-inline-start: 16px;
border-inline-start: 1px solid var(--border-hairline);
}
.wechat-layout-sidebar-heading {
display: grid;
gap: 3px;
}
.wechat-layout-sidebar-heading strong {
font-size: 12px;
}
.wechat-layout-sidebar-heading small,
.wechat-layout-preview-heading small {
color: var(--muted);
font-size: 10px;
}
.wechat-layout-filters {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.wechat-layout-filters button {
min-height: 26px;
padding: 0 9px;
border: 1px solid var(--border-hairline);
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 10px;
font-weight: 600;
}
.wechat-layout-filters button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.wechat-layout-filters button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: color-mix(in srgb, var(--accent) 10%, var(--surface));
color: var(--accent);
}
.wechat-layout-preview-pane {
min-width: 0;
display: grid;
gap: 10px;
}
.wechat-layout-preview-heading {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
}
.wechat-layout-preview-heading button {
min-height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface-2);
color: var(--muted);
font-size: 11px;
font-weight: 600;
}
.wechat-layout-preview-heading button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.wechat-layout-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.wechat-layout-sidebar .wechat-layout-list {
grid-template-columns: minmax(0, 1fr);
overflow-y: auto;
padding-inline-end: 3px;
scrollbar-gutter: stable;
}
.wechat-layout-sidebar .wechat-layout-list button {
min-height: 100px;
grid-template-columns: 64px minmax(0, 1fr);
gap: 9px;
padding: 7px 8px 7px 7px;
}
.wechat-layout-sidebar .wechat-layout-sample,
.wechat-layout-sidebar .wechat-layout-list button[data-layout="business"] .wechat-layout-sample,
.wechat-layout-sidebar .wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample,
.wechat-layout-sidebar .wechat-layout-list button[data-layout="newsroom"] .wechat-layout-sample {
width: 64px;
height: 84px;
grid-template-rows: 3px 9px 5px 14px 5px 16px;
gap: 4px;
padding: 6px;
}
.wechat-layout-sidebar .wechat-layout-sample-heading {
grid-template-columns: 12px minmax(0, 1fr);
gap: 3px;
}
.wechat-layout-sidebar .wechat-layout-sample-heading b {
font-size: 5px;
}
.wechat-layout-sidebar .wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-heading b {
width: 11px;
height: 11px;
}
.wechat-layout-sidebar .wechat-layout-sample-callout {
gap: 3px;
padding: 4px;
}
.wechat-layout-sidebar .wechat-layout-meta small {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.wechat-layout-sidebar .wechat-layout-features i:nth-child(n + 3) {
display: none;
}
.wechat-layout-list button {
position: relative;
min-width: 0;
min-height: 126px;
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 11px;
padding: 9px 10px 9px 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
text-align: start;
}
.wechat-layout-list button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.wechat-layout-list button[data-selected="true"] {
border-color: var(--accent);
box-shadow: inset 0 0 0 1px var(--accent);
}
.wechat-layout-sample {
--sample-accent: #2f7d68;
--sample-ink: #243330;
--sample-soft: #eaf3ef;
width: 82px;
height: 106px;
display: grid;
grid-template-rows: 4px 12px 7px 18px 1fr 22px;
gap: 6px;
box-sizing: border-box;
padding: 8px;
overflow: hidden;
border: 1px solid #dfe4e1;
border-radius: 4px;
background: #fff;
box-shadow: 0 2px 7px rgb(28 39 35 / 8%);
}
.wechat-layout-sample i,
.wechat-layout-sample b,
.wechat-layout-sample em {
display: block;
box-sizing: border-box;
margin: 0;
font-style: normal;
}
.wechat-layout-sample-kicker {
width: 18px;
border-radius: 1px;
background: var(--sample-accent);
}
.wechat-layout-sample-title {
width: 75%;
border-radius: 1px;
background: var(--sample-ink);
}
.wechat-layout-sample-lead {
width: 92%;
border-inline-start: 2px solid var(--sample-accent);
background: var(--sample-soft);
}
.wechat-layout-sample-heading {
display: grid !important;
grid-template-columns: 15px minmax(0, 1fr);
align-items: center;
gap: 4px;
}
.wechat-layout-sample-heading b {
color: var(--sample-accent);
font: 700 6px/1 Arial, sans-serif;
}
.wechat-layout-sample-heading em {
width: 72%;
height: 4px;
border-radius: 1px;
background: var(--sample-ink);
}
.wechat-layout-sample-lines {
display: grid !important;
align-content: start;
gap: 4px;
}
.wechat-layout-sample-lines b {
height: 2px;
border-radius: 1px;
background: #cbd1ce;
}
.wechat-layout-sample-lines b:nth-child(2) {
width: 88%;
}
.wechat-layout-sample-lines b:nth-child(3) {
width: 65%;
}
.wechat-layout-sample-callout {
display: grid !important;
align-content: center;
gap: 4px;
padding: 5px;
border-inline-start: 2px solid var(--sample-accent);
background: var(--sample-soft);
}
.wechat-layout-sample-callout b,
.wechat-layout-sample-callout em {
width: 86%;
height: 2px;
background: color-mix(in srgb, var(--sample-accent) 58%, white);
}
.wechat-layout-sample-callout em {
width: 58%;
}
.wechat-layout-list button[data-layout="business"] .wechat-layout-sample {
--sample-accent: #285b78;
--sample-ink: #183b50;
--sample-soft: #e8f0f4;
border-top: 4px solid #285b78;
grid-template-rows: 2px 12px 9px 18px 1fr 22px;
}
.wechat-layout-list button[data-layout="business"] .wechat-layout-sample-kicker {
width: 30px;
background: #b58a45;
}
.wechat-layout-list button[data-layout="business"] .wechat-layout-sample-callout {
border: 1px solid #b9ced9;
border-inline-start: 3px solid #285b78;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample {
--sample-accent: #8b3f45;
--sample-ink: #352d2d;
--sample-soft: #f7eeee;
padding-inline-end: 10px;
padding-inline-start: 10px;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-kicker,
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-title {
margin: 0 auto;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-kicker {
width: 12px;
height: 2px;
align-self: end;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-title {
width: 82%;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-lead {
width: 100%;
border: 0;
border-top: 1px solid #d7b6b8;
border-bottom: 1px solid #d7b6b8;
background: transparent;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-heading {
grid-template-columns: 1fr;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-heading b {
display: none;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-heading em {
width: 64%;
margin: 0 auto;
}
.wechat-layout-list button[data-layout="editorial"] .wechat-layout-sample-callout {
border: 0;
border-top: 1px solid #d7b6b8;
border-bottom: 1px solid #d7b6b8;
background: transparent;
}
.wechat-layout-list button[data-layout="vibrant"] .wechat-layout-sample {
--sample-accent: #217561;
--sample-ink: #174d43;
--sample-soft: #fff4c7;
}
.wechat-layout-list button[data-layout="vibrant"] .wechat-layout-sample-heading {
padding: 3px 4px;
border-inline-start: 3px solid #217561;
background: #e8f3ef;
}
.wechat-layout-list button[data-layout="vibrant"] .wechat-layout-sample-heading b {
color: #a97812;
}
.wechat-layout-list button[data-layout="vibrant"] .wechat-layout-sample-callout {
border: 1px solid #ead58a;
border-inline-start: 3px solid #dfaa2f;
}
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample {
--sample-accent: #16736a;
--sample-ink: #182927;
--sample-soft: #edf5f3;
}
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-kicker {
width: 24px;
box-shadow: 29px 0 0 #d6534d;
}
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-heading b {
width: 14px;
height: 14px;
display: grid;
place-items: center;
border-radius: 50%;
background: #16736a;
color: white;
}
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-callout {
border: 0;
background: #1e2928;
}
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-callout b,
.wechat-layout-list button[data-layout="technical"] .wechat-layout-sample-callout em {
background: #6ab8ad;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample {
--sample-accent: #e7bd36;
--sample-ink: #262626;
--sample-soft: #fff7d6;
border-top: 4px solid #262626;
grid-template-rows: 2px 12px 9px 18px 1fr 22px;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-kicker {
width: 29px;
background: #e7bd36;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-heading {
grid-template-columns: 1fr;
justify-items: center;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-heading b {
display: none;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-heading em {
width: 72%;
height: 7px;
background: #f3d66f;
box-shadow: inset 0 3px 0 #262626;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-callout {
border-inline-start: 3px solid #e7bd36;
background: #fff;
}
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-callout b,
.wechat-layout-list button[data-layout="podcast"] .wechat-layout-sample-callout em {
background: #777;
}
.wechat-layout-list button[data-layout="newsroom"] .wechat-layout-sample {
--sample-accent: #c74436;
--sample-ink: #292b2d;
--sample-soft: #f8ece9;
border-top: 4px solid #c74436;
grid-template-rows: 2px 12px 9px 18px 1fr 22px;
}
.wechat-layout-list button[data-layout="newsroom"] .wechat-layout-sample-kicker {
width: 28px;
background: #292b2d;
}
.wechat-layout-list button[data-layout="newsroom"] .wechat-layout-sample-heading {
border-bottom: 1px solid #c74436;
}
.wechat-layout-list button[data-layout="newsroom"] .wechat-layout-sample-callout {
border-left-color: #c74436;
}
.wechat-layout-meta {
min-width: 0;
display: grid;
align-content: center;
gap: 4px;
}
.wechat-layout-list button strong {
padding-inline-end: 18px;
font-size: 12px;
}
.wechat-layout-list button small {
color: var(--muted);
font-size: 9.5px;
line-height: 1.45;
}
.wechat-layout-features {
display: flex;
flex-wrap: wrap;
gap: 3px;
margin-top: 2px;
}
.wechat-layout-features i {
padding: 2px 4px;
border: 1px solid var(--border-hairline);
border-radius: 3px;
color: var(--subtle);
font-size: 8px;
font-style: normal;
line-height: 1.2;
}
.wechat-layout-selected {
position: absolute;
top: 8px;
right: 8px;
width: 18px;
height: 18px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--accent);
}
.wechat-layout-selected svg {
color: var(--accent-contrast);
}
.wechat-topic-list {
display: grid;
gap: 9px;
}
.wechat-topics-panel,
.wechat-outline-panel,
.wechat-article-panel {
padding: 4px;
border: 0;
background: transparent;
}
.wechat-topics-panel .creator-tool-panel-heading,
.wechat-outline-panel .creator-tool-panel-heading,
.wechat-article-panel .creator-tool-panel-heading {
padding: 0 2px;
margin-bottom: 16px;
}
.wechat-topic-list article {
display: grid;
gap: 12px;
padding: 15px 16px 16px;
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: color-mix(in srgb, var(--surface) 82%, var(--surface-page));
cursor: pointer;
transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.wechat-topic-list article:hover {
border-color: var(--border);
background: color-mix(in srgb, var(--surface-2) 72%, var(--surface-page));
}
.wechat-topic-list article[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
box-shadow: inset 2px 0 0 var(--accent);
}
.wechat-topic-list header {
display: grid;
grid-template-columns: 30px minmax(0, 1fr) 26px;
align-items: center;
gap: 8px;
}
.wechat-topic-list header > span {
color: var(--subtle);
font-size: 11px;
font-variant-numeric: tabular-nums;
}
.wechat-topic-list input {
min-width: 0;
padding: 5px 0;
border: 0;
border-bottom: 1px solid transparent;
outline: 0;
background: transparent;
color: var(--text);
font-size: 14px;
font-weight: 650;
}
.wechat-topic-list input:focus {
border-bottom-color: var(--border-strong);
}
.wechat-topic-list header button {
width: 24px;
height: 24px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 50%;
background: transparent;
color: transparent;
line-height: 0;
transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.wechat-topic-list header button svg {
display: block;
}
.wechat-topic-list header button:hover {
border-color: var(--border-strong);
}
.wechat-topic-list header button:focus-visible {
outline: 2px solid var(--state-focus-ring);
outline-offset: 2px;
}
.wechat-topic-list article[data-selected="true"] header button {
border-color: var(--accent);
background: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
color: var(--on-accent);
}
.wechat-topic-list label {
display: grid;
grid-template-columns: 68px minmax(0, 1fr);
align-items: start;
gap: 10px;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.wechat-topic-list textarea {
width: 100%;
min-height: 42px;
box-sizing: border-box;
resize: vertical;
padding: 9px 11px;
border: 1px solid transparent;
border-radius: 6px;
outline: 0;
background: color-mix(in srgb, var(--surface-page) 78%, transparent);
box-shadow: inset 0 0 0 1px var(--border-hairline);
color: var(--text);
font: inherit;
font-size: 12px;
line-height: 1.55;
transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.wechat-topic-list textarea:hover {
background: color-mix(in srgb, var(--surface-page) 88%, transparent);
box-shadow: inset 0 0 0 1px var(--border);
}
.wechat-topic-list textarea:focus {
border-color: var(--border-strong);
background: var(--surface-page);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 5%, transparent);
}
.wechat-outline-panel .creator-tool-field > .wechat-outline-editor {
min-height: 0;
height: 100%;
resize: none;
overflow-y: auto;
font-family: var(--font-mono);
line-height: 1.65;
}
.wechat-article-scroll[data-step="3"] > .wechat-outline-panel {
min-height: 0;
height: 100%;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
}
.wechat-outline-panel > .creator-tool-field {
min-height: 0;
grid-template-rows: minmax(0, 1fr);
}
.wechat-article-edit-workbench {
min-height: 0;
height: 100%;
display: grid;
grid-template-columns: minmax(0, 1fr) 350px;
overflow: hidden;
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: var(--surface);
}
.wechat-article-editor-pane {
min-width: 0;
display: flex;
overflow: hidden;
padding: 0;
}
.wechat-article-editor-pane .wechat-article-editor {
min-height: 0;
height: 100%;
border: 0;
border-radius: 0;
box-shadow: none;
}
.wechat-article-image-panel {
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border-inline-start: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--surface-2) 56%, var(--surface));
}
.wechat-article-image-heading {
min-height: 62px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 15px;
border-bottom: 1px solid var(--border-hairline);
}
.wechat-article-image-heading > div {
min-width: 0;
display: flex;
align-items: center;
gap: 9px;
}
.wechat-article-image-heading > div > span {
width: 30px;
height: 30px;
flex: 0 0 auto;
display: grid;
place-items: center;
border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--accent);
}
.wechat-article-image-heading > div > div {
min-width: 0;
display: grid;
gap: 2px;
}
.wechat-article-image-heading strong {
font-size: 13px;
}
.wechat-article-image-heading small {
overflow: hidden;
color: var(--muted);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-image-toggle {
position: relative;
width: 34px;
height: 20px;
flex: 0 0 auto;
cursor: pointer;
}
.wechat-image-toggle input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.wechat-image-toggle > span {
position: absolute;
inset: 0;
border: 1px solid var(--border-strong);
border-radius: 10px;
background: var(--surface-3);
transition: background-color 140ms ease, border-color 140ms ease;
}
.wechat-image-toggle > span::after {
position: absolute;
top: 2px;
left: 2px;
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--muted);
content: '';
transition: transform 140ms ease, background-color 140ms ease;
}
.wechat-image-toggle input:checked + span {
border-color: var(--accent);
background: var(--accent);
}
.wechat-image-toggle input:checked + span::after {
background: var(--on-accent);
transform: translateX(14px);
}
.wechat-image-toggle input:focus-visible + span {
outline: 2px solid var(--state-focus-ring);
outline-offset: 2px;
}
.wechat-article-image-settings {
display: grid;
gap: 18px;
padding: 15px;
}
.wechat-article-image-settings[data-disabled="true"] > :not(.wechat-generate-images) {
opacity: .48;
}
.wechat-image-setting-block {
display: grid;
gap: 10px;
}
.wechat-image-setting-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.wechat-image-setting-label strong {
color: var(--text);
font-size: 11px;
font-weight: 650;
}
.wechat-image-setting-label > span {
min-width: 24px;
padding: 2px 6px;
border-radius: 5px;
background: color-mix(in srgb, var(--accent) 9%, var(--surface));
color: var(--accent);
font-size: 10px;
font-weight: 700;
text-align: center;
font-variant-numeric: tabular-nums;
}
.wechat-image-density {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 5px;
}
.wechat-image-density button {
min-width: 0;
height: 30px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--muted);
font-size: 10px;
font-weight: 600;
}
.wechat-image-density button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: color-mix(in srgb, var(--accent) 9%, var(--surface));
color: var(--accent);
}
.wechat-image-count-control {
display: grid;
grid-template-columns: 28px minmax(0, 1fr) 28px;
align-items: center;
gap: 8px;
}
.wechat-image-count-control button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--muted);
}
.wechat-image-count-control input {
width: 100%;
accent-color: var(--accent);
}
.wechat-image-style-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 7px;
}
.wechat-image-style-grid > button {
position: relative;
min-width: 0;
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
grid-template-rows: auto auto;
gap: 2px 7px;
padding: 7px;
overflow: hidden;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface);
color: var(--text);
text-align: start;
}
.wechat-image-style-grid > button[data-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
box-shadow: inset 2px 0 0 var(--accent);
}
.wechat-image-style-grid > button > img {
grid-row: 1 / 3;
width: 58px;
height: 42px;
display: block;
overflow: hidden;
border-radius: 5px;
background: var(--surface-3);
object-fit: cover;
}
.wechat-image-style-grid > button > strong,
.wechat-image-style-grid > button > small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-image-style-grid > button > strong {
align-self: end;
font-size: 10px;
}
.wechat-image-style-grid > button > small {
color: var(--subtle);
font-size: 8px;
}
.wechat-image-style-grid > button > b {
position: absolute;
top: 4px;
right: 4px;
width: 15px;
height: 15px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--accent);
color: var(--on-accent);
}
.wechat-generate-images {
min-height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 11px;
font-weight: 650;
}
.wechat-generate-images:disabled,
.wechat-image-style-grid button:disabled,
.wechat-image-density button:disabled,
.wechat-image-count-control button:disabled {
cursor: not-allowed;
opacity: .5;
}
.wechat-article-toolbar {
display: flex;
align-items: center;
gap: 8px;
}
.wechat-article-title-row {
display: flex;
align-items: baseline;
gap: 8px;
}
.wechat-article-character-count {
color: var(--muted);
font-size: 11px;
font-variant-numeric: tabular-nums;
line-height: 1;
white-space: nowrap;
}
.wechat-insert-image-button:disabled {
cursor: wait;
opacity: .55;
}
.wechat-article-toolbar .creator-tool-segmented {
min-width: 150px;
}
.wechat-article-toolbar .creator-tool-segmented button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
}
.wechat-article-editor,
.wechat-article-preview {
width: 100%;
min-height: 560px;
box-sizing: border-box;
}
.wechat-article-editor {
overflow-y: auto;
padding: 22px 26px 28px;
border: 1px solid var(--border-hairline);
border-radius: 8px;
outline: 0;
background: color-mix(in srgb, var(--surface-page) 88%, var(--surface));
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 3%, transparent);
color: var(--text);
caret-color: var(--accent-strong);
font-family: var(--font-mono);
font-size: 13px;
line-height: 1.8;
transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.wechat-article-editor-text-block {
position: relative;
width: 100%;
min-width: 0;
}
.wechat-article-editor-segment {
width: 100%;
min-height: 48px;
display: block;
resize: none;
overflow: hidden;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: inherit;
font: inherit;
line-height: inherit;
box-sizing: border-box;
transition: background-color 120ms ease, box-shadow 120ms ease;
}
.wechat-article-editor-segment[data-empty="true"] {
min-height: 18px;
}
.wechat-article-editor-text-block[data-image-drop-active="true"] .wechat-article-editor-segment {
background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.wechat-article-image-drop-indicator {
position: absolute;
right: 0;
left: 0;
z-index: 2;
height: 2px;
pointer-events: none;
background: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
transform: translateY(-50%);
}
.wechat-article-image-drop-indicator::before {
position: absolute;
top: 50%;
left: -3px;
width: 8px;
height: 8px;
border: 2px solid var(--surface);
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
content: '';
transform: translateY(-50%);
}
.wechat-article-inline-image {
position: relative;
width: 100%;
display: grid;
place-items: center;
margin: 6px 0 8px;
cursor: grab;
transition: opacity 120ms ease;
}
.wechat-article-inline-image:active {
cursor: grabbing;
}
.wechat-article-inline-image[data-dragging="true"] {
opacity: .42;
}
.wechat-article-inline-image img {
width: 100%;
height: auto;
display: block;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
object-fit: contain;
}
.wechat-article-inline-image-actions {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 6px;
opacity: 0;
transition: opacity 140ms ease;
}
.wechat-article-inline-image:hover .wechat-article-inline-image-actions,
.wechat-article-inline-image:focus-within .wechat-article-inline-image-actions {
opacity: 1;
}
.wechat-article-inline-image-actions button {
width: 32px;
height: 32px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid rgb(255 255 255 / 42%);
border-radius: 6px;
background: rgb(24 27 29 / 82%);
box-shadow: 0 4px 14px rgb(0 0 0 / 22%);
color: #fff;
backdrop-filter: blur(8px);
}
.wechat-article-inline-image-actions button:hover {
background: rgb(24 27 29 / 96%);
}
.wechat-article-inline-image-actions button:last-child:hover {
border-color: color-mix(in srgb, var(--danger) 70%, #fff);
color: color-mix(in srgb, var(--danger) 68%, #fff);
}
@media (hover: none) {
.wechat-article-inline-image-actions {
opacity: 1;
}
}
.wechat-article-editor:hover {
border-color: var(--border);
}
.wechat-article-editor:focus-within {
border-color: var(--border-strong);
background: var(--surface-page);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 5%, transparent);
}
.wechat-article-editor-segment::selection,
.wechat-topic-list textarea::selection,
.wechat-topic-list input::selection {
background: color-mix(in srgb, var(--accent) 24%, transparent);
}
.wechat-article-preview {
--article-accent: #2f7d68;
--article-accent-2: #c7963f;
--article-ink: #25312e;
--article-muted: #67736f;
--article-soft: #eef5f2;
max-width: 820px;
margin: 0 auto;
padding: 36px 42px 44px;
border: 1px solid #dfe4e1;
background: #fff;
box-shadow: 0 8px 30px rgb(27 37 33 / 6%);
color: var(--article-ink);
}
.wechat-article-preview .markdown-prose {
color: var(--article-ink);
}
.wechat-article-preview .md-p,
.wechat-article-preview .md-ul li,
.wechat-article-preview .md-ol li {
font-size: 16px;
line-height: 1.95;
}
.wechat-article-preview .md-p {
color: var(--article-ink);
}
.wechat-article-preview .md-image {
width: 100%;
height: auto;
display: block;
margin: 0;
border-radius: 6px;
object-fit: contain;
}
.wechat-article-preview .md-p-image-only {
width: 100%;
margin: 24px 0 10px;
padding: 0;
border: 0;
background: transparent;
line-height: 0;
}
.wechat-article-preview .md-h1 {
margin-bottom: 20px;
color: var(--article-ink);
font-size: 30px;
font-weight: 720;
line-height: 1.38;
}
.wechat-article-preview .md-h1 + .md-p:not(.md-p-image-only) {
margin: 0 0 30px;
padding: 15px 17px;
border-inline-start: 4px solid var(--article-accent);
background: var(--article-soft);
color: var(--article-muted);
font-size: 15px;
}
.wechat-article-preview .md-h2 {
margin: 38px 0 16px;
color: var(--article-ink);
font-size: 21px;
font-weight: 700;
line-height: 1.5;
}
.wechat-article-preview .md-h3 {
margin: 25px 0 10px;
color: var(--article-accent);
font-size: 17px;
}
.wechat-article-preview strong {
color: var(--article-accent);
}
.wechat-article-preview .md-ul,
.wechat-article-preview .md-ol {
margin: 18px 0;
padding-inline-start: 26px;
}
.wechat-article-preview .md-ul li::marker,
.wechat-article-preview .md-ol li::marker {
color: var(--article-accent);
font-weight: 700;
}
.wechat-article-preview .md-quote {
margin: 25px 0;
padding: 16px 18px;
border: 0;
border-inline-start: 4px solid var(--article-accent);
background: var(--article-soft);
color: var(--article-muted);
font-size: 16px;
line-height: 1.85;
}
.wechat-article-preview .md-hr {
width: 54px;
margin: 38px auto;
border: 0;
border-top: 3px solid var(--article-accent);
}
.wechat-article-preview .md-table-wrap {
margin: 22px 0;
border-color: color-mix(in srgb, var(--article-accent) 25%, #dfe4e1);
border-radius: 4px;
box-shadow: none;
}
.wechat-article-preview .md-table {
font-size: 13px;
}
.wechat-article-preview .md-table th {
background: var(--article-soft);
color: var(--article-ink);
}
.wechat-article-preview[data-layout="minimal"] .md-h1 {
padding-bottom: 18px;
border-bottom: 1px solid #d8dfdc;
}
.wechat-article-preview[data-layout="minimal"] .md-h2 {
position: relative;
padding-inline-start: 18px;
}
.wechat-article-preview[data-layout="minimal"] .md-h2::before {
position: absolute;
top: 0.55em;
left: 0;
width: 7px;
height: 7px;
background: var(--article-accent);
content: '';
}
.wechat-article-preview[data-layout="minimal"] .md-quote {
border: 1px solid #cfe0d9;
border-inline-start: 4px solid var(--article-accent);
background: #f4f8f6;
color: #365f53;
}
.wechat-article-preview[data-layout="business"] {
--article-accent: #285b78;
--article-accent-2: #b58a45;
--article-ink: #18394d;
--article-muted: #526b78;
--article-soft: #edf3f6;
border-top: 7px solid var(--article-accent);
}
.wechat-article-preview[data-layout="business"] .md-h1 {
padding-inline-end: 24px;
border-inline-end: 5px solid var(--article-accent-2);
}
.wechat-article-preview[data-layout="business"] .md-h2 {
padding: 9px 13px;
border-inline-start: 5px solid var(--article-accent);
background: var(--article-soft);
color: #18394d;
font-size: 20px;
}
.wechat-article-preview[data-layout="business"] .md-h3 {
padding-bottom: 7px;
border-bottom: 1px solid #cbd9e1;
}
.wechat-article-preview[data-layout="business"] .md-quote {
position: relative;
padding-top: 21px;
border: 1px solid #c5d7e0;
border-inline-start: 5px solid var(--article-accent);
background: #f8fafb;
color: #34566a;
}
.wechat-article-preview[data-layout="business"] .md-quote::before {
position: absolute;
top: 0;
left: 17px;
width: 34px;
height: 4px;
background: var(--article-accent-2);
content: '';
}
.wechat-article-preview[data-layout="business"] .md-hr {
width: 100%;
border-top: 1px solid #c8d5dc;
}
.wechat-article-preview[data-layout="editorial"] {
--article-accent: #8b3f45;
--article-accent-2: #b99066;
--article-ink: #352d2d;
--article-muted: #736465;
--article-soft: #f8f1f0;
padding-inline-end: 50px;
padding-inline-start: 50px;
font-family: Georgia, 'Songti SC', 'STSong', serif;
}
.wechat-article-preview[data-layout="editorial"] .md-h1 {
color: #5f3034;
font-size: 32px;
font-weight: 600;
text-align: center;
}
.wechat-article-preview[data-layout="editorial"] .md-h1::after {
width: 48px;
height: 2px;
display: block;
margin: 18px auto 0;
background: var(--article-accent);
content: '';
}
.wechat-article-preview[data-layout="editorial"] .md-h1 + .md-p:not(.md-p-image-only) {
padding: 16px 8px;
border: 0;
border-top: 1px solid #d9bfc0;
border-bottom: 1px solid #d9bfc0;
background: transparent;
color: #715a5c;
font-style: italic;
text-align: center;
}
.wechat-article-preview[data-layout="editorial"] .md-h2 {
margin-top: 44px;
color: #67383c;
font-size: 22px;
font-weight: 600;
text-align: center;
}
.wechat-article-preview[data-layout="editorial"] .md-h2::before,
.wechat-article-preview[data-layout="editorial"] .md-h2::after {
width: 18px;
height: 1px;
display: inline-block;
margin: 0 10px 6px;
background: #c99da0;
content: '';
}
.wechat-article-preview[data-layout="editorial"] .md-p {
line-height: 2.05;
}
.wechat-article-preview[data-layout="editorial"] .md-quote {
margin: 34px 12px;
padding: 22px 18px;
border: 0;
border-top: 1px solid #d8babb;
border-bottom: 1px solid #d8babb;
background: transparent;
color: #713d41;
font-size: 18px;
font-style: italic;
text-align: center;
}
.wechat-article-preview[data-layout="vibrant"] {
--article-accent: #217561;
--article-accent-2: #dfa72b;
--article-ink: #19453d;
--article-muted: #52716a;
--article-soft: #eaf4f0;
border-top: 7px solid var(--article-accent);
}
.wechat-article-preview[data-layout="vibrant"] .md-h1 {
color: #174f45;
text-decoration: underline;
text-decoration-color: #efd47f;
text-decoration-thickness: 7px;
text-underline-offset: -3px;
}
.wechat-article-preview[data-layout="vibrant"] .md-h2 {
width: fit-content;
margin-top: 38px;
padding: 7px 12px;
border-inline-start: 5px solid var(--article-accent);
border-bottom: 3px solid var(--article-accent-2);
background: var(--article-soft);
color: #174f45;
font-size: 20px;
}
.wechat-article-preview[data-layout="vibrant"] .md-quote {
border: 1px solid #ead38a;
border-inline-start: 5px solid var(--article-accent-2);
background: #fff9e8;
color: #66531f;
}
.wechat-article-preview[data-layout="vibrant"] .md-ol {
padding-inline-start: 31px;
}
.wechat-article-preview[data-layout="vibrant"] .md-ol li {
margin: 10px 0;
padding: 8px 10px;
border-bottom: 1px solid #dbe8e3;
background: #f8fbfa;
}
.wechat-article-preview[data-layout="vibrant"] .md-ol li::marker {
color: var(--article-accent-2);
font-size: 17px;
}
.wechat-article-preview[data-layout="technical"] {
--article-accent: #16736a;
--article-accent-2: #d6534d;
--article-ink: #1c2d2a;
--article-muted: #586b67;
--article-soft: #edf5f3;
border-top: 7px solid #1d2927;
}
.wechat-article-preview[data-layout="technical"] .md-h1 {
padding-inline-start: 18px;
border-inline-start: 6px solid var(--article-accent);
}
.wechat-article-preview[data-layout="technical"] .md-h1::after {
width: 34px;
height: 4px;
display: block;
margin-top: 15px;
background: var(--article-accent-2);
content: '';
}
.wechat-article-preview[data-layout="technical"] .md-h2 {
padding: 9px 12px;
border: 1px solid #c8ddd8;
border-inline-start: 5px solid var(--article-accent);
background: var(--article-soft);
font-size: 20px;
}
.wechat-article-preview[data-layout="technical"] .md-h3::before {
margin-inline-end: 7px;
color: var(--article-accent-2);
content: '#';
}
.wechat-article-preview[data-layout="technical"] .md-quote {
border: 1px solid #e5c1be;
border-inline-start: 5px solid var(--article-accent-2);
background: #fff5f4;
color: #6d4542;
}
.wechat-article-preview[data-layout="technical"] .md-code-block {
margin: 22px 0;
border: 0;
border-radius: 4px;
background: #1d2927;
color: #d9e7e3;
}
.wechat-article-preview[data-layout="technical"] .md-code-header {
border-bottom-color: #354541;
color: #8fc6bd;
}
.wechat-article-preview[data-layout="technical"] .md-code {
color: #d9e7e3;
}
.wechat-article-preview[data-layout="podcast"] {
--article-accent: #e4b927;
--article-accent-2: #285f63;
--article-ink: #292929;
--article-muted: #5d5d5d;
--article-soft: #fff7d6;
border-top: 7px solid #292929;
}
.wechat-article-preview[data-layout="podcast"] .md-h1 {
padding-bottom: 17px;
border-bottom: 5px solid var(--article-accent);
color: #222;
}
.wechat-article-preview[data-layout="podcast"] .md-h1 + .md-p:not(.md-p-image-only) {
border: 0;
background: #f7f7f5;
color: #5b5b58;
}
.wechat-article-preview[data-layout="podcast"] .md-h2 {
width: fit-content;
max-width: 100%;
margin-inline-end: auto;
margin-inline-start: auto;
padding: 3px 7px;
background: var(--article-accent);
color: #222;
font-size: 21px;
font-weight: 700;
text-align: center;
}
.wechat-article-preview[data-layout="podcast"] .md-h3 {
width: fit-content;
margin: 28px 0 8px;
padding: 5px 9px;
border-inline-start: 4px solid var(--article-accent);
background: #285f63;
color: #fff;
font-size: 14px;
font-weight: 700;
}
.wechat-article-preview[data-layout="podcast"] .md-quote {
margin: 12px 0 27px;
padding: 8px 0 8px 14px;
border: 0;
border-inline-start: 4px solid var(--article-accent);
background: #fff;
color: #555;
font-size: 15px;
font-style: italic;
line-height: 2;
}
.wechat-article-preview[data-layout="podcast"] .md-h3 + .md-quote {
margin-top: 0;
padding: 14px 16px;
background: var(--article-soft);
}
.wechat-article-preview[data-layout="podcast"] .md-hr {
width: 100%;
border-top: 1px solid #ded8c3;
}
.wechat-article-preview[data-layout="newsroom"] {
--article-accent: #c74436;
--article-accent-2: #297477;
--article-ink: #292b2d;
--article-muted: #666b6e;
--article-soft: #f8eeec;
border-top: 8px solid var(--article-accent);
}
.wechat-article-preview[data-layout="newsroom"] .md-h1 {
padding-bottom: 18px;
border-bottom: 3px solid #292b2d;
font-size: 31px;
}
.wechat-article-preview[data-layout="newsroom"] .md-h1 + .md-p:not(.md-p-image-only) {
border: 0;
border-top: 1px solid #eccac5;
border-bottom: 1px solid #eccac5;
background: var(--article-soft);
color: #603f3b;
}
.wechat-article-preview[data-layout="newsroom"] .md-h2 {
padding: 8px 0;
border-top: 2px solid #292b2d;
border-bottom: 1px solid #bfc2c3;
}
.wechat-article-preview[data-layout="newsroom"] .md-h2::before {
width: 9px;
height: 9px;
display: inline-block;
margin-inline-end: 9px;
background: var(--article-accent);
content: '';
}
.wechat-article-preview[data-layout="newsroom"] .md-ul,
.wechat-article-preview[data-layout="newsroom"] .md-ol {
padding: 13px 16px 13px 36px;
border-inline-start: 4px solid var(--article-accent-2);
background: #f1f6f6;
}
.wechat-article-preview[data-layout="newsroom"] .md-quote {
border: 0;
border-top: 1px solid #d8a49d;
border-bottom: 1px solid #d8a49d;
background: transparent;
color: #743d36;
font-size: 17px;
font-weight: 600;
}
.wechat-article-preview[data-layout="newsroom"] .md-hr {
width: 100%;
border-top: 1px solid #c8cbcc;
}
.wechat-article-actions {
margin-top: 0;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
}
.wechat-article-footer-stack {
min-width: 0;
display: grid;
gap: 10px;
}
.wechat-article-run-notice {
margin: 0 auto;
}
.wechat-article-stack[data-step="4"] .wechat-article-actions {
padding-top: 8px;
}
@media (max-width: 900px) {
.wechat-article-scroll[data-step="1"] {
display: block;
overflow-y: auto;
scrollbar-gutter: stable;
}
.wechat-article-scroll[data-step="3"] {
display: block;
overflow-y: auto;
scrollbar-gutter: stable;
}
.wechat-brief-grid {
height: auto;
grid-template-columns: minmax(0, 1fr);
}
.wechat-writing-brief-panel,
.wechat-template-selection-panel {
min-height: 480px;
height: auto;
overflow: visible;
}
.wechat-writing-brief-panel > .creator-tool-field:first-of-type textarea {
min-height: 330px;
height: auto;
resize: vertical;
}
.wechat-article-scroll[data-step="3"] > .wechat-outline-panel {
height: auto;
display: block;
}
.wechat-outline-panel .creator-tool-field > .wechat-outline-editor {
min-height: 430px;
height: auto;
resize: vertical;
}
.wechat-inspiration-workbench {
grid-template-columns: 240px minmax(0, 1fr);
}
.wechat-layout-workbench {
grid-template-columns: minmax(0, 1fr) 220px;
gap: 16px;
}
.wechat-article-edit-workbench {
grid-template-columns: minmax(0, 1fr) 310px;
}
.wechat-article-toolbar {
align-items: stretch;
flex-direction: column;
}
}
@media (max-width: 760px) {
.video-translation-steps.wechat-article-steps strong {
font-size: 9px;
}
.wechat-preset-list {
grid-template-columns: minmax(0, 1fr);
}
.wechat-template-library-overlay {
padding: 0;
}
.wechat-template-library {
left: 8px;
width: calc(100vw - 16px);
height: calc(100vh - 16px);
}
.wechat-article-edit-workbench {
height: auto;
grid-template-columns: minmax(0, 1fr);
}
.wechat-article-scroll[data-step="4"] {
overflow-y: auto;
}
.wechat-article-scroll[data-step="4"] > .wechat-article-panel {
height: auto;
}
.wechat-article-image-panel {
border-top: 1px solid var(--border-hairline);
border-inline-start: 0;
}
.wechat-article-editor-pane .wechat-article-editor {
min-height: 480px;
}
.wechat-result-image-assets > div {
grid-template-columns: minmax(0, 1fr);
}
.wechat-template-top-filters {
padding: 8px 10px;
}
.wechat-template-library-body {
display: block;
overflow-y: auto;
}
.wechat-template-categories {
display: flex;
overflow-x: auto;
padding: 9px 10px;
border-inline-end: 0;
border-bottom: 1px solid var(--border-hairline);
}
.wechat-template-categories button {
flex: 0 0 auto;
gap: 12px;
}
.wechat-template-browser {
min-height: 430px;
}
.wechat-template-grid {
grid-template-columns: minmax(0, 1fr);
overflow-y: visible;
}
.wechat-template-detail {
min-height: 360px;
border-top: 1px solid var(--border-hairline);
border-inline-start: 0;
}
.wechat-inspiration-workbench {
grid-template-columns: minmax(0, 1fr);
}
.wechat-inspiration-library {
min-height: 260px;
border-inline-end: 0;
border-bottom: 1px solid var(--border-hairline);
}
.wechat-inspiration-add {
padding: 18px;
}
.wechat-inspiration-dropzone {
min-height: 190px;
padding: 22px 18px;
}
.wechat-inspiration-capacity {
align-items: flex-start;
flex-direction: column;
gap: 4px;
}
.wechat-inspiration-capacity small {
text-align: start;
}
.wechat-layout-list {
grid-template-columns: minmax(0, 1fr);
}
.wechat-layout-workbench {
grid-template-columns: minmax(0, 1fr);
}
.wechat-layout-sidebar {
position: static;
max-height: none;
padding-top: 12px;
padding-inline-start: 0;
border-top: 1px solid var(--border-hairline);
border-inline-start: 0;
}
.wechat-layout-sidebar .wechat-layout-list {
grid-template-columns: none;
grid-auto-columns: 220px;
grid-auto-flow: column;
overflow-x: auto;
overflow-y: hidden;
padding-inline-end: 0;
padding-bottom: 3px;
}
.wechat-topic-list label {
grid-template-columns: minmax(0, 1fr);
}
.wechat-article-preview {
padding: 20px;
}
}
.video-generation-result {
display: grid;
gap: 10px;
}
.video-generation-result video {
width: 100%;
max-height: 460px;
display: block;
border-radius: 7px;
background: #101010;
object-fit: contain;
}
.video-generation-preview {
min-width: 0;
display: grid;
gap: 6px;
margin: 0;
}
.video-generation-preview figcaption {
order: -1;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 4px 12px;
color: var(--muted);
font-size: 11px;
}
.video-generation-preview output {
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.video-generation-result[data-ratio="16:9"] video {
aspect-ratio: 16 / 9;
}
.video-generation-result[data-ratio="9:16"] video {
width: min(260px, 100%);
aspect-ratio: 9 / 16;
margin: 0 auto;
}
.video-generation-result[data-ratio="1:1"] video {
width: min(420px, 100%);
aspect-ratio: 1;
margin: 0 auto;
}
.video-generation-result > div {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.video-generation-result > div > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-generation-result > div > span strong,
.video-generation-result > div > span small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-generation-result > div > span strong {
font-size: 12px;
font-weight: 620;
}
.video-generation-result > div > span small {
color: var(--subtle);
font-size: 10px;
}
.video-generation-result > div > div {
flex: 0 0 auto;
display: flex;
gap: 8px;
}
.video-generation-result > div > div > .creator-tool-primary {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-generation-background-note {
margin: 12px 0 0;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.creator-task-progress-notice {
min-width: 0;
display: grid;
gap: 8px;
margin-bottom: 14px;
padding: 12px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.creator-task-progress-notice-heading {
display: flex;
align-items: center;
gap: 8px;
color: var(--accent);
font-size: 12px;
}
.creator-task-progress-notice-heading > svg {
flex: 0 0 auto;
}
.creator-task-progress-phase {
color: var(--subtle);
font-size: 11px;
font-variant-numeric: tabular-nums;
}
.creator-collaboration-stage-details {
min-width: 0;
display: grid;
gap: 6px;
}
.creator-collaboration-stage-message {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.55;
overflow-wrap: anywhere;
}
.creator-collaboration-stage-timing {
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
}
.media-generation-actions {
margin-top: 0;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
}
.smart-dubbing-sample {
min-height: 30px;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 10px;
padding: 0;
border: 0;
background: transparent;
color: var(--muted);
font-size: 11px;
font-weight: 580;
}
.smart-dubbing-sample:hover {
background: transparent;
color: var(--text);
}
.smart-dubbing-control-group {
display: grid;
gap: 8px;
margin-top: 18px;
}
.smart-dubbing-provider-row {
display: flex;
justify-content: space-between;
gap: 12px;
min-width: 0;
}
.smart-dubbing-provider-row strong {
color: var(--text);
font-size: 12px;
}
.smart-dubbing-provider-row small {
color: var(--subtle);
font-size: 11px;
overflow-wrap: anywhere;
text-align: end;
}
.smart-dubbing-control-group:first-of-type {
margin-top: 0;
}
.smart-dubbing-control-group > span,
.smart-dubbing-speed > span {
color: var(--muted);
font-size: 12px;
font-weight: 560;
}
.smart-dubbing-voice-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.smart-dubbing-voice-grid > div {
position: relative;
min-width: 0;
}
.smart-dubbing-voice-grid > div > button:first-child {
width: 100%;
min-width: 0;
min-height: 74px;
display: grid;
grid-template-columns: 30px minmax(0, 1fr);
grid-template-rows: auto auto;
align-content: center;
column-gap: 9px;
padding: 10px 38px 10px 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--text);
text-align: start;
}
.smart-dubbing-voice-grid > div > button:first-child > span {
grid-row: 1 / 3;
width: 30px;
height: 30px;
display: grid;
place-items: center;
align-self: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.smart-dubbing-voice-grid strong {
overflow: hidden;
font-size: 12px;
font-weight: 620;
text-overflow: ellipsis;
white-space: nowrap;
}
.smart-dubbing-voice-grid small {
overflow: hidden;
color: var(--subtle);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.smart-dubbing-voice-grid > div[data-selected="true"] > button:first-child {
border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
.smart-dubbing-voice-grid > div[data-selected="true"] > button:first-child > span {
background: color-mix(in srgb, var(--accent) 12%, var(--surface-2));
color: var(--accent);
}
.smart-dubbing-voice-preview {
position: absolute;
top: 50%;
right: 9px;
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
transform: translateY(-50%);
}
.smart-dubbing-voice-preview:hover:not(:disabled) {
border-color: var(--border-strong);
color: var(--text);
}
.smart-dubbing-voice-grid > div > button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.smart-dubbing-voice-preview:disabled {
color: var(--subtle);
cursor: wait;
}
.smart-dubbing-voice-audio {
display: none;
}
.smart-dubbing-style-options {
width: 100%;
flex-wrap: wrap;
margin-bottom: 0;
}
.smart-dubbing-style-options button {
flex: 1 1 96px;
}
.smart-dubbing-format-options {
margin-bottom: 0;
}
.smart-dubbing-format-options button {
min-width: 76px;
}
.smart-dubbing-speed {
display: grid;
gap: 9px;
margin-top: 18px;
}
.smart-dubbing-speed > span,
.smart-dubbing-speed > span > span,
.smart-dubbing-speed small {
display: flex;
align-items: center;
justify-content: space-between;
}
.smart-dubbing-speed > span > span {
justify-content: flex-start;
gap: 6px;
}
.smart-dubbing-speed output {
color: var(--text);
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.smart-dubbing-speed input {
width: 100%;
accent-color: var(--accent);
}
.smart-dubbing-speed small {
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
}
.smart-dubbing-result-icon {
width: 52px;
height: 52px;
display: grid;
place-items: center;
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
}
.smart-dubbing-result {
display: grid;
grid-template-columns: 52px minmax(0, 1fr);
gap: 12px;
padding-top: 8px;
}
.smart-dubbing-result > div:nth-child(2) {
min-width: 0;
display: grid;
align-content: center;
gap: 4px;
}
.smart-dubbing-result > div:nth-child(2) strong,
.smart-dubbing-result > div:nth-child(2) small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.smart-dubbing-result > div:nth-child(2) strong {
font-size: 13px;
font-weight: 620;
}
.smart-dubbing-result > div:nth-child(2) small {
color: var(--subtle);
font-size: 10px;
}
.smart-dubbing-result audio {
grid-column: 1 / -1;
width: 100%;
height: 42px;
margin-top: 8px;
}
.smart-dubbing-result-actions {
grid-column: 1 / -1;
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 8px;
}
.smart-dubbing-result-actions > button {
min-height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 13px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
font-weight: 620;
}
.smart-dubbing-result-actions > .creator-tool-primary {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.smart-dubbing-error {
min-height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 10px 0 0;
padding: 8px 11px;
border-inline-start: 2px solid #c94b4b;
background: color-mix(in srgb, #c94b4b 7%, var(--surface));
color: #b33d3d;
font-size: 12px;
}
.smart-dubbing-error a {
flex: 0 0 auto;
color: var(--accent);
font-weight: 620;
text-decoration: none;
}
.smart-dubbing-error a:hover {
text-decoration: underline;
}
.xiaohongshu-post-fields,
.short-video-script-fields,
.xiaohongshu-post-control-group {
display: grid;
gap: 16px;
}
.xiaohongshu-post-control-group {
gap: 8px;
}
.xiaohongshu-post-control-group > span {
color: var(--muted);
font-size: 12px;
font-weight: 560;
}
.xiaohongshu-post-control-group .creator-tool-segmented {
max-width: 100%;
flex-wrap: wrap;
margin: 0;
}
.xiaohongshu-post-result-panel textarea {
min-height: 300px;
}
.short-video-script-options {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.short-video-script-result-panel textarea {
min-height: 360px;
}
.xiaohongshu-post-result-panel .creator-tool-panel-heading > small,
.short-video-script-result-panel .creator-tool-panel-heading > small {
min-width: 0;
overflow: hidden;
color: var(--subtle);
text-overflow: ellipsis;
}
.xiaohongshu-post-result-actions,
.short-video-script-result-actions {
margin-top: 12px;
}
.xiaohongshu-post-empty,
.short-video-script-empty {
min-height: 300px;
display: grid;
place-items: center;
align-content: center;
gap: 9px;
border: 1px dashed var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--subtle);
font-size: 12px;
}
.xiaohongshu-post-error,
.short-video-script-error {
min-height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 8px 11px;
border-inline-start: 2px solid #c94b4b;
background: color-mix(in srgb, #c94b4b 7%, var(--surface));
color: #b33d3d;
font-size: 12px;
}
.xiaohongshu-post-error a,
.short-video-script-error a {
flex: 0 0 auto;
color: var(--accent);
font-weight: 620;
text-decoration: none;
}
.xiaohongshu-post-error a:hover,
.short-video-script-error a:hover {
text-decoration: underline;
}
.xiaohongshu-post-spinner,
.short-video-script-spinner {
animation: smart-dubbing-spin 0.9s linear infinite;
}
@media (max-width: 700px) {
.short-video-script-options {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 500px) {
.xiaohongshu-post-control-group .creator-tool-segmented button {
padding: 0 7px;
font-size: 11px;
}
}
@media (prefers-reduced-motion: reduce) {
.xiaohongshu-post-spinner,
.short-video-script-spinner { animation: none; }
}
.smart-dubbing-spinner {
animation: smart-dubbing-spin 0.9s linear infinite;
}
@keyframes smart-dubbing-spin {
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.smart-dubbing-spinner { animation: none; }
}
.creator-tool-or {
position: relative;
margin: 14px 0;
border-top: 1px solid var(--border-hairline);
text-align: center;
}
.creator-tool-or span {
position: relative;
top: -9px;
padding: 0 9px;
background: var(--surface);
color: var(--subtle);
font-size: 11px;
}
.creator-tool-agent {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto auto minmax(0, 1fr) auto auto;
overflow: hidden;
background: var(--surface);
}
.creator-tool-agent > header {
display: grid;
grid-template-columns: 36px minmax(0, 1fr);
align-items: center;
gap: 11px;
padding: 16px;
border-bottom: 1px solid var(--border-hairline);
}
.creator-tool-agent > header > span {
width: 36px;
height: 36px;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 11%, var(--surface-2));
color: var(--accent);
}
.creator-tool-agent h2 {
font-size: 15px;
font-weight: 650;
}
.creator-tool-agent > header p {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
}
.creator-tool-agent-context {
min-width: 0;
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: center;
gap: 9px;
margin: 14px 14px 0;
padding: 10px 12px;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.creator-tool-agent-context > span {
min-width: 0;
display: grid;
gap: 2px;
}
.creator-tool-agent-context small {
color: var(--subtle);
font-size: 11px;
}
.creator-tool-agent-context strong {
overflow: hidden;
color: var(--text);
font-size: 13px;
font-weight: 580;
text-overflow: ellipsis;
white-space: nowrap;
}
.creator-tool-agent-messages {
min-height: 0;
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
padding: 16px 14px;
}
.creator-tool-agent-messages > div {
max-width: 88%;
display: flex;
align-items: flex-start;
gap: 8px;
}
.creator-tool-agent-messages > div[data-role="user"] {
align-self: flex-end;
padding: 9px 11px;
border-radius: 7px;
background: var(--surface-2);
}
.creator-tool-agent-messages svg {
flex: 0 0 auto;
margin-top: 3px;
color: var(--accent);
}
.creator-tool-agent-messages p {
color: var(--text);
font-size: 13px;
line-height: 1.55;
}
.creator-tool-agent-suggestions {
display: flex;
flex-wrap: wrap;
gap: 6px;
padding: 0 14px 12px;
}
.creator-tool-agent-suggestions button {
min-height: 30px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
font-size: 11px;
}
.creator-tool-agent-suggestions button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.tool-agent-composer {
position: relative;
z-index: 3;
min-width: 0;
display: grid;
gap: 8px;
margin: 0 14px 14px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
box-sizing: border-box;
}
.tool-agent-composer:focus-within {
border-color: var(--border-strong);
outline: 2px solid color-mix(in srgb, var(--text) 6%, transparent);
outline-offset: 1px;
}
.tool-agent-composer-input {
min-width: 0;
display: grid;
}
.tool-agent-composer textarea {
width: 100%;
min-width: 0;
min-height: 120px;
max-height: 180px;
resize: none;
overflow-y: auto;
padding: 2px;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 14px;
line-height: 1.55;
box-sizing: border-box;
}
.tool-agent-composer textarea::placeholder {
color: var(--subtle);
}
.tool-agent-composer-attachments {
min-width: 0;
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.tool-agent-composer-attachments > span {
min-width: 0;
max-width: 100%;
height: 30px;
display: inline-grid;
grid-template-columns: 15px minmax(0, 1fr) 24px;
align-items: center;
gap: 6px;
padding: 0 3px 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.tool-agent-composer-attachments strong {
overflow: hidden;
color: var(--text);
font-size: 12px;
font-weight: 550;
text-overflow: ellipsis;
white-space: nowrap;
}
.tool-agent-composer-attachments button {
width: 24px;
height: 24px;
display: grid;
place-items: center;
padding: 0;
border-radius: 6px;
color: var(--muted);
}
.tool-agent-composer-attachments button:hover {
background: var(--state-hover-bg);
color: var(--text);
}
.tool-agent-composer-toolbar,
.tool-agent-composer-actions {
min-width: 0;
display: flex;
align-items: center;
}
.tool-agent-composer-toolbar {
justify-content: space-between;
gap: 12px;
}
.tool-agent-composer-actions {
gap: 8px;
}
.tool-agent-composer-actions:first-child {
flex: 1 1 auto;
}
.tool-agent-composer-actions-right {
flex: 0 1 auto;
justify-content: flex-end;
}
.tool-agent-composer-control {
position: relative;
min-width: 0;
display: inline-flex;
}
.tool-agent-composer-icon-button,
.tool-agent-composer-send {
width: 38px;
height: 38px;
min-height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
border-radius: 999px;
background: transparent;
color: color-mix(in srgb, var(--text) 76%, transparent);
}
.tool-agent-composer-icon-button:hover {
background: color-mix(in srgb, var(--text) 5%, transparent);
color: var(--text);
}
.tool-agent-composer-select {
min-width: 0;
max-width: 126px;
min-height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 0 2px;
border: 0;
border-radius: 0;
background: transparent;
color: color-mix(in srgb, var(--text) 70%, transparent);
font-size: 12px;
font-weight: 400;
line-height: 1;
white-space: nowrap;
}
.tool-agent-composer-select:hover,
.tool-agent-composer-select[aria-expanded="true"] {
background: transparent;
color: var(--text);
}
.tool-agent-composer-select span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tool-agent-composer-actions-right .tool-agent-composer-select {
max-width: 104px;
}
.tool-agent-composer-send {
flex: 0 0 38px;
border-radius: 8px;
background: var(--accent);
color: var(--on-accent);
}
.tool-agent-composer-send:hover:not(:disabled) {
background: color-mix(in srgb, var(--accent) 90%, var(--text));
}
.tool-agent-composer-send:disabled {
background: var(--surface-2);
color: var(--subtle);
cursor: default;
}
.tool-agent-composer-file-input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
}
.tool-agent-composer-menu {
position: absolute;
z-index: 12;
bottom: calc(100% + 8px);
left: 0;
width: max-content;
min-width: 180px;
max-width: min(300px, calc(100vw - 32px));
display: grid;
gap: 2px;
padding: 6px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--popover);
color: var(--text);
}
.tool-agent-composer-model-menu {
right: 0;
left: auto;
min-width: 190px;
}
.tool-agent-composer-option-menu {
width: min(290px, calc(100vw - 32px));
}
.tool-agent-composer-menu > button {
width: 100%;
min-width: 0;
min-height: 38px;
display: grid;
grid-template-columns: 22px minmax(0, 1fr);
align-items: center;
gap: 8px;
padding: 7px 8px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--text);
text-align: start;
}
.tool-agent-composer-add-menu > button {
grid-template-columns: 18px minmax(0, 1fr);
}
.tool-agent-composer-menu > button:hover {
background: var(--state-hover-bg);
}
.tool-agent-composer-menu > button > span:not(.tool-agent-composer-check) {
min-width: 0;
display: grid;
gap: 3px;
}
.tool-agent-composer-menu strong {
font-size: 13px;
font-weight: 590;
line-height: 1.25;
}
.tool-agent-composer-menu small {
color: var(--muted);
font-size: 11px;
line-height: 1.35;
}
.tool-agent-composer-check {
width: 22px;
height: 22px;
display: grid;
place-items: center;
color: var(--accent);
}
.tool-agent-composer button:focus-visible {
outline: 2px solid color-mix(in srgb, var(--text) 42%, transparent);
outline-offset: 2px;
}
.creator-tool-url-input {
height: 44px;
display: grid;
grid-template-columns: 18px minmax(0, 1fr) auto;
align-items: center;
gap: 9px;
padding: 0 5px 0 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
color: var(--subtle);
}
.creator-tool-url-input input {
min-width: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 13px;
}
.video-download-formats-pane {
container: video-download-formats / inline-size;
}
.video-download-source-column {
min-width: 0;
display: grid;
gap: 18px;
}
.video-download-result-toolbar {
gap: 8px;
}
.video-download-result-toolbar .video-result-tabs > button {
padding-inline: 8px;
}
.video-download-result-toolbar .video-download-add-button {
flex: none;
min-height: 38px;
padding-inline: 8px;
font-size: 12px;
white-space: nowrap;
}
.video-download-add-button,
.video-download-add-form button,
.video-download-batch-error button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 34px;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font: inherit;
font-size: 13px;
cursor: pointer;
}
.video-download-add-button:hover,
.video-download-add-form button:hover,
.video-download-source-action:hover {
background: var(--surface-2);
}
.video-download-add-form {
display: grid;
gap: 8px;
}
.video-download-add-form label {
font-size: 13px;
font-weight: 600;
}
.video-download-link-input {
--video-download-valid: #6ee7b7;
position: relative;
min-width: 0;
}
[data-theme="light"] .video-download-link-input {
--video-download-valid: #166534;
}
.video-download-add-form input {
box-sizing: border-box;
width: 100%;
height: 44px;
padding: 10px 80px 10px 12px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 13px;
line-height: 1.6;
}
.video-download-link-input[data-valid="true"] input {
border-color: color-mix(in srgb, var(--video-download-valid) 55%, var(--border));
}
.video-download-link-valid {
position: absolute;
top: 0;
right: 44px;
display: grid;
place-items: center;
width: 32px;
height: 44px;
color: var(--video-download-valid);
pointer-events: none;
}
.video-download-add-form .video-download-clear-link {
position: absolute;
top: 0;
right: 0;
width: 44px;
min-height: 44px;
padding: 0;
border: 0;
background: transparent;
color: var(--muted);
}
.video-download-add-form .video-download-clear-link:hover:not(:disabled) {
background: var(--surface-2);
color: var(--text);
}
.video-download-add-form-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.video-download-add-form button[type='submit'] {
background: var(--accent);
border-color: var(--accent);
color: var(--on-accent);
}
.video-download-add-form button:disabled,
.video-download-source-action:disabled {
opacity: .5;
cursor: default;
}
.video-download-batch-error {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
color: var(--danger, #c93434);
font-size: 13px;
overflow-wrap: anywhere;
}
.video-download-source-list {
display: grid;
gap: 4px;
max-height: 260px;
overflow-y: auto;
margin: 0;
padding: 0;
list-style: none;
}
.video-download-source-list li {
display: flex;
align-items: center;
min-width: 0;
padding: 4px;
border: 1px solid transparent;
border-radius: 6px;
}
.video-download-source-list li[data-selected='true'] {
border-color: var(--border);
background: var(--surface-2);
}
.video-download-source-select {
display: flex;
flex: 1;
align-items: center;
min-width: 0;
gap: 8px;
min-height: 44px;
padding: 2px;
border: 0;
background: transparent;
color: var(--text);
text-align: start;
cursor: pointer;
}
.video-download-source-select > img,
.video-download-source-select > .video-download-image-placeholder,
.video-download-source-select > svg {
flex: none;
width: 40px;
height: 30px;
object-fit: cover;
border-radius: 4px;
color: var(--muted);
}
.video-download-source-select > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-download-source-select strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
font-weight: 600;
}
.video-download-source-select small {
color: var(--muted);
font-size: 11px;
}
.video-download-source-action {
display: grid;
place-items: center;
flex: none;
width: 30px;
height: 32px;
padding: 0;
border: 0;
border-radius: 4px;
background: transparent;
color: var(--muted);
cursor: pointer;
}
.video-download-work-source {
margin: 12px 0 4px;
font-size: 13px;
font-weight: 600;
overflow-wrap: anywhere;
}
@media (max-width: 540px) {
.video-download-workspace-page .creator-workspace-header {
padding-inline: 12px;
gap: 8px;
}
.video-download-workspace-page .creator-workspace-header p {
display: none;
}
}
.video-download-formats-layout {
display: grid;
grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
align-items: start;
gap: 24px;
}
.video-download-preview,
.video-download-preview > div,
.video-download-format-list {
min-width: 0;
}
.video-download-preview img {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
border-radius: 7px;
}
.video-download-preview > .video-download-thumbnail {
position: relative;
margin-top: 0;
}
.video-download-thumbnail img {
display: block;
}
.video-download-image-placeholder {
display: grid;
place-items: center;
background: var(--surface);
color: var(--muted);
}
.video-download-thumbnail > .video-download-image-placeholder {
width: 100%;
aspect-ratio: 16 / 9;
border-radius: 7px;
}
.video-download-thumbnail-button {
position: absolute;
right: 8px;
bottom: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 30px;
padding: 5px 10px;
border: 1px solid rgb(255 255 255 / 30%);
border-radius: 6px;
background: rgb(20 20 20 / 88%);
color: #fff;
font: inherit;
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.video-download-thumbnail-button:hover {
background: #141414;
}
.video-download-thumbnail-button:disabled {
opacity: .65;
cursor: default;
}
@container video-download-formats (max-width: 560px) {
.video-download-thumbnail-button { right: 4px; bottom: 4px; width: 28px; min-height: 28px; padding: 0; }
.video-download-thumbnail-button > span { display: none; }
}
.video-download-preview-placeholder {
width: 100%;
aspect-ratio: 16 / 9;
display: grid;
place-items: center;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.video-download-preview > div > span {
color: var(--accent);
font-size: 11px;
font-weight: 650;
}
.video-download-preview h2 {
margin-top: 5px;
font-size: 17px;
line-height: 1.4;
overflow-wrap: anywhere;
}
.video-download-preview p {
margin-top: 6px;
color: var(--muted);
font-size: 12px;
overflow-wrap: anywhere;
}
.video-download-preview > div {
margin-top: 12px;
}
@container video-download-formats (max-width: 560px) {
.video-download-formats-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.video-download-preview { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start; gap: 12px; }
.video-download-preview > div { margin-top: 0; }
.video-download-format-list > .video-result-pane-heading { flex-wrap: wrap; }
}
.video-download-options {
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
}
.video-download-language-field {
width: min(100%, 280px);
margin: -4px 0 16px;
}
.video-download-options > label {
min-height: 56px;
display: grid;
grid-template-columns: 18px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 8px 10px 8px 13px;
}
.video-download-options > label + label {
border-top: 1px solid var(--border-hairline);
}
.video-download-options > label > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-download-options strong {
font-size: 13px;
}
.video-download-options small {
color: var(--muted);
font-size: 11px;
}
.video-download-options > label[data-downloaded="true"] {
background: color-mix(in srgb, var(--success) 5%, transparent);
}
.video-download-options button {
height: 32px;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
}
.video-download-options button:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.video-download-option-complete {
height: 32px;
display: inline-flex !important;
grid-auto-flow: column;
align-items: center;
gap: 5px !important;
padding: 0 9px;
border: 1px solid color-mix(in srgb, var(--success) 34%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--success) 8%, var(--surface));
color: var(--success);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.download-result-workspace {
height: auto;
min-height: 480px;
}
.download-result-workspace .creator-result-layout {
grid-template-columns: minmax(0, 1fr);
}
.download-record-list {
display: grid;
gap: 8px;
}
.video-result-file-row.video-download-progress-row {
grid-template-columns: 40px minmax(0, 1fr) auto;
}
.video-result-file-row > .video-download-file-actions {
display: inline-flex;
align-items: center;
justify-self: end;
gap: 6px;
}
.video-download-file-actions button {
width: 32px;
height: 32px;
display: inline-grid;
place-items: center;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
}
.video-result-file-row > .video-download-media-preview {
width: 100%;
grid-column: 1 / -1;
display: grid;
gap: 8px;
}
.video-download-media-preview > video {
width: 100%;
max-height: min(54vh, 520px);
aspect-ratio: 16 / 9;
border-radius: 7px;
background: #000;
object-fit: contain;
}
.video-download-media-preview > audio {
width: 100%;
min-height: 40px;
}
.video-download-media-status {
min-height: 64px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
font-size: 12px;
}
.video-download-media-status[data-tone="danger"] {
color: var(--danger);
}
.video-download-media-status > button {
height: 30px;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
white-space: nowrap;
}
.video-download-progress-row[data-status="running"] {
border-color: color-mix(in srgb, var(--accent) 24%, var(--border));
}
.video-download-progress-row[data-status="failed"] {
border-color: color-mix(in srgb, var(--danger) 30%, var(--border));
}
.video-download-progress-row[data-status="failed"] > span:first-child,
.video-download-progress-row[data-status="failed"] > .video-download-row-status {
color: var(--danger);
}
.video-download-row-progress {
width: 100%;
height: 4px;
overflow: hidden;
border-radius: 2px;
background: var(--surface-2);
}
.video-download-row-progress > span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--accent);
transition: width 180ms ease;
}
.video-download-row-progress[data-indeterminate="true"] > span,
.creator-collaboration-stage-progress[data-indeterminate="true"] > span {
width: 34%;
animation: creator-progress-indeterminate 1.2s ease-in-out infinite;
}
.video-result-file-row > .video-download-row-status,
.video-download-row-controls > .video-download-row-status {
width: auto;
height: auto;
display: block;
justify-self: end;
border-radius: 0;
background: transparent;
color: var(--muted);
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
.video-result-file-row > .video-download-row-controls {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: nowrap;
gap: 8px;
}
.video-download-row-controls button {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 5px 8px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font: inherit;
font-size: 12px;
white-space: nowrap;
cursor: pointer;
}
.video-download-row-controls button:hover:not(:disabled) { background: var(--surface-2); }
.video-download-row-controls button:disabled { opacity: .5; cursor: default; }
.video-download-row-controls .video-download-cancel-button { border-color: transparent; background: transparent; color: var(--muted); }
.stickman-character-picker {
display: block;
margin-top: 16px;
}
.stickman-character-presets {
width: 100%;
min-width: 0;
display: grid;
grid-template-columns: repeat(6, minmax(64px, 1fr));
align-content: start;
gap: 8px;
}
.stickman-character-presets > button {
position: relative;
min-width: 0;
display: grid;
gap: 3px;
padding: 4px 6px;
border: 1px solid transparent;
border-radius: 8px;
outline: 0;
background: transparent;
color: var(--text);
text-align: center;
}
.stickman-character-presets > button:hover {
border-color: transparent;
background: var(--surface-2);
}
.stickman-character-presets > button:focus-visible {
border-color: var(--border-strong);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 6%, transparent);
}
.stickman-character-presets > button[aria-checked="true"] {
border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.stickman-character-preset-visual {
position: relative;
width: 100%;
height: 124px;
display: grid;
place-items: center;
margin-bottom: 2px;
overflow: hidden;
padding: 6px 6px 10px;
background: transparent;
color: var(--text);
box-sizing: border-box;
}
.stickman-character-preset-visual img {
position: absolute;
inset: 6px 6px 10px;
width: calc(100% - 12px);
height: calc(100% - 16px);
display: block;
object-fit: contain;
object-position: center;
}
.stickman-character-presets strong {
width: 100%;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-character-presets strong {
font-size: 11px;
font-weight: 620;
}
.stickman-character-preset-check {
position: absolute;
top: 10px;
left: 10px;
color: var(--accent);
}
.stickman-character-selected {
min-width: 0;
display: block;
padding: 0;
border: 0;
border-radius: 8px;
background: transparent;
box-sizing: border-box;
}
.stickman-character-selected > div {
position: relative;
width: 100%;
height: 308px;
display: grid;
place-items: center;
overflow: hidden;
margin-bottom: 3px;
padding: 10px 8px 16px;
background: transparent;
box-sizing: border-box;
}
.stickman-character-selected img {
position: absolute;
inset: 10px 8px 16px;
width: calc(100% - 16px);
height: calc(100% - 26px);
display: block;
object-fit: contain;
object-position: center;
}
@media (max-width: 760px) {
.stickman-character-presets {
grid-template-columns: repeat(3, minmax(72px, 1fr));
}
}
.stickman-asset-catalog-state {
min-height: 124px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
color: var(--text-muted);
font-size: 12px;
}
.stickman-asset-catalog-state.is-error {
color: var(--danger);
}
.stickman-style-field {
align-self: start;
}
.stickman-style-summary {
min-height: 88px;
display: grid;
grid-template-columns: 76px minmax(0, 1fr);
align-items: stretch;
gap: 10px;
padding: 9px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface-2);
}
.stickman-style-swatch {
position: relative;
min-height: 68px;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--stickman-style-fg) 18%, transparent);
border-radius: 4px;
background: var(--stickman-style-bg);
}
.stickman-style-swatch i {
position: absolute;
left: 11px;
right: 11px;
height: 3px;
border-radius: 2px;
background: var(--stickman-style-fg);
transform-origin: left center;
}
.stickman-style-swatch i:nth-child(1) {
top: 18px;
transform: rotate(-7deg);
}
.stickman-style-swatch i:nth-child(2) {
top: 34px;
right: 22px;
background: var(--stickman-style-accent);
transform: rotate(4deg);
}
.stickman-style-swatch i:nth-child(3) {
top: 50px;
left: 22px;
transform: rotate(-2deg);
}
.stickman-style-swatch[data-texture="paper"] {
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--stickman-style-accent) 12%, transparent);
}
.stickman-style-swatch[data-texture="screentone"] i:nth-child(2) {
height: 8px;
opacity: 0.55;
}
.stickman-style-swatch[data-texture="marker"] i {
height: 5px;
}
.stickman-style-copy {
min-width: 0;
display: grid;
align-content: start;
gap: 4px;
}
.stickman-style-copy strong,
.stickman-style-copy small {
min-width: 0;
overflow-wrap: anywhere;
}
.stickman-style-copy strong {
color: var(--text);
font-size: 12px;
font-weight: 650;
}
.stickman-style-copy small {
color: var(--text-muted);
font-size: 11px;
line-height: 1.45;
}
.stickman-style-copy > span {
display: flex;
flex-wrap: wrap;
gap: 3px 8px;
margin-top: 2px;
}
.stickman-style-copy em {
color: var(--text-subtle);
font-size: 10px;
font-style: normal;
}
.stickman-character-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 180px;
gap: 14px;
}
.stickman-character-grid > .creator-tool-field {
align-self: start;
}
.stickman-character-preview,
.stickman-character-empty {
width: 100%;
aspect-ratio: 4 / 5;
min-height: 0;
overflow: hidden;
padding: 8px 6px 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
box-sizing: border-box;
}
.stickman-character-preview img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
object-position: center;
}
.stickman-character-empty {
display: grid;
place-items: center;
align-content: center;
gap: 7px;
color: var(--subtle);
font-size: 11px;
text-align: center;
}
.creator-tool-actions > .creator-tool-secondary {
border-color: var(--border);
background: var(--surface);
color: var(--text);
}
.creator-tool-actions > .creator-tool-secondary:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.stickman-story-field textarea {
min-height: 112px;
}
.stickman-source-text textarea {
min-height: 156px;
}
.stickman-duration-control {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 8px;
}
.stickman-custom-duration {
position: relative;
display: block;
}
.stickman-custom-duration input {
padding-inline-end: 44px;
}
.stickman-custom-duration small {
position: absolute;
top: 50%;
right: 12px;
transform: translateY(-50%);
color: var(--subtle);
font-size: 11px;
pointer-events: none;
}
.stickman-voice-settings {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border-hairline);
}
.stickman-voice-settings + .stickman-tts-configuration {
margin-top: 16px;
}
.stickman-tts-configuration {
min-height: 48px;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--warning) 34%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--warning) 6%, var(--surface-2));
color: var(--muted);
}
.stickman-tts-configuration.is-configured {
grid-template-columns: auto minmax(0, 1fr);
border-color: var(--border);
background: var(--surface-2);
}
.stickman-tts-configuration > div {
min-width: 0;
display: grid;
gap: 2px;
}
.stickman-tts-configuration strong {
color: var(--text);
font-size: 12px;
}
.stickman-tts-configuration small {
color: var(--muted);
font-size: 11px;
line-height: 1.45;
}
.stickman-tts-configuration a {
color: var(--accent);
font-size: 12px;
font-weight: 620;
text-decoration: none;
white-space: nowrap;
}
.stickman-tts-configuration a:hover {
text-decoration: underline;
}
@media (max-width: 640px) {
.stickman-tts-configuration {
grid-template-columns: auto minmax(0, 1fr);
}
.stickman-tts-configuration a {
grid-column: 2;
justify-self: start;
white-space: normal;
}
}
.stickman-workspace-page .creator-tool-panel-heading {
align-items: center;
justify-content: flex-start;
}
.stickman-workspace-page .creator-tool-panel-heading > span {
width: 32px;
height: 32px;
flex: 0 0 auto;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
}
.stickman-story-panel .creator-tool-segmented button[aria-selected="true"] {
border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--accent);
box-shadow: none;
}
.stickman-story-panel .creator-tool-field input:focus,
.stickman-story-panel .creator-tool-field textarea:focus,
.stickman-story-panel .creator-tool-field :is(select, .app-select-trigger):focus {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.creator-workspace-page .stickman-story-panel :is(select, .app-select-trigger):focus-visible {
outline: 0;
}
.stickman-script-step {
min-width: 0;
min-height: 0;
height: 100%;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 14px;
}
.stickman-script-panel {
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
padding-bottom: 4px;
}
.stickman-script-heading-copy {
min-width: 0;
flex: 1 1 auto;
}
.stickman-script-heading-copy > input {
width: 100%;
height: 32px;
padding: 0 8px;
border: 1px solid transparent;
border-radius: 6px;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 17px;
font-weight: 650;
box-sizing: border-box;
}
.stickman-script-heading-copy > input:hover {
border-color: var(--border);
background: var(--conversation-bg);
}
.stickman-script-heading-copy > input:focus {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
background: var(--conversation-bg);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.stickman-script-heading-copy > p {
padding-inline-start: 8px;
}
.creator-tool-panel-heading > .stickman-script-unsaved {
margin-inline-start: auto;
color: var(--accent);
}
.stickman-script-placeholder-heading {
min-width: 0;
flex: 1 1 auto;
}
.stickman-script-placeholder-heading h2,
.stickman-script-placeholder-heading p {
margin: 0;
letter-spacing: 0;
}
.stickman-script-placeholder-heading h2 {
font-size: 16px;
font-weight: 650;
}
.stickman-script-placeholder-heading p {
margin-top: 4px;
color: var(--muted);
font-size: 11px;
}
.stickman-script-placeholder > .creator-tool-panel-heading > .creator-collaboration-spin {
flex: 0 0 auto;
color: var(--accent);
}
.stickman-script-editor {
min-height: 0;
display: grid;
align-content: start;
overflow-y: auto;
padding-inline-end: 8px;
border-top: 1px solid var(--border-hairline);
scrollbar-gutter: stable;
}
.stickman-script-skeleton-row {
pointer-events: none;
}
.stickman-script-skeleton-duration,
.stickman-script-skeleton-box,
.stickman-script-skeleton-box > i {
display: block;
border-radius: 5px;
background: color-mix(in srgb, var(--text) 8%, var(--surface-2));
}
.stickman-script-skeleton-duration {
width: 58px;
height: 32px;
}
.stickman-script-skeleton-fields {
min-width: 0;
display: grid;
gap: 12px;
}
.stickman-script-skeleton-fields > div {
min-width: 0;
display: grid;
gap: 6px;
}
.stickman-script-skeleton-fields span {
color: var(--muted);
font-size: 11px;
font-weight: 580;
}
.stickman-script-skeleton-box {
min-height: 64px;
display: grid;
align-content: center;
gap: 10px;
padding: 10px 11px;
border: 1px solid var(--border);
background: var(--conversation-bg);
box-sizing: border-box;
}
.stickman-script-skeleton-box.is-narration {
min-height: 82px;
}
.stickman-script-skeleton-box > i {
width: 88%;
height: 8px;
animation: stickman-script-skeleton-pulse 1.25s ease-in-out infinite alternate;
}
.stickman-script-skeleton-box > .is-medium {
width: 68%;
animation-delay: 120ms;
}
.stickman-script-skeleton-box > .is-short {
width: 42%;
animation-delay: 240ms;
}
.stickman-script-placeholder-actions {
min-height: 0;
display: grid;
place-content: center;
padding: 28px;
}
.stickman-script-placeholder-actions button {
justify-self: center;
}
@keyframes stickman-script-skeleton-pulse {
from { opacity: 0.48; }
to { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
.stickman-script-skeleton-box > i {
animation: none;
}
}
.stickman-script-row {
min-width: 0;
display: grid;
grid-template-columns: 72px minmax(0, 1fr);
align-items: start;
gap: 18px;
padding: 18px 0;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-script-row:last-child {
border-bottom: 0;
}
.stickman-script-meta {
min-width: 0;
display: grid;
align-content: start;
gap: 10px;
padding-top: 2px;
}
.stickman-script-meta > strong {
color: var(--text);
font-size: 13px;
font-weight: 680;
}
.stickman-script-meta > label {
width: 64px;
height: 32px;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--conversation-bg);
box-sizing: border-box;
}
.stickman-script-meta input {
width: 100%;
min-width: 0;
height: 30px;
padding: 0 2px 0 8px;
border: 0;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-size: 11px;
box-sizing: border-box;
}
.stickman-script-meta small {
padding-inline-end: 6px;
color: var(--subtle);
font-size: 9px;
pointer-events: none;
}
.stickman-script-meta > label:focus-within {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.stickman-script-fields {
min-width: 0;
display: grid;
gap: 12px;
}
.stickman-script-fields > label {
min-width: 0;
display: grid;
gap: 6px;
}
.stickman-script-fields > label > span {
color: var(--muted);
font-size: 11px;
font-weight: 580;
}
.stickman-script-fields input,
.stickman-script-fields textarea {
width: 100%;
border: 1px solid var(--border);
border-radius: 7px;
outline: 0;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 13px;
line-height: 1.65;
box-sizing: border-box;
}
.stickman-script-fields input {
height: 38px;
padding: 0 11px;
font-weight: 620;
}
.stickman-script-fields textarea {
min-height: 82px;
max-height: 240px;
padding: 9px 11px;
resize: vertical;
field-sizing: content;
}
.stickman-script-fields input:focus,
.stickman-script-fields textarea:focus {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.stickman-script-actions {
justify-content: space-between;
margin-top: 0;
padding: 14px 0 2px;
background: var(--conversation-bg);
}
.stickman-source-actions.has-next {
justify-content: space-between;
gap: 12px;
}
.stickman-storyboard-editor {
display: grid;
margin-top: 18px;
}
.stickman-storyboard-step {
min-width: 0;
min-height: 0;
height: 100%;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 14px;
}
.stickman-storyboard-review {
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
padding-bottom: 4px;
}
.stickman-storyboard-review .stickman-storyboard-editor {
min-height: 0;
overflow-y: auto;
margin-top: 0;
padding-inline-end: 8px;
scrollbar-gutter: stable;
}
.stickman-storyboard-placeholder > .creator-tool-panel-heading > .creator-collaboration-spin {
flex: 0 0 auto;
color: var(--accent);
}
.stickman-storyboard-placeholder[data-state="failed"] .stickman-storyboard-editor {
align-content: start;
gap: 12px;
}
.stickman-storyboard-placeholder[data-state="failed"] .video-translation-secondary-action {
justify-self: start;
}
.stickman-storyboard-loading-row {
pointer-events: none;
}
.stickman-storyboard-placeholder-image {
display: grid;
place-items: center;
border: 1px solid var(--border-hairline);
background: color-mix(in srgb, var(--text) 5%, var(--surface-2));
}
.stickman-storyboard-placeholder-image-status {
display: grid;
justify-items: center;
gap: 7px;
color: var(--muted);
}
.stickman-storyboard-placeholder-image-status small {
font-size: 10px;
}
.stickman-storyboard-description-skeleton,
.stickman-storyboard-narration-skeleton {
min-width: 0;
display: grid;
align-content: center;
gap: 9px;
}
.stickman-storyboard-description-skeleton {
min-height: 42px;
margin-top: 7px;
padding: 9px 10px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
box-sizing: border-box;
}
.stickman-storyboard-narration-skeleton {
min-height: 45px;
margin-top: 10px;
padding-top: 9px;
border-top: 1px solid var(--border-hairline);
}
.stickman-storyboard-description-skeleton > i,
.stickman-storyboard-narration-skeleton > i {
width: 88%;
height: 7px;
display: block;
border-radius: 5px;
background: color-mix(in srgb, var(--text) 8%, var(--surface-2));
animation: stickman-script-skeleton-pulse 1.25s ease-in-out infinite alternate;
}
.stickman-storyboard-description-skeleton > .is-medium {
width: 62%;
animation-delay: 120ms;
}
.stickman-storyboard-narration-skeleton > .is-short {
width: 46%;
animation-delay: 160ms;
}
@media (prefers-reduced-motion: reduce) {
.stickman-storyboard-description-skeleton > i,
.stickman-storyboard-narration-skeleton > i {
animation: none;
}
}
.stickman-storyboard-row {
min-width: 0;
display: grid;
grid-template-columns: 76px 150px minmax(0, 1fr);
align-items: start;
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-storyboard-row:first-child {
padding-top: 0;
}
.stickman-storyboard-row:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.stickman-storyboard-meta,
.stickman-storyboard-media,
.stickman-storyboard-copy {
min-width: 0;
}
.stickman-storyboard-meta {
display: grid;
align-content: start;
gap: 4px;
padding-top: 2px;
}
.stickman-storyboard-meta strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
line-height: 1.4;
}
.stickman-storyboard-meta small {
color: var(--subtle);
font-size: 10px;
}
.stickman-storyboard-media {
width: 100%;
max-width: 150px;
display: grid;
align-content: start;
gap: 4px;
}
.stickman-storyboard-image {
position: relative;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 7px;
background: var(--surface-2);
}
.stickman-storyboard-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.stickman-storyboard-row[data-status="generating"] .stickman-storyboard-image {
outline: 1px solid color-mix(in srgb, var(--accent) 46%, var(--border));
outline-offset: -1px;
}
.stickman-storyboard-image > span {
position: absolute;
top: 7px;
left: 7px;
width: 20px;
height: 20px;
display: grid;
place-items: center;
border-radius: 6px;
background: rgba(20, 22, 26, 0.82);
color: #f7f7f8;
font-size: 11px;
font-weight: 650;
}
.stickman-storyboard-actions {
min-width: 0;
min-height: 30px;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.stickman-storyboard-regenerate,
.stickman-storyboard-prompt {
width: max-content;
min-width: 98px;
min-height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 3px 9px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--subtle);
font-size: 10px;
font-weight: 580;
}
.stickman-storyboard-regenerate:hover,
.stickman-storyboard-prompt:hover {
background: color-mix(in srgb, var(--text) 6%, var(--surface));
color: var(--text);
}
.stickman-storyboard-prompt {
border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
color: var(--accent);
}
.stickman-storyboard-regenerate {
width: 112px;
}
.stickman-storyboard-regenerate:disabled,
.stickman-storyboard-prompt:disabled {
cursor: default;
opacity: 0.62;
}
.stickman-storyboard-copy {
display: grid;
align-content: start;
}
.stickman-storyboard-description {
min-width: 0;
display: grid;
gap: 6px;
}
.stickman-storyboard-description > strong {
color: var(--text);
font-size: 11px;
font-weight: 620;
}
.stickman-storyboard-description textarea {
width: 100%;
min-height: 58px;
max-height: 180px;
padding: 7px 9px;
resize: vertical;
border: 1px solid transparent;
border-radius: 6px;
background: color-mix(in srgb, var(--text) 3%, var(--surface-2));
color: var(--text);
font: inherit;
font-size: 12px;
line-height: 1.55;
box-sizing: border-box;
}
.stickman-storyboard-description textarea:hover {
border-color: var(--border);
}
.stickman-storyboard-description textarea:focus {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
outline: 0;
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.stickman-storyboard-description textarea:disabled {
opacity: 0.72;
}
.stickman-storyboard-motion {
width: max-content;
display: inline-flex;
align-items: center;
gap: 7px;
margin-top: 8px;
color: var(--subtle);
font-size: 10px;
font-weight: 580;
}
.stickman-storyboard-motion :is(select, .app-select-trigger) {
min-width: 92px;
min-height: 26px;
padding: 2px 24px 2px 8px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font-size: 10px;
}
.stickman-storyboard-generation-status {
min-width: 0;
flex: 1 1 180px;
color: var(--muted);
font-size: 10px;
line-height: 1.45;
}
.stickman-storyboard-generation-status[data-status="failed"] {
color: var(--danger);
}
.stickman-storyboard-waiting {
min-height: 28px;
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--muted);
font-size: 10px;
}
.stickman-storyboard-batch-action {
min-width: 190px;
}
.stickman-storyboard-subtitle textarea {
min-height: 60px;
resize: vertical;
}
.stickman-storyboard-readonly-subtitle {
display: grid;
}
.stickman-storyboard-readonly-subtitle p {
min-height: 48px;
margin: 0;
padding: 8px 10px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
color: var(--text);
font-size: 12px;
line-height: 1.55;
}
.stickman-prompt-backdrop {
position: fixed;
inset: 0;
z-index: 120;
display: grid;
place-items: center;
padding: 24px;
background: rgba(15, 17, 21, 0.52);
}
.stickman-prompt-dialog {
width: min(560px, calc(100vw - 32px));
max-height: min(680px, calc(100dvh - 48px));
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 24px 72px rgba(15, 17, 21, 0.24);
}
.stickman-prompt-dialog > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
padding: 18px 20px;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-prompt-dialog > header span {
display: block;
margin-bottom: 3px;
color: var(--muted);
font-size: 11px;
}
.stickman-prompt-dialog > header h2 {
margin: 0;
color: var(--text);
font-size: 17px;
font-weight: 640;
}
.stickman-prompt-dialog > header > button {
width: 30px;
height: 30px;
flex: none;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.stickman-prompt-dialog > header > button:hover {
background: var(--surface-2);
color: var(--text);
}
.stickman-prompt-content {
min-height: 0;
display: grid;
gap: 7px;
overflow: auto;
padding: 18px 20px;
}
.stickman-prompt-content > span {
color: var(--muted);
font-size: 11px;
font-weight: 580;
}
.stickman-prompt-content textarea {
width: 100%;
min-height: 220px;
box-sizing: border-box;
resize: none;
padding: 12px;
border: 1px solid var(--border);
border-radius: 7px;
outline: 0;
background: var(--conversation-bg);
color: var(--text);
font: inherit;
font-size: 12px;
line-height: 1.65;
}
.stickman-prompt-content textarea:focus {
border-color: var(--border-strong);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 5%, transparent);
}
.stickman-prompt-dialog > footer {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 20px;
border-top: 1px solid var(--border-hairline);
}
.stickman-prompt-dialog > footer button {
min-height: 34px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 580;
}
.stickman-prompt-dialog > footer button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.stickman-prompt-dialog > footer .is-primary {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.stickman-prompt-dialog > footer .is-primary:hover {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 88%, var(--text));
color: var(--on-accent);
}
.stickman-prompt-dialog > footer .is-primary:disabled {
cursor: not-allowed;
opacity: 0.46;
}
@media (max-width: 600px) {
.stickman-prompt-backdrop {
padding: 16px;
}
.stickman-prompt-dialog {
max-height: calc(100dvh - 32px);
}
.stickman-prompt-dialog > header,
.stickman-prompt-content,
.stickman-prompt-dialog > footer {
padding-inline-end: 16px;
padding-inline-start: 16px;
}
.stickman-prompt-content textarea {
min-height: 180px;
}
}
.stickman-audio-settings {
min-width: 0;
}
.stickman-audio-layout {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: start;
gap: 18px;
}
.stickman-voice-settings,
.stickman-music-settings {
min-width: 0;
}
.stickman-music-settings {
padding-inline-start: 18px;
border-inline-start: 1px solid var(--border-hairline);
}
.stickman-music-heading {
min-height: 38px;
display: flex;
align-items: center;
gap: 9px;
color: var(--muted);
}
.stickman-music-heading > span {
min-width: 0;
display: flex;
align-items: baseline;
gap: 6px;
}
.stickman-music-heading strong {
color: var(--text);
font-size: 13px;
font-weight: 570;
}
.stickman-music-heading small {
color: var(--subtle);
font-size: 10px;
}
.stickman-music-upload-row {
position: relative;
}
.stickman-music-upload {
min-height: 102px;
padding: 10px 36px 10px 10px;
}
.stickman-music-upload strong {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-music-remove {
position: absolute;
top: 8px;
right: 8px;
width: 28px;
height: 28px;
display: grid;
place-items: center;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.stickman-music-volume {
display: grid;
gap: 7px;
margin-top: 12px;
}
.stickman-music-volume > span {
display: flex;
justify-content: space-between;
color: var(--muted);
font-size: 11px;
}
.stickman-music-volume output {
color: var(--text);
font-weight: 620;
}
.stickman-music-volume input {
width: 100%;
accent-color: var(--accent);
}
.stickman-audio-step,
.stickman-composition-step,
.stickman-delivery-step {
min-width: 0;
min-height: 0;
height: 100%;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 14px;
}
.stickman-audio-review {
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
padding-bottom: 4px;
}
.stickman-audio-meta {
min-width: 120px;
display: grid;
justify-items: end;
gap: 3px;
padding-top: 2px;
}
.stickman-audio-meta strong,
.stickman-audio-meta small {
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-audio-meta strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
}
.stickman-audio-meta small {
color: var(--subtle);
font-size: 10px;
}
.stickman-audio-segments {
min-height: 0;
display: grid;
align-content: start;
overflow-y: auto;
padding-inline-end: 8px;
border-top: 1px solid var(--border-hairline);
scrollbar-gutter: stable;
}
.stickman-inline-empty {
min-height: 220px;
display: grid;
place-content: center;
justify-items: center;
gap: 10px;
color: var(--muted);
font-size: 12px;
}
.stickman-audio-row {
min-width: 0;
display: grid;
grid-template-columns: 58px minmax(0, 1fr) minmax(220px, 0.8fr);
align-items: center;
gap: 16px;
padding: 16px 0;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-audio-row:last-child {
border-bottom: 0;
}
.stickman-audio-index {
display: grid;
gap: 5px;
}
.stickman-audio-index strong {
color: var(--text);
font-size: 13px;
}
.stickman-audio-index small {
color: var(--subtle);
font-size: 10px;
}
.stickman-audio-row > p {
min-width: 0;
margin: 0;
color: var(--text);
font-size: 12px;
line-height: 1.65;
}
.stickman-audio-control {
min-width: 0;
display: flex;
align-items: center;
justify-content: flex-end;
}
.stickman-audio-control audio {
width: 100%;
height: 34px;
}
.stickman-audio-control > span,
.stickman-audio-control > button {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 11px;
}
.stickman-audio-control > button {
min-height: 32px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--danger);
}
.stickman-storyboard-narration {
display: grid;
gap: 4px;
margin-top: 10px;
padding-top: 9px;
border-top: 1px solid var(--border-hairline);
}
.stickman-storyboard-narration > span {
color: var(--subtle);
font-size: 10px;
font-weight: 620;
}
.stickman-storyboard-narration > p {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.55;
}
.stickman-composition-content {
min-height: 0;
overflow-y: auto;
padding-inline-end: 2px;
scrollbar-gutter: stable;
}
.stickman-composition-panel {
min-height: 100%;
box-sizing: border-box;
}
.stickman-delivery-preview {
min-width: 0;
aspect-ratio: 16 / 9;
overflow: hidden;
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: #17191d;
}
.stickman-delivery-preview video {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
}
.stickman-delivery-preview > div {
width: 100%;
height: 100%;
display: grid;
place-content: center;
justify-items: center;
gap: 10px;
padding: 24px;
color: #a9adb5;
font-size: 12px;
text-align: center;
box-sizing: border-box;
}
.stickman-composition-phases {
min-width: 0;
max-width: 720px;
display: grid;
margin-top: 18px;
}
.stickman-composition-phases > div {
min-width: 0;
min-height: 54px;
display: grid;
grid-template-columns: 32px minmax(0, 1fr) 18px;
align-items: center;
gap: 10px;
padding: 8px 0;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-composition-phases > div:last-child {
border-bottom: 0;
}
.stickman-composition-phases > div > span {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.stickman-composition-phases > div > div {
min-width: 0;
display: grid;
gap: 3px;
}
.stickman-composition-phases strong,
.stickman-composition-phases small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-composition-phases strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
}
.stickman-composition-phases small {
color: var(--subtle);
font-size: 10px;
}
.stickman-composition-phases > div[data-status="completed"] > span,
.stickman-composition-phases > div[data-status="completed"] > svg {
color: var(--success, #2f855a);
}
.stickman-composition-phases > div[data-status="running"] > span,
.stickman-composition-phases > div[data-status="running"] > svg {
color: var(--accent);
}
.stickman-composition-phases > div[data-status="failed"] > span,
.stickman-composition-phases > div[data-status="failed"] > svg {
color: var(--danger);
}
.stickman-delivery-step {
grid-template-rows: auto minmax(0, 1fr) auto;
}
.stickman-result-toolbar {
min-height: 46px;
align-items: center;
margin-bottom: 0;
padding: 0 2px 14px;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-delivery-content {
min-height: 0;
display: grid;
grid-template-columns: minmax(340px, 1.45fr) minmax(280px, 0.9fr);
align-items: start;
gap: 22px;
overflow-y: auto;
padding: 16px 2px 4px;
scrollbar-gutter: stable;
}
.stickman-delivery-files {
min-width: 0;
}
.stickman-delivery-files > header {
min-height: 30px;
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
padding-bottom: 8px;
}
.stickman-delivery-files h3 {
margin: 0;
color: var(--text);
font-size: 13px;
font-weight: 650;
letter-spacing: 0;
}
.stickman-delivery-files > header > span {
color: var(--subtle);
font-size: 10px;
}
.stickman-delivery-files .creator-result-files {
display: grid;
}
.stickman-delivery-files .creator-result-files > article {
min-width: 0;
min-height: 58px;
display: grid;
grid-template-columns: 34px minmax(0, 1fr) 30px 30px;
align-items: center;
gap: 9px;
padding: 9px 0;
border-bottom: 1px solid var(--border-hairline);
}
.stickman-delivery-files .creator-result-files > article:first-child {
border-top: 1px solid var(--border-hairline);
}
.stickman-delivery-files .creator-result-files > article > span {
width: 32px;
height: 32px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.stickman-delivery-files .creator-result-files > article > div {
min-width: 0;
display: grid;
gap: 3px;
}
.stickman-delivery-files .creator-result-files strong,
.stickman-delivery-files .creator-result-files small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-delivery-files .creator-result-files strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
}
.stickman-delivery-files .creator-result-files small {
color: var(--subtle);
font-size: 10px;
}
.stickman-delivery-files .creator-result-files button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.stickman-delivery-files .creator-result-files button:hover:not(:disabled) {
background: var(--surface-2);
color: var(--text);
}
.stickman-delivery-files .creator-result-files button:disabled {
cursor: default;
opacity: 0.38;
}
.stickman-video-result {
display: grid;
grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 1fr);
align-items: center;
gap: 18px;
}
.stickman-result-toolbar {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.stickman-result-toolbar h2,
.stickman-result-toolbar p {
margin: 0;
letter-spacing: 0;
}
.stickman-result-toolbar h2 {
font-size: 16px;
font-weight: 650;
}
.stickman-result-toolbar p {
margin-top: 5px;
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.stickman-delivery-status {
display: block;
margin-top: 8px;
color: var(--warning, #b7791f);
font-size: 12px;
line-height: 1.45;
letter-spacing: 0;
}
.stickman-delivery-status[data-status="publishable"] {
color: var(--success, #2f855a);
}
.stickman-result-workspace {
height: auto;
min-height: 520px;
}
.stickman-version-draft {
min-height: 48px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 8px 8px 8px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
box-sizing: border-box;
}
.stickman-version-draft > div {
min-width: 0;
display: grid;
gap: 3px;
}
.stickman-version-draft strong {
color: var(--text);
font-size: 12px;
font-weight: 650;
}
.stickman-version-draft span {
overflow: hidden;
color: var(--muted);
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.stickman-version-draft > button {
min-height: 34px;
flex: 0 0 auto;
padding: 0 11px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 12px;
font-weight: 620;
white-space: nowrap;
}
.stickman-result-character {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
align-items: center;
gap: 24px;
}
.stickman-result-character > div {
height: 300px;
display: grid;
place-items: center;
overflow: hidden;
padding: 18px;
border-radius: 8px;
background: var(--conversation-bg);
box-sizing: border-box;
}
.stickman-result-character img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
}
.stickman-result-character h3,
.stickman-result-character p {
margin: 0;
letter-spacing: 0;
}
.stickman-result-character h3 {
font-size: 16px;
font-weight: 650;
}
.stickman-result-character p {
max-width: 48ch;
margin-top: 7px;
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
.video-result-settings .stickman-result-story-setting {
grid-column: 1 / -1;
}
.stickman-video-result > div,
.auto-clip-player {
position: relative;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 8px;
background: var(--surface-2);
}
.stickman-video-result img,
.auto-clip-player img,
.auto-clip-player video {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.stickman-video-result > div > span,
.auto-clip-player > span {
position: absolute;
inset: 50% auto auto 50%;
width: 46px;
height: 46px;
display: grid;
place-items: center;
border-radius: 50%;
background: rgba(20, 22, 26, 0.78);
color: #f7f7f8;
transform: translate(-50%, -50%);
}
.stickman-video-result section h2 {
margin: 0;
font-size: 16px;
}
.stickman-video-result section p {
margin: 6px 0 14px;
color: var(--muted);
font-size: 12px;
}
.stickman-video-result section button {
height: 34px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
color: var(--text);
font-size: 12px;
}
.auto-clip-summary {
min-height: 62px;
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
gap: 14px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.auto-clip-summary > div {
min-width: 0;
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
gap: 10px;
}
.auto-clip-summary > div > span {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
}
.auto-clip-summary strong { font-size: 13px; }
.auto-clip-summary p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.auto-clip-summary label {
display: flex;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 11px;
}
.auto-clip-summary :is(select, .app-select-trigger),
.auto-clip-summary > button {
height: 34px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
}
.auto-clip-summary > button {
display: inline-flex;
align-items: center;
gap: 6px;
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.auto-clip-workspace {
min-height: 580px;
display: grid;
grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.9fr);
gap: 12px;
}
.auto-clip-list,
.auto-clip-detail {
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.auto-clip-list {
overflow: hidden;
}
.auto-clip-list article {
display: grid;
grid-template-columns: 38px minmax(0, 1fr);
align-items: stretch;
}
.auto-clip-list article + article { border-top: 1px solid var(--border-hairline); }
.auto-clip-list article[data-active="true"] { background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.auto-clip-list article > label {
display: grid;
place-items: center;
align-content: center;
gap: 4px;
border-inline-end: 1px solid var(--border-hairline);
color: var(--subtle);
font-size: 10px;
}
.auto-clip-list article > button {
min-width: 0;
display: grid;
grid-template-columns: 74px minmax(0, 1fr) 36px;
align-items: center;
gap: 10px;
padding: 8px 10px;
text-align: start;
}
.auto-clip-thumb {
position: relative;
width: 74px;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 6px;
}
.auto-clip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.auto-clip-thumb svg { position: absolute; inset: 50% auto auto 50%; color: #f7f7f8; transform: translate(-50%, -50%); }
.auto-clip-list article > button > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.auto-clip-list article > button strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.auto-clip-list article > button small { color: var(--muted); font-size: 10px; }
.auto-clip-list article > button b { color: var(--accent); font-size: 16px; text-align: center; }
.auto-clip-detail {
align-self: start;
padding: 14px;
}
.auto-clip-detail-copy {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.auto-clip-detail-copy > div { min-width: 0; }
.auto-clip-detail-copy small { color: var(--accent); font-size: 10px; font-weight: 650; }
.auto-clip-detail-copy h2 { margin: 4px 0; font-size: 15px; }
.auto-clip-detail-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.auto-clip-detail-copy > strong { flex: 0 0 auto; color: var(--accent); font-size: 26px; }
.auto-clip-scores {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin: 15px 0;
}
.auto-clip-scores > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 9px;
border-radius: 7px;
background: var(--surface-2);
}
.auto-clip-scores dt { color: var(--muted); font-size: 11px; }
.auto-clip-scores dd { margin: 0; color: var(--text); font-size: 13px; font-weight: 650; }
.auto-clip-subtitle {
overflow: hidden;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--conversation-bg);
}
.auto-clip-subtitle > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 10px 12px;
border-bottom: 1px solid var(--border-hairline);
}
.auto-clip-subtitle h3 { margin: 0; font-size: 12px; }
.auto-clip-subtitle > header span { color: var(--muted); font-size: 10px; }
.auto-clip-subtitle-list {
max-height: min(340px, 42vh);
overflow-y: auto;
scrollbar-gutter: stable;
}
.auto-clip-subtitle-list > button {
width: 100%;
min-width: 0;
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
align-items: start;
gap: 9px;
padding: 10px 11px 10px 8px;
border: 0;
border-inline-start: 3px solid transparent;
border-radius: 0;
color: var(--muted);
text-align: start;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.auto-clip-subtitle-list > button + button {
border-top: 1px solid var(--border-hairline);
}
.auto-clip-subtitle-list > button:hover {
background: var(--surface-2);
color: var(--text);
}
.auto-clip-subtitle-list > button[data-active="true"] {
border-left-color: var(--accent);
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--text);
}
.auto-clip-subtitle-list > button > span {
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
line-height: 1.55;
}
.auto-clip-subtitle-list > button > strong {
min-width: 0;
font-size: 12px;
font-weight: 500;
line-height: 1.55;
overflow-wrap: anywhere;
}
.auto-clip-analysis-note {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: start;
gap: 10px;
margin-top: 16px;
padding: 12px;
border: 1px solid var(--border-hairline);
border-radius: 8px;
background: var(--conversation-bg);
}
.auto-clip-analysis-note > svg {
width: 34px;
height: 34px;
padding: 8px;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 9%, var(--surface));
color: var(--accent);
box-sizing: border-box;
}
.auto-clip-analysis-note strong {
font-size: 13px;
font-weight: 650;
}
.auto-clip-analysis-note p {
margin: 4px 0 0;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.auto-clip-result-workspace {
height: auto;
min-height: 560px;
container: auto-clip-result / inline-size;
}
.auto-clip-result-heading {
min-width: 0;
display: flex;
align-items: baseline;
gap: 9px;
}
.auto-clip-result-heading h2 {
margin: 0;
color: var(--text);
font-size: 15px;
font-weight: 650;
letter-spacing: 0;
}
.auto-clip-result-heading span {
color: var(--muted);
font-size: 11px;
}
.auto-clip-result-controls,
.auto-clip-view-switch {
display: flex;
align-items: center;
}
.auto-clip-result-controls {
gap: 8px;
}
.auto-clip-view-switch {
gap: 2px;
padding: 3px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
}
.auto-clip-view-switch > button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
}
.auto-clip-view-switch > button:hover {
color: var(--text);
}
.auto-clip-view-switch > button[aria-pressed="true"] {
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 9%, transparent);
}
.auto-clip-view-switch > button:active {
transform: translateY(1px);
}
.auto-clip-result-content {
min-height: 0;
}
.auto-clip-result-workspace .video-result-pane {
padding: 0;
}
.auto-clip-result-workspace .video-result-pane[data-view="grid"] {
padding: 24px;
}
.auto-clip-grid {
min-width: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
align-items: start;
gap: 36px 24px;
}
.auto-clip-grid-item {
min-width: 0;
}
.auto-clip-grid-preview {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 6px;
background: #09090b;
}
.auto-clip-grid-preview[data-orientation="portrait"] {
aspect-ratio: 9 / 16;
}
.auto-clip-grid-preview[data-orientation="landscape"] {
aspect-ratio: 16 / 9;
}
.auto-clip-grid-preview[data-orientation="square"] {
aspect-ratio: 1;
}
.auto-clip-grid-preview video,
.auto-clip-grid-preview .auto-clip-export-loading {
width: 100%;
height: 100%;
display: block;
aspect-ratio: auto;
background: #09090b;
object-fit: contain;
}
.auto-clip-grid-preview .auto-clip-export-loading {
display: grid;
place-items: center;
}
.auto-clip-grid-meta {
min-width: 0;
display: grid;
gap: 7px;
padding-top: 12px;
}
.auto-clip-grid-meta > div {
min-width: 0;
display: grid;
grid-template-columns: auto minmax(0, 1fr) 30px;
align-items: center;
gap: 10px;
}
.auto-clip-grid-meta > div > strong {
color: var(--accent);
font-size: 24px;
font-variant-numeric: tabular-nums;
line-height: 1;
}
.auto-clip-grid-meta > div > strong small {
margin-inline-start: 2px;
color: var(--subtle);
font-size: 9px;
font-weight: 500;
}
.auto-clip-grid-meta > div > span {
color: var(--subtle);
font-size: 10px;
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.auto-clip-grid-meta button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
}
.auto-clip-grid-meta button:hover:not(:disabled) {
border-color: var(--border-strong);
color: var(--accent);
}
.auto-clip-grid-meta button:active:not(:disabled) {
transform: translateY(1px);
}
.auto-clip-grid-meta button:disabled {
color: var(--subtle);
cursor: not-allowed;
}
.auto-clip-grid-meta h3 {
min-height: 38px;
overflow: hidden;
display: -webkit-box;
margin: 0;
color: var(--text);
font-size: 13px;
font-weight: 600;
letter-spacing: 0;
line-height: 1.45;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.auto-clip-grid-meta p {
overflow: hidden;
margin: 0;
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-compact-list {
min-width: 0;
}
.auto-clip-compact-item {
min-width: 0;
background: var(--surface);
}
.auto-clip-compact-item + .auto-clip-compact-item {
border-top: 1px solid var(--border);
}
.auto-clip-compact-header {
min-width: 0;
display: grid;
grid-template-columns: 38px minmax(0, 1fr) 32px;
align-items: center;
gap: 10px;
min-height: 54px;
padding: 9px 12px;
border-bottom: 1px solid var(--border-hairline);
background: var(--conversation-bg);
box-sizing: border-box;
}
.auto-clip-compact-header > span {
color: var(--accent);
font-size: 12px;
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.auto-clip-compact-header > div {
min-width: 0;
}
.auto-clip-compact-header h3 {
overflow: hidden;
margin: 0;
color: var(--text);
font-size: 13px;
font-weight: 650;
letter-spacing: 0;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-compact-header small {
display: block;
margin-top: 2px;
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
}
.auto-clip-compact-header > button {
width: 32px;
height: 32px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
}
.auto-clip-compact-header > button:hover:not(:disabled) {
border-color: var(--border-strong);
color: var(--accent);
}
.auto-clip-compact-header > button:active:not(:disabled) {
transform: translateY(1px);
}
.auto-clip-compact-header > button:disabled {
color: var(--subtle);
cursor: not-allowed;
}
.auto-clip-compact-body {
min-width: 0;
display: grid;
grid-template-columns: 108px 216px minmax(260px, 1fr);
align-items: stretch;
gap: 18px;
padding: 20px 18px;
}
.auto-clip-compact-score {
min-width: 0;
display: grid;
align-content: start;
gap: 3px;
}
.auto-clip-compact-score > span {
color: var(--muted);
font-size: 10px;
}
.auto-clip-compact-score > strong {
color: var(--accent);
font-size: 27px;
font-variant-numeric: tabular-nums;
line-height: 1.15;
}
.auto-clip-compact-score > strong small {
margin-inline-start: 2px;
color: var(--subtle);
font-size: 10px;
font-weight: 500;
}
.auto-clip-compact-score dl {
display: grid;
gap: 5px;
margin: 11px 0 0;
}
.auto-clip-compact-score dl > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
}
.auto-clip-compact-score dt {
overflow: hidden;
color: var(--muted);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-compact-score dd {
margin: 0;
color: var(--text);
font-size: 11px;
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.auto-clip-compact-preview {
width: 100%;
height: 320px;
display: flex;
align-items: center;
justify-content: center;
align-self: center;
overflow: hidden;
border-radius: 6px;
background: #09090b;
}
.auto-clip-compact-preview video {
max-width: 100%;
max-height: 100%;
display: block;
background: #09090b;
object-fit: contain;
}
.auto-clip-compact-preview[data-orientation="landscape"] video {
width: 100%;
aspect-ratio: 16 / 9;
}
.auto-clip-compact-preview[data-orientation="portrait"] video {
height: 100%;
aspect-ratio: 9 / 16;
}
.auto-clip-compact-preview[data-orientation="square"] video {
height: 100%;
aspect-ratio: 1;
}
.auto-clip-compact-preview .auto-clip-export-loading {
width: 100%;
height: 100%;
aspect-ratio: auto;
}
.auto-clip-compact-transcript {
min-width: 0;
height: 320px;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
border-inline-start: 1px solid var(--border-hairline);
padding-inline-start: 16px;
box-sizing: border-box;
}
.auto-clip-compact-transcript > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-height: 27px;
padding: 0 8px 6px;
}
.auto-clip-compact-transcript h4 {
margin: 0;
color: var(--text);
font-size: 11px;
font-weight: 650;
letter-spacing: 0;
}
.auto-clip-compact-transcript > header span {
color: var(--subtle);
font-size: 10px;
}
.auto-clip-compact-transcript > div {
min-height: 0;
overflow-y: auto;
scrollbar-gutter: stable;
}
.auto-clip-compact-transcript > div > button {
width: 100%;
min-width: 0;
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
align-items: start;
gap: 9px;
padding: 8px 8px 8px 6px;
border: 0;
border-inline-start: 2px solid transparent;
border-radius: 0;
color: var(--muted);
text-align: start;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.auto-clip-compact-transcript > div > button + button {
border-top: 1px solid var(--border-hairline);
}
.auto-clip-compact-transcript > div > button:hover {
background: var(--surface-2);
color: var(--text);
}
.auto-clip-compact-transcript > div > button[data-active="true"] {
border-left-color: var(--accent);
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--text);
}
.auto-clip-compact-transcript > div > button > span {
color: var(--subtle);
font-size: 10px;
font-variant-numeric: tabular-nums;
line-height: 1.5;
}
.auto-clip-compact-transcript > div > button > strong {
min-width: 0;
font-size: 11px;
font-weight: 500;
line-height: 1.5;
overflow-wrap: anywhere;
}
@container auto-clip-result (max-width: 720px) {
.auto-clip-result-workspace .video-result-pane[data-view="grid"] {
padding: 16px;
}
.auto-clip-grid {
grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
gap: 28px 18px;
}
.auto-clip-compact-body {
grid-template-columns: 82px 150px minmax(190px, 1fr);
gap: 12px;
padding: 12px;
}
.auto-clip-compact-preview,
.auto-clip-compact-transcript {
height: 260px;
}
.auto-clip-compact-transcript {
padding-inline-start: 12px;
}
}
@container auto-clip-result (max-width: 480px) {
.auto-clip-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px 14px;
}
.auto-clip-compact-header {
grid-template-columns: 34px minmax(0, 1fr) 32px;
gap: 7px;
padding-inline-end: 9px;
padding-inline-start: 9px;
}
.auto-clip-compact-body {
grid-template-columns: minmax(0, 1fr);
gap: 12px;
}
.auto-clip-compact-score {
grid-template-columns: 68px minmax(0, 1fr);
align-items: center;
}
.auto-clip-compact-score > span,
.auto-clip-compact-score > strong {
grid-column: 1;
}
.auto-clip-compact-score dl {
grid-column: 2;
grid-row: 1 / span 2;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
}
.auto-clip-compact-preview {
width: 100%;
height: 240px;
}
.auto-clip-compact-transcript {
height: 210px;
border-top: 1px solid var(--border-hairline);
border-inline-start: 0;
padding-top: 10px;
padding-inline-start: 0;
}
}
.cover-result-workspace {
height: 100%;
min-height: 0;
}
.auto-clip-result-actions {
display: flex;
align-items: center;
gap: 8px;
}
.auto-clip-result-actions label {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 11px;
}
.auto-clip-result-actions :is(select, .app-select-trigger),
.auto-clip-result-actions button {
height: 34px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
}
.auto-clip-result-actions button {
display: inline-flex;
align-items: center;
gap: 6px;
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
white-space: nowrap;
}
.auto-clip-result-actions button:disabled {
border-color: var(--border);
background: var(--surface-2);
color: var(--subtle);
}
.auto-clip-layout-switch {
height: 34px;
display: inline-flex;
align-items: center;
padding: 3px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
box-sizing: border-box;
}
.auto-clip-result-actions .auto-clip-layout-switch button {
width: 28px;
height: 26px;
padding: 0;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
}
.auto-clip-result-actions .auto-clip-layout-switch button[aria-pressed="true"] {
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 10%, transparent);
}
.auto-clip-candidate-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
align-items: start;
gap: 14px;
}
.auto-clip-candidate-grid[data-orientation="landscape"] {
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.auto-clip-candidate-grid > article {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.auto-clip-card-media {
position: relative;
aspect-ratio: 9 / 16;
overflow: hidden;
background: #09090b;
}
.auto-clip-candidate-grid[data-orientation="landscape"] .auto-clip-card-media {
aspect-ratio: 16 / 9;
}
.auto-clip-card-media > img,
.auto-clip-card-media > video {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.auto-clip-card-duration {
position: absolute;
top: 8px;
right: 8px;
padding: 4px 7px;
border-radius: 5px;
background: rgba(9, 9, 11, 0.78);
color: #fff;
font-size: 10px;
font-weight: 600;
}
.auto-clip-card-media > button {
position: absolute;
inset: 50% auto auto 50%;
width: 38px;
height: 38px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 50%;
background: rgba(9, 9, 11, 0.72);
color: #fff;
transform: translate(-50%, -50%);
}
.auto-clip-card-copy {
min-width: 0;
display: grid;
gap: 6px;
padding: 11px 11px 9px;
}
.auto-clip-card-copy strong {
min-height: 36px;
overflow: hidden;
display: -webkit-box;
color: var(--text);
font-size: 12px;
line-height: 1.5;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.auto-clip-card-copy span {
overflow: hidden;
color: var(--subtle);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-candidate-grid footer {
min-height: 38px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 8px 7px 11px;
border-top: 1px solid var(--border-hairline);
}
.auto-clip-candidate-grid footer > span {
color: var(--muted);
font-size: 10px;
white-space: nowrap;
}
.auto-clip-candidate-grid footer > span b {
color: var(--accent);
font-size: 13px;
}
.auto-clip-candidate-grid footer > div,
.auto-clip-list-actions {
display: flex;
align-items: center;
gap: 5px;
}
.auto-clip-candidate-grid footer button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--muted);
}
.auto-clip-candidate-detailed-list {
display: grid;
gap: 12px;
}
.auto-clip-candidate-detailed-list > article {
min-width: 0;
display: grid;
grid-template-columns: 132px minmax(0, 1fr) 106px;
align-items: center;
gap: 14px;
padding: 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.auto-clip-candidate-detailed-list[data-orientation="landscape"] > article {
grid-template-columns: 220px minmax(0, 1fr) 106px;
}
.auto-clip-list-preview {
position: relative;
width: 100%;
aspect-ratio: 9 / 16;
overflow: hidden;
padding: 0;
border: 0;
border-radius: 7px;
background: #09090b;
}
.auto-clip-candidate-detailed-list[data-orientation="landscape"] .auto-clip-list-preview {
aspect-ratio: 16 / 9;
}
.auto-clip-list-preview img,
.auto-clip-list-preview video {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.auto-clip-list-preview > span {
position: absolute;
top: 7px;
right: 7px;
padding: 4px 7px;
border-radius: 5px;
background: rgba(9, 9, 11, 0.78);
color: #fff;
font-size: 10px;
}
.auto-clip-list-preview > svg {
position: absolute;
inset: 50% auto auto 50%;
color: #fff;
filter: drop-shadow(0 1px 3px #000);
transform: translate(-50%, -50%);
}
.auto-clip-list-content {
min-width: 0;
align-self: stretch;
display: flex;
flex-direction: column;
justify-content: center;
gap: 12px;
}
.auto-clip-list-content > header {
min-width: 0;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.auto-clip-list-content > header > div {
min-width: 0;
display: grid;
gap: 5px;
}
.auto-clip-list-content > header strong {
color: var(--text);
font-size: 14px;
line-height: 1.4;
}
.auto-clip-list-content > header span {
color: var(--subtle);
font-size: 10px;
}
.auto-clip-list-content > header > b {
color: var(--accent);
font-size: 22px;
}
.auto-clip-list-content > p {
overflow: hidden;
display: -webkit-box;
margin: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.65;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.auto-clip-list-content > dl {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 6px;
margin: 0;
}
.auto-clip-list-content > dl > div {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
padding: 6px 7px;
border-radius: 6px;
background: var(--surface-2);
}
.auto-clip-list-content dt {
overflow: hidden;
color: var(--subtle);
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-list-content dd {
margin: 0;
color: var(--text);
font-size: 11px;
font-weight: 650;
}
.auto-clip-list-actions {
align-self: stretch;
flex-direction: column;
justify-content: center;
}
.auto-clip-list-actions button {
width: 100%;
min-height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
font-size: 11px;
white-space: nowrap;
}
.auto-clip-list-actions button:hover,
.auto-clip-candidate-grid footer button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.auto-clip-detail-result {
width: min(1040px, 100%);
margin: 0 auto;
box-sizing: border-box;
}
.auto-clip-detail-layout {
display: grid;
grid-template-columns: minmax(280px, 1.1fr) minmax(320px, .9fr);
align-items: start;
gap: 18px;
}
.auto-clip-detail-media,
.auto-clip-detail-sidebar {
min-width: 0;
}
.auto-clip-detail-media {
position: sticky;
top: 0;
}
.auto-clip-detail-sidebar {
display: grid;
align-content: start;
gap: 14px;
}
.auto-clip-detail-sidebar .auto-clip-scores {
margin: 0;
}
.auto-clip-detail-result[data-orientation="portrait"] .auto-clip-player {
width: min(320px, 100%);
margin: 0 auto;
aspect-ratio: 9 / 16;
}
.auto-clip-media-placeholder {
width: 100%;
height: 100%;
display: grid;
place-items: center;
background: var(--surface-2);
color: var(--subtle);
}
.auto-clip-export-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
align-items: start;
gap: 12px;
}
.auto-clip-export-card {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.auto-clip-export-card video,
.auto-clip-export-loading {
width: 100%;
aspect-ratio: 9 / 16;
display: grid;
place-items: center;
background: #09090b;
color: #fff;
object-fit: contain;
}
.auto-clip-export-card footer {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px;
}
.auto-clip-export-card footer > div {
min-width: 0;
display: grid;
gap: 3px;
}
.auto-clip-export-card footer strong,
.auto-clip-export-card footer span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.auto-clip-export-card footer strong {
font-size: 12px;
}
.auto-clip-export-card footer span {
color: var(--muted);
font-size: 10px;
}
.auto-clip-export-card footer button {
width: 32px;
height: 32px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
color: var(--text);
}
.auto-clip-export-list,
.cover-reference-results {
display: grid;
gap: 8px;
}
.cover-ratio-tabs button span {
display: inline-block;
border: 1px solid currentColor;
border-radius: 2px;
}
.cover-ratio-tabs button span[data-ratio="16:9"] { width: 17px; height: 10px; }
.cover-ratio-tabs button span[data-ratio="1:1"] { width: 12px; height: 12px; }
.cover-ratio-tabs button span[data-ratio="9:16"] { width: 8px; height: 14px; }
.cover-youtube-field { margin-top: 14px; }
.cover-style-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
}
.cover-style-grid > button {
min-width: 0;
min-height: 70px;
display: grid;
align-content: center;
justify-items: stretch;
gap: 9px;
padding: 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--muted);
text-align: start;
}
.cover-style-grid > button:hover {
border-color: var(--border-strong);
color: var(--text);
}
.cover-style-grid > button[aria-selected="true"] {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 5%, var(--conversation-bg));
color: var(--text);
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);
}
.cover-style-grid strong {
min-width: 0;
font-size: 11px;
font-weight: 650;
line-height: 1.35;
overflow-wrap: anywhere;
}
.cover-style-swatches {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 3px;
height: 15px;
}
.cover-style-swatches i {
display: block;
min-width: 0;
border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
border-radius: 3px;
}
.cover-style-swatches[data-style="personal-growth"] i:nth-child(1) { background: #13233f; }
.cover-style-swatches[data-style="personal-growth"] i:nth-child(2) { background: #d7aa3e; }
.cover-style-swatches[data-style="personal-growth"] i:nth-child(3) { background: #ffffff; }
.cover-style-swatches[data-style="psychology"] i:nth-child(1) { background: #174b4a; }
.cover-style-swatches[data-style="psychology"] i:nth-child(2) { background: #8ca0ac; }
.cover-style-swatches[data-style="psychology"] i:nth-child(3) { background: #e16f62; }
.cover-style-swatches[data-style="wealth-platinum-red"] i:nth-child(1) { background: #f7f7f4; }
.cover-style-swatches[data-style="wealth-platinum-red"] i:nth-child(2) { background: #bec4ca; }
.cover-style-swatches[data-style="wealth-platinum-red"] i:nth-child(3) { background: #c91f2c; }
.cover-style-swatches[data-style="bilibili-red-blue-white"] i:nth-child(1) { background: #fb4c61; }
.cover-style-swatches[data-style="bilibili-red-blue-white"] i:nth-child(2) { background: #00aeec; }
.cover-style-swatches[data-style="bilibili-red-blue-white"] i:nth-child(3) { background: #ffffff; }
.cover-style-swatches[data-style="custom"] i:nth-child(1) { background: #2f343c; }
.cover-style-swatches[data-style="custom"] i:nth-child(2) { background: #8b9098; }
.cover-style-swatches[data-style="custom"] i:nth-child(3) { background: #e8eaed; }
.cover-custom-style-field {
margin-top: 14px;
}
.cover-copy-settings {
display: grid;
grid-template-columns: minmax(150px, 0.75fr) repeat(2, minmax(0, 1fr));
align-items: end;
gap: 16px;
margin-top: 18px;
}
.cover-youtube-field > div {
height: 40px;
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: center;
gap: 8px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--conversation-bg);
color: var(--subtle);
}
.cover-youtube-field input {
height: 38px;
padding: 0;
border: 0;
background: transparent;
}
.cover-youtube-field > div input:focus {
box-shadow: none;
}
.cover-prompt-row {
display: grid;
grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
align-items: stretch;
gap: 10px;
}
.image-generation-prompt-row {
display: grid;
}
.cover-prompt-row > textarea {
height: 100%;
}
.cover-reference-control {
position: relative;
min-width: 0;
}
.cover-reference-upload {
min-height: 100%;
align-content: center;
gap: 7px;
padding: 12px 8px;
text-align: center;
}
.cover-reference-upload > svg {
justify-self: center;
}
.cover-reference-upload img {
width: 64px;
height: 64px;
}
.cover-reference-upload > span {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cover-reference-remove {
position: absolute;
top: 6px;
right: 6px;
width: 24px;
height: 24px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: color-mix(in srgb, var(--surface) 90%, transparent);
color: var(--muted);
box-shadow: 0 1px 2px color-mix(in srgb, var(--shadow-base) 16%, transparent);
}
.cover-reference-remove:hover {
border-color: var(--border-strong);
color: var(--text);
}
@media (max-width: 700px) {
.cover-style-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cover-copy-settings {
grid-template-columns: minmax(0, 1fr);
}
}
.cover-result-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.cover-result-grid article {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.cover-result-grid article > div {
position: relative;
aspect-ratio: 16 / 9;
overflow: hidden;
background: var(--surface-2);
}
.cover-result-loading {
width: 100%;
height: 100%;
display: grid;
place-items: center;
align-content: center;
gap: 8px;
color: var(--muted);
font-size: 11px;
}
.cover-result-grid[data-ratio="1:1"] article > div { aspect-ratio: 1; }
.cover-result-grid[data-ratio="9:16"] article > div { width: 58%; aspect-ratio: 9 / 16; margin: 0 auto; }
.cover-result-grid img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.cover-result-grid article > div > span {
position: absolute;
right: 15px;
bottom: 14px;
left: 15px;
color: #f7f7f8;
font-size: 22px;
font-weight: 750;
line-height: 1.1;
text-shadow: 0 2px 12px rgba(10, 12, 16, 0.8);
}
.cover-result-grid article > div > span small {
font-size: 12px;
font-weight: 550;
}
.cover-result-grid footer {
height: 42px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10px;
}
.cover-result-grid footer strong { font-size: 12px; }
.cover-result-grid footer button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.cover-result-grid footer > span {
display: flex;
align-items: center;
gap: 3px;
}
.cover-result-grid footer button:disabled {
color: var(--accent);
opacity: 1;
}
.cover-empty-state {
min-height: 180px;
display: grid;
place-items: center;
align-content: center;
gap: 7px;
border: 1px dashed var(--border-strong);
border-radius: 8px;
color: var(--subtle);
text-align: center;
}
.cover-empty-state strong { color: var(--text); font-size: 13px; }
.cover-empty-state p { margin: 0; font-size: 11px; }
.cover-workflow-progress {
width: min(320px, calc(100% - 32px));
display: grid;
gap: 6px;
margin-top: 7px;
}
.cover-workflow-progress > div {
height: 6px;
overflow: hidden;
border-radius: 3px;
background: var(--surface-3);
}
.cover-workflow-progress > div > span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--accent);
transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cover-workflow-progress > div[data-indeterminate="true"] > span {
width: 34%;
animation: creator-progress-indeterminate 1.2s ease-in-out infinite;
}
.cover-workflow-progress small {
color: var(--muted);
font-size: 11px;
}
.cover-version-preserved {
display: grid;
gap: 4px;
margin-top: 14px;
padding: 10px 12px;
border-inline-start: 2px solid var(--accent);
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.cover-version-preserved strong {
font-size: 12px;
font-weight: 650;
}
.cover-version-preserved span {
color: var(--muted);
font-size: 11px;
}
.cover-reference-results .video-result-file-row {
grid-template-columns: 40px minmax(0, 1fr);
}
.cover-reference-preview-row {
min-width: 0;
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
align-items: center;
gap: 11px;
min-height: 64px;
padding: 9px;
border: 1px solid var(--border);
border-radius: 7px;
}
.cover-reference-preview-row > img {
width: 64px;
height: 46px;
display: block;
object-fit: cover;
border-radius: 5px;
}
.cover-reference-preview-row > div {
min-width: 0;
display: grid;
gap: 4px;
}
.cover-reference-preview-row strong,
.cover-reference-preview-row small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cover-reference-preview-row strong {
color: var(--text);
font-size: 12px;
}
.cover-reference-preview-row small {
color: var(--muted);
font-size: 10px;
}
.cover-reference-results .video-result-file-row small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cover-reference-results .video-result-empty p {
margin: 0;
color: var(--muted);
font-size: 12px;
}
.video-result-settings .cover-result-prompt-setting {
grid-column: 1 / -1;
}
.video-result-settings .cover-result-prompt-setting dd {
white-space: normal;
line-height: 1.5;
}
.creator-workspace-page button:focus-visible {
outline: 2px solid color-mix(in srgb, var(--text) 42%, transparent);
outline-offset: 2px;
}
.creator-workspace-page input:focus-visible,
.creator-workspace-page textarea:focus-visible,
.creator-workspace-page :is(select, .app-select-trigger):focus-visible {
outline: 1px solid var(--border-strong);
outline-offset: 1px;
}
.creator-workspace-page .creator-tool-field input:focus-visible,
.creator-workspace-page .creator-tool-field textarea:focus-visible,
.creator-workspace-page .creator-tool-field :is(select, .app-select-trigger):focus-visible,
.creator-workspace-page .creator-tool-url-input input:focus-visible,
.creator-workspace-page .cover-youtube-field > div input:focus-visible,
.creator-workspace-page .tool-agent-composer textarea:focus-visible {
outline: 0;
}
@media (max-width: 700px) {
.video-translation-page-inner {
width: calc(100% - 28px);
padding: 20px 0 40px;
}
.video-translation-header {
margin-bottom: 18px;
}
.video-translation-title-icon {
display: none;
}
.video-translation-section {
padding: 20px 16px 22px;
}
.video-translation-language-row {
grid-template-columns: 1fr;
}
.video-translation-language-arrow {
height: 12px;
transform: rotate(90deg);
}
.video-translation-option-content {
margin-inline-start: 14px;
}
.video-translation-dubbing-row {
grid-template-columns: minmax(0, 1fr);
}
.video-translation-switch {
position: relative;
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
padding: 0;
background: transparent;
}
.video-translation-switch::before {
content: "";
position: absolute;
top: 50%;
left: 5px;
width: 34px;
height: 20px;
border-radius: 10px;
background: color-mix(in srgb, var(--text) 18%, var(--surface-2));
transform: translateY(-50%);
}
.video-translation-switch span {
position: absolute;
z-index: 1;
top: 50%;
left: 7px;
transform: translateY(-50%);
}
.video-translation-switch[aria-checked="true"] {
background: transparent;
}
.video-translation-switch[aria-checked="true"]::before {
background: var(--accent);
}
.video-translation-switch[aria-checked="true"] span {
transform: translate(14px, -50%);
}
.video-translation-title-fields,
.video-translation-summary dl {
grid-template-columns: 1fr;
}
}
.video-translation-page-inner.video-translation-wizard {
width: min(900px, calc(100% - 48px));
}
.video-translation-wizard-body {
min-height: 420px;
animation: video-translation-step-in 160ms ease-out;
}
@keyframes video-translation-step-in {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.video-translation-step-panel {
padding: 28px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.video-translation-step-heading {
margin-bottom: 26px;
}
.video-translation-model-setting {
margin-top: 20px;
}
.video-translation-model-setting > p {
margin: 8px 0 0;
color: var(--muted);
font-size: 12px;
}
.video-translation-step-heading h2,
.video-translation-dropzone h2 {
margin: 0;
color: var(--text);
font-size: 17px;
font-weight: 650;
letter-spacing: 0;
line-height: 1.25;
}
.video-translation-step-heading p,
.video-translation-dropzone p {
margin: 5px 0 0;
color: var(--muted);
font-size: 13px;
line-height: 1.5;
}
.video-translation-source-step {
width: 100%;
margin: 0 auto;
padding: 24px;
box-sizing: border-box;
}
.video-translation-bilibili-parts {
width: 100%;
margin: 0 auto;
padding: 0 24px 24px;
box-sizing: border-box;
}
.video-translation-bilibili-parts :is(select, .app-select-trigger) {
padding: 0 12px;
}
.video-translation-bilibili-parts p {
color: var(--muted);
font-size: 13px;
line-height: 1.5;
}
.video-result-preview-empty {
display: grid;
gap: 12px;
max-width: 340px;
margin: auto;
padding: 24px;
text-align: center;
}
.video-result-preview-empty p {
margin: 0;
line-height: 1.6;
}
.video-result-preview-empty button {
justify-self: center;
}
.video-translation-dropzone {
position: relative;
width: min(592px, 100%);
min-height: 0;
height: 280px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 0 auto;
padding: 32px;
border: 1px dashed color-mix(in srgb, var(--accent) 62%, var(--border));
border-radius: 8px;
background: color-mix(in srgb, var(--surface-2) 58%, transparent);
box-sizing: border-box;
text-align: center;
transition:
border-color 140ms ease,
background-color 140ms ease;
}
.video-translation-dropzone[data-dragging="true"] {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}
.video-translation-preview-drop-target > input,
.video-translation-dropzone > input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
clip-path: inset(50%);
}
.video-translation-preview-drop-target {
position: relative;
width: min(592px, 100%);
margin: 0 auto;
}
.video-translation-preview-drop-target[data-dragging="true"] .video-source-preview {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.video-source-preview {
height: auto;
display: grid;
grid-template-rows: auto 56px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
}
.video-source-preview[data-orientation="portrait"] {
width: min(360px, 100%);
margin-inline: auto;
}
.video-source-preview-media {
position: relative;
width: 100%;
min-height: 0;
aspect-ratio: 16 / 9;
display: grid;
place-items: center;
overflow: hidden;
background: #09090b;
color: rgba(255, 255, 255, 0.5);
}
.video-source-preview-media video {
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
display: block;
aspect-ratio: auto;
object-fit: contain;
background: #09090b;
}
.video-source-preview-media iframe {
width: 100%;
height: 100%;
display: block;
border: 0;
background: #09090b;
}
.video-source-youtube-poster {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
padding: 0;
border: 0;
background: #09090b;
}
.video-source-youtube-poster img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.video-source-youtube-poster > span {
position: absolute;
inset: 50% auto auto 50%;
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 50%;
background: rgba(10, 10, 12, 0.78);
color: #fff;
transform: translate(-50%, -50%);
transition: background-color 140ms ease, transform 140ms ease;
}
.video-source-youtube-poster:hover > span {
background: var(--accent);
transform: translate(-50%, -50%) scale(1.04);
}
.video-source-preview-media audio {
width: min(480px, calc(100% - 48px));
}
.video-source-link-preview {
width: min(360px, calc(100% - 48px));
display: grid;
justify-items: center;
gap: 7px;
color: rgba(255, 255, 255, 0.66);
text-align: center;
}
.video-source-link-preview > span {
width: 44px;
height: 44px;
display: grid;
place-items: center;
margin-bottom: 3px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
}
.video-source-link-preview strong {
color: #f4f4f5;
font-size: 13px;
font-weight: 600;
}
.video-source-link-preview p {
max-width: 100%;
overflow: hidden;
margin: 0;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-source-link-preview a {
height: 30px;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 5px;
padding: 0 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 6px;
color: #f4f4f5;
font-size: 12px;
text-decoration: none;
}
.video-source-prepare-preview {
min-height: 34px;
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 5px;
padding: 0 12px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 6px;
background: #f4f4f5;
color: #18181b;
font: inherit;
font-size: 12px;
cursor: pointer;
}
.video-source-preview-media:has(.video-source-prepare-preview) {
min-height: 280px;
}
.video-source-preview-media:has(.video-source-preview-error) {
min-height: 340px;
}
.video-source-preview-media:has(.video-source-preview-thumbnail) {
min-height: 320px;
}
.video-source-preview-thumbnail {
width: 160px;
height: 90px;
object-fit: contain;
border-radius: 4px;
}
.video-source-retry-online {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 6px;
background: transparent;
color: #f4f4f5;
cursor: pointer;
}
.video-source-retry-online:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.video-source-prepare-preview:disabled {
opacity: 0.55;
cursor: default;
}
.video-source-prepare-preview:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.video-source-link-preview .video-source-preview-error {
max-height: 72px;
overflow: auto;
color: #fca5a5;
white-space: normal;
overflow-wrap: anywhere;
}
.video-source-preview-spinner {
animation: video-source-preview-spin 1s linear infinite;
}
@keyframes video-source-preview-spin {
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.video-source-preview-spinner { animation: none; }
}
.video-source-preview-footer {
min-width: 0;
min-height: 0;
height: 56px;
display: grid;
grid-template-columns: 32px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 9px 10px;
box-sizing: border-box;
background: var(--surface);
}
.video-source-preview-icon {
width: 32px;
height: 32px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.video-source-preview-copy {
min-width: 0;
display: grid;
gap: 3px;
}
.video-source-preview-copy strong,
.video-source-preview-copy small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-source-preview-copy strong {
color: var(--text);
font-size: 13px;
font-weight: 600;
}
.video-source-preview-copy small {
color: var(--subtle);
font-size: 11px;
}
.video-source-preview-actions {
display: flex;
align-items: center;
gap: 6px;
}
.video-source-preview-actions button,
.video-source-preview-actions a {
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: transparent;
color: var(--muted);
font-size: 12px;
text-decoration: none;
}
.video-source-preview-actions button:last-child,
.video-source-preview-actions a {
width: 30px;
padding: 0;
}
.video-source-preview-actions button:hover,
.video-source-preview-actions a:hover {
border-color: var(--border-strong);
background: var(--surface-2);
color: var(--text);
}
.video-translation-dropzone-icon {
width: 48px;
height: 48px;
display: grid;
place-items: center;
margin-bottom: 15px;
border-radius: 8px;
background: var(--surface-2);
color: var(--muted);
}
.video-translation-browse {
min-width: 126px;
height: 36px;
margin-top: 20px;
padding: 0 16px;
border: 1px solid var(--accent);
border-radius: 7px;
background: var(--accent);
color: var(--on-accent);
font-size: 13px;
font-weight: 650;
}
.video-translation-browse:hover,
.video-translation-primary-action:hover {
border-color: var(--accent-strong);
background: var(--accent-strong);
}
.video-translation-remove-file {
position: absolute;
top: 12px;
right: 12px;
width: 32px;
height: 32px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
}
.video-translation-or {
width: min(592px, 100%);
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 12px;
margin: 18px auto;
color: var(--subtle);
font-size: 11px;
}
.video-translation-source-step .video-translation-url-field {
width: 100%;
margin-inline-end: auto;
margin-inline-start: auto;
}
.video-translation-wizard-main .video-translation-source-step .video-translation-url-field {
width: min(592px, 100%);
}
.video-translation-or::before,
.video-translation-or::after {
content: "";
height: 1px;
background: var(--border-hairline);
}
.video-translation-final-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 250px;
align-items: start;
gap: 18px;
}
.video-translation-final-settings {
display: grid;
gap: 10px;
}
.video-translation-final-settings .video-translation-step-heading {
margin-bottom: 8px;
}
.video-translation-final-grid .video-translation-summary {
position: sticky;
top: 18px;
}
.video-translation-wizard-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 18px;
}
.video-translation-action-group {
min-width: 0;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
}
.video-translation-primary-action,
.video-translation-secondary-action {
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 0 17px;
border-radius: 7px;
font-size: 13px;
font-weight: 650;
white-space: nowrap;
}
.video-translation-primary-action {
min-width: 104px;
border: 1px solid var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-translation-primary-action:disabled {
cursor: wait;
opacity: 0.62;
}
.video-translation-primary-action[data-intent="danger"] {
border-color: color-mix(in srgb, var(--destructive) 72%, var(--border));
background: var(--destructive-soft);
color: var(--destructive);
}
.video-translation-primary-action[data-intent="danger"]:hover:not(:disabled) {
border-color: var(--destructive);
background: color-mix(in srgb, var(--destructive) 18%, var(--surface));
color: color-mix(in srgb, var(--destructive) 88%, #fff);
}
.video-translation-primary-action[data-intent="danger"]:focus-visible {
outline-color: color-mix(in srgb, var(--destructive) 72%, transparent);
}
.video-translation-run-notice {
width: 100%;
min-height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 10px auto 0;
padding: 9px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
color: var(--muted);
font-size: 12px;
line-height: 1.5;
box-sizing: border-box;
}
.video-translation-run-notice.is-error {
border-color: color-mix(in srgb, var(--danger) 38%, var(--border));
background: color-mix(in srgb, var(--danger) 7%, var(--surface));
color: var(--text);
}
.video-translation-run-notice a {
flex: 0 0 auto;
color: var(--accent);
font-weight: 620;
text-decoration: none;
}
.video-translation-run-notice a:hover {
text-decoration: underline;
}
.video-translation-secondary-action {
border: 1px solid var(--border);
background: var(--surface);
color: var(--muted);
}
.video-translation-secondary-action:hover {
background: var(--surface-2);
color: var(--text);
}
.video-translation-steps button:focus-visible,
.video-translation-browse:focus-visible,
.video-translation-remove-file:focus-visible,
.video-source-preview-actions button:focus-visible,
.video-source-preview-actions a:focus-visible,
.video-source-link-preview a:focus-visible,
.video-translation-primary-action:focus-visible,
.video-translation-secondary-action:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.video-translation-wizard-body {
animation: none;
}
.video-translation-dropzone {
transition: none;
}
}
@media (max-width: 760px) {
.video-translation-page-inner.video-translation-wizard {
width: calc(100% - 28px);
}
.video-translation-step-panel {
padding: 20px 16px;
}
.video-translation-source-step {
padding: 14px;
}
.video-translation-dropzone {
min-height: 0;
padding: 24px 16px;
}
.video-translation-final-grid {
grid-template-columns: 1fr;
}
.video-translation-wizard-actions {
margin-top: 14px;
}
.video-translation-primary-action,
.video-translation-secondary-action {
min-height: 44px !important;
}
}
.video-translation-page-inner.video-translation-wizard {
width: 100%;
height: 100%;
padding: 0;
}
.video-translation-collab-layout {
height: 100%;
--creator-workspace-pane-width: min(calc(68% - 3.5px), calc(100% - 287px));
}
.video-translation-wizard-main {
min-width: 0;
min-height: 0;
height: 100%;
display: grid;
grid-template-rows: auto auto minmax(0, 1fr) auto;
overflow: hidden;
padding: 11px 24px 24px;
box-sizing: border-box;
container-name: video-translation-workspace;
container-type: inline-size;
}
.video-translation-wizard-main .video-translation-header {
margin-bottom: 12px;
}
.video-translation-wizard-main[data-phase="configure"] .video-translation-step-panel {
padding: 20px 24px;
}
.video-translation-wizard-main[data-phase="configure"] .video-translation-step-heading {
margin-bottom: 16px;
}
.video-translation-wizard-main .video-translation-option-title {
padding-block: 4px;
}
.video-translation-wizard-main .video-translation-option-title .video-translation-toggle-row {
min-height: 44px;
}
.video-translation-configure-top {
width: 100%;
display: grid;
gap: 14px;
margin: 0 auto 16px;
}
.video-translation-steps {
width: min(650px, 100%);
margin: 0 auto;
}
.video-translation-steps ol {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0;
padding: 0;
list-style: none;
}
.video-translation-steps li {
position: relative;
min-width: 0;
}
.video-translation-steps li:not(:last-child)::after {
content: "";
position: absolute;
z-index: 0;
top: 15px;
left: calc(50% + 22px);
width: calc(100% - 44px);
height: 1px;
background: var(--border);
}
.video-translation-steps li[data-completed="true"]::after {
background: var(--accent);
}
.video-translation-steps li[data-next-reachable="true"]::after {
background: var(--accent);
}
.video-translation-steps button {
position: relative;
z-index: 1;
width: 100%;
min-width: 0;
display: grid;
justify-items: center;
gap: 7px;
padding: 0 8px;
background: transparent;
color: var(--subtle);
}
.video-translation-steps button:disabled {
cursor: default;
opacity: 1;
}
.video-translation-steps button > span {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 1px solid var(--border);
border-radius: 50%;
background: var(--conversation-bg);
color: var(--subtle);
font-size: 11px;
font-weight: 700;
}
.video-translation-steps button strong {
overflow: hidden;
max-width: 100%;
font-size: 13px;
font-weight: 550;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-steps li[data-active="true"] button,
.video-translation-steps li[data-completed="true"] button,
.video-translation-steps li[data-visited="true"] button {
color: var(--text);
}
.video-translation-steps li[data-active="true"] button > span {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-translation-steps li[data-completed="true"] button > span {
border-color: var(--accent);
color: var(--accent);
}
.video-translation-steps li[data-visited="true"]:not([data-active="true"]) button > span {
border-color: var(--accent);
color: var(--accent);
}
.video-translation-draft-bar {
min-width: 0;
min-height: 48px;
display: grid;
grid-template-columns: 18px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 7px 8px 7px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
border-radius: 8px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
color: var(--accent);
box-sizing: border-box;
}
.video-translation-draft-bar > span {
min-width: 0;
display: grid;
gap: 2px;
}
.video-translation-draft-bar strong,
.video-translation-draft-bar small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-translation-draft-bar strong {
color: var(--text);
font-size: 13px;
font-weight: 620;
}
.video-translation-draft-bar small {
color: var(--muted);
font-size: 12px;
}
.video-translation-draft-bar > button {
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.video-translation-draft-bar > button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.video-translation-wizard-main .video-translation-wizard-body {
width: 100%;
min-height: 0;
margin: 0 auto;
overflow-y: auto;
padding: 2px;
box-sizing: border-box;
scrollbar-gutter: stable;
}
.video-translation-wizard-main .video-translation-wizard-actions {
width: 100%;
margin-inline-end: auto;
margin-inline-start: auto;
}
.video-translation-wizard-main[data-phase="configure"]:is([data-step="1"], [data-step="2"]) .video-translation-wizard-body,
.video-translation-wizard-main[data-phase="configure"]:is([data-step="1"], [data-step="2"]) .video-translation-actions-stack {
width: min(960px, calc(100% - 48px));
margin-inline: auto;
}
.video-translation-wizard-main[data-phase="configure"][data-step="2"] .video-translation-wizard-body,
.video-translation-wizard-main[data-phase="configure"][data-step="2"] .video-translation-actions-stack {
width: min(1200px, calc(100% - 48px));
}
@container video-translation-workspace (max-width: 640px) {
.video-translation-wizard-main[data-phase="configure"]:is([data-step="1"], [data-step="2"]) .video-translation-wizard-body,
.video-translation-wizard-main[data-phase="configure"]:is([data-step="1"], [data-step="2"]) .video-translation-actions-stack {
width: 100%;
}
}
.creator-collaboration {
position: static;
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
border: 0;
border-radius: 0;
background: var(--surface);
}
@container video-translation-output-controls (max-width: 360px) {
.video-translation-typography-fields {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-translation-typography-fields > :first-child {
grid-column: 1 / -1;
}
.video-translation-outline-fields,
.video-translation-title-fields {
grid-template-columns: minmax(0, 1fr);
}
}
@container video-translation-output-controls (max-width: 480px) {
.video-translation-dubbing-settings .tts-voice-picker {
grid-template-columns: minmax(0, 1fr);
}
.video-translation-dubbing-settings .tts-voice-picker-actions {
justify-content: flex-end;
}
}
@container video-translation-workspace (max-width: 480px) {
.video-translation-wizard-main[data-phase="configure"] .video-translation-step-panel {
padding: 16px;
}
.video-translation-typography-fields {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-translation-typography-fields > :first-child {
grid-column: 1 / -1;
}
.video-translation-outline-fields {
grid-template-columns: minmax(0, 1fr);
}
}
@container video-translation-workspace (max-width: 720px) {
.video-translation-wizard-main .video-result-toolbar {
align-items: stretch;
flex-direction: column;
}
.video-translation-wizard-main .video-result-version {
align-self: flex-end;
}
.auto-clip-settings-grid {
grid-template-columns: minmax(0, 1fr);
}
.auto-clip-setting-section > header {
display: grid;
justify-content: stretch;
gap: 3px;
}
.auto-clip-detail-layout {
grid-template-columns: minmax(0, 1fr);
}
.auto-clip-detail-media {
position: static;
}
.auto-clip-subtitle-list {
max-height: 320px;
}
.auto-clip-result-actions {
flex-wrap: wrap;
justify-content: flex-end;
}
.auto-clip-candidate-detailed-list > article {
grid-template-columns: 112px minmax(0, 1fr);
}
.auto-clip-candidate-detailed-list[data-orientation="landscape"] > article {
grid-template-columns: 160px minmax(0, 1fr);
}
.auto-clip-list-actions {
grid-column: 2;
flex-direction: row;
justify-content: flex-start;
}
.auto-clip-list-actions button {
width: auto;
}
.video-translation-final-grid {
grid-template-columns: 1fr;
}
.video-translation-final-grid .video-translation-summary {
position: static;
}
.creator-task-final-grid,
.creator-result-layout,
.stickman-audio-layout,
.stickman-delivery-content {
grid-template-columns: minmax(0, 1fr);
}
.stickman-delivery-preview {
width: min(560px, 100%);
}
.stickman-audio-row {
grid-template-columns: 50px minmax(0, 1fr);
}
.stickman-audio-control {
grid-column: 2;
justify-content: flex-start;
}
.creator-result-layout > .creator-task-summary {
position: static;
}
.stickman-music-settings {
padding-top: 14px;
padding-inline-start: 0;
border-top: 1px solid var(--border-hairline);
border-inline-start: 0;
}
}
@container video-translation-workspace (max-width: 480px) {
.auto-clip-candidate-detailed-list > article {
grid-template-columns: minmax(0, 1fr);
align-items: start;
}
.auto-clip-list-preview,
.auto-clip-list-content,
.auto-clip-list-actions {
grid-column: 1;
}
.auto-clip-list-preview {
width: min(180px, 100%);
}
.auto-clip-list-actions {
flex-wrap: wrap;
}
.stickman-audio-panel .creator-tool-form-row,
.stickman-storyboard-row {
grid-template-columns: minmax(0, 1fr);
}
.stickman-steps button {
padding-inline-end: 2px;
padding-inline-start: 2px;
}
.stickman-steps button strong {
min-height: 30px;
font-size: 10px;
}
.stickman-audio-meta {
display: none;
}
.stickman-delivery-files .creator-result-files > article {
grid-template-columns: 32px minmax(0, 1fr) 28px 28px;
gap: 7px;
}
}
.creator-collaboration-header {
display: grid;
grid-template-columns: 36px minmax(0, 1fr) auto;
align-items: center;
gap: 11px;
padding: 16px;
border-bottom: 1px solid var(--border-hairline);
}
.creator-collaboration-header > span {
width: 36px;
height: 36px;
display: grid;
place-items: center;
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 11%, var(--surface-2));
color: var(--accent);
}
.creator-collaboration-header h2,
.creator-collaboration-header p,
.creator-collaboration-message p {
margin: 0;
letter-spacing: 0;
}
.creator-collaboration-header h2 {
font-size: 15px;
font-weight: 650;
line-height: 1.25;
}
.creator-collaboration-header p {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
line-height: 1.4;
}
.creator-collaboration-context {
min-width: 0;
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: center;
gap: 9px;
margin: 14px 14px 0;
padding: 10px 12px;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.creator-collaboration-task-summary {
flex: 0 0 auto;
min-width: 0;
border-bottom: 1px solid var(--border-hairline);
}
.creator-task-summary-compact {
position: static;
padding: 14px;
border: 0;
border-radius: 0;
background: transparent;
}
.creator-task-summary-compact summary {
cursor: pointer;
list-style: none;
}
.creator-task-summary-compact summary::-webkit-details-marker {
display: none;
}
.creator-task-summary-compact summary:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.creator-task-summary-compact .video-translation-summary-heading {
margin-bottom: 6px;
}
.creator-task-summary-compact .video-translation-summary-heading h2 {
flex: 1;
margin: 0;
}
.creator-task-summary-compact details[open] .video-translation-summary-heading > svg {
transform: rotate(180deg);
}
.creator-task-summary-overview {
margin: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.creator-task-summary-details {
max-height: min(240px, 28vh);
overflow-y: auto;
margin-top: 12px;
}
.creator-task-summary-details dl {
margin-bottom: 0;
}
.creator-collaboration-context > span {
min-width: 0;
display: grid;
gap: 2px;
}
.creator-collaboration-context small {
color: var(--subtle);
font-size: 11px;
}
.creator-collaboration-context strong {
overflow: hidden;
color: var(--text);
font-size: 13px;
font-weight: 570;
text-overflow: ellipsis;
white-space: nowrap;
}
.creator-collaboration-preflight {
display: grid;
gap: 3px;
padding: 10px 14px 0;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.creator-collaboration-preflight strong {
color: var(--text);
}
.creator-collaboration-preflight ul {
margin: 2px 0 0;
padding-inline-start: 18px;
}
.creator-collaboration-messages {
min-height: 0;
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
padding: 16px 14px;
}
.creator-collaboration-message {
max-width: 94%;
display: flex;
align-items: flex-start;
gap: 7px;
color: var(--muted);
}
.creator-collaboration-message > span {
width: 24px;
height: 24px;
flex: 0 0 auto;
display: grid;
place-items: center;
border-radius: 6px;
background: var(--surface-2);
color: var(--muted);
}
.creator-collaboration-message p {
padding-top: 3px;
font-size: 13px;
line-height: 1.6;
}
.creator-collaboration-message[data-role="user"] {
align-self: flex-end;
color: var(--text);
}
.creator-collaboration-message[data-role="user"] p {
padding: 0;
}
.creator-collaboration-change {
min-width: 0;
display: grid;
grid-template-columns: 16px minmax(0, 1fr) 28px;
align-items: center;
gap: 6px;
margin: 0 14px 12px;
padding: 8px 8px 8px 10px;
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
color: var(--muted);
}
.creator-collaboration-change > span {
overflow: hidden;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.creator-collaboration-change > button {
width: 28px;
height: 28px;
display: grid;
place-items: center;
padding: 0;
border-radius: 6px;
color: var(--muted);
}
.creator-collaboration-change > button:hover {
background: var(--surface-2);
color: var(--text);
}
.creator-collaboration-suggestions {
display: flex;
flex-wrap: wrap;
gap: 7px;
padding: 0 14px 12px;
}
.creator-collaboration-suggestions button {
min-width: 0;
height: 30px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: transparent;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
}
.creator-collaboration-suggestions button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
color: var(--text);
}
.creator-collaboration-suggestions button:disabled {
cursor: wait;
opacity: 0.55;
}
.creator-collaboration-change button:focus-visible,
.creator-collaboration-proposal button:focus-visible,
.creator-collaboration-suggestions button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.creator-collaboration-submit-error {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 0 12px 10px;
padding: 9px 10px;
border: 1px solid color-mix(in srgb, var(--danger) 38%, var(--border));
border-radius: 6px;
background: color-mix(in srgb, var(--danger) 8%, var(--surface));
color: var(--danger);
font-size: 12px;
line-height: 1.45;
}
.creator-collaboration-submit-error svg {
flex: 0 0 auto;
margin-top: 1px;
}
.creator-collaboration-submit-error span {
min-width: 0;
overflow-wrap: anywhere;
}
.video-translation-wizard-main[data-phase="result"] {
grid-template-rows: auto minmax(0, 1fr);
}
.video-translation-wizard-main[data-phase="result"] .video-translation-header {
width: 100%;
margin-inline-end: auto;
margin-bottom: 14px;
margin-inline-start: auto;
}
.video-translation-wizard-main[data-phase="result"] .video-translation-wizard-body {
width: 100%;
}
.video-translation-actions-stack {
min-width: 0;
}
.video-result-workspace {
position: relative;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
gap: 10px;
overflow: hidden;
border: 0;
border-radius: 0;
background: var(--surface);
border-inline-start: 1px solid var(--border-hairline);
}
.video-result-toolbar {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.video-result-tabs {
min-width: 0;
display: flex;
align-items: center;
gap: 3px;
padding: 3px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface-2);
}
.video-result-tabs > button {
position: relative;
height: 32px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border-radius: 6px;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
}
.video-result-tabs > button[aria-selected="true"] {
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 7%, transparent);
}
.video-translation-wizard-main .video-result-tabs {
overflow-x: auto;
}
.video-translation-wizard-main .video-result-tabs > button {
flex-shrink: 0;
}
.video-result-unsaved {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent);
}
.video-result-version {
position: relative;
flex: 0 0 auto;
}
.video-result-version > button {
height: 34px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 9px 0 10px;
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
color: var(--text);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.video-result-version > button > svg:first-child {
color: var(--accent);
}
.video-result-version-chevron {
color: var(--muted);
transition: transform 140ms ease;
}
.video-result-version > button[aria-expanded="true"] .video-result-version-chevron {
transform: rotate(180deg);
}
.video-result-version > div {
position: absolute;
z-index: 4;
top: 40px;
right: 0;
width: 260px;
max-width: calc(100vw - 32px);
display: grid;
gap: 2px;
overflow: hidden;
padding: 5px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 10px 28px color-mix(in srgb, var(--text) 12%, transparent);
}
.creator-collaboration-header > button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.creator-collaboration-header > button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
color: var(--text);
}
.video-result-version > div button {
width: 100%;
min-width: 0;
height: auto;
min-height: 54px;
display: grid;
grid-template-columns: minmax(0, 1fr) 18px;
align-items: center;
gap: 7px;
padding: 8px 10px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--text);
font-weight: 400;
line-height: 1.5;
text-align: start;
white-space: normal;
}
.video-result-version > div button > span {
min-width: 0;
display: grid;
gap: 3px;
}
.video-result-version > div strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
line-height: 18px;
}
.video-result-version > div button:hover {
background: var(--surface-2);
}
.video-result-version > div button[aria-current="true"] {
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.video-result-version > div small {
color: var(--muted);
font-size: 11px;
line-height: 16px;
overflow-wrap: anywhere;
white-space: normal;
}
.video-result-notice {
margin: 0;
padding: 8px 10px;
border-inline-start: 2px solid var(--accent);
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.video-result-workspace > .video-result-notice {
position: absolute;
z-index: 12;
grid-column: 1;
grid-row: 1;
inset-block-start: 60px;
inset-inline: 16px;
width: fit-content;
max-width: min(480px, calc(100% - 32px));
margin: 0 auto;
padding: 12px 16px;
box-sizing: border-box;
border: 0;
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow-popover);
color: var(--text);
overflow-wrap: anywhere;
pointer-events: none;
}
.video-result-regenerate {
min-width: 0;
min-height: 34px;
display: flex;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
}
.video-result-regenerate > button,
.video-result-regenerate-actions button {
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.video-result-regenerate > button,
.video-result-regenerate-actions button:last-child {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.creator-collaboration-messages {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
gap: 14px;
overflow-y: auto;
padding: 16px 14px;
scrollbar-gutter: stable;
}
.creator-collaboration-messages > * {
flex: 0 0 auto;
}
.creator-collaboration-message {
width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
color: var(--text);
}
.creator-collaboration-message > header {
display: flex;
align-items: center;
gap: 6px;
color: var(--muted);
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.creator-collaboration-message > header > span {
width: 22px;
height: 22px;
display: grid;
place-items: center;
border-radius: 6px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
color: var(--accent);
}
.creator-collaboration-message > header strong {
color: var(--text);
font-size: 12px;
font-weight: 620;
}
.creator-collaboration-message > header small {
color: var(--subtle);
font-size: 10px;
}
.creator-collaboration-bubble {
min-width: 0;
max-width: 100%;
color: var(--text);
font-size: 13px;
line-height: 1.62;
overflow-wrap: anywhere;
}
.creator-collaboration-bubble .markdown-prose {
font-size: inherit;
line-height: inherit;
}
.creator-collaboration-bubble .markdown-prose .md-p,
.creator-collaboration-bubble .markdown-prose .md-h:first-child {
margin-top: 0;
}
.creator-collaboration-bubble .markdown-prose > :last-child {
margin-bottom: 0;
}
.creator-collaboration-message[data-role="user"] {
width: auto;
max-width: 88%;
align-self: flex-end;
align-items: flex-end;
}
.creator-collaboration-message[data-role="user"] .creator-collaboration-bubble {
padding: 9px 11px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--surface-2);
}
.creator-collaboration-working {
width: 100%;
min-height: 24px;
display: flex;
align-items: center;
gap: 8px;
color: var(--accent);
}
.creator-collaboration-working > span {
width: 22px;
height: 22px;
display: grid;
place-items: center;
border-radius: 6px;
background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
}
.creator-collaboration-activity {
min-width: 0;
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
gap: 8px;
align-items: start;
padding: 2px 4px;
color: var(--muted);
}
.creator-collaboration-activity > span {
width: 18px;
height: 18px;
display: grid;
place-items: center;
color: var(--subtle);
}
.creator-collaboration-activity[data-actor="agent"] > span,
.creator-collaboration-activity[data-actor="agent"] header strong {
color: var(--accent);
}
.creator-collaboration-activity[data-actor="system"] > span,
.creator-collaboration-activity[data-actor="system"] header strong {
color: var(--warning);
}
.creator-collaboration-activity > div {
min-width: 0;
display: grid;
gap: 2px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border-hairline);
}
.creator-collaboration-activity header {
display: flex;
align-items: center;
gap: 7px;
}
.creator-collaboration-activity header strong,
.creator-collaboration-activity header small,
.creator-collaboration-activity > div > small {
color: var(--subtle);
font-size: 10px;
line-height: 1.35;
}
.creator-collaboration-activity header strong {
color: var(--muted);
font-weight: 620;
}
.creator-collaboration-activity p {
margin: 0;
color: var(--text);
font-size: 12px;
font-weight: 560;
line-height: 1.45;
}
.creator-collaboration-stage {
min-width: 0;
display: grid;
gap: 9px;
padding: 11px;
border: 1px solid var(--border-hairline);
border-radius: 7px;
background: var(--conversation-bg);
}
.creator-collaboration-issue {
min-width: 0;
}
.creator-collaboration-issue .creator-collaboration-bubble p {
margin: 0;
}
.creator-collaboration-issue-actions {
display: flex;
gap: 6px;
}
.creator-collaboration-issue-actions button {
display: grid;
place-items: center;
width: 28px;
height: 28px;
border: 1px solid var(--border-hairline);
border-radius: 6px;
background: var(--surface);
color: var(--muted);
cursor: pointer;
}
.creator-collaboration-issue-actions .creator-collaboration-login-action {
display: inline-flex;
align-items: center;
gap: 5px;
min-height: 28px;
padding: 0 9px;
border: 1px solid var(--border-hairline);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 620;
text-decoration: none;
}
.creator-collaboration-stage[data-compact="true"] {
gap: 0;
padding: 8px 10px;
border-color: transparent;
background: transparent;
}
.creator-collaboration-stage[data-status="running"],
.creator-collaboration-stage[data-status="queued"] {
border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
}
.creator-collaboration-stage[data-status="failed"] {
border-color: color-mix(in srgb, var(--danger) 38%, var(--border));
}
.creator-collaboration-stage > header {
min-width: 0;
display: grid;
grid-template-columns: 20px minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
}
.creator-collaboration-stage > header > span {
width: 20px;
height: 20px;
display: grid;
place-items: center;
color: var(--accent);
}
.creator-collaboration-stage[data-status="failed"] > header > span {
color: var(--danger);
}
.creator-collaboration-stage[data-status="succeeded"] > header > span {
color: var(--success);
}
.creator-collaboration-stage-copy {
min-width: 0;
display: grid;
gap: 3px;
}
.creator-collaboration-stage[data-compact="true"] .creator-collaboration-stage-copy {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 3px 7px;
}
.creator-collaboration-stage > header small {
color: var(--subtle);
font-size: 10px;
line-height: 1.3;
}
.creator-collaboration-stage > header strong {
color: var(--text);
font-size: 12px;
font-weight: 580;
line-height: 1.45;
overflow-wrap: anywhere;
}
.creator-collaboration-stage-controls {
display: flex;
align-items: center;
gap: 6px;
}
.creator-collaboration-stage-controls b {
color: var(--accent);
font-size: 12px;
font-weight: 650;
}
.creator-collaboration-stage-controls button {
width: 27px;
height: 27px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: transparent;
color: var(--muted);
}
.creator-collaboration-stage-controls button:hover:not(:disabled) {
border-color: var(--border-strong);
background: var(--surface-2);
color: var(--text);
}
.creator-collaboration-stage-controls button[data-intent="danger"] {
border-color: color-mix(in srgb, var(--destructive) 45%, var(--border));
background: var(--destructive-soft);
color: var(--destructive);
}
.creator-collaboration-stage-controls button[data-intent="danger"]:hover:not(:disabled) {
border-color: var(--destructive);
background: color-mix(in srgb, var(--destructive) 18%, var(--surface));
color: color-mix(in srgb, var(--destructive) 88%, #fff);
}
.creator-collaboration-stage-controls button:disabled {
cursor: wait;
opacity: 0.5;
}
.creator-collaboration-stage[data-status="failed"] .creator-collaboration-stage-controls b {
color: var(--danger);
}
.creator-collaboration-stage[data-status="succeeded"] .creator-collaboration-stage-controls b {
color: var(--success);
}
.creator-collaboration-stage-progress {
height: 5px;
overflow: hidden;
border-radius: 3px;
background: var(--surface-3);
}
.creator-collaboration-stage-progress > span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--accent);
transition: width 700ms linear;
}
@keyframes creator-progress-indeterminate {
from {
transform: translateX(-110%);
}
to {
transform: translateX(300%);
}
}
@media (prefers-reduced-motion: reduce) {
.creator-collaboration-stage-progress > span { transition: none; }
.video-download-row-progress[data-indeterminate="true"] > span,
.creator-collaboration-stage-progress[data-indeterminate="true"] > span {
width: 100%;
animation: none;
opacity: 0.45;
}
}
.creator-collaboration-stage[data-status="failed"] .creator-collaboration-stage-progress > span {
background: var(--danger);
}
.creator-collaboration-stage[data-status="succeeded"] .creator-collaboration-stage-progress > span {
background: var(--success);
}
.video-translation-confirm-backdrop {
position: fixed;
z-index: 100;
inset: 0;
display: grid;
place-items: center;
padding: 20px;
background: color-mix(in srgb, #000 48%, transparent);
}
.video-translation-confirm-dialog {
width: min(460px, 100%);
overflow: hidden;
border: 1px solid var(--border-strong);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 18px 60px color-mix(in srgb, #000 28%, transparent);
}
.video-translation-confirm-dialog > header {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
gap: 12px;
padding: 20px 20px 14px;
}
.video-translation-confirm-dialog > header > span {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--destructive-soft);
color: var(--destructive);
}
.video-translation-confirm-dialog h2,
.video-translation-confirm-dialog p {
margin: 0;
}
.video-translation-confirm-dialog h2 {
color: var(--text);
font-size: 16px;
line-height: 1.4;
}
.video-translation-confirm-dialog p {
margin-top: 5px;
color: var(--muted);
font-size: 13px;
line-height: 1.55;
}
.video-translation-confirm-note {
display: grid;
gap: 4px;
margin: 0 20px 18px 66px;
padding: 10px 12px;
border-inline-start: 3px solid color-mix(in srgb, var(--destructive) 74%, var(--border));
background: color-mix(in srgb, var(--destructive) 6%, var(--surface-2));
}
.video-translation-confirm-note strong {
color: var(--text);
font-size: 12px;
}
.video-translation-confirm-note span {
color: var(--muted);
font-size: 12px;
line-height: 1.55;
}
.video-translation-confirm-dialog > footer {
display: flex;
justify-content: flex-end;
gap: 9px;
padding: 13px 20px;
border-top: 1px solid var(--border-hairline);
background: var(--surface-2);
}
.video-translation-confirm-dialog > footer button {
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 7px;
color: var(--text);
}
.video-translation-confirm-dialog > footer button[data-intent="danger"] {
border-color: var(--destructive);
background: var(--destructive);
color: #fff;
}
.video-translation-confirm-dialog > footer button[data-intent="danger"]:hover {
border-color: var(--destructive-hover);
background: var(--destructive-hover);
}
.video-translation-confirm-dialog > footer button[data-intent="danger"]:focus-visible {
outline-color: color-mix(in srgb, var(--destructive) 72%, transparent);
}
.creator-workspace-loading-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 12px;
}
.creator-collaboration-empty,
.creator-collaboration-unavailable {
display: flex;
align-items: center;
gap: 8px;
color: var(--muted);
font-size: 12px;
}
.creator-collaboration-empty {
justify-content: center;
min-height: 90px;
color: var(--subtle);
}
.creator-collaboration-unavailable {
margin: 14px;
padding: 10px 11px;
border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--danger) 5%, var(--surface));
}
.creator-collaboration-unavailable p {
margin: 0;
line-height: 1.5;
}
.creator-collaboration-approval {
display: grid;
gap: 7px;
padding: 11px;
border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.creator-collaboration-approval > strong {
font-size: 12px;
}
.creator-collaboration-approval p,
.creator-collaboration-approval > small {
margin: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.creator-collaboration-approval > div {
display: flex;
justify-content: flex-end;
gap: 6px;
}
.creator-collaboration-approval button {
min-height: 29px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
font-size: 11px;
}
.creator-collaboration-approval button:first-child {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.creator-collaboration-spin {
animation: creator-collaboration-spin 900ms linear infinite;
}
@keyframes creator-collaboration-spin {
to { transform: rotate(360deg); }
}
.video-result-regenerate-actions {
display: flex;
align-items: center;
gap: 7px;
}
.video-result-pane {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 22px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
scrollbar-gutter: stable;
}
.video-result-pane-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.video-result-pane-heading h2,
.video-result-pane-heading p {
margin: 0;
letter-spacing: 0;
}
.video-result-pane-heading h2 {
color: var(--text);
font-size: 17px;
font-weight: 650;
line-height: 1.3;
}
.video-result-pane-heading p {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}
.video-result-pane-heading > button,
.video-result-pane-actions button {
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.video-result-pane-heading > button:hover,
.video-result-pane-actions button:hover:not(:disabled) {
border-color: var(--border-strong);
background: var(--surface-2);
color: var(--text);
}
.video-result-pane-actions {
display: flex;
align-items: center;
gap: 7px;
}
.video-result-subtitle-variants {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 3px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
}
.video-result-subtitle-variants > button {
height: 28px;
padding: 0 10px;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
}
.video-result-subtitle-variants > button[aria-checked="true"] {
background: var(--surface);
color: var(--text);
box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 8%, transparent);
}
.creator-collaboration .tool-agent-composer {
flex: 0 0 auto;
}
.creator-collaboration .tool-agent-composer textarea {
min-height: 72px;
max-height: 144px;
}
.creator-collaboration-change button:focus-visible,
.creator-collaboration-proposal button:focus-visible,
.creator-collaboration-suggestions button:focus-visible,
.creator-collaboration-header > button:focus-visible,
.creator-collaboration-approval button:focus-visible,
.creator-collaboration-stage:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.creator-collaboration-panel:focus {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.video-result-pane-actions > button:last-child:not(:disabled) {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-result-pane-actions button:disabled {
background: var(--surface-2);
color: var(--subtle);
}
.video-result-generated-sections,
.video-result-generated-section {
display: grid;
align-content: start;
}
.video-result-generated-sections {
gap: 24px;
}
.video-result-generated-section {
gap: 12px;
}
.video-result-generated-section > h3 {
margin: 0;
color: var(--text);
font-size: 14px;
font-weight: 650;
letter-spacing: 0;
}
.video-result-generated-file-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
gap: 12px;
}
.video-result-preview {
width: min(640px, 100%);
margin: 0 auto;
}
.video-result-preview .video-source-preview-footer {
grid-template-columns: 32px minmax(0, 1fr);
}
.video-subtitle-editor {
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
}
.video-subtitle-editor label {
min-width: 0;
display: grid;
grid-template-columns: 28px 188px minmax(0, 1fr);
align-items: start;
gap: 10px;
padding: 12px;
}
.video-subtitle-editor label + label {
border-top: 1px solid var(--border-hairline);
}
.video-subtitle-editor label > span {
padding-top: 8px;
color: var(--subtle);
font-size: 11px;
font-variant-numeric: tabular-nums;
}
.video-subtitle-editor label > small {
padding-top: 8px;
color: var(--muted);
font-size: 11px;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.video-subtitle-editor textarea {
width: 100%;
min-height: 48px;
resize: vertical;
padding: 8px 10px;
border: 1px solid transparent;
border-radius: 6px;
outline: 0;
background: transparent;
color: var(--text);
font: inherit;
font-family: var(--font), var(--creator-subtitle-fallback-families);
font-size: 13px;
line-height: 1.55;
box-sizing: border-box;
}
.video-subtitle-editor textarea:hover {
border-color: var(--border);
background: var(--surface);
}
.video-subtitle-editor textarea:focus {
border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
background: var(--surface);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.video-result-file-row {
display: grid;
grid-template-columns: 40px minmax(0, 1fr) 34px;
align-items: center;
gap: 12px;
padding: 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
}
.video-result-file-row > span {
width: 40px;
height: 40px;
display: grid;
place-items: center;
border-radius: 7px;
background: var(--surface-2);
color: var(--muted);
}
.video-result-file-row > div {
min-width: 0;
display: grid;
gap: 4px;
}
.video-result-file-row strong {
overflow: hidden;
color: var(--text);
font-size: 13px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-result-file-row small {
color: var(--muted);
font-size: 12px;
}
.video-result-file-row > button {
width: 34px;
height: 34px;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--border);
border-radius: 7px;
color: var(--muted);
}
.video-result-voice-output {
width: min(720px, 100%);
display: grid;
gap: 12px;
}
.video-result-audio-preview {
min-height: 92px;
display: grid;
place-items: center;
padding: 16px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
box-sizing: border-box;
}
.video-result-audio-preview audio {
width: 100%;
}
.video-result-audio-status {
display: grid;
justify-items: center;
gap: 10px;
color: var(--muted);
font-size: 12px;
text-align: center;
}
.video-result-audio-status button {
height: 32px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
}
.video-result-audio-status button:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.video-result-empty {
min-height: 210px;
display: grid;
place-items: center;
align-content: center;
gap: 10px;
border: 1px dashed var(--border-strong);
border-radius: 8px;
color: var(--muted);
text-align: center;
}
.video-result-empty strong {
color: var(--text);
font-size: 13px;
}
.video-result-empty p,
.video-result-subtitle-empty p {
margin: 0;
padding-inline: 16px;
font-size: 12px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.video-result-empty button {
height: 34px;
padding: 0 11px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
color: var(--text);
font-size: 12px;
}
.video-result-settings {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin: 0;
}
.video-result-settings > div {
min-width: 0;
padding: 13px 14px;
border-inline-start: 2px solid var(--border-strong);
background: var(--conversation-bg);
}
.video-result-settings dt {
color: var(--muted);
font-size: 11px;
}
.video-result-settings dd {
overflow: hidden;
margin: 6px 0 0;
color: var(--text);
font-size: 13px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.creator-collaboration-proposal {
width: calc(100% - 31px);
align-self: flex-start;
display: grid;
grid-template-columns: 22px minmax(0, 1fr);
gap: 8px;
margin-inline-start: 31px;
padding: 11px;
border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
border-radius: 7px;
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
box-sizing: border-box;
}
.creator-collaboration-proposal > svg {
margin-top: 2px;
color: var(--accent);
}
.creator-collaboration-proposal > div {
min-width: 0;
}
.creator-collaboration-proposal strong {
color: var(--text);
font-size: 13px;
font-weight: 650;
}
.creator-collaboration-proposal p {
margin: 5px 0 9px;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.creator-collaboration-proposal > div > span {
display: flex;
justify-content: flex-end;
gap: 6px;
}
.creator-collaboration-proposal button {
height: 29px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
}
.creator-collaboration-proposal button:last-child {
border-color: var(--accent);
background: var(--accent);
color: var(--on-accent);
}
.video-result-tabs button:focus-visible,
.video-result-version button:focus-visible,
.video-result-pane button:focus-visible,
.video-result-file-row button:focus-visible,
.video-result-regenerate button:focus-visible,
.video-translation-draft-bar > button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
@media (max-width: 1180px) {
.video-translation-final-grid {
grid-template-columns: 1fr;
}
.video-translation-final-grid .video-translation-summary {
position: static;
}
}
.digital-avatar-workspace-content {
overflow: hidden;
}
.digital-avatar-stack {
height: 100%;
grid-template-rows: auto minmax(0, 1fr) auto;
}
.digital-avatar-step-scroll {
min-height: 0;
overflow-y: auto;
padding: 2px;
scrollbar-gutter: stable;
}
.digital-avatar-actions {
margin-top: 0;
padding-top: 14px;
border-top: 1px solid var(--border-hairline);
}
.digital-avatar-steps ol {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.digital-avatar-picker {
display: grid;
grid-template-columns: minmax(240px, .82fr) minmax(300px, 1.18fr);
align-items: start;
gap: 22px;
}
.digital-avatar-source-list {
min-width: 0;
display: grid;
gap: 10px;
}
.digital-avatar-source-list > button,
.digital-avatar-upload {
position: relative;
min-width: 0;
min-height: 82px;
display: grid;
grid-template-columns: 58px minmax(0, 1fr) 18px;
align-items: center;
gap: 12px;
padding: 10px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--conversation-bg);
color: var(--text);
text-align: start;
box-sizing: border-box;
}
.digital-avatar-source-list > button:hover,
.digital-avatar-upload:hover {
border-color: var(--border-strong);
background: var(--surface-2);
}
.digital-avatar-source-list > button[aria-pressed="true"] {
border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 8%, transparent);
}
.digital-avatar-source-list > button > img,
.digital-avatar-upload > img,
.digital-avatar-upload > span:first-child {
width: 58px;
height: 58px;
display: grid;
place-items: center;
border-radius: 7px;
object-fit: cover;
background: var(--surface-2);
color: var(--muted);
}
.digital-avatar-source-list > button > span,
.digital-avatar-upload > span:nth-child(2) {
min-width: 0;
display: grid;
gap: 5px;
}
.video-result-video-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr));
align-items: start;
gap: 20px;
}
.video-result-video-grid > .video-result-output-column {
width: 100%;
max-width: 720px;
}
.video-result-video-grid .video-result-player-frame[data-ratio="9:16"] {
width: min(300px, 100%);
}
.video-result-subtitle-preview-layout {
display: grid;
grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
min-height: 0;
align-items: stretch;
gap: 18px;
}
.video-result-subtitle-preview-layout[data-subtitle-only="true"] {
grid-template-columns: minmax(0, 1fr);
}
.video-translation-source-modes {
display: flex;
flex-wrap: wrap;
gap: 4px;
border-bottom: 1px solid var(--border);
margin-bottom: 20px;
}
.video-translation-source-modes button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 40px;
padding: 8px 12px;
color: inherit;
background: transparent;
border: 0;
border-bottom: 2px solid transparent;
cursor: pointer;
}
.video-translation-source-modes button[aria-selected="true"] {
color: var(--accent);
border-bottom-color: currentColor;
}
.video-translation-subtitle-source-step {
width: min(800px, 100%);
min-width: 0;
margin: 0 auto;
box-sizing: border-box;
border: 0;
background: transparent;
}
.video-translation-wizard-main[data-phase="configure"] .video-translation-subtitle-source-step {
padding-block: 8px;
}
.video-translation-wizard-main[data-phase="configure"] .video-translation-subtitle-source-step .video-translation-step-heading {
margin-bottom: 12px;
}
.video-translation-subtitle-source-step .video-translation-step-heading h2 {
font-size: 14px;
font-weight: 600;
}
.video-translation-subtitle-source-step fieldset {
min-inline-size: 0;
}
.video-translation-subtitle-source-step details {
overflow-wrap: anywhere;
}
.video-translation-subtitle-source-step pre {
max-height: 320px;
overflow: auto;
margin: 12px 0 0;
color: var(--text);
font-family: inherit;
font-size: 13px;
line-height: 1.6;
white-space: pre-wrap;
}
.video-result-subtitle-pane {
container-type: inline-size;
container-name: video-result-subtitles;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
}
.video-result-subtitle-preview-layout > .video-result-output-column {
min-height: 0;
grid-template-rows: minmax(0, 1fr);
align-content: stretch;
gap: 0;
}
.video-result-subtitle-video {
position: sticky;
top: 0;
min-width: 0;
display: grid;
align-content: start;
gap: 8px;
container-type: size;
}
.video-result-subtitle-video > small,
.video-result-output-column > small {
color: var(--muted);
font-size: 11px;
text-align: center;
}
.video-result-output-column {
min-width: 0;
display: grid;
align-content: start;
gap: 12px;
}
.video-result-output-heading {
min-width: 0;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
.video-result-output-heading > div {
min-width: 0;
}
.video-result-output-heading h3,
.video-result-output-heading small {
margin: 0;
letter-spacing: 0;
}
.video-result-output-heading h3 {
color: var(--text);
font-size: 14px;
font-weight: 650;
line-height: 1.35;
}
.video-result-output-heading small {
display: block;
margin-top: 3px;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.video-result-player-frame {
position: relative;
width: 100%;
aspect-ratio: var(--video-preview-ratio, 16 / 9);
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: #050607;
}
.video-result-preview-composition { position: absolute; inset: 0; }
.video-result-composition-fullscreen { position: absolute; right: 8px; top: 8px; z-index: 4; display: grid; place-items: center; padding: 6px; border: 0; border-radius: 4px; background: #0009; color: white; cursor: pointer; }
.video-result-preview-composition video::-webkit-media-controls-fullscreen-button { display: none; }
.video-result-player-frame:fullscreen { display: flex; align-items: center; justify-content: center; width: 100vw !important; height: 100vh !important; border: 0; border-radius: 0; background: black; }
.video-result-player-frame:fullscreen .video-result-preview-composition { position: relative; inset: auto; flex: none; width: min(100vw, calc(100vh * var(--video-preview-aspect))); height: auto; aspect-ratio: var(--video-preview-ratio); }
.video-result-player-frame[data-ratio="9:16"] {
width: min(230px, 100%);
height: auto;
aspect-ratio: var(--video-preview-ratio, 9 / 16);
justify-self: center;
}
.video-result-subtitle-video .video-result-player-frame[data-ratio="9:16"] {
width: min(100%, calc((100cqh - 28px) * 0.5625));
}
.video-result-player,
.video-result-player-status {
width: 100%;
height: 100%;
}
.video-result-player {
display: block;
object-fit: contain;
object-position: center;
}
.video-result-player-status {
display: grid;
place-items: center;
padding: 20px;
box-sizing: border-box;
color: var(--muted);
font-size: 12px;
text-align: center;
}
.video-result-output-column .video-result-player-frame[data-preview-empty="true"] {
aspect-ratio: auto;
min-height: 240px;
}
.video-result-subtitle-overlay {
position: absolute;
right: 8%;
bottom: 50px;
left: 8%;
display: grid;
justify-items: center;
gap: 3px;
pointer-events: none;
}
.video-result-subtitle-overlay > span {
max-width: 100%;
padding: 3px 7px;
border-radius: 4px;
background: color-mix(in srgb, #000 72%, transparent);
color: #fff;
font-size: 13px;
line-height: 1.45;
text-align: center;
white-space: pre-line;
overflow-wrap: anywhere;
}
.video-result-subtitle-preview-layout .video-subtitle-editor {
min-height: 0;
overflow-y: auto;
scrollbar-gutter: stable;
}
.video-result-subtitle-preview-layout .video-subtitle-cue {
min-width: 0;
display: grid;
grid-template-columns: 100px minmax(0, 1fr);
align-items: start;
gap: 10px;
padding: 9px 11px;
border-inline-start: 3px solid transparent;
transition: background 120ms ease, border-color 120ms ease;
}
.video-result-subtitle-preview-layout .video-subtitle-cue + .video-subtitle-cue {
border-top: 1px solid var(--border-hairline);
}
.video-result-subtitle-preview-layout .video-subtitle-cue[data-focused="true"] {
border-left-color: var(--accent);
background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.video-subtitle-cue-time {
width: 100%;
min-width: 0;
display: grid;
justify-items: start;
gap: 2px;
padding: 1px 0;
border: 0;
border-radius: 3px;
background: transparent;
color: var(--muted);
text-align: start;
}
.video-subtitle-cue-time:hover {
color: var(--accent);
}
.video-subtitle-cue-time > span,
.video-subtitle-cue-time > small {
font-size: 10px;
font-variant-numeric: tabular-nums;
}
.video-subtitle-cue-time > span {
color: var(--subtle);
}
.video-subtitle-cue-time > small {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
white-space: nowrap;
}
.video-result-subtitle-preview-layout .video-subtitle-editor textarea {
min-height: 1.5em;
field-sizing: content;
resize: none;
padding: 0;
border: 0;
border-radius: 0;
font-size: 12px;
line-height: 1.5;
}
.video-subtitle-cue-lines {
display: grid;
gap: 3px;
}
.video-subtitle-cue-pair {
min-width: 0;
display: grid;
gap: 3px;
}
.video-result-subtitle-preview-layout .video-subtitle-cue-source {
color: var(--muted);
}
.video-result-subtitle-preview-layout .video-subtitle-cue-translation {
color: var(--text);
}
.video-result-subtitle-preview-layout .video-subtitle-editor textarea[readonly],
.video-result-subtitle-preview-layout .video-subtitle-editor textarea[readonly]:hover,
.video-result-subtitle-preview-layout .video-subtitle-editor textarea[readonly]:focus {
resize: none;
border-color: transparent;
background: transparent;
box-shadow: none;
cursor: text;
}
@container video-result-subtitles (max-width: 600px) {
.video-result-subtitle-preview-layout[data-subtitle-only="true"] .video-subtitle-cue {
grid-template-columns: minmax(0, 1fr);
gap: 6px;
}
.video-result-subtitle-preview-layout[data-subtitle-only="true"] .video-subtitle-cue-time {
display: flex;
gap: 10px;
}
.video-result-subtitle-preview-layout {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: auto auto;
align-content: start;
align-items: start;
overflow-y: auto;
}
.video-result-subtitle-preview-layout > .video-result-output-column {
height: min(60dvh, 520px);
}
.video-result-subtitle-video {
position: static;
container-type: normal;
}
.video-result-subtitle-video .video-result-player-frame {
width: 100%;
justify-self: stretch;
}
.video-result-subtitle-video .video-result-player-frame[data-ratio="9:16"] {
width: min(100%, 440px);
justify-self: center;
}
}
@media (max-width: 600px) {
.video-result-pane > .video-result-pane-heading,
.video-result-pane > .video-result-pane-heading .video-result-pane-actions {
align-items: stretch;
flex-direction: column;
}
.video-result-subtitle-variants {
align-self: flex-start;
}
}
.video-result-subtitle-empty {
min-height: 96px;
display: grid;
place-items: center;
padding: 16px;
border: 1px dashed var(--border-strong);
border-radius: 8px;
color: var(--muted);
font-size: 12px;
text-align: center;
}
.video-result-preview {
width: min(640px, 100%);
margin: 0 auto;
}
.digital-avatar-source-list small,
.digital-avatar-upload small {
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.digital-avatar-source-list > button > svg {
color: var(--accent);
}
.digital-avatar-upload {
grid-template-columns: 58px minmax(0, 1fr);
cursor: pointer;
}
.digital-avatar-upload input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.digital-avatar-presenter-preview,
.digital-avatar-scene-preview {
min-width: 0;
display: grid;
place-items: center;
}
.digital-avatar-frame {
position: relative;
width: 100%;
max-width: 520px;
aspect-ratio: 16 / 9;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: #d7d8df;
isolation: isolate;
}
.digital-avatar-frame[data-ratio="9:16"] {
width: min(218px, 100%);
aspect-ratio: 9 / 16;
}
.digital-avatar-frame[data-ratio="1:1"] {
width: min(340px, 100%);
aspect-ratio: 1;
}
.digital-avatar-frame > img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: 50% 34%;
}
.digital-avatar-frame[data-position="left"] > img {
object-position: 36% 34%;
}
.digital-avatar-frame[data-position="right"] > img {
object-position: 64% 34%;
}
.digital-avatar-frame-tint {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
}
.digital-avatar-frame[data-background="studio"] .digital-avatar-frame-tint {
background: rgb(79 102 168 / 9%);
}
.digital-avatar-frame[data-background="light"] .digital-avatar-frame-tint {
background: rgb(255 255 255 / 18%);
}
.digital-avatar-frame[data-background="dark"] .digital-avatar-frame-tint {
background: rgb(12 15 20 / 35%);
}
.digital-avatar-frame > p {
position: absolute;
right: 18px;
bottom: 15px;
left: 18px;
z-index: 2;
width: fit-content;
max-width: calc(100% - 36px);
margin: 0 auto;
padding: 6px 9px;
border-radius: 6px;
background: rgb(20 22 28 / 78%);
color: #f7f7f8;
font-size: 12px;
font-weight: 590;
line-height: 1.45;
text-align: center;
text-wrap: balance;
}
.digital-avatar-guidance {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 16px 0 0;
color: var(--muted);
font-size: 11px;
line-height: 1.5;
}
.digital-avatar-guidance > svg {
flex: 0 0 auto;
margin-top: 1px;
color: var(--accent);
}
.digital-avatar-script-layout,
.digital-avatar-scene-layout {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
align-items: start;
gap: 24px;
}
.digital-avatar-script-field textarea {
min-height: 256px;
}
.digital-avatar-voice-controls,
.digital-avatar-scene-controls {
min-width: 0;
display: grid;
gap: 18px;
}
.digital-avatar-control-group {
min-width: 0;
display: grid;
gap: 8px;
}
.digital-avatar-control-group > span {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 12px;
font-weight: 590;
}
.digital-avatar-control-group > span > svg {
color: var(--accent);
}
.digital-avatar-control-group .creator-tool-segmented {
max-width: 100%;
flex-wrap: wrap;
margin: 0;
}
.digital-avatar-speed {
display: grid;
gap: 9px;
}
.digital-avatar-speed > span {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--muted);
font-size: 12px;
font-weight: 590;
}
.digital-avatar-speed output {
color: var(--text);
font-size: 12px;
font-variant-numeric: tabular-nums;
}
.digital-avatar-speed input {
width: 100%;
accent-color: var(--accent);
}
.digital-avatar-scene-layout {
grid-template-columns: minmax(230px, .72fr) minmax(320px, 1.28fr);
}
.digital-avatar-backgrounds {
display: flex;
align-items: center;
gap: 9px;
}
.digital-avatar-backgrounds button {
width: 34px;
height: 34px;
display: grid;
place-items: center;
padding: 3px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface);
}
.digital-avatar-backgrounds button > span {
width: 100%;
height: 100%;
border-radius: 4px;
background: #c9cee0;
}
.digital-avatar-backgrounds button[data-background="light"] > span {
background: #f1f1ef;
}
.digital-avatar-backgrounds button[data-background="dark"] > span {
background: #252932;
}
.digital-avatar-backgrounds button[aria-checked="true"] {
border-color: var(--accent);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}
.digital-avatar-subtitle-toggle {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-top: 2px;
}
.digital-avatar-subtitle-toggle > span {
min-width: 0;
display: flex;
align-items: flex-start;
gap: 8px;
}
.digital-avatar-subtitle-toggle > span > svg {
flex: 0 0 auto;
margin-top: 1px;
color: var(--accent);
}
.digital-avatar-subtitle-toggle > span > span {
min-width: 0;
display: grid;
gap: 3px;
}
.digital-avatar-subtitle-toggle strong {
color: var(--text);
font-size: 12px;
font-weight: 610;
}
.digital-avatar-subtitle-toggle small {
color: var(--muted);
font-size: 11px;
}
.digital-avatar-subtitle-toggle input {
width: 34px;
height: 18px;
flex: 0 0 auto;
accent-color: var(--accent);
}
.digital-avatar-review .digital-avatar-frame {
margin: 0 auto;
}
.digital-avatar-save-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 16px;
}
.digital-avatar-save-row > span {
min-width: 0;
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 11px;
line-height: 1.45;
}
.digital-avatar-save-row > span > svg {
flex: 0 0 auto;
color: #26825f;
}
.digital-avatar-source-list > button:focus-visible,
.digital-avatar-upload:focus-within,
.digital-avatar-backgrounds button:focus-visible,
.digital-avatar-subtitle-toggle input:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
@media (max-width: 1180px) {
.digital-avatar-picker,
.digital-avatar-script-layout,
.digital-avatar-scene-layout {
grid-template-columns: minmax(0, 1fr);
}
.digital-avatar-presenter-preview,
.digital-avatar-scene-preview {
order: -1;
}
.digital-avatar-presenter-preview .digital-avatar-frame,
.digital-avatar-scene-preview .digital-avatar-frame {
max-width: 440px;
}
}
@media (max-width: 760px) {
.digital-avatar-steps strong {
font-size: 10px;
}
.digital-avatar-save-row {
align-items: stretch;
flex-direction: column;
}
.digital-avatar-save-row > button {
width: 100%;
}
}
.subtitle-composition-preview { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
.subtitle-composition-canvas { position: absolute; left: 50%; top: 50%; transform-origin: center; }
.subtitle-composition-preview[data-status="failed"] .subtitle-composition-canvas { visibility: hidden; }
.subtitle-composition-preview button { pointer-events: auto; }
.subtitle-editor-styled-overlay { position: absolute; inset: 0; pointer-events: none; }