@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090910;--panel:#11111b;--panel2:#151522;--line:#252538;--text:#f5f3fb;--muted:#9291a6;--purple:#a78bfa;--purple2:#c4a7ff;--blue:#76a9ff;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}.app-shell{min-height:100vh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#0d0d15;border-right:1px solid #20202d;padding:27px 17px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 37px;text-decoration:none;color:var(--text)}.brand-mark{width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#c4a7ff,#7755d9);display:grid;place-items:center;color:#100d1c;font:800 23px Manrope;box-shadow:0 6px 25px #8c65e344}.brand strong{display:block;font:800 13px Manrope;letter-spacing:1.5px}.brand small{display:block;color:#858298;font-size:9px;letter-spacing:2px;margin-top:3px}.workspace-label,.eyebrow,.panel-kicker,.feature-number{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#88869d}.workspace-label{padding:0 10px 13px}.main-nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;color:#a4a2b5;text-align:left;padding:12px 11px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:12px}.nav-item:hover,.nav-item.active{background:#211b31;color:#d8c9ff}.nav-item.active{box-shadow:inset 2px 0 var(--purple)}.nav-icon{font-size:17px;width:19px;text-align:center}.sidebar-bottom{margin-top:auto}.local-note{display:flex;gap:10px;align-items:center;padding:13px 10px;border:1px solid #252536;border-radius:12px}.status-dot,.preview-live i,.save-indicator i{width:7px;height:7px;background:#69d6a8;border-radius:50%;display:inline-block;box-shadow:0 0 10px #69d6a855}.local-note strong,.local-note small{display:block}.local-note strong{font-size:11px}.local-note small{font-size:9px;color:var(--muted);margin-top:4px}.sidebar-version{font-size:8px;letter-spacing:1.3px;color:#666579;padding:17px 10px 0}.main-area{margin-left:244px;min-height:100vh;padding:0 38px;max-width:1800px}.topbar{height:70px;border-bottom:1px solid #20202d;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:10px;letter-spacing:1.2px;color:#77768a}.breadcrumb span{padding:0 10px;color:#444354}.breadcrumb strong{color:#d9d6e4;font-weight:500;letter-spacing:0}.top-actions{display:flex;align-items:center;gap:17px}.save-indicator{font-size:10px;color:#a5a3b6;display:flex;align-items:center;gap:7px}.save-indicator i{width:6px;height:6px}.avatar-small{width:30px;height:30px;border:1px solid #51416f;background:#201a30;color:#d4c2ff;border-radius:50%;display:grid;place-items:center;font-weight:700}.mobile-menu{display:none;background:none;border:0}.view{display:none;padding:35px 0 20px;animation:appear .25s ease}.view.active{display:block}@keyframes appear{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}.hero{min-height:340px;border:1px solid #302844;border-radius:22px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 76% 48%,#49316e66,transparent 38%),linear-gradient(115deg,#171321,#10101a 68%);display:flex;align-items:center;padding:44px 5.5%}.hero-copy{position:relative;z-index:2;max-width:470px}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow span{width:6px;height:6px;background:var(--purple);border-radius:50%;box-shadow:0 0 12px var(--purple)}h1,h2,h3,p{margin-top:0}.hero h1,.page-heading h1{font:800 clamp(34px,4.3vw,54px)/1.08 Manrope;letter-spacing:-2px;margin:18px 0 13px}.hero h1 em,.page-heading h1 em{font-style:normal;color:#b99cff}.hero-copy p,.page-heading p{color:#a6a3b8;line-height:1.8;font-size:12px;max-width:420px}.hero-buttons{display:flex;gap:10px;margin-top:24px}.btn{border:1px solid transparent;border-radius:9px;padding:12px 16px;font-size:11px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:18px}.btn-primary{background:linear-gradient(110deg,#c2a4ff,#9270e8);color:#171023;box-shadow:0 7px 25px #9e7bea24}.btn-primary:hover{filter:brightness(1.08)}.btn-secondary{background:#ffffff08;border-color:#494258;color:#e4e0ef}.btn-wide{width:100%;margin-top:17px}.hero-art{position:absolute;right:3%;top:0;bottom:0;width:44%;display:grid;place-items:center;overflow:hidden}.hero-monogram{font:800 clamp(130px,19vw,230px)/1 Manrope;color:#c1a4ff;text-shadow:0 0 75px #a47aff88;z-index:1;transform:rotate(-9deg)}.hero-monogram span{color:#f1d8ff}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-one{width:220px;height:220px;background:radial-gradient(circle at 30% 25%,#e1caff,#8b61d7 48%,#34224e 75%);opacity:.25;right:17%;top:17%}.orb-two{width:90px;height:90px;background:#9271d8;opacity:.13;left:12%;bottom:12%;filter:blur(25px)}.orbit{position:absolute;border:1px solid #b79aff33;border-radius:50%;width:310px;height:110px;transform:rotate(-28deg)}.orbit-two{transform:rotate(55deg);width:260px;height:150px}.art-caption{position:absolute;bottom:22px;right:23px;font-size:8px;letter-spacing:2px;color:#aaa0c1}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:35px 0 15px}.section-heading h2,.panel-heading h2{font:700 19px Manrope;margin:6px 0 0;letter-spacing:-.5px}.muted{font-size:10px;color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.feature-card{min-height:177px;border:1px solid #29283b;border-radius:15px;text-align:left;padding:17px;background:linear-gradient(145deg,#171522,#11111a);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.feature-card:after{content:'';position:absolute;width:140px;height:140px;border-radius:50%;right:-55px;top:20px;background:#a78bfa12;filter:blur(12px)}.feature-blue:after{background:#76a9ff14}.feature-number{font-size:8px}.feature-symbol{font-size:26px;color:#bda5ff;margin:13px 0 9px}.feature-card strong{font:700 14px Manrope}.feature-card small{font-size:10px;color:#9693a8;margin-top:6px}.feature-link{font-size:9px;color:#c5adff;margin-top:auto;padding-top:15px}.feature-blue .feature-symbol,.feature-blue .feature-link{color:#8cb9ff}.feature-dark .feature-symbol,.feature-dark .feature-link{color:#83d8c2}.text-button{background:none;border:0;color:#c4a9ff;font-size:10px}.saved-strip,.character-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.empty-state{min-height:170px;border:1px dashed #343247;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a5a1b8;gap:7px;padding:20px}.empty-state.compact{min-height:105px}.empty-state>span{font-size:23px;color:#b89aff}.empty-state strong{font-size:11px;color:#ded9e9}.empty-state small{font-size:9px;color:#858298}.recent-heading{margin-top:38px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 26px}.page-heading h1{font-size:38px;margin:12px 0 8px}.step-chip,.live-tag{font-size:8px;letter-spacing:1.4px;color:#c4a8ff;border:1px solid #51416f;border-radius:30px;padding:8px 11px;white-space:nowrap}.creator-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px;align-items:start}.panel{background:linear-gradient(145deg,#14141f,#101019);border:1px solid #29283a;border-radius:16px;padding:21px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-kicker{font-size:8px;color:#a78bfa}.panel-heading h2{font-size:17px}.field-label{display:block;font-size:10px;color:#c4c0d1;font-weight:600;margin:17px 0 8px}.text-input{width:100%;background:#0c0c14;border:1px solid #2d2c40;border-radius:8px;color:#eeeaf7;padding:11px 12px;font-size:11px;outline:none}.text-input:focus{border-color:#9475d3;box-shadow:0 0 0 3px #a78bfa15}.text-input::placeholder{color:#656378}.text-input option{background:#171722}.style-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.style-option{background:#0d0d16;border:1px solid #2c2a3c;border-radius:9px;padding:8px 5px;text-align:center;min-width:0}.style-option.selected{border-color:#a78bfa;background:#201a2e;box-shadow:0 0 0 1px #a78bfa30}.style-preview{height:52px;border-radius:7px;display:grid;place-items:center;margin-bottom:7px;font:800 20px Manrope;color:#e8ddff}.style-3d{background:radial-gradient(circle at 35% 25%,#e4d2ff,#8664c7 50%,#34284a)}.style-2d{background:linear-gradient(135deg,#4b80ba,#20334e)}.style-anime{background:linear-gradient(135deg,#b16b9c,#573b72)}.style-cartoon{background:linear-gradient(135deg,#dc9c54,#85513a)}.style-stick{background:linear-gradient(135deg,#6a9c8e,#294b48);font-size:30px}.style-option strong,.style-option small{display:block}.style-option strong{font-size:10px}.style-option small{font-size:8px;color:#858298;margin-top:3px}.form-divider{height:1px;background:#282738;margin:19px 0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields .field-label{margin-top:5px}.color-row{display:flex;align-items:center;gap:10px}.color-swatch{width:23px;height:23px;border-radius:50%;border:2px solid #11111b;background:var(--swatch);padding:0}.color-swatch.active{outline:2px solid #e8ddff;outline-offset:3px}.color-row input{width:27px;height:27px;border:0;background:none;padding:0}.upload-box{border:1px dashed #48415e;background:#12111c;border-radius:10px;padding:17px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}.upload-icon{font-size:22px;color:#c1a4ff}.upload-box strong{font-size:10px}.upload-box small{font-size:9px;color:#89869b}.upload-box input{display:none}.reference-preview{display:flex;align-items:center;gap:10px;margin-top:10px;background:#0d0d15;padding:8px;border-radius:8px;font-size:10px}.reference-preview img{width:42px;height:42px;object-fit:cover;border-radius:6px}.reference-preview button{margin-left:auto;background:none;border:0;color:#c4a8ff;font-size:9px}.microcopy{font-size:9px;color:#77758a;line-height:1.6;text-align:center;margin:10px 0 0}.preview-column{display:grid;gap:13px}.preview-panel{padding:18px}.preview-live{font-size:8px;color:#8fdfb9;display:flex;gap:6px;align-items:center}.preview-live i{width:5px;height:5px}.character-stage{height:300px;background:radial-gradient(ellipse at 50% 65%,#51407066,transparent 45%),linear-gradient(145deg,#191727,#0c0c15);border:1px solid #2c2940;border-radius:12px;position:relative;overflow:hidden;display:grid;place-items:center}.stage-grid{position:absolute;inset:0;background-image:linear-gradient(#a78bfa0a 1px,transparent 1px),linear-gradient(90deg,#a78bfa0a 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(transparent,#000)}.stage-glow{position:absolute;width:150px;height:150px;background:var(--character-color,#a78bfa);opacity:.16;filter:blur(65px);border-radius:50%;top:25%}.character-figure{--character-color:#a78bfa;position:relative;width:112px;height:220px;z-index:1;filter:drop-shadow(0 12px 20px #0008)}.figure-head{position:absolute;top:4px;left:34px;width:48px;height:55px;border-radius:44% 44% 42% 42%;background:linear-gradient(135deg,#f0c6a9,#b77d69);z-index:2}.figure-hair{position:absolute;top:-6px;left:-2px;width:52px;height:25px;border-radius:50% 50% 28% 20%;background:#302438}.figure-eyes{position:absolute;top:27px;left:12px;display:flex;gap:13px}.figure-eyes i{width:4px;height:4px;background:#28212b;border-radius:50%}.figure-mouth{position:absolute;left:21px;top:39px;width:8px;height:3px;border-bottom:1.5px solid #784d51;border-radius:50%}.figure-neck{position:absolute;top:53px;left:51px;width:14px;height:16px;background:#c68d76}.figure-body{position:absolute;top:65px;left:27px;width:62px;height:76px;border-radius:18px 18px 10px 10px;background:linear-gradient(100deg,color-mix(in srgb,var(--character-color) 65%,#fff),var(--character-color));clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}.figure-arm{position:absolute;top:70px;width:15px;height:75px;border-radius:10px;background:var(--character-color);transform-origin:top center}.figure-arm.left{left:25px;transform:rotate(13deg)}.figure-arm.right{right:20px;transform:rotate(-13deg)}.figure-leg{position:absolute;top:135px;width:19px;height:78px;border-radius:8px;background:#39334a}.figure-leg.left{left:35px;transform:rotate(2deg)}.figure-leg.right{right:32px;transform:rotate(-2deg)}.stage-style{position:absolute;bottom:12px;left:13px;color:#9285ad;font-size:8px;letter-spacing:1.5px}.preview-meta{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;padding-top:15px}.preview-meta small,.preview-meta strong{display:block}.preview-meta small{font-size:8px;color:#77758b;letter-spacing:1px}.preview-meta strong{font-size:10px;margin-top:5px}.tip-card{display:flex;gap:11px;background:#1b1728;border:1px solid #3a3050;border-radius:12px;padding:14px}.tip-card>span{width:20px;height:20px;flex:none;border-radius:50%;display:grid;place-items:center;background:#49366a;color:#d8c4ff;font-weight:700}.tip-card strong{font-size:10px}.tip-card p{font-size:9px;color:#aaa5bb;line-height:1.6;margin:5px 0 0}.saved-heading{margin-top:34px}.character-card{border:1px solid #2d2b40;background:#14141e;border-radius:12px;padding:13px;display:flex;gap:12px;align-items:center}.character-thumb{width:48px;height:54px;border-radius:9px;background:linear-gradient(145deg,#40315c,#191522);display:grid;place-items:center;color:#c4a8ff;font-size:23px}.character-card strong,.character-card small{display:block}.character-card strong{font-size:11px}.character-card small{font-size:9px;color:#9390a4;margin-top:4px}.character-card button{margin-left:auto;background:none;border:0;color:#d49aa9;font-size:10px}.story-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:15px;align-items:start}.story-form h2{font:700 18px Manrope;margin:8px 0 20px}.textarea{resize:vertical;line-height:1.6}.storyboard{display:grid;gap:10px}.scene-card{background:#0d0d16;border:1px solid #2b293d;border-radius:10px;padding:13px;display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:start}.scene-index{width:38px;height:38px;border-radius:8px;background:#2b2140;color:#d2bfff;display:grid;place-items:center;font:700 12px Manrope}.scene-card strong{font-size:11px}.scene-card p{font-size:10px;color:#9692a8;line-height:1.6;margin:6px 0}.scene-card small{font-size:8px;color:#b99cff}.scene-card button{background:none;border:0;color:#d49aa9;font-size:9px}.studio-banner{padding:35px;border:1px solid #403354;border-radius:16px;background:radial-gradient(ellipse at 80% 20%,#7250a333,transparent 45%),linear-gradient(110deg,#1b1727,#11111b);margin-bottom:15px}.studio-banner h2{font:800 27px Manrope;margin:12px 0}.studio-banner p{font-size:11px;color:#a6a2b8;margin:0}.studio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.studio-grid .panel{min-height:160px}.studio-icon{font-size:23px;color:#bda2ff}.studio-grid h3{font:700 14px Manrope;margin:12px 0 6px}.studio-grid p,.notice p{font-size:10px;color:#9b98ad;line-height:1.7}.status-label{font-size:8px;letter-spacing:1px}.status-label.ready{color:#75d9b1}.status-label.pending{color:#d4ae72}.notice{margin-top:15px;padding:16px;border:1px solid #493d2d;background:#1d1913;border-radius:12px}.notice strong{font-size:10px;color:#e5c58d}.notice p{margin:6px 0 0}.footer{border-top:1px solid #20202d;margin-top:35px;padding:17px 0 20px;display:flex;justify-content:space-between;color:#656377;font-size:8px;letter-spacing:1.2px}
@media(max-width:1050px){.main-area{padding:0 25px}.creator-layout{grid-template-columns:1fr}.preview-column{grid-template-columns:1fr 1fr;align-items:start}.character-stage{height:270px}.feature-card{min-height:165px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .25s ease;box-shadow:15px 0 40px #0008}.sidebar.open{transform:translateX(0)}.main-area{margin-left:0;padding:0 16px}.topbar{height:58px}.mobile-menu{display:block;font-size:19px;color:#c7b5e8;margin-right:10px}.breadcrumb{margin-right:auto;font-size:9px}.top-actions{gap:10px}.save-indicator{font-size:0}.save-indicator i{width:7px;height:7px}.view{padding-top:25px}.hero{min-height:420px;padding:28px 23px;align-items:flex-start}.hero-copy{max-width:100%}.hero h1{font-size:39px}.hero-art{width:100%;height:190px;top:auto;right:0;bottom:0;opacity:.7}.hero-monogram{font-size:135px}.hero-buttons{flex-wrap:wrap}.section-heading{margin-top:28px}.section-heading .muted{display:none}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:145px}.feature-symbol{margin:8px 0}.page-heading{align-items:flex-start}.page-heading h1{font-size:31px}.page-heading p{font-size:11px}.step-chip{font-size:7px;padding:7px}.panel{padding:15px}.style-grid{grid-template-columns:repeat(3,1fr)}.style-option:nth-child(4),.style-option:nth-child(5){margin-top:2px}.preview-column{grid-template-columns:1fr}.character-stage{height:285px}.story-layout{grid-template-columns:1fr}.studio-grid{grid-template-columns:1fr}.footer{font-size:7px;gap:10px}.two-fields{gap:8px}.saved-strip,.character-library{grid-template-columns:1fr}.scene-card{grid-template-columns:35px 1fr auto}.scene-index{width:34px;height:34px}}

/* Stickman preview and saved reference thumbnails */
.stickman-preview{position:absolute;z-index:2;width:100px;height:205px;left:50%;top:50%;transform:translate(-50%,-50%);filter:drop-shadow(0 8px 14px #0008)}
.stick-head{position:absolute;left:38px;top:5px;width:25px;height:25px;border:5px solid var(--character-color);border-radius:50%}
.stick-body{position:absolute;left:48px;top:31px;width:5px;height:79px;background:var(--character-color);border-radius:5px}
.stick-arm{position:absolute;left:49px;top:43px;width:5px;height:57px;background:var(--character-color);border-radius:5px;transform-origin:top center}
.stick-arm.one{transform:rotate(48deg)}.stick-arm.two{transform:rotate(-48deg)}
.stick-leg{position:absolute;left:49px;top:104px;width:5px;height:68px;background:var(--character-color);border-radius:5px;transform-origin:top center}
.stick-leg.one{transform:rotate(27deg)}.stick-leg.two{transform:rotate(-27deg)}
.character-thumb-img{width:100%;height:100%;object-fit:cover;border-radius:9px}
.character-thumb-symbol{font-size:23px}


.form-actions{display:grid;gap:8px}
.form-actions .btn-wide{margin-top:17px}
.form-actions [hidden]{display:none}
.character-card-info{min-width:0;flex:1}
.character-card-actions{display:flex;flex-direction:column;gap:6px;margin-left:auto}
.character-card-actions button{margin:0;padding:4px 6px}
.character-card-actions button:first-child{color:#c4a8ff}

/* Visual differences between character styles, expressions and poses */
.character-figure[data-style="2D"]{filter:none}
.character-figure[data-style="2D"] .figure-head{border:2px solid #3c2d45;border-radius:42%;background:#e7b99a}
.character-figure[data-style="2D"] .figure-body{clip-path:none;border-radius:13px 13px 4px 4px;background:var(--character-color)}
.character-figure[data-style="2D"] .figure-arm,.character-figure[data-style="2D"] .figure-leg{border-radius:4px}
.character-figure[data-style="Anime"] .figure-head{width:53px;height:58px;left:31px;border-radius:44% 44% 48% 48%}
.character-figure[data-style="Anime"] .figure-hair{height:29px;background:#21182e;border-radius:65% 45% 25% 15%}
.character-figure[data-style="Anime"] .figure-eyes{left:10px;gap:11px;top:25px}
.character-figure[data-style="Anime"] .figure-eyes i{width:7px;height:10px;border-radius:50%;background:#34234d}
.character-figure[data-style="Anime"] .figure-mouth{top:43px}
.character-figure[data-style="Caricatura"] .figure-head{width:58px;height:62px;left:27px;border-radius:48% 48% 42% 42%}
.character-figure[data-style="Caricatura"] .figure-hair{width:62px;left:-2px}
.character-figure[data-style="Caricatura"] .figure-body{left:31px;width:54px;border-radius:22px 22px 8px 8px}
.character-figure[data-expression="Feliz"] .figure-mouth{height:7px;border:0;border-bottom:2px solid #784d51;border-radius:0 0 12px 12px}
.character-figure[data-expression="Serio"] .figure-mouth{height:0;border-bottom:2px solid #784d51;border-radius:0}
.character-figure[data-expression="Sorprendido"] .figure-mouth{width:7px;height:8px;left:21px;border:1.5px solid #784d51;border-radius:50%}
.character-figure[data-expression="Triste"] .figure-mouth{height:5px;border:0;border-top:2px solid #784d51;border-radius:12px 12px 0 0}
.character-figure[data-pose="Caminando"] .figure-arm.left{transform:rotate(-28deg)}
.character-figure[data-pose="Caminando"] .figure-arm.right{transform:rotate(28deg)}
.character-figure[data-pose="Caminando"] .figure-leg.left{transform:rotate(22deg)}
.character-figure[data-pose="Caminando"] .figure-leg.right{transform:rotate(-22deg)}
.character-figure[data-pose="Corriendo"] .figure-arm.left{transform:rotate(-55deg)}
.character-figure[data-pose="Corriendo"] .figure-arm.right{transform:rotate(55deg)}
.character-figure[data-pose="Corriendo"] .figure-leg.left{transform:rotate(38deg)}
.character-figure[data-pose="Corriendo"] .figure-leg.right{transform:rotate(-38deg)}
.character-figure[data-pose="Acción"] .figure-arm.left{transform:rotate(68deg)}
.character-figure[data-pose="Acción"] .figure-arm.right{transform:rotate(-68deg)}
.character-figure[data-pose="Sentado"] .figure-leg.left{transform:rotate(75deg);top:137px}
.character-figure[data-pose="Sentado"] .figure-leg.right{transform:rotate(-75deg);top:137px}
