@font-face{font-family:Onest;src:url(/fonts/onest-latin-wght-normal.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Onest;src:url(/fonts/onest-cyrillic-wght-normal.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}:root{font-family:Onest,system-ui,sans-serif;color-scheme:dark;--bg: #111116;--surface: #18181f;--raised: #21212a;--edge: #33333e;--text: #f6f4f9;--muted: #b9b6c4;--accent: #d0c2ff;--accent-hover: #e0d7ff;--ink: #211836;--ease: cubic-bezier(.22, 1, .36, 1);background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:0;font-size:16px;line-height:1.55}#root{display:flex;min-height:100dvh;flex-direction:column}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:620;line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(2rem,5vw,3.6rem);overflow-wrap:anywhere}h2{font-size:clamp(1.35rem,2.45vw,2rem)}h3{font-size:1.125rem}p{color:var(--muted)}small{font-size:.8125rem}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}img,video{display:block;max-width:100%}svg{flex:none}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{color:var(--ink);background:var(--accent)}.skip-link{position:fixed;z-index:10;left:12px;top:12px;transform:translateY(-160%);background:var(--accent);color:var(--ink);padding:12px}.skip-link:focus{transform:none}.site-header{position:relative;z-index:3;border-bottom:1px solid var(--edge);background:var(--bg)}.header-inner,.main-shell,.site-footer{width:min(100% - 80px,1328px);margin-inline:auto}.header-inner{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;justify-self:start;font-size:26px;font-weight:730;letter-spacing:-.065em;line-height:1}.wordmark-dot{color:var(--accent)}.top-nav,.header-actions{display:flex;align-items:center;gap:8px}.top-nav a{color:var(--muted);display:flex;align-items:center;min-height:40px;padding:8px 14px;font-size:.9375rem;border-radius:8px;white-space:nowrap}.top-nav a:hover,.top-nav a[aria-current=page]{color:var(--text);background:var(--raised)}.header-actions{justify-self:end}.icon-button,.avatar,.balance-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;min-width:40px;border:1px solid transparent;background:transparent;border-radius:8px;padding:0 10px}.icon-button:hover{background:var(--raised)}.avatar{border:1px solid var(--edge);border-radius:50%;background:var(--raised);color:var(--text);font-size:.875rem;text-align:center}.balance-link{background:var(--surface);color:var(--accent);font-variant-numeric:tabular-nums;font-size:.875rem;border-color:var(--edge)}.balance-link:hover,.avatar:hover{border-color:var(--accent)}.header-actions .menu-toggle{display:none}.main-shell{display:block;flex:1;padding-block:28px 64px;min-width:0}.site-footer{display:flex;justify-content:space-between;gap:20px;padding-block:24px 32px;border-top:1px solid var(--edge);color:var(--muted);font-size:.875rem}.site-footer div{display:flex;gap:20px;flex-wrap:wrap}.site-footer a:hover,.section-heading a:hover,.crumb:hover{color:var(--accent)}.button{min-height:44px;max-width:100%;overflow-wrap:anywhere;border-radius:8px;border:1px solid var(--edge);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;background:var(--raised);color:var(--text);font-size:.9375rem;font-weight:590;line-height:1.35;transition:background-color .15s,border-color .15s,transform .14s var(--ease)}.button:active:not(:disabled){transform:scale(.98)}.button:hover{border-color:var(--muted);background:#2a2a35}.button.primary{background:var(--accent);color:var(--ink);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button:disabled{background:var(--raised);border-color:var(--edge);color:#a4a0ad}.button.secondary{background:var(--surface)}.button.hero-secondary{background:#181820;border-color:#63616e}.hero{position:relative;min-height:clamp(380px,33vw,464px);isolation:isolate;overflow:hidden;border-radius:14px;background:#191a26;display:flex;align-items:center}.hero-image,.hero:after{position:absolute;width:100%;height:100%;inset:0;z-index:-1}.hero-image{object-fit:cover;object-position:56% 55%}.hero:after{content:"";background:linear-gradient(90deg,#121219 0%,#13131bd9 24%,#15152158 48%,transparent 74%)}.hero-content{padding:44px clamp(24px,5.15vw,76px);color:#fff}.hero h1{font-size:clamp(3.4rem,6vw,5.5rem);font-weight:650;line-height:.97;letter-spacing:-.073em}.hero p{color:#dfdce8;font-size:clamp(1rem,1.5vw,1.2rem);margin-top:20px;line-height:1.5}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-actions .button{min-height:48px;padding-inline:16px}.home-section{margin-top:40px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading a{color:var(--muted);font-size:.9375rem;font-weight:550;flex:none}.start-grid,.library-grid,.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tool-tile,.library-card{background:var(--surface);border:1px solid var(--edge);border-radius:12px;overflow:hidden;min-width:0;transition:border-color .16s var(--ease),background-color .16s var(--ease)}.tool-tile:hover,.library-card:hover{border-color:#747182;background:var(--raised)}.tool-image{aspect-ratio:2.4;background:#252532;overflow:hidden}.tool-image img,.library-cover img,.character-cover img,.trend-image img,.shot-card img{width:100%;height:100%;object-fit:cover}.tool-image img{transition:transform .24s var(--ease)}.tool-tile:hover .tool-image img{transform:scale(1.03)}.tool-characters .tool-image img{object-position:center 35%}.tool-video .tool-image img{object-position:center 37%}.tool-photoshoot .tool-image img{object-position:center 35%}.tool-body{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:16px}.tool-body>svg:first-child{color:var(--accent);margin-top:2px}.tool-body .tile-arrow{align-self:center;color:var(--muted)}.tool-body p{margin-top:6px;font-size:.875rem;line-height:1.45}.tool-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.tool-strip a{display:flex;gap:8px;align-items:center;min-height:44px;padding:8px 12px;background:var(--surface);border:1px solid var(--edge);border-radius:8px;font-size:.9375rem}.tool-strip a:hover{border-color:var(--accent)}.trend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.trend-card{display:flex;flex-direction:column;align-items:stretch;padding:0;width:100%;min-width:0;border:none;background:transparent;text-align:start;border-radius:10px}.trend-image{aspect-ratio:4 / 3;border-radius:10px;overflow:hidden;background:var(--raised);position:relative}.trend-image img{object-position:50% 40%}.trend-card:hover .trend-label strong{color:var(--accent)}.trend-label{display:grid;gap:2px;padding-top:8px;overflow-wrap:anywhere}.trend-label span{color:var(--muted);font-size:.875rem}.play-badge{position:absolute;bottom:10px;left:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#14141ddd;color:#fff}.play-badge svg{margin-left:2px}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:12px 0 28px}.page-heading p{margin-top:8px;font-size:1rem;max-width:65ch}.page-heading .button{flex:none}.crumb{display:inline-block;color:var(--muted);font-size:.9375rem;margin-top:8px}.panel{background:var(--surface);border:1px solid var(--edge);border-radius:12px;padding:20px;min-width:0}.stack{display:grid;align-content:start;gap:16px}.stack>.button{justify-self:start}.stack label,.settings-grid label{display:grid;gap:6px;color:var(--text);font-weight:530;font-size:.9375rem;min-width:0}input:not([type=checkbox]),textarea,select{width:100%;min-width:0;min-height:44px;font-size:1rem;color:var(--text);border:1px solid var(--edge);border-radius:8px;background:var(--bg);padding:9px 12px}input::placeholder,textarea::placeholder{color:#a8a4b5}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}input[type=file]{padding:7px;color:var(--muted);font-size:.9375rem}::file-selector-button{color:var(--text);background:var(--raised);border:1px solid var(--edge);border-radius:6px;padding:4px 8px;margin-right:8px}textarea{resize:vertical;line-height:1.55}select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23b9b6c4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.notice{color:var(--accent);font-size:.875rem}.notice:empty{display:none}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.muted{color:var(--muted);overflow-wrap:anywhere}.segments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}.segments button{background:var(--surface);border:1px solid var(--edge);border-radius:8px;color:var(--muted);min-height:42px;padding:7px 12px;font-size:.9375rem;transition:color .15s,background-color .15s}.segments button:hover{color:var(--text);background:var(--raised)}.segments button[aria-pressed=true]{color:var(--accent);border-color:#75658d;background:#292338}.segments.compact{margin:0}.segments.compact button{font-size:.875rem;padding-inline:10px}.workspace{display:grid;align-items:start;grid-template-columns:minmax(310px,430px) minmax(0,1fr);gap:20px}.output{min-height:420px;display:grid;gap:12px}.output-head{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--muted);font-size:.875rem}.output-head div{display:grid;gap:2px}.output-head strong{color:var(--text)}.preview-empty{display:grid;justify-items:center;align-content:center;text-align:center;gap:12px;min-height:220px;padding:20px;color:var(--muted)}.preview-empty>svg{color:var(--accent)}.preview-media{display:block;width:100%;max-height:min(65dvh,650px);object-fit:contain;background:#101014;border-radius:8px}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:8px}.upload-row{display:flex;flex-wrap:wrap;gap:8px}.attachment{display:inline-flex;align-items:center;gap:8px;padding:4px 4px 4px 8px;border-radius:8px;background:var(--raised);min-width:0;max-width:100%;font-size:.875rem}.attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment img{width:28px;height:28px;border-radius:4px;object-fit:cover}.attachment .icon-button{min-width:32px;min-height:32px;padding:4px}.look-picker{display:flex;overflow-x:auto;gap:8px;padding:4px;margin:-4px;scrollbar-color:var(--edge) transparent}.look-picker button{flex:0 0 88px;overflow:hidden;border:1px solid var(--edge);border-radius:8px;padding:0;background:var(--bg);text-align:start;font-size:.8125rem}.look-picker button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.look-picker img{width:100%;height:84px;object-fit:cover;object-position:50% 30%}.look-picker span{display:block;padding:5px 6px}.selected-look{max-height:260px;border-radius:8px}.audio-preview{display:grid;justify-items:center;gap:16px}.audio-preview img{max-height:240px;border-radius:8px}.audio-preview audio{width:min(100%,380px)}.library-cover{aspect-ratio:2;background:var(--raised);display:grid;place-items:center;color:var(--accent);overflow:hidden}.library-copy{padding:16px;overflow-wrap:anywhere}.library-copy h2{font-size:1.25rem}.library-copy p{margin-top:8px;font-size:.9375rem}.library-copy small{display:block;color:var(--muted);margin-top:8px}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.character-cover{aspect-ratio:3 / 3.4;overflow:hidden;background:var(--raised)}.character-cover img{object-position:50% 32%}.portrait-preview{display:grid;min-height:360px;place-items:center}.portrait-preview img{max-height:540px;border-radius:8px}.work-card .library-cover{width:100%;border:0;padding:0}.work-caption{display:flex;padding:12px 12px 12px 16px;justify-content:space-between;align-items:center;gap:8px}.text-button{background:none;border:none;padding:0;text-align:start;overflow-wrap:anywhere}.work-caption .icon-button{color:var(--accent)}.empty-filter{color:var(--muted)}.episode-nav{display:flex;justify-content:space-between;align-items:start;gap:8px;margin-bottom:12px}.episode-nav .segments{margin:0}.storyboard{display:grid;align-items:start;gap:16px;grid-template-columns:minmax(0,1fr) minmax(300px,370px);grid-template-areas:"preview inspector" "timeline inspector";grid-template-rows:auto 1fr}.story-preview{background:var(--surface);border:1px solid var(--edge);overflow:hidden;border-radius:12px;min-width:0}.story-preview{grid-area:preview}.story-media{width:auto;max-height:min(62dvh,600px);max-width:100%;margin-inline:auto;display:grid;overflow:hidden;background:var(--bg)}.story-media img{width:100%;height:100%;object-fit:cover;min-height:0}.story-media .preview-empty{min-height:0}.shot-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px}.shot-caption>div{display:grid;gap:2px}.shot-caption strong{overflow-wrap:anywhere}.shot-caption span{color:var(--muted);font-size:.875rem;white-space:nowrap}.story-form{grid-area:inspector}.story-form h2{font-size:1.25rem}.cast-list{margin:0;min-width:0;border:1px solid var(--edge);border-radius:8px;padding:8px 10px 10px}.cast-list legend{padding-inline:4px;font-size:.875rem;color:var(--muted)}.cast-list label{display:flex;align-items:center;gap:8px;min-height:32px;overflow-wrap:anywhere}.timeline{grid-area:timeline;min-width:0}.shot-list{display:flex;gap:10px;overflow-x:auto;padding:4px;margin:-4px;scrollbar-color:var(--edge) transparent}.shot-card{flex:0 0 192px;min-width:0;text-align:start;overflow:hidden;padding:0;border:1px solid var(--edge);border-radius:8px;background:var(--surface)}.shot-card[aria-pressed=true]{border-color:var(--accent)}.shot-card div{aspect-ratio:16 / 9;display:grid;place-items:center;overflow:hidden;background:var(--raised);color:var(--accent)}.shot-card span{display:block;padding:8px;font-size:.875rem;overflow-wrap:anywhere}.chat-workspace{display:grid;grid-template-columns:218px minmax(0,1fr);gap:16px}.chat-history{display:grid;align-content:start;gap:8px;padding:12px}.history-item{padding:8px 10px;border-radius:8px;color:var(--muted)}.history-item[aria-pressed=true]{background:var(--raised);color:var(--accent)}.chat-thread{display:flex;flex-direction:column;gap:16px;min-height:460px}.messages{display:grid;align-content:start;gap:16px;flex:1}.message{border-radius:10px;padding:12px;width:fit-content;max-width:min(85%,70ch);overflow-wrap:anywhere}.message.user{justify-self:end;background:#292338}.message strong{font-size:.875rem;color:var(--accent)}.message p{white-space:pre-wrap;color:var(--text)}.chat-compose{display:flex;align-items:end;gap:8px;min-width:0}.faq-list,.balance-panel,.profile-form,.prose{max-width:720px}.faq-list{display:grid;gap:8px}.faq-list summary{cursor:pointer}.faq-list p{margin-top:8px}.balance-panel{display:grid;gap:8px}.balance-panel>strong{color:var(--accent);font-size:clamp(1.8rem,5vw,3rem)}.guide-grid h2{font-size:1.25rem}.dialog{border:1px solid var(--edge);border-radius:14px;background:var(--surface);color:var(--text);padding:0;width:min(520px,100% - 32px);max-width:none;max-height:88dvh;overflow:auto}.dialog[open]{animation:reveal .18s var(--ease) both}.dialog-wide{width:min(720px,100% - 32px)}.dialog::backdrop{background:#09090cd1}.dialog-body{display:grid;gap:16px;padding:20px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading h2{font-size:1.5rem;overflow-wrap:anywhere}.dialog-body>.button{justify-self:start}.search-field{display:flex;align-items:center;gap:8px;color:var(--muted)}.search-results{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-height:55dvh;overflow:auto}.search-results a{display:flex;align-items:center;min-height:42px;padding:8px;border-radius:6px}.search-results a:hover{background:var(--raised);color:var(--accent)}@keyframes reveal{0%{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}@media(max-width:1000px){.header-inner,.main-shell,.site-footer{width:min(100% - 48px,1328px)}.header-inner{gap:10px}.top-nav a{padding-inline:10px}.tool-body{padding:12px;gap:8px}.tool-body .tile-arrow{display:none}.workspace{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:12px}.storyboard{grid-template-columns:minmax(0,1fr) minmax(270px,320px);gap:12px}}@media(max-width:760px){.header-inner,.main-shell,.site-footer{width:calc(100% - 32px)}.header-inner{min-height:60px;grid-template-columns:1fr auto}.header-actions{gap:4px}.header-actions .menu-toggle{display:inline-flex}.top-nav{display:none;position:absolute;top:100%;right:16px;left:16px;background:var(--surface);padding:8px;border-radius:0 0 10px 10px;border:1px solid var(--edge);box-shadow:0 16px 40px #0007}.top-nav.is-open{display:grid;animation:reveal .16s var(--ease) both}.top-nav a{min-height:44px}.brand{font-size:23px;gap:6px}.brand img{width:30px;height:30px}.main-shell{padding-block:16px 40px}.hero{min-height:420px;align-items:end}.hero-image{object-position:74% 48%}.hero:after{background:linear-gradient(0deg,#121219 0%,#13131be0 28%,#15152148 74%,transparent 100%)}.hero-content{padding:20px}.hero h1{font-size:clamp(2.75rem,9vw,4rem)}.hero p{margin-top:12px}.hero-break{display:none}.hero-actions{margin-top:16px;gap:8px}.hero-actions .button{min-height:44px;padding-inline:10px;font-size:.875rem}.home-section{margin-top:24px}.section-heading{gap:8px;margin-bottom:12px}.section-heading a{font-size:.875rem}.start-grid,.library-grid,.character-grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-heading{align-items:start;flex-wrap:wrap;margin:8px 0 20px}.workspace,.storyboard{grid-template-columns:minmax(0,1fr)}.storyboard{grid-template-areas:"preview" "timeline" "inspector";grid-template-rows:auto}.output,.portrait-preview{min-height:270px}.panel{padding:16px}.chat-workspace{grid-template-columns:minmax(0,1fr);gap:8px}.chat-history{display:flex;overflow-x:auto;padding:8px}.chat-history>*{flex:0 0 auto;max-width:200px}.chat-thread{min-height:370px}.site-footer{flex-wrap:wrap}.site-footer div{gap:12px}}@media(max-width:480px){.hero{min-height:416px}.hero-actions .button{padding-inline:9px}.hero-actions svg{width:15px}.header-actions .search-toggle{display:none}.header-actions a,.header-actions button{min-height:36px;min-width:36px;padding-inline:7px}.start-grid{grid-template-columns:minmax(0,1fr)}.start-grid:not(.catalogue) .tool-tile{display:grid;grid-template-columns:105px minmax(0,1fr);min-height:112px}.start-grid:not(.catalogue) .tool-image{position:relative;aspect-ratio:unset}.start-grid:not(.catalogue) .tool-image img{position:absolute;inset:0}.start-grid:not(.catalogue) .tool-body{align-content:center}.start-grid:not(.catalogue) .tool-body p{margin-top:4px}.catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue .tool-body{grid-template-columns:1fr}.catalogue .tool-body svg{display:none}.catalogue h3{font-size:1rem}.library-copy{padding:12px}.library-copy h2{font-size:1.05rem}.guide-grid{grid-template-columns:minmax(0,1fr)}.dialog-body{padding:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
