:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#ececf0;background:#222225;font-synthesis:none;text-rendering:optimizeLegibility;color-scheme:dark;font-optical-sizing:auto;font-weight:400}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-width:320px;min-height:100%;margin:0}body{overflow:hidden}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #79dd77;outline-offset:2px}.editor-app{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:520px;overflow:hidden;background:#242427}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{position:relative;z-index:20;display:flex;flex:0 0 46px;align-items:center;justify-content:space-between;padding:0 14px 0 12px;border-bottom:1px solid #37373b;background:#202023}.brand{display:inline-flex;align-items:center;gap:0;padding:0;border:0;background:transparent;font-size:17px;font-weight:700;letter-spacing:-.65px;cursor:pointer}.brand-mark{display:grid;width:21px;height:21px;place-items:center;margin-right:6px;border-radius:5px;background:linear-gradient(135deg,#eeeeef,#c9c9ce);color:#28282c}.brand-paper{color:#f5f5f7}.brand-animator{color:#91e873}.top-actions{display:flex;height:100%;align-items:center;gap:11px}.notification-wrap{position:relative;display:flex;align-items:center}.top-icon,.credits,.avatar,.settings-menu-button,.fullscreen-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#b6b6bf;cursor:pointer}.top-icon{width:25px;height:30px}.top-icon:hover,.top-icon.is-active{color:#fff}.top-divider{height:19px;border-left:1px solid #45454a}.credits{gap:4px;padding:4px 0;color:#c8c8d0;font-size:12px;font-weight:700}.credits svg{color:#8fe37b}.avatar{width:26px;height:26px;border:1px solid #575760;border-radius:7px;background:linear-gradient(145deg,#6e38aa,#252a54 60%,#b96747);color:#fff;font-size:12px;font-weight:700}.notification-popover{position:absolute;top:37px;right:-50px;display:grid;width:220px;gap:5px;padding:13px 14px;border:1px solid #424248;border-radius:9px;background:#2c2c30;box-shadow:0 12px 35px #0008;font-size:12px}.notification-popover strong{font-size:13px}.notification-popover span{color:#a7a7b0}.editor-body{position:relative;display:grid;flex:1 1 auto;min-height:0;grid-template-columns:46px minmax(0,1fr) 320px}.side-nav{position:relative;z-index:4;display:flex;flex-direction:column;align-items:center;gap:7px;padding-top:6px;border-right:1px solid #37373b;background:#202023}.nav-button{position:relative;display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:0;border-left:2px solid transparent;background:transparent;color:#92929a;cursor:pointer;transition:color .15s,background .15s}.nav-button:hover,.nav-button.selected{color:#f1f1f4;background:#29292d}.nav-button.selected{border-left-color:#91e873}.new-badge{position:absolute;top:5px;left:35px;padding:2px 5px;border-radius:3px;background:#c72d32;color:#fff;font-size:8px;font-weight:800;line-height:1.2}.workspace{position:relative;display:grid;min-width:0;min-height:0;place-items:center;overflow:hidden;background:#252528}.workspace-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to right,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.035) 1px,transparent 1px);background-position:-1px -1px;background-size:42px 42px}.workspace:after{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.025);content:"";pointer-events:none}.workspace.is-dragging:after{border:2px dashed #8ee477}.stage-cluster{position:relative;z-index:2;display:flex;max-width:calc(100% - 28px);align-items:center;justify-content:center;gap:8px;transform:translate(-8px)}.poster-column{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.poster{position:relative;flex:0 0 auto;overflow:hidden;isolation:isolate;background-image:radial-gradient(ellipse at 10% 4%,rgba(91,48,24,.43),transparent 28%),radial-gradient(ellipse at 95% 17%,rgba(242,213,159,.24),transparent 32%),radial-gradient(ellipse at 6% 85%,rgba(95,54,29,.32),transparent 24%),radial-gradient(ellipse at 82% 96%,rgba(84,48,24,.35),transparent 25%),linear-gradient(135deg,rgba(255,246,215,.1),transparent 40%,rgba(76,44,22,.1));transition:box-shadow .18s ease;transform-style:preserve-3d}.poster.is-playing.animation-float{animation:paper-float var(--motion-duration) ease-in-out infinite}.poster.is-playing.animation-drift{animation:paper-drift var(--motion-duration) ease-in-out infinite}.poster.is-playing.animation-flutter{animation:paper-flutter var(--motion-duration) ease-in-out infinite;transform-origin:50% 55%}.poster.is-playing.animation-page-turn{animation:paper-page-turn var(--motion-duration) cubic-bezier(.65,.02,.35,.98) infinite;transform-origin:left center}.poster.is-playing.animation-reveal{animation:paper-reveal var(--motion-duration) ease-in-out infinite}.poster-image{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;filter:saturate(.92) contrast(1.04);-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.paper-grain{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;opacity:var(--texture-opacity, .3);mix-blend-mode:multiply;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)' opacity='.29'/%3E%3C/svg%3E")}.poster:before{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 0 26px #391f1045,inset 0 0 2px #fff9;content:"";pointer-events:none}.paper-edge{position:absolute;z-index:4;top:3px;right:3px;bottom:3px;left:3px;border:1px solid rgba(67,43,25,.12);pointer-events:none}.upload-prompt{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:0;background:transparent;color:#fff;text-shadow:0 2px 7px rgba(32,22,12,.7);font-size:14px;font-weight:700;cursor:pointer}.upload-prompt:hover{background:#23180f12}.poster-text{position:absolute;z-index:3;max-width:86%;transform:translate(-50%,-50%);white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;line-height:1.15;text-shadow:0 2px 9px rgba(0,0,0,.4);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.poster-text:active{cursor:grabbing}.poster-text.is-selected{outline:1px dashed rgba(255,255,255,.8);outline-offset:8px}.canvas-controls{display:flex;min-height:29px;align-items:center;gap:4px;color:#a9a9b2}.select-control{position:relative;display:inline-flex;height:28px;align-items:center;gap:2px;padding:0 7px;border:1px solid #3d3d42;border-radius:5px;background:#2c2c30;color:#aaaab3;font-size:12px}.select-control select{max-width:75px;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;outline:0;background:transparent;color:inherit;cursor:pointer}.select-control option{background:#29292d}.aspect-control{gap:5px}.aspect-control select{max-width:47px}.aspect-symbol{width:8px;height:12px;border:1.5px solid #b8b8c0;border-radius:1px}.fullscreen-button{width:28px;height:28px;border-radius:5px}.fullscreen-button:hover{background:#35353a;color:#fff}.canvas-toolbar{display:flex;flex-direction:column;gap:5px}.tool-button{display:grid;width:46px;height:46px;place-items:center;border:1px solid transparent;border-radius:5px;background:#2a2a2e;color:#bcbcc3;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.tool-button:hover{background:#35353a;color:#fff}.tool-button.selected{color:#7fe277}.tool-button.export-tool{margin-top:3px}.tool-button:disabled{opacity:.5;cursor:wait}.drop-overlay{position:absolute;z-index:10;top:14px;right:14px;bottom:14px;left:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px dashed #9be98b;border-radius:12px;background:#181f19d6;color:#a2f090;pointer-events:none}.toast{position:absolute;z-index:12;right:20px;bottom:18px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 40px);padding:10px 13px;border:1px solid #48484e;border-radius:8px;background:#303034;box-shadow:0 8px 28px #0005;color:#e5e5e9;font-size:12px}.toast svg{flex:0 0 auto;color:#90e47c}.settings-panel{position:relative;z-index:5;display:flex;flex-direction:column;gap:10px;min-width:0;margin:9px 10px 9px 0;padding:13px 14px 18px;overflow:auto;border:1px solid #37373d;border-radius:11px;background:#2c2c30;scrollbar-color:#55555d transparent;scrollbar-width:thin}.settings-title-row{display:flex;min-height:26px;align-items:center;justify-content:space-between;padding:0 1px 2px}.settings-title-row h1{margin:0;color:#b8b8c5;font-size:15px;font-weight:700;letter-spacing:.1px}.settings-menu-button{width:26px;height:26px;border-radius:5px;color:#92929b}.settings-menu-button:hover{background:#3a3a40;color:#fff}.settings-card{padding:12px 11px 10px;border:1px solid #333338;border-radius:9px;background:#252528}.settings-card h2{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#e2e2e8;font-size:12px;font-weight:700}.settings-card h2 svg{color:#a6a6b0}.paper-swatches{display:flex;align-items:center;gap:7px;margin:-1px 0 9px}.paper-swatch,.custom-color{position:relative;display:grid;width:18px;height:18px;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;cursor:pointer}.paper-swatch.active{outline:1.5px solid #f5f5f7;outline-offset:2px}.paper-swatch svg{filter:drop-shadow(0 1px 2px #000)}.custom-color{border-color:#61616a;background:#35353a;color:#ccc}.custom-color input,.text-color-field input{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;width:26px;height:26px;opacity:0;cursor:pointer}.range-control{display:block;min-width:0;margin:0 0 8px}.range-control:last-child{margin-bottom:0}.range-heading{display:flex;min-height:20px;align-items:center;justify-content:space-between;gap:8px;color:#aeb0bc;font-size:11px}.range-heading output{display:grid;min-width:38px;height:20px;place-items:center;border-radius:4px;background:#303035;color:#9c9ca7;font-size:11px;font-variant-numeric:tabular-nums}.range-control input[type=range]{display:block;width:100%;height:16px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}.range-control input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#4b4b50}.range-control input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#4b4b50}.range-control input[type=range]::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5.5px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:50%;background:#f5f5f6;box-shadow:0 1px 3px #0008}.range-control input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#f5f5f6;box-shadow:0 1px 3px #0008}.range-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.range-pair .range-control{margin-bottom:7px}.motion-card{padding-bottom:11px}.motion-card .range-control{margin-bottom:0}.motion-icon{display:inline-grid;width:15px;place-items:center;color:#b8b8c5;font-family:Georgia,serif;font-size:20px;line-height:12px}.motion-select{position:relative;display:grid;gap:5px;margin:9px 0 8px;color:#aeb0bc;font-size:11px}.motion-select select{width:100%;height:29px;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 28px 0 9px;border:1px solid #414147;border-radius:5px;background:#303035;color:#d4d4db;font-size:11px;cursor:pointer}.motion-select>svg{position:absolute;right:8px;bottom:8px;color:#9898a1;pointer-events:none}.motion-select option{background:#29292d}.motion-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.motion-actions button{display:flex;min-width:0;height:30px;align-items:center;justify-content:center;gap:5px;padding:0 5px;border:1px solid #414147;border-radius:5px;background:#303035;color:#c7c7cf;font-size:10px;cursor:pointer;white-space:nowrap}.motion-actions button:hover{border-color:#5c7954;color:#fff}.motion-actions button.motion-export{border-color:#42613b;color:#a1e98e}.motion-actions button:disabled{opacity:.5;cursor:wait}.motion-timeline{position:relative;height:3px;margin-top:8px;overflow:hidden;border-radius:4px;background:#44444a}.motion-timeline span{position:absolute;top:0;bottom:0;left:0;width:24%;border-radius:inherit;background:#89df70}.motion-timeline.playing span{animation:timeline-progress var(--motion-duration, 5s) linear infinite}.layers-card{padding-bottom:12px}.layer-title-row{display:flex;align-items:center;justify-content:space-between}.layer-title-row h2{margin-bottom:8px}.layer-title-row>button,.layer-row>button{display:grid;width:25px;height:25px;place-items:center;border:0;border-radius:5px;background:transparent;color:#9c9ca5;cursor:pointer}.layer-title-row>button:hover,.layer-row>button:hover{background:#38383d;color:#fff}.layer-row{display:flex;min-width:0;min-height:32px;align-items:center;gap:8px;padding:3px 6px;border-radius:5px;color:#aeb0ba;cursor:pointer;font-size:11px}.layer-row>svg{flex:0 0 auto}.layer-row>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-row.active{background:#37373d;color:#f2f2f5}.layer-row>button{flex:0 0 auto;width:24px;height:24px}.empty-layers{margin:2px 0 4px;color:#8e8e98;font-size:11px;line-height:1.5}.text-editor{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #3a3a40}.field-label{color:#aaaab4;font-size:11px}.text-editor textarea{width:100%;resize:vertical;padding:7px 8px;border:1px solid #45454b;border-radius:5px;background:#1f1f22;color:#f1f1f4;font-size:12px}.text-editor .range-control{margin-bottom:0}.text-style-row{display:flex;align-items:center;gap:7px}.text-color-field{position:relative;display:block;width:26px;height:26px;overflow:hidden;border:1px solid #5a5a61;border-radius:5px;background:#fff;cursor:pointer}.bold-toggle,.delete-layer{display:grid;width:26px;height:26px;place-items:center;border:1px solid #46464c;border-radius:5px;background:#303035;color:#c5c5cc;cursor:pointer}.bold-toggle{font-weight:800}.bold-toggle.active{border-color:#73c964;color:#93e67d}.delete-layer{margin-left:auto}.delete-layer:hover{border-color:#a84949;color:#ff8d8d}.app-footer{display:flex;flex:0 0 22px;align-items:center;justify-content:center;gap:7px;border-top:1px solid #333337;background:#222225;color:#777780;font-size:10px}.footer-links{display:inline-flex;align-items:center;gap:5px}.footer-links button{padding:0;border:0;background:transparent;color:#85858e;font-size:inherit;cursor:pointer}.footer-links button:hover{color:#c3c3ca}.footer-links i{color:#65656d;font-style:normal}@keyframes paper-float{0%,to{transform:translateZ(0) rotate(0)}50%{transform:translate3d(0,var(--motion-up),0) rotate(var(--motion-tilt))}}@keyframes paper-drift{0%,to{transform:translate3d(var(--motion-side-negative),2px,0) rotate(var(--motion-tilt-negative))}50%{transform:translate3d(var(--motion-side),-3px,0) rotate(var(--motion-tilt))}}@keyframes paper-flutter{0%,to{transform:perspective(900px) rotateY(0) rotate(0)}50%{transform:perspective(900px) rotateY(var(--motion-angle)) rotate(var(--motion-tilt))}}@keyframes paper-page-turn{0%,to{transform:perspective(900px) rotateY(0) rotate(0)}48%,54%{transform:perspective(900px) rotateY(var(--motion-angle))}52%{transform:perspective(900px) rotateY(var(--motion-angle-positive))}}@keyframes paper-reveal{0%,to{opacity:.76;transform:translateY(9px) scale(.985)}45%,55%{opacity:1;transform:translateY(0) scale(1)}}@keyframes timeline-progress{0%{width:0%}to{width:100%}}@media(max-width:950px){.editor-body{grid-template-columns:44px minmax(0,1fr) 286px}.settings-panel{margin-right:7px;padding-right:10px;padding-left:10px}.stage-cluster{transform:translate(-2px)}}@media(max-width:700px){.editor-body{grid-template-columns:42px minmax(0,1fr)}.settings-panel{position:absolute;right:5px;bottom:7px;width:min(300px,calc(100vw - 54px));max-height:44%;margin:0;padding:10px;background:#2c2c30f7;box-shadow:0 5px 24px #0007}.settings-title-row h1{font-size:13px}.settings-card{padding:9px}.settings-card h2{margin-bottom:7px}.range-control{margin-bottom:5px}.stage-cluster{max-width:calc(100% - 12px);gap:5px;transform:translate(-5px)}.tool-button{width:38px;height:40px}.canvas-toolbar{gap:4px}.canvas-controls{gap:3px}.footer-links{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
