Download frontend/src/app/styles.css from modventures/character-studio: direct link, hf CLI and curl.
- Browser
- Download file 30.8 kB
-
https://huggingface.co/spaces/modventures/character-studio/resolve/main/frontend/src/app/styles.css
- Command line
-
hf download hf://spaces/modventures/character-studio/frontend/src/app/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/modventures/character-studio/resolve/main/frontend/src/app/styles.css
30.8 kB
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root {
font-family: 'DM Sans', sans-serif;
color: #25262b;
background: #f6f6f3;
font-synthesis: none;
font-weight: 400;
line-height: 1.5;
--purple: #6b50ba;
--border: #e7e6e2;
--muted: #7c7d82;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
button,
input,
textarea,
select {
font: inherit;
}
button,
a,
input,
select,
textarea {
-webkit-tap-highlight-color: transparent;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
a {
color: inherit;
text-decoration: none;
}
button,
input,
select,
textarea,
a {
outline-offset: 4px;
}
:focus-visible {
outline: 2px solid #8063c9;
}
button {
border: 0;
}
h1,
h2,
h3,
p {
margin: 0;
}
h1,
h2,
h3 {
font-family: Manrope, 'DM Sans', sans-serif;
}
h1 {
font-size: 32px;
line-height: 1.25;
font-weight: 750;
letter-spacing: -1.1px;
}
h2 {
font-size: 18px;
letter-spacing: -0.4px;
}
h3 {
font-size: 15px;
}
p {
color: #78797d;
font-size: 13px;
line-height: 1.65;
}
small,
.small {
font-size: 11px;
}
.muted {
color: var(--muted);
}
.row {
display: flex;
align-items: center;
gap: 10px;
}
.between {
justify-content: space-between;
}
.wrap {
flex-wrap: wrap;
}
.app-shell {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 230px;
background: #191b20;
color: #9699a1;
position: fixed;
inset: 0 auto 0 0;
display: flex;
flex-direction: column;
padding: 32px 20px 20px;
}
.brand {
display: flex;
gap: 10px;
align-items: center;
color: white;
font-size: 18px;
font-weight: 700;
letter-spacing: -0.5px;
}
.brand-icon {
color: #ccbdf7;
background: #2c2938;
border: 1px solid #443d55;
border-radius: 10px;
padding: 8px;
display: flex;
}
.brand-light {
font-weight: 400;
color: #b5b7c0;
display: block;
font-size: 12px;
letter-spacing: 2.5px;
line-height: 1;
}
.workspace-label {
font-size: 9px;
letter-spacing: 1.7px;
margin: 43px 12px 14px;
color: #676b77;
font-weight: 700;
}
.sidebar nav {
display: grid;
gap: 7px;
}
.sidebar nav a {
display: flex;
align-items: center;
gap: 13px;
padding: 12px 14px;
border-radius: 7px;
font-size: 13px;
font-weight: 500;
}
.sidebar nav a:hover {
background: #23262d;
color: white;
}
.sidebar nav a.active {
background: #34303f;
color: #ddcffd;
}
.sidebar nav a.active:after {
content: '';
width: 5px;
height: 5px;
border-radius: 50%;
background: #c9aef8;
margin-left: auto;
}
.sidebar-bottom {
margin-top: auto;
padding-top: 60px;
}
.studio-tip {
border: 1px solid #34363e;
background: linear-gradient(125deg, #272832, #23252b);
border-radius: 10px;
padding: 18px 15px;
}
.studio-tip .pill {
font-size: 8px;
letter-spacing: 1px;
background: #393542;
color: #cbbbe8;
}
.studio-tip h3 {
color: #e2e0e9;
margin: 13px 0 10px;
font-size: 18px;
font-weight: 500;
line-height: 1.5;
}
.studio-tip p {
font-size: 11px;
color: #8e919d;
}
.studio-tip a {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 18px;
font-size: 11px;
color: #d6c3fb;
}
.help-link {
display: flex;
align-items: center;
gap: 9px;
margin: 25px 9px;
font-size: 11px;
}
.account {
display: flex;
align-items: center;
gap: 10px;
padding-top: 20px;
border-top: 1px solid #2d3037;
}
.account > span {
background: #393743;
color: #d6c8ef;
border-radius: 50%;
font-size: 11px;
padding: 10px;
}
.account strong,
.account small {
display: block;
}
.account strong {
font-size: 11px;
font-weight: 500;
color: #d5d6dc;
}
.account small {
font-size: 8px;
color: #686c78;
margin-top: 3px;
}
.main-shell {
margin-left: 230px;
width: calc(100% - 230px);
}
.topbar {
height: 69px;
padding: 0 42px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
background: #fff;
font-size: 11px;
color: #92939a;
}
.topbar strong {
font-weight: 500;
color: #55575d;
}
.slash {
margin: 0 14px;
color: #d5d4da;
}
.topbar-badge {
display: flex;
align-items: center;
gap: 8px;
font-size: 10px;
color: #64676a;
}
.dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #9ab49a;
display: inline-block;
}
main {
max-width: 1550px;
margin: 0 auto;
padding: 38px 42px 20px;
}
.page-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 27px;
}
.page-heading p {
margin-top: 10px;
font-size: 13px;
}
.eyebrow {
font-size: 9px;
letter-spacing: 1.7px;
font-weight: 650;
color: #8b8994;
margin-bottom: 10px;
}
.pill {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 9px;
font-weight: 500;
padding: 5px 9px;
border-radius: 5px;
background: #efedf5;
color: #776594;
white-space: nowrap;
}
.pill.outline {
background: #fff;
border: 1px solid var(--border);
color: #7a7e79;
font-size: 10px;
padding: 8px 11px;
}
.pill.success {
background: #e9f1e9;
color: #587958;
}
.pill.danger {
background: #f9e8e4;
color: #b55045;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 11px;
font-weight: 600;
border-radius: 6px;
padding: 11px 15px;
white-space: nowrap;
line-height: 1.4;
transition:
background 0.2s,
transform 0.2s;
}
.button.primary {
color: #fff;
background: #26252e;
border: 1px solid #26252e;
}
.button.primary:hover:not(:disabled) {
background: #51446f;
}
.button.secondary {
background: #fff;
color: #5a5962;
border: 1px solid #dddae3;
}
.button.secondary:hover:not(:disabled) {
background: #f4f0fa;
}
.button.text {
background: none;
color: #7c718f;
padding-left: 5px;
padding-right: 5px;
}
.icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 6px;
background: transparent;
color: #8f8c98;
padding: 6px;
}
.icon-button:hover {
background: #f0ecf7;
color: #58427e;
}
.cast-strip {
display: flex;
align-items: center;
gap: 23px;
padding: 20px 24px;
background: #fff;
border: 1px solid var(--border);
border-radius: 10px;
margin-bottom: 26px;
}
.cast-label {
border-right: 1px solid var(--border);
padding-right: 24px;
min-width: 100px;
}
.cast-label .eyebrow {
font-size: 8px;
display: block;
margin-bottom: 5px;
}
.cast-label strong {
font-size: 13px;
font-weight: 600;
}
.cast-person {
display: flex;
align-items: center;
gap: 11px;
background: none;
text-align: left;
min-width: 0;
padding: 0;
flex: 1;
}
.cast-person > span {
min-width: 0;
}
.cast-person strong,
.cast-person small {
display: block;
}
.cast-person strong {
font-size: 12px;
color: #3a3940;
}
.cast-person small {
font-size: 10px;
color: #929096;
margin-top: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 190px;
}
.cast-person > svg {
margin-left: auto;
color: #a6a1ac;
}
.avatar {
width: 43px;
height: 43px;
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: #4e435d;
font-size: 13px;
font-weight: 600;
overflow: hidden;
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.cast-note {
font-size: 9px;
color: #aba6b0;
font-style: italic;
line-height: 1.8;
border-left: 1px solid var(--border);
padding-left: 22px;
}
.studio-grid {
display: grid;
grid-template-columns: 1fr 1.08fr;
gap: 24px;
align-items: start;
}
.panel {
border: 1px solid var(--border);
border-radius: 10px;
background: #fff;
overflow: hidden;
}
.panel-header {
padding: 18px 22px;
border-bottom: 1px solid #f0efed;
display: flex;
justify-content: space-between;
align-items: center;
}
.panel-header > div {
display: flex;
align-items: center;
gap: 10px;
}
.panel-header h2 {
font-size: 14px;
font-weight: 650;
}
.step {
font-size: 9px;
color: #aaa3b5;
border: 1px solid #eae6ef;
border-radius: 5px;
padding: 3px 5px;
}
.panel-content {
padding: 21px;
}
.scene-preview {
position: relative;
background: #e9e6e1;
aspect-ratio: 16/10;
overflow: hidden;
margin: 18px 18px 0;
border-radius: 7px;
}
.scene-preview > img {
width: 100%;
height: 100%;
object-fit: contain;
}
.frame-label {
position: absolute;
bottom: 10px;
left: 12px;
font-size: 7px;
letter-spacing: 1px;
padding: 5px 8px;
border-radius: 3px;
background: #fff9;
color: #6f6963;
}
.scene-placeholder {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
background: radial-gradient(ellipse at 50% 40%, #f8f5ee, #e1ddd4);
color: #958e83;
}
.scene-placeholder h3 {
font-size: 14px;
font-weight: 500;
margin: 10px 0 3px;
}
.scene-placeholder p {
font-size: 10px;
}
.scene-art {
display: flex;
align-items: end;
justify-content: center;
height: 70px;
gap: 25px;
margin-bottom: 12px;
}
.scene-art span {
height: 60px;
width: 44px;
border-radius: 50% 50% 18% 18%;
background: #c3b8ce;
position: relative;
}
.scene-art span:before {
content: '';
position: absolute;
top: -20px;
left: 10px;
width: 25px;
height: 27px;
background: #aa9bb6;
border-radius: 50%;
}
.scene-art span:nth-child(2) {
background: #d0bba8;
height: 55px;
}
.scene-art span:nth-child(2):before {
background: #bd9f88;
}
.scene-art i {
position: absolute;
width: 145px;
height: 20px;
top: calc(50% + 1px);
border-radius: 6px;
background: #c9c1b65e;
}
.field-row {
display: flex;
gap: 13px;
}
.field-row > label {
flex: 1;
min-width: 0;
}
label {
display: block;
font-size: 10px;
font-weight: 600;
color: #68656f;
margin-bottom: 15px;
}
input:not([type='checkbox']):not([type='range']):not([type='color']):not([type='file']),
select,
textarea {
display: block;
width: 100%;
border: 1px solid #e3e0e8;
border-radius: 5px;
background: #fff;
padding: 9px 11px;
font-size: 11px;
line-height: 1.5;
color: #49444f;
margin-top: 6px;
}
input::placeholder,
textarea::placeholder {
color: #aca7b2;
}
textarea {
resize: vertical;
min-height: 65px;
}
.check {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 10px;
color: #77717e;
font-weight: 400;
line-height: 1.6;
cursor: pointer;
margin: 16px 0 0;
}
.check input {
accent-color: #775ab6;
margin: 2px 0 0;
flex-shrink: 0;
width: 13px;
height: 13px;
}
.hint {
font-size: 10px;
color: #9a95a1;
line-height: 1.7;
margin: 10px 0 14px;
}
.upload-box {
background: #faf9fc;
border: 1px dashed #ddd6e8;
border-radius: 6px;
padding: 14px;
margin-top: 5px;
}
.file-label {
display: flex;
align-items: center;
gap: 11px;
position: relative;
margin: 0;
color: #8d7f9f;
cursor: pointer;
font-weight: 500;
font-size: 10px;
}
.file-label small {
display: block;
font-size: 8px;
color: #a49bad;
margin-top: 4px;
}
.file-label input {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.file-label:focus-within {
outline: 2px solid #8063c9;
outline-offset: 5px;
}
.upload-details {
margin-top: 17px;
}
.upload-details .button {
margin-top: 12px;
}
.director-note {
display: flex;
gap: 13px;
padding: 22px 9px;
color: #9b8cae;
}
.director-note h3 {
font-size: 11px;
font-weight: 600;
color: #82738f;
margin-bottom: 5px;
}
.director-note p {
font-size: 10px;
color: #9c93a4;
max-width: 340px;
}
.segmented {
display: flex;
padding: 4px;
border-radius: 6px;
background: #f3f1f5;
gap: 3px;
margin-bottom: 20px;
}
.segmented button {
padding: 8px 10px;
color: #92879f;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
border-radius: 4px;
flex: 1;
font-size: 10px;
background: none;
white-space: nowrap;
}
.segmented button.active {
color: #675183;
background: #fff;
box-shadow: 0 1px 4px #23163e12;
}
.turn {
border-left: 3px solid #bba7db;
background: #fcfbfd;
border-radius: 5px;
padding: 9px 12px;
margin-bottom: 12px;
}
.turn .row select {
width: auto;
background: transparent;
border: 0;
padding: 0;
font-size: 10px;
font-weight: 600;
margin: 0;
}
.turn textarea {
border: 0;
padding: 8px 0;
background: none;
min-height: 65px;
font-size: 12px;
color: #595160;
}
.turn-footer {
display: flex;
align-items: center;
gap: 10px;
border-top: 1px solid #eeeaf3;
}
.turn-footer > input {
border: 0 !important;
background: none !important;
font-size: 9px !important;
padding: 8px 0 !important;
margin: 0 !important;
}
.turn-footer label {
display: flex;
gap: 4px;
align-items: center;
white-space: nowrap;
font-weight: 400;
font-size: 8px;
margin: 0;
color: #a197ac;
}
.turn-footer label input {
width: 40px !important;
padding: 2px 3px !important;
font-size: 9px !important;
margin: 0 !important;
}
.add-line {
width: 100%;
padding: 10px;
border: 1px dashed #ded8e8;
border-radius: 5px;
background: #fff;
color: #8c779f;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
font-size: 10px;
}
.ai-prompt {
padding: 15px;
background: #f7f3fc;
border-radius: 7px;
margin-bottom: 15px;
}
.ai-prompt label {
margin-bottom: 10px;
}
.render-bar {
margin-top: 22px;
display: flex;
align-items: center;
gap: 15px;
background: #efedf3;
border: 1px solid #e1dce9;
border-radius: 9px;
padding: 20px;
}
.render-bar > div:first-child {
margin-right: auto;
}
.render-bar h3 {
font-size: 15px;
}
.render-bar .eyebrow {
font-size: 8px;
margin-bottom: 3px;
}
.render-bar label {
margin: 0;
min-width: 110px;
font-size: 8px;
}
.render-bar select {
margin-top: 4px;
padding: 7px;
font-size: 10px;
}
.render-disclaimer {
font-size: 9px;
color: #9b929f;
text-align: right;
padding: 10px 5px;
}
.page-footer {
display: flex;
justify-content: space-between;
margin-top: 40px;
padding: 20px 0 3px;
border-top: 1px solid #e7e4e9;
color: #aaa5ad;
font-size: 9px;
}
.page-footer span:last-child {
font-size: 8px;
letter-spacing: 1px;
}
.notice {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 15px;
border-radius: 7px;
font-size: 12px;
margin: 12px 0;
}
.notice.error {
background: #fbeee9;
color: #b14c39;
border: 1px solid #f0d4c8;
}
.notice.success {
background: #edf3e9;
color: #5d7d45;
}
.loading {
display: flex;
align-items: center;
justify-content: center;
padding: 90px;
gap: 15px;
color: #8b8097;
font-size: 13px;
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.empty {
text-align: center;
padding: 100px 25px;
border: 1px dashed #dfd9e7;
border-radius: 12px;
color: #a491bf;
background: #faf8fc;
}
.empty h3 {
margin: 20px 0 8px;
color: #655870;
}
.character-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}
.character-card {
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.character-visual {
height: 235px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.avatar.large {
width: 125px;
height: 125px;
font-size: 34px;
box-shadow: 0 0 0 13px #ffffff30;
}
.character-visual .pill {
position: absolute;
top: 15px;
left: 15px;
background: #ffffffa6;
color: #756781;
font-size: 8px;
}
.character-content {
padding: 22px;
}
.character-content p {
font-size: 11px;
margin: 8px 0 22px;
}
.character-meta {
display: flex;
align-items: center;
gap: 13px;
font-size: 9px;
color: #9b909f;
border-top: 1px solid #f0ebf2;
padding-top: 13px;
}
.character-meta span {
display: flex;
gap: 4px;
align-items: center;
}
.character-meta span:last-child {
margin-left: auto;
}
.modal {
border: 1px solid #ded7e9;
border-radius: 14px;
box-shadow: 0 30px 100px #20172935;
padding: 0;
width: min(600px, 94vw);
max-height: 90vh;
color: #494150;
}
.modal::backdrop {
background: #19122370;
backdrop-filter: blur(3px);
}
.modal > header {
position: sticky;
top: 0;
background: #fff;
z-index: 2;
padding: 20px 24px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
}
.modal .segmented {
margin: 20px 24px 0;
}
.modal-body {
padding: 24px;
}
.modal-footer {
padding: 17px 24px;
border-top: 1px solid var(--border);
display: flex;
justify-content: flex-end;
gap: 10px;
}
.modal label {
font-size: 12px;
}
.modal input,
.modal textarea {
font-size: 13px !important;
}
.color-field {
max-width: 60px;
}
.color-field input {
display: block;
width: 50px;
height: 37px;
border: 1px solid #ddd;
border-radius: 6px;
background: #fff;
margin-top: 6px;
}
.range-value {
float: right;
color: #8966b4;
}
input[type='range'] {
display: block;
width: 100%;
margin: 15px 0;
accent-color: #9470c5;
}
.asset-preview {
height: 120px;
border-radius: 8px;
margin-top: 10px;
}
.modal h3 {
margin: 8px 0 15px;
}
.modal audio {
width: 100%;
margin: 10px 0;
}
.render-list {
display: grid;
gap: 20px;
}
.render-card {
display: grid;
grid-template-columns: 310px 1fr;
padding: 18px;
gap: 25px;
}
.render-thumb {
border-radius: 6px;
overflow: hidden;
background: #efedf0;
display: flex;
align-items: center;
}
.render-thumb video,
.render-thumb img {
width: 100%;
max-height: 220px;
object-fit: contain;
}
.render-info h2 {
margin: 16px 0 7px;
}
.render-info p {
font-size: 11px;
}
.render-info > .row:last-child {
margin-top: 15px;
}
.progress {
height: 4px;
background: #f1ebf7;
border-radius: 4px;
margin: 17px 0 8px;
overflow: hidden;
}
.progress span {
display: block;
height: 100%;
background: #a790c6;
}
.review-check {
margin: 17px 0;
}
.provider-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.provider {
padding: 25px;
}
.provider > svg {
color: #a28ab8;
margin-bottom: 15px;
}
.provider .eyebrow {
display: block;
}
.provider h2 {
margin: 0 0 12px;
}
.provider p {
margin-top: 17px;
font-size: 12px;
}
.settings-panel {
padding: 25px;
margin-top: 22px;
}
.settings-panel h2 {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 15px;
}
.settings-panel p {
margin: 10px 0;
font-size: 12px;
}
.text-link {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 12px;
color: #8c65b4;
}
.asset-row {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid var(--border);
padding: 13px 0;
}
.asset-row strong {
font-size: 12px;
}
.asset-row small {
display: block;
color: #98929d;
max-width: 650px;
overflow-wrap: anywhere;
}
code {
font-size: 11px;
background: #f3eff7;
padding: 3px 4px;
border-radius: 3px;
}
@media (min-width: 1600px) {
main {
padding-top: 48px;
}
.scene-preview {
aspect-ratio: 16/9;
}
.panel-content {
padding: 25px;
}
}
@media (max-width: 1200px) {
.sidebar {
width: 200px;
padding: 25px 15px;
}
.main-shell {
margin-left: 200px;
width: calc(100% - 200px);
}
main {
padding: 30px 25px;
}
.topbar {
padding: 0 25px;
}
.cast-note {
display: none;
}
.cast-person small {
max-width: 150px;
}
.cast-strip {
gap: 17px;
padding: 17px;
}
.render-bar {
flex-wrap: wrap;
}
.render-bar > div:first-child {
min-width: 150px;
}
.character-grid {
grid-template-columns: repeat(2, 1fr);
}
.render-card {
grid-template-columns: 240px 1fr;
}
.page-heading h1 {
font-size: 27px;
}
.page-heading > .pill {
display: none;
}
}
@media (max-width: 950px) {
.studio-grid {
grid-template-columns: 1fr;
}
.scene-preview {
aspect-ratio: 16/8;
}
.sidebar {
width: 175px;
}
.main-shell {
margin-left: 175px;
width: calc(100% - 175px);
}
.brand {
font-size: 15px;
}
.sidebar nav a {
font-size: 12px;
}
.studio-tip {
padding: 12px;
}
.cast-label {
display: none;
}
.render-card {
grid-template-columns: 1fr;
}
.render-thumb {
max-height: 280px;
}
.provider-grid {
grid-template-columns: 1fr;
}
.provider {
display: block;
}
.character-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 650px) {
.app-shell {
display: block;
}
.sidebar {
position: static;
width: 100%;
padding: 16px 18px 10px;
}
.brand {
font-size: 17px;
}
.brand-light {
display: inline;
margin-left: 3px;
font-size: 17px;
letter-spacing: 0;
}
.brand-icon {
padding: 5px;
}
.workspace-label,
.sidebar-bottom {
display: none;
}
.sidebar nav {
display: flex;
justify-content: space-between;
margin-top: 14px;
gap: 3px;
}
.sidebar nav a {
padding: 8px;
font-size: 11px;
gap: 5px;
}
.sidebar nav a svg {
width: 15px;
}
.sidebar nav a.active:after {
display: none;
}
.main-shell {
margin-left: 0;
width: 100%;
}
.topbar {
height: 45px;
padding: 0 18px;
font-size: 9px;
}
.topbar-badge {
font-size: 8px;
}
main {
padding: 25px 17px;
}
.page-heading {
align-items: flex-start;
}
.page-heading h1 {
font-size: 25px;
}
.page-heading p {
font-size: 11px;
}
.page-heading .button {
font-size: 9px;
padding: 8px;
}
.cast-strip {
gap: 10px;
}
.cast-person {
gap: 8px;
}
.cast-person strong {
font-size: 10px;
}
.cast-person small {
display: none;
}
.cast-person > svg {
display: none;
}
.avatar {
width: 33px;
height: 33px;
font-size: 10px;
}
.panel-header,
.panel-content {
padding: 16px;
}
.field-row {
flex-wrap: wrap;
}
.field-row label {
min-width: 120px;
}
.studio-grid {
gap: 12px;
}
.scene-preview {
aspect-ratio: 16/11;
margin: 12px;
}
.scene-placeholder h3 {
font-size: 12px;
}
.render-bar {
gap: 12px;
padding: 15px;
}
.render-bar > div:first-child {
width: 100%;
}
.render-bar label {
flex: 1;
min-width: 100px;
}
.render-bar .button {
flex: 1;
font-size: 10px;
}
.page-footer {
gap: 20px;
font-size: 8px;
}
.render-card {
padding: 13px;
}
.render-info .between {
flex-wrap: wrap;
}
.modal-body {
padding: 18px;
}
.modal .segmented {
margin: 14px 12px 0;
}
.modal .segmented button {
font-size: 9px;
padding: 8px;
}
.character-grid {
grid-template-columns: 1fr;
}
.render-disclaimer {
text-align: left;
}
.turn-footer > input {
min-width: 0;
}
.turn-footer label {
font-size: 8px;
flex-shrink: 0;
}
}
/* Disabled MVP features remain discoverable by pointer, keyboard and touch. */
.feature-gate {
min-width: 0;
}
.feature-gate-controls {
border: 0;
margin: 0;
padding: 0;
min-width: 0;
}
.feature-gate.is-unavailable {
cursor: not-allowed;
border-radius: 6px;
}
.feature-gate.is-unavailable > .feature-gate-controls {
opacity: 0.48;
pointer-events: none;
user-select: none;
}
.feature-gate.is-unavailable button:disabled {
opacity: 1;
}
.feature-toast {
position: fixed;
z-index: 10000;
bottom: 24px;
right: 24px;
width: min(380px, calc(100vw - 32px));
display: flex;
align-items: flex-start;
gap: 12px;
background: #292531;
color: #f3eef9;
border: 1px solid #574766;
border-radius: 10px;
padding: 16px 18px;
box-shadow: 0 12px 40px #20152930;
pointer-events: none;
text-align: left;
cursor: default;
}
.feature-toast > svg {
color: #c9adee;
flex-shrink: 0;
margin-top: 2px;
}
.feature-toast strong {
display: block;
font-size: 12px;
font-weight: 600;
}
.feature-toast p {
color: #c7bdcf;
margin-top: 5px;
font-size: 11px;
line-height: 1.6;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.segmented > .feature-gate {
flex: 1;
}
.segmented .feature-gate-controls,
.segmented .feature-gate button {
width: 100%;
height: 100%;
}
.output-field > span {
display: block;
color: #68656f;
font-size: 8px;
font-weight: 600;
margin-bottom: 4px;
}
.output-options {
display: flex;
padding: 3px;
border: 1px solid #ded8e6;
border-radius: 6px;
background: #e8e4ed;
}
.output-options button {
background: none;
color: #7d7387;
font-size: 9px;
padding: 8px;
border-radius: 4px;
white-space: nowrap;
}
.output-options button.active {
background: #fff;
color: #665277;
box-shadow: 0 1px 3px #2b1b4310;
}
.render-action .button {
width: 100%;
}
@media (max-width: 650px) {
.feature-toast {
right: 16px;
bottom: 16px;
}
.render-bar .render-action {
flex: 1;
}
.render-bar .output-field {
flex: 1;
}
}
/* Compact MVP workspace: three steps and a single navigation bar. */
.simple-shell {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.simple-app-header {
background: #fff;
border-bottom: 1px solid var(--border);
}
.simple-app-nav {
max-width: 1100px;
margin: 0 auto;
min-height: 72px;
padding: 0 28px;
display: flex;
align-items: center;
gap: 38px;
}
.simple-brand {
display: flex;
align-items: center;
gap: 10px;
font-size: 16px;
font-weight: 700;
letter-spacing: -0.4px;
white-space: nowrap;
}
.simple-brand svg {
color: #8065ab;
}
.simple-app-nav nav {
display: flex;
align-items: center;
gap: 6px;
}
.simple-app-nav nav a {
padding: 9px 14px;
border-radius: 6px;
color: #85808c;
font-size: 12px;
}
.simple-app-nav nav a.active {
background: #f1edf7;
color: #6b518e;
font-weight: 600;
}
.simple-settings-link {
margin-left: auto;
display: flex;
align-items: center;
gap: 6px;
color: #8a8293;
font-size: 11px;
}
.simple-settings-link.active {
color: #6b518e;
}
.simple-shell main {
width: 100%;
max-width: 1050px;
padding: 34px 28px 40px;
flex: 1;
}
.simple-studio {
max-width: 800px;
margin: 0 auto;
}
.simple-heading {
margin-bottom: 24px;
}
.simple-heading h1 {
font-size: 27px;
font-weight: 700;
letter-spacing: -0.7px;
}
.simple-heading p {
margin-top: 7px;
font-size: 12px;
}
.simple-studio > .panel {
margin-bottom: 18px;
}
.simple-studio .panel-header {
padding: 15px 22px;
}
.simple-studio .panel-header h2 {
font-size: 14px;
}
.simple-studio .step {
background: #f3f0f8;
color: #8b75a5;
border: none;
width: 24px;
height: 24px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 11px;
}
.simple-studio .panel-content {
padding: 20px 22px;
}
.simple-scene-layout {
display: grid;
grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
gap: 24px;
align-items: center;
}
.simple-scene .scene-preview {
margin: 0;
aspect-ratio: 16/9;
}
.simple-scene .scene-placeholder {
padding: 20px;
text-align: center;
gap: 10px;
}
.simple-cast-fields label {
margin-bottom: 12px;
}
.simple-cast-fields .hint {
margin: 0;
}
.simple-details {
border-top: 1px solid #eeeaf2;
margin-top: 16px;
padding-top: 12px;
}
.simple-details summary {
color: #8e7a9f;
font-size: 10px;
cursor: pointer;
width: fit-content;
}
.simple-details[open] summary {
margin-bottom: 12px;
}
.details-content {
padding-top: 3px;
}
.simple-details .field-row label {
flex: 2;
}
.simple-details .field-row label:last-child {
flex: 1;
}
.simple-dialogue .panel-header .button {
padding: 5px 0;
font-size: 10px;
}
.simple-dialogue .turn {
margin-top: 12px;
margin-bottom: 0;
padding: 10px 14px;
}
.simple-dialogue .turn textarea {
min-height: 52px;
padding: 7px 0 0;
}
.simple-line-actions {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 14px;
}
.simple-line-actions .button {
padding: 8px 12px;
font-size: 10px;
}
.simple-export-row {
display: flex;
align-items: center;
gap: 20px;
}
.simple-export-row label {
min-width: 135px;
margin: 0;
}
.simple-export-row p {
font-size: 11px;
}
.next-step {
margin: 14px 0 0;
font-size: 10px;
color: #8d8095;
}
.simple-actions {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 18px;
}
.simple-actions .button {
font-size: 11px;
}
.simple-app-footer {
text-align: center;
font-size: 10px;
color: #a8a0ad;
padding: 0 20px 25px;
}
@media (max-width: 650px) {
.simple-app-nav {
flex-wrap: wrap;
gap: 10px;
padding: 17px 18px 12px;
}
.simple-brand {
font-size: 16px;
}
.simple-app-nav nav {
order: 3;
width: 100%;
margin-top: 5px;
}
.simple-app-nav nav a {
flex: 1;
text-align: center;
padding: 8px 10px;
font-size: 11px;
}
.simple-settings-link {
font-size: 10px;
}
.simple-shell main {
padding: 24px 15px;
}
.simple-heading h1 {
font-size: 23px;
}
.simple-studio .panel-content {
padding: 16px;
}
.simple-studio .panel-header {
padding: 14px 16px;
}
.simple-scene-layout {
grid-template-columns: 1fr;
gap: 16px;
}
.simple-cast-fields {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.simple-cast-fields .hint {
grid-column: 1 / -1;
}
.simple-cast-fields label {
margin: 0;
}
.simple-scene .panel-header .text-link {
font-size: 10px;
}
.simple-actions > button,
.simple-actions > .feature-gate {
flex: 1 1 140px;
}
.simple-actions .feature-gate button {
width: 100%;
}
.simple-dialogue .panel-header h2 {
font-size: 12px;
}
.simple-export-row {
gap: 13px;
}
.simple-export-row label {
min-width: 110px;
}
.simple-export-row p {
font-size: 10px;
}
}
.fixed-scene .scene-preview {
max-width: 610px;
margin: 0 auto;
aspect-ratio: 16/9;
}
.fixed-cast-captions {
max-width: 610px;
margin: 14px auto 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
text-align: center;
}
.fixed-cast-captions strong {
display: block;
font-size: 12px;
color: #51465c;
}
.fixed-cast-captions span {
display: block;
font-size: 10px;
color: #968a9f;
margin-top: 3px;
}
.fixed-image-error {
padding: 30px;
text-align: center;
}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root {
font-family: 'DM Sans', sans-serif;
color: #25262b;
background: #f6f6f3;
font-synthesis: none;
font-weight: 400;
line-height: 1.5;
--purple: #6b50ba;
--border: #e7e6e2;
--muted: #7c7d82;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
button,
input,
textarea,
select {
font: inherit;
}
button,
a,
input,
select,
textarea {
-webkit-tap-highlight-color: transparent;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
a {
color: inherit;
text-decoration: none;
}
button,
input,
select,
textarea,
a {
outline-offset: 4px;
}
:focus-visible {
outline: 2px solid #8063c9;
}
button {
border: 0;
}
h1,
h2,
h3,
p {
margin: 0;
}
h1,
h2,
h3 {
font-family: Manrope, 'DM Sans', sans-serif;
}
h1 {
font-size: 32px;
line-height: 1.25;
font-weight: 750;
letter-spacing: -1.1px;
}
h2 {
font-size: 18px;
letter-spacing: -0.4px;
}
h3 {
font-size: 15px;
}
p {
color: #78797d;
font-size: 13px;
line-height: 1.65;
}
small,
.small {
font-size: 11px;
}
.muted {
color: var(--muted);
}
.row {
display: flex;
align-items: center;
gap: 10px;
}
.between {
justify-content: space-between;
}
.wrap {