:root{color:#e8e8e8;font-synthesis:none;background:#101010;font-family:Inter,Arial,sans-serif}*{box-sizing:border-box}body{background:#101010;margin:0;overflow:hidden}button,input,select{font:inherit}.app{background:#151515;grid-template-rows:58px 1fr;height:100vh;display:grid}header{z-index:5;background:#181818;border-bottom:1px solid #2a2a2a;justify-content:space-between;align-items:center;padding:0 14px;display:flex}.brand{color:#fff;text-align:left;background:0 0;border:0;align-items:center;gap:10px;display:flex}.brand img{width:32px;height:32px}.brand span{display:grid}.brand b{font-size:14px}.brand small{color:#888;font-size:10px}.top{align-items:center;gap:5px;display:flex}.top>button,.lang button{color:#aaa;background:#202020;border:1px solid #303030;border-radius:6px;min-width:34px;height:34px}.top button:hover,.top button.active{color:#fff;background:#2d2d2d}.top .exportBtn{color:#111;background:#f1f1f1;border-color:#f1f1f1;padding:0 14px}.lang{border:1px solid #303030;border-radius:6px;display:flex;overflow:hidden}.lang button{border:0;border-radius:0;min-width:29px;font-size:10px}.lang button.active{color:#111;background:#eee}main{grid-template-columns:minmax(0,1fr) 360px 66px;min-height:0;display:grid}.stage{background:radial-gradient(circle at 50% 45%,#252525,#141414 65%);place-items:center;display:grid;position:relative;overflow:hidden}.stage:before{content:"";background-image:linear-gradient(#ffffff05 1px,#0000 1px),linear-gradient(90deg,#ffffff05 1px,#0000 1px);background-size:24px 24px;position:absolute;inset:0}.empty{text-align:center;max-width:560px;padding:30px;position:relative}.empty img{width:72px}.empty small{letter-spacing:.18em;color:#777;margin:20px 0 8px;display:block}.empty h1{margin:0 0 12px;font-size:42px}.empty p{color:#999;line-height:1.6}.primary{color:#111;background:#f1f1f1;border:0;border-radius:6px;padding:11px 18px;font-weight:700}.wide{width:100%}.canvasWrap{transition:transform .15s;position:relative}.canvasWrap canvas{max-width:calc(100vw - 470px);max-height:calc(100vh - 110px);display:block;box-shadow:0 18px 70px #000b}.zoom{background:#1d1d1ddd;border:1px solid #333;border-radius:7px;display:flex;position:absolute;bottom:16px;overflow:hidden}.zoom button,.zoom span{color:#bbb;background:0 0;border:0;place-items:center;height:32px;padding:0 11px;display:grid}.inspector{background:#1b1b1b;border-left:1px solid #292929;flex-direction:column;min-width:0;display:flex;overflow:hidden}.hist{background:#171717;border-bottom:1px solid #292929;height:128px;padding:8px 10px;position:relative}.hist canvas{width:100%;height:100%}.hist span{color:#777;font-size:9px;position:absolute;bottom:8px;right:14px}.quick{border-bottom:1px solid #292929;align-items:center;gap:7px;height:48px;padding:0 12px;display:flex}.quick b{margin-right:auto}.quick button{color:#bbb;background:#232323;border:1px solid #343434;border-radius:5px;padding:5px 9px;font-size:11px}.scroll,.module{padding-bottom:50px;overflow:auto}.group{border-bottom:1px solid #292929}.groupHead{color:#ddd;background:#1d1d1d;border:0;justify-content:space-between;align-items:center;width:100%;height:44px;padding:0 14px;display:flex}.controls{padding:7px 14px 13px}.range{margin:11px 0;display:block}.range>span{color:#bdbdbd;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:11px;display:flex}.range output{font-variant-numeric:tabular-nums;color:#ededed;text-align:center;background:#252525;border:1px solid #343434;border-radius:4px;min-width:42px;padding:2px 6px}.range input{appearance:none;background:linear-gradient(90deg,#e8e8e8 var(--p),#3c3c3c var(--p));border-radius:99px;width:100%;height:3px}.range input::-webkit-slider-thumb{appearance:none;background:#f4f4f4;border:2px solid #111;border-radius:50%;width:13px;height:13px;box-shadow:0 0 0 1px #666}.module{padding:16px}.moduleTitle{margin-bottom:16px}.moduleTitle h3{margin:0 0 4px;font-size:15px}.moduleTitle p{color:#777;margin:0;font-size:11px}.chips{flex-wrap:wrap;gap:6px;margin-bottom:15px;display:flex}.chips button{color:#999;background:#222;border:1px solid #353535;border-radius:5px;padding:7px 9px;font-size:11px}.chips button.selected{color:#111;background:#e8e8e8;border-color:#e8e8e8}.lookGrid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.lookGrid button{color:#ddd;text-align:left;background:#202020;border:1px solid #303030;border-radius:6px;padding:8px}.lookGrid i{background:linear-gradient(135deg,#243b55,#141e30);border-radius:4px;height:42px;margin-bottom:7px;display:block}.lookGrid .s1{background:linear-gradient(135deg,#7b4397,#dc2430)}.lookGrid .s2{background:linear-gradient(135deg,#42275a,#734b6d)}.lookGrid .s3{background:linear-gradient(135deg,#232526,#414345)}.lookGrid .s4{background:linear-gradient(135deg,#f46b45,#eea849)}.lookGrid .s5{background:linear-gradient(135deg,#0f2027,#2c5364)}.lookGrid .s6{background:linear-gradient(135deg,#3e5151,#decba4)}.lookGrid .s7{background:linear-gradient(135deg,#000428,#004e92)}.lookGrid b,.lookGrid small{display:block}.lookGrid b{font-size:11px}.lookGrid small{color:#777;margin-top:3px;font-size:9px}.toggle{align-items:center;gap:8px;margin:10px 0;font-size:12px;display:flex}.module hr{border:0;border-top:1px solid #303030;margin:16px 0}.color{justify-content:space-between;align-items:center;margin-top:12px;font-size:12px;display:flex}.asset{background:#222;border:1px solid #333;border-radius:5px;justify-content:space-between;align-items:center;margin:12px 0;padding:10px;display:flex}.asset button{color:#aaa;background:0 0;border:0}.module select{color:#ddd;background:#242424;border:1px solid #353535;border-radius:5px;width:100%;height:36px;padding:0 8px}.frameGrid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.frameGrid button{color:#bbb;background:#202020;border:1px solid #303030;border-radius:6px;padding:9px}.frameGrid button.selected{color:#fff;border-color:#eee}.frame{background:#383838;border:5px solid #eee;height:52px;margin-bottom:7px;display:block}.frame.cinema{border-width:9px 0}.frame.polaroid{border-width:5px 5px 14px}.frame.poster{border-color:#050505}.frame.film,.frame.negative{border-width:0 10px;border-color:#050505}.exportCard{text-align:left;color:#eee;background:#222;border:1px solid #333;border-radius:6px;gap:3px;width:100%;margin-bottom:10px;padding:15px;display:grid}.exportCard span{color:#777;font-size:11px}.rail{background:#181818;border-left:1px solid #292929;flex-direction:column;gap:3px;padding:7px 5px;display:flex;overflow:auto}.rail button{color:#777;background:0 0;border:0;border-radius:6px;align-content:center;place-items:center;gap:3px;min-height:52px;display:grid}.rail button span{font-size:17px}.rail small{font-size:8px}.rail button.active{color:#fff;background:#2b2b2b}.toast{z-index:20;color:#111;background:#eee;border-radius:6px;padding:9px 14px;font-size:12px;position:fixed;top:70px;left:50%;transform:translate(-50%)}@media (width<=900px){body{overflow:auto}.app{height:auto;min-height:100vh}main{grid-template-rows:55vh minmax(380px,45vh) 62px;grid-template-columns:1fr}.inspector{border-top:1px solid #292929;border-left:0}.rail{border-top:1px solid #292929;border-left:0;flex-direction:row;grid-row:3;padding:4px;overflow-x:auto}.rail button{flex:1;min-width:64px}.hist{height:100px}.canvasWrap canvas{max-width:96vw;max-height:48vh}.empty h1{font-size:30px}.top .exportBtn{display:none}header{position:sticky;top:0}.brand small{white-space:nowrap;text-overflow:ellipsis;max-width:130px;overflow:hidden}}.canvasWrap canvas.overlayDraggable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.canvasWrap canvas.overlayDraggable.dragging{cursor:grabbing}.dragHint{color:#aaa;background:#202020;border:1px solid #343434;border-radius:5px;margin:10px 0 4px;padding:8px 10px;font-size:11px;line-height:1.35}html,body,.app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}img,canvas,video{-webkit-user-drag:none;user-drag:none}.sourceVideo{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.secondary{color:#ddd;background:#242424;border:1px solid #3b3b3b;border-radius:6px;padding:10px 14px;font-weight:650}.videoControls{grid-template-columns:38px 1fr;align-items:center;gap:9px;margin:12px 0;display:grid}.videoControls button{color:#fff;background:#242424;border:1px solid #383838;border-radius:6px;width:38px;height:36px}.videoControls input{grid-column:2;width:100%}.videoControls output{text-align:right;color:#888;font-variant-numeric:tabular-nums;grid-column:1/-1;font-size:11px}.infoBox{color:#999;background:#202020;border:1px solid #333;border-radius:5px;padding:10px;font-size:11px;line-height:1.5}.videoExport{margin-top:14px}.videoExport:disabled{opacity:.65;cursor:progress}.progress{background:#303030;border-radius:99px;height:5px;margin:10px 0 14px;overflow:hidden}.progress i{background:#f0f0f0;height:100%;transition:width .15s linear;display:block}.textField{color:#bdbdbd;gap:7px;margin-bottom:14px;font-size:11px;display:grid}.textField input{color:#fff;background:#222;border:1px solid #353535;border-radius:5px;outline:none;height:38px;padding:0 10px}.textField input:focus{border-color:#777}.module select{margin-bottom:8px}.presetGrid{grid-template-columns:1fr 1fr;gap:7px;margin:12px 0;display:grid}.presetGrid button{border:1px solid var(--line,#2b2d31);color:#eee;background:#18191c;border-radius:7px;min-height:38px;font-size:12px}.presetGrid button:hover{background:#23252a}.subTitle{color:#ddd;letter-spacing:.06em;text-transform:uppercase;margin:16px 0 9px;font-size:11px;font-weight:750}.modelList{gap:7px;margin:10px 0;display:grid}.modelRow{background:#202020;border:1px solid #333;border-radius:6px;grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:9px;display:grid}.modelRow div{gap:2px;min-width:0;display:grid}.modelRow b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.modelRow small{color:#777;font-size:9px}.modelRow button{color:#bbb;background:#282828;border:1px solid #3b3b3b;border-radius:5px;padding:6px 8px;font-size:10px}.modelRow button.active{color:#111;background:#eee;border-color:#eee}header{gap:14px;position:relative}.projectActions{align-items:center;gap:8px;margin-left:10px;display:flex}.menuWrap{position:relative}.smartAction{align-items:center;gap:8px;min-width:max-content;display:flex;padding:8px 12px!important}.projectMenu,.languageMenu{z-index:80;background:#17191d;border:1px solid #2b2e34;min-width:210px;padding:6px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 18px 44px #00000061}.languageMenu{min-width:88px;left:auto;right:0}.projectMenu button,.languageMenu button{color:#e7e9ee;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;width:100%;padding:11px;display:flex}.projectMenu button:hover,.languageMenu button:hover{background:#23262c}.top button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.exportBtn span{display:inline}.smartStart{width:min(92vw,680px);max-width:680px}.startActions{gap:10px;width:min(100%,520px);margin:28px auto 0;display:grid}.startCard{text-align:left;color:#f3f4f7;background:#17191d;border:1px solid #30333a;border-radius:8px;grid-template-columns:38px 1fr 20px;align-items:center;gap:14px;width:100%;padding:16px 18px;transition:all .18s;display:grid}.startCard:hover{background:#1d2025;border-color:#555a65;transform:translateY(-1px)}.startCard span{flex-direction:column;gap:3px;display:flex}.startCard b{font-size:15px}.startCard small{color:#9298a3;letter-spacing:.02em;font-size:11px}.startCard.primaryStart{color:#111318;background:#f2f3f5;border-color:#f2f3f5}.startCard.primaryStart small{color:#5b6069}.startCard.subtle{background:0 0}.rail button>svg{flex:none;width:22px;height:22px}.rail button>span{display:none}.dragHint{align-items:center;gap:8px;display:flex}.videoControls button,.modelRow>button:last-child{justify-content:center;align-items:center;display:inline-flex}@media (width<=760px){header{padding-inline:10px}.brand span small{display:none}.projectActions{margin-left:0}.smartAction span{display:none}.smartAction{padding:8px!important}.exportBtn span{display:none}.top{gap:3px}.top button{width:36px;height:36px}.projectMenu{left:-54px}.inspector{border-left:0}.startActions{width:100%}.smartStart{padding:24px 16px}.smartStart h1{font-size:30px}.rail button small{font-size:9px}.rail button>svg{width:21px;height:21px}}.exportLoader{z-index:9999;-webkit-backdrop-filter:blur(12px);background:#07080ac2;place-items:center;padding:20px;animation:.2s both exportFadeIn;display:grid;position:fixed;inset:0}.exportLoaderCard{background:#15171b;border:1px solid #343840;border-radius:10px;width:min(420px,92vw);padding:28px;box-shadow:0 28px 90px #0000008c}.exportLoaderMark{place-items:center;width:68px;height:68px;margin-bottom:20px;display:grid}.exportLoaderMark svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:#f5f6f8;width:68px;height:68px}.exportLoaderMark .loaderTrack{stroke:#30343b}.exportLoaderMark .loaderArc{stroke:#f5f6f8;stroke-dasharray:48 72;transform-origin:24px 24px;animation:1s linear infinite exportSpin}.exportLoaderMark path{animation:1.25s ease-in-out infinite exportPulse}.exportLoaderCopy small{color:#8f96a3;letter-spacing:.16em;margin-bottom:8px;font-size:10px;font-weight:800;display:block}.exportLoaderCopy h2{color:#f5f6f8;margin:0;font-size:19px;font-weight:720;line-height:1.3}.exportLoaderCopy p{color:#8f96a3;margin:8px 0 22px;font-size:12px;line-height:1.5}.exportLoaderProgress{background:#2a2d33;border-radius:99px;height:5px;overflow:hidden}.exportLoaderProgress i{border-radius:inherit;background:#f4f5f7;height:100%;transition:width .18s linear;display:block;position:relative}.exportLoaderProgress i:after{content:"";background:linear-gradient(90deg,#0000,#0000002e,#0000);animation:1.1s linear infinite exportShimmer;position:absolute;inset:0;transform:translate(-100%)}.exportLoaderMeta{color:#858c98;justify-content:space-between;align-items:center;margin-top:10px;font-size:11px;display:flex}.exportLoaderMeta b{color:#f1f3f5;font-variant-numeric:tabular-nums}.exportCard:disabled,.exportBtn:disabled{opacity:.55;cursor:progress}@keyframes exportSpin{to{transform:rotate(360deg)}}@keyframes exportPulse{0%,to{opacity:.45;transform:translateY(-1px)}50%{opacity:1;transform:translateY(1px)}}@keyframes exportShimmer{to{transform:translate(100%)}}@keyframes exportFadeIn{0%{opacity:0}to{opacity:1}}@media (width<=600px){.exportLoaderCard{padding:24px 20px}.exportLoaderCopy h2{font-size:17px}}@media (prefers-reduced-motion:reduce){.exportLoader,.exportLoaderMark .loaderArc,.exportLoaderMark path,.exportLoaderProgress i:after{animation:none}}
