/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;--color-black:#000;--spacing:.25rem;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-bg-surface:#ffffffb3;--color-bg-elevated:#ffffff8c;--color-bg-overlay:#ffffffe6;--color-accent:#006070;--color-accent-bright:#007b8c;--color-accent-faint:#00607014;--color-accent2:#00bcd4;--color-accent2-faint:#00bcd41a;--color-text-primary:#1a2733;--color-text-secondary:#4a6070;--color-text-muted:#566878;--color-border:#00bcd42e;--color-border-accent:#007b8c59;--color-error:#e53e3e;--color-success:#2f855a;--color-warning:#975a16}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.bg-black{background-color:var(--color-black)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@font-face{font-family:OpenDyslexic;src:url(/assets/OpenDyslexic-Regular-nUhe5EwG.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}*{box-sizing:border-box}html{color-scheme:light;height:100%}.dark{color-scheme:dark}body{color:var(--color-text-primary);font-family:var(--font-sans);background:linear-gradient(135deg,#e8f4f8 0%,#ddeef5 40%,#e4eef7 100%) fixed;height:100%;margin:0;overflow:hidden}.dyslexic body,.dyslexic{font-family:OpenDyslexic,sans-serif!important}#root{flex-direction:column;height:100%;display:flex}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#007b8c40;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#007b8c73}:focus-visible{outline:1px dotted var(--color-accent);outline-offset:1px}input,select{accent-color:var(--color-accent2)}.app-loading{background:linear-gradient(135deg,#e8f4f8 0%,#ddeef5 100%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.app-loading:after{content:"";border:3px solid #007b8c33;border-top-color:var(--color-accent);border-radius:50%;width:32px;height:32px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.auth-card{background:var(--color-bg-overlay);-webkit-backdrop-filter:blur(16px);border:1px solid var(--color-border);border-radius:16px;width:100%;max-width:400px;padding:2.5rem 2rem;box-shadow:0 8px 40px #0000001a}.auth-logo{text-align:center;margin-bottom:1.75rem}.auth-logo .logo-text{color:var(--color-text-muted);font-size:1.1rem}.auth-logo .logo-markup{color:var(--color-accent2)}.auth-title{color:var(--color-text-primary);margin:0 0 .25rem;font-size:1.5rem;font-weight:700}.auth-subtitle{color:var(--color-text-muted);margin:0 0 1.75rem;font-size:.9rem}.auth-form{flex-direction:column;gap:1rem;display:flex}.auth-footer{text-align:center;color:var(--color-text-muted);margin-top:1.25rem;font-size:.85rem}.auth-footer a{color:var(--color-accent-bright);font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}.auth-error{color:var(--color-error);background:#e53e3e14;border:1px solid #e53e3e40;border-radius:8px;padding:.6rem .875rem;font-size:.85rem}.auth-success{color:var(--color-success);background:#2f855a14;border:1px solid #2f855a40;border-radius:8px;padding:.6rem .875rem;font-size:.85rem}.field{flex-direction:column;gap:.35rem;display:flex}.field-label{color:var(--color-text-secondary);font-size:.8rem;font-weight:600}.field-hint{color:var(--color-text-muted);font-size:.75rem}.tb-input,.tb-textarea,.tb-select{background:var(--color-bg-elevated);border:1px solid var(--color-border);width:100%;color:var(--color-text-primary);font-family:var(--font-sans);border-radius:8px;outline:none;padding:.5rem .75rem;font-size:.9rem;transition:border-color .15s}.tb-input:focus,.tb-textarea:focus,.tb-select:focus{border-color:var(--color-border-accent)}.tb-input-sm{border-radius:6px;padding:.3rem .5rem;font-size:.8rem}.tb-textarea{resize:vertical;min-height:80px}.tb-select{appearance:none;cursor:pointer}.btn-primary{background:var(--color-accent);color:#fff;cursor:pointer;font-family:var(--font-sans);border:1px solid #0060704d;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1.25rem;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex;position:relative;overflow:hidden}.btn-primary:hover{background:var(--color-accent-bright)}.btn-primary:disabled{opacity:.55;cursor:not-allowed}.btn-primary:active:after{content:"";background:#ffffff4d;border-radius:50%;width:0;height:0;animation:.5s ease-out radiate;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes radiate{to{opacity:0;width:200px;height:200px}}.btn-secondary{color:var(--color-accent);cursor:pointer;font-family:var(--font-sans);background:#ffffffd9;border:1px solid #00bcd438;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1.25rem;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-secondary:hover{background:#fff}.btn-secondary.active{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}.btn-secondary:disabled{opacity:.55;cursor:not-allowed}.btn-ghost{cursor:pointer;color:var(--color-text-muted);font-size:.85rem;font-family:var(--font-sans);background:0 0;border:none;align-items:center;gap:.3rem;padding:0;transition:color .15s;display:inline-flex}.btn-ghost:hover{color:var(--color-accent)}.btn-icon{cursor:pointer;width:32px;height:32px;color:var(--color-text-muted);background:0 0;border:none;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;transition:all .15s;display:flex}.btn-icon:hover{color:var(--color-accent);background:#00bcd41a}.btn-icon.danger:hover{color:var(--color-error);background:#e53e3e14}.btn-icon:disabled{opacity:.3;cursor:not-allowed;pointer-events:none}.timeline-toolbar .btn-icon{border-radius:4px;width:18px;height:18px}.btn-full{width:100%}.app-shell{flex-direction:column;height:100%;display:flex;overflow:hidden}.app-body{flex:1;min-height:0;display:flex;overflow:hidden}.site-header{color:#fff;z-index:50;background:linear-gradient(90deg,#0891b2,#0e7490);flex-shrink:0;position:relative;box-shadow:0 1px 3px #00000026}.site-header-inner{justify-content:space-between;align-items:center;gap:.5rem;height:3.25rem;padding:0 .75rem;display:flex}.logo{white-space:nowrap;font-size:18px}.logo a{color:#fff;text-decoration:none!important}.logo-markup{color:#ffffffa6}.header-nav{flex:1;align-items:center;gap:.25rem;padding:0 .75rem;display:flex}.header-nav-link{color:#ffffffd9;white-space:nowrap;border-radius:6px;padding:.35rem .75rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .15s}.header-nav-link:hover{color:#fff;background:#ffffff1f}.header-nav-link.active{color:#fff;background:#ffffff2e}.header-actions{flex-shrink:0;align-items:center;gap:.375rem;display:flex}.header-icon-btn{cursor:pointer;color:#ffffffe6;background:#ffffff1f;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .15s;display:flex}.header-icon-btn:hover{color:#fff;background:#ffffff38}.header-icon-btn.active{background:#ffffff47}.page-container{flex:1;min-height:0;padding:1.5rem;overflow-y:auto}.page-inner{max-width:1200px;margin:0 auto}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.page-title{color:var(--color-text-primary);margin:0;font-size:1.5rem;font-weight:700}.page-subtitle{color:var(--color-text-muted);margin:.25rem 0 0;font-size:.9rem}.card{background:var(--color-bg-surface);-webkit-backdrop-filter:blur(12px);border:1px solid var(--color-border);border-radius:12px;overflow:hidden}.card-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.card-title{color:var(--color-text-primary);margin:0;font-size:.95rem;font-weight:700}.card-body{padding:1.25rem}.project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;display:grid}.project-card{background:var(--color-bg-surface);backdrop-filter:blur(12px);border:1px solid var(--color-border);cursor:pointer;border-radius:12px;transition:transform .15s,box-shadow .15s,border-color .15s;overflow:hidden}.project-card:hover{border-color:var(--color-border-accent);transform:translateY(-2px);box-shadow:0 8px 32px #00bcd41f}.project-thumb{aspect-ratio:4/3;background:#b8c4cc;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.project-thumb img{object-fit:cover;width:100%;height:100%}.project-thumb-empty{color:#00000040}.project-info{padding:.75rem .875rem}.project-name{color:var(--color-text-primary);text-overflow:ellipsis;white-space:nowrap;margin:0 0 .2rem;font-size:.9rem;font-weight:600;overflow:hidden}.project-meta{color:var(--color-text-muted);font-size:.75rem}.empty-state{text-align:center;color:var(--color-text-muted);padding:3rem 1.5rem}.empty-state-icon{opacity:.4;margin-bottom:1rem}.empty-state-title{margin:0 0 .5rem;font-size:1rem;font-weight:600}.empty-state-body{margin:0 0 1.25rem;font-size:.875rem}.editor-shell{flex-direction:column;height:100%;display:flex;overflow:hidden}.editor-body{flex:1;min-height:0;display:flex;overflow:hidden}.editor-center{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.tool-palette{-webkit-backdrop-filter:blur(12px);background:#ffffffeb;border-right:1px solid #00bcd426;flex-direction:column;flex-shrink:0;align-items:center;gap:2px;width:52px;padding:.5rem 0;display:flex;overflow:hidden auto}.tool-btn{cursor:pointer;width:40px;height:40px;color:var(--color-text-secondary);background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.tool-btn:hover{color:var(--color-accent);background:#00bcd41a}.tool-btn.active{background:var(--color-accent-faint);color:var(--color-accent);box-shadow:inset 0 0 0 1.5px #007b8c40}.tool-divider{background:var(--color-border);flex-shrink:0;width:28px;height:1px;margin:0}.tool-tooltip{color:#fff;white-space:nowrap;pointer-events:none;z-index:200;opacity:0;background:#0a141eeb;border-radius:5px;padding:4px 8px;font-size:.73rem;font-weight:500;transition:opacity .12s;position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%)}.tool-tooltip:before{content:"";border:5px solid #0000;border-right-color:#0a141eeb;position:absolute;top:50%;right:100%;transform:translateY(-50%)}.tool-btn:hover .tool-tooltip{opacity:1}.tool-copyright-btn{letter-spacing:.02em;cursor:pointer;width:40px;height:40px;color:var(--color-text-muted);background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;margin-top:auto;font-size:.65rem;transition:color .15s,background .15s;display:flex}.tool-copyright-btn:hover{color:var(--color-accent);background:#00bcd41a}.tool-copyright-popover{z-index:200;color:#e8f4f8;background:#0a141ef5;border:1px solid #00bcd433;border-radius:8px;width:320px;padding:.75rem 1rem;font-size:.75rem;line-height:1.5;position:fixed;box-shadow:0 4px 16px #0000004d}.tool-copyright-popover a{color:var(--color-accent2);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.tool-copyright-popover a:hover{color:#fff}.jackpot{animation-name:jackpot;animation-timing-function:linear;animation-iteration-count:0;display:inline-block}.jackpot-fast{animation-duration:.2s;animation-iteration-count:6}.jackpot-medium{animation-duration:.3s;animation-iteration-count:5}.jackpot-slow{animation-duration:.5s;animation-iteration-count:4}@keyframes jackpot{0%,to{transform:rotateX(0)}50%{transform:rotateX(180deg)}}.canvas-area{background:#b8c4cc;flex:1;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.canvas-viewport{transform-origin:50%;background-color:#f0f0f0;background-image:linear-gradient(45deg,#d0d0d0 25%,#0000 25%),linear-gradient(-45deg,#d0d0d0 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#d0d0d0 75%),linear-gradient(-45deg,#0000 75%,#d0d0d0 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;position:relative;box-shadow:0 8px 40px #00000059,0 2px 8px #0003}.canvas-controls{backdrop-filter:blur(10px);z-index:10;background:#ffffffeb;border:1px solid #00bcd42e;border-radius:999px;align-items:center;gap:.5rem;padding:.3rem .75rem;display:flex;position:absolute;bottom:1rem;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0000001f}.canvas-controls-btn{cursor:pointer;width:28px;height:28px;color:var(--color-text-secondary);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;transition:all .15s;display:flex}.canvas-controls-btn:hover{color:var(--color-accent);background:#00bcd41a}.canvas-zoom-label{font-size:.75rem;font-family:var(--font-mono);color:var(--color-text-muted);text-align:center;min-width:42px}.right-panel{-webkit-backdrop-filter:blur(12px);background:#ffffffeb;border-left:1px solid #00bcd426;flex-direction:column;flex-shrink:0;width:260px;transition:width .2s;display:flex;overflow:hidden}.right-panel.collapsed{border:none;width:0}.panel-toggle-btn{background:var(--color-bg-surface);backdrop-filter:blur(8px);border:1px solid var(--color-border);cursor:pointer;width:20px;height:48px;color:var(--color-text-muted);z-index:20;border-right:none;border-radius:6px 0 0 6px;justify-content:center;align-items:center;transition:color .15s;display:flex;position:absolute;top:50%;right:100%;transform:translateY(-50%)}.panel-toggle-btn:hover{color:var(--color-accent)}.panel-section-header{border-bottom:1px solid var(--color-border);text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);cursor:pointer;user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;padding:.5rem .875rem;font-size:.7rem;font-weight:700;display:flex}.panel-section-content{flex:1;min-height:0;overflow-y:auto}.layers-list{flex-direction:column;flex:1;display:flex;overflow-y:auto}.layer-item{cursor:pointer;border-bottom:1px solid #00bcd40f;align-items:center;gap:.4rem;padding:.4rem .6rem;transition:background .12s;display:flex;position:relative}.layer-item:hover{background:#00bcd40d}.layer-item.active{background:var(--color-accent-faint)}.layer-item.drag-over-top{border-top:2px solid var(--color-accent)}.layer-item.drag-over-bottom{border-bottom:2px solid var(--color-accent)}.layer-item.is-group>.layer-name{font-weight:600}.layer-indent{flex-shrink:0;width:16px}.layer-thumb{border:1px solid var(--color-border);background-color:#f0f0f0;background-image:linear-gradient(45deg,#ccc 25%,#0000 25%),linear-gradient(-45deg,#ccc 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ccc 75%),linear-gradient(-45deg,#0000 75%,#ccc 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex;overflow:hidden}.layer-thumb img{object-fit:cover;width:100%;height:100%}.layer-name{color:var(--color-text-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.8rem;overflow:hidden}.layer-name input{color:var(--color-text-primary);font-size:.8rem;font-family:var(--font-sans);background:0 0;border:none;outline:none;width:100%;padding:0}.layer-icon-btn{cursor:pointer;width:22px;height:22px;color:var(--color-text-muted);background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:color .15s,background .15s;display:flex}.layer-icon-btn:hover{color:var(--color-accent);background:#00bcd414}.layer-icon-btn.danger:hover{color:var(--color-error);background:#e53e3e14}.layers-toolbar{border-top:1px solid var(--color-border);flex-shrink:0;gap:.25rem;padding:.4rem .6rem;display:flex}.props-section{border-bottom:1px solid var(--color-border);flex-direction:column;flex-shrink:0;gap:.4rem;padding:.6rem .75rem;display:flex}.props-row{align-items:center;gap:.5rem;display:flex}.props-label{color:var(--color-text-muted);flex-shrink:0;min-width:52px;font-size:.7rem}.props-value{color:var(--color-text-primary);font-size:.75rem;font-family:var(--font-mono)}.timeline-panel{backdrop-filter:blur(12px);background:#ffffffeb;border-top:1px solid #00bcd426;flex-direction:column;flex-shrink:0;height:220px;display:flex;overflow:hidden}.timeline-toolbar{border-bottom:1px solid var(--color-border);flex-shrink:0;align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.kf-options-bar{border-bottom:1px solid var(--color-border);background:var(--color-accent-faint);flex-shrink:0;align-items:center;gap:.3rem;padding:.25rem .75rem;display:flex}.kf-tween-btn{padding:.15rem .5rem!important;font-size:.7rem!important}.timeline-time-display{font-size:.78rem;font-family:var(--font-mono);color:var(--color-text-muted);min-width:70px}.timeline-body{flex:1;min-height:0;display:flex;overflow:hidden}.timeline-labels{border-right:1px solid var(--color-border);flex-shrink:0;width:160px;overflow:hidden auto}.timeline-label-row{height:28px;color:var(--color-text-secondary);white-space:nowrap;cursor:pointer;border-bottom:1px solid #00bcd40f;align-items:center;gap:.3rem;padding:0 .25rem 0 .5rem;font-size:.75rem;display:flex;overflow:hidden}.timeline-label-row:hover{background:#00bcd40a}.timeline-label-row.active{background:var(--color-accent-faint);color:var(--color-accent)}.timeline-row-actions{opacity:0;flex-shrink:0;align-items:center;gap:1px;transition:opacity .1s;display:flex}.timeline-label-row:hover .timeline-row-actions{opacity:1}.tl-row-btn{cursor:pointer;width:22px;height:22px;color:var(--color-text-muted);background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;padding:0;display:flex}.tl-row-btn:hover{color:var(--color-accent);background:#00bcd41f}.tl-row-btn-danger:hover{color:#ef4444;background:#ef44441f}.timeline-tracks{flex:1;min-width:0;position:relative;overflow:auto}.timeline-ruler{border-bottom:1px solid var(--color-border);z-index:5;background:#fffffff2;flex-shrink:0;height:20px;position:sticky;top:0}.timeline-track-row{border-bottom:1px solid #00bcd40f;height:28px;position:relative}.timeline-track-row:hover{background:#00bcd405}.keyframe{background:var(--color-accent2);border:1.5px solid var(--color-accent);cursor:pointer;border-radius:2px;width:10px;height:10px;transition:background .12s;position:absolute;top:50%;transform:translate(-50%,-50%)rotate(45deg)}.keyframe:hover{background:var(--color-accent)}.keyframe.active{background:#f59e0b;border-color:#d97706}.keyframe.selected{outline-offset:1px;outline:2px solid #fff}.tween-bar{pointer-events:none;background:#00bcd459;border-radius:2px;height:3px;position:absolute;top:50%;transform:translateY(-50%)}.clip-bar{pointer-events:none;box-sizing:border-box;background:#00bcd414;border:1px solid #00bcd440;border-radius:3px;position:absolute;top:3px;bottom:3px}.clip-bar.active{background:#00bcd426;border-color:#00bcd480}.clip-handle{cursor:ew-resize;pointer-events:all;z-index:4;background:#00bcd4a6;width:7px;position:absolute;top:0;bottom:0}.clip-handle:hover{background:var(--color-accent)}.clip-handle-start{border-radius:2px 0 0 2px;left:0}.clip-handle-end{border-radius:0 2px 2px 0;right:0}.playhead{z-index:10;pointer-events:none;background:#f59e0b;width:1px;position:absolute;top:0;bottom:0}.playhead:before{content:"";border:5px solid #0000;border-top-color:#f59e0b;position:absolute;top:0;left:50%;transform:translate(-50%)}.modal-backdrop{z-index:1000;backdrop-filter:blur(4px);background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal-box{background:var(--color-bg-overlay);border:1px solid var(--color-border);border-radius:14px;flex-direction:column;width:100%;max-width:520px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #00000040}.modal-box-lg{max-width:760px}.modal-header{border-bottom:1px solid var(--color-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.modal-title{color:var(--color-text-primary);margin:0;font-size:1.05rem;font-weight:700}.modal-body{flex-direction:column;flex:1;gap:1rem;padding:1.25rem;display:flex;overflow-y:auto}.modal-footer{border-top:1px solid var(--color-border);flex-shrink:0;justify-content:flex-end;align-items:center;gap:.6rem;padding:.875rem 1.25rem;display:flex}.dropdown-menu{z-index:300;background:var(--color-bg-overlay);border:1px solid var(--color-border);border-radius:10px;min-width:180px;padding:.35rem 0;position:absolute;overflow:hidden;box-shadow:0 8px 32px #00000024}.dropdown-item{color:var(--color-text-primary);cursor:pointer;align-items:center;gap:.5rem;padding:.45rem .875rem;font-size:.875rem;transition:background .1s;display:flex}.dropdown-item:hover{background:var(--color-accent2-faint)}.dropdown-item.danger{color:var(--color-text-secondary)}.dropdown-item.danger:hover{background:var(--color-accent2-faint)}.dropdown-divider{background:var(--color-border);height:1px;margin:.3rem 0}.badge{border-radius:999px;align-items:center;padding:.15rem .5rem;font-size:.7rem;font-weight:600;display:inline-flex}.badge-teal{background:var(--color-accent2-faint);color:var(--color-accent)}.badge-green{color:var(--color-success);background:#2f855a1a}.badge-orange{color:var(--color-warning);background:#975a161a}.badge-red{color:var(--color-error);background:#e53e3e1a}.data-table{border-collapse:collapse;width:100%;font-size:.875rem}.data-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);border-bottom:1px solid var(--color-border);padding:.5rem .75rem;font-size:.7rem;font-weight:700}.data-table td{border-bottom:1px solid #00bcd40f;padding:.6rem .75rem}.data-table tr:hover td{background:var(--color-accent2-faint)}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem;display:grid}.asset-card{border:1.5px solid var(--color-border);cursor:pointer;border-radius:8px;transition:all .15s;overflow:hidden}.asset-card:hover{border-color:var(--color-accent2);transform:translateY(-1px)}.asset-card.selected{border-color:var(--color-accent);box-shadow:0 0 0 2px var(--color-accent-faint)}.asset-thumb{aspect-ratio:1;background-color:#f0f0f0;background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;justify-content:center;align-items:center;display:flex;overflow:hidden}.asset-thumb img{object-fit:contain;width:100%;height:100%}.asset-meta{background:var(--color-bg-surface);padding:.3rem .4rem}.asset-label{color:var(--color-text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-bottom:.15rem;font-size:.72rem;overflow:hidden}.asset-meta-row{color:var(--color-text-muted);flex-wrap:wrap;gap:.4rem;font-size:.65rem;line-height:1.4;display:flex}.color-swatch{cursor:pointer;border:1.5px solid #0000001f;border-radius:6px;flex-shrink:0;width:28px;height:28px;transition:transform .12s}.color-swatch:hover{transform:scale(1.1)}.sidebar{backdrop-filter:blur(12px);border-right:1px solid var(--color-border);background:#ffffffe0;flex-direction:column;flex-shrink:0;width:220px;padding:.75rem 0;display:flex;overflow-y:auto}.sidebar-section-label{text-transform:uppercase;letter-spacing:.07em;color:var(--color-text-muted);padding:.5rem 1rem .25rem;font-size:.65rem;font-weight:700}.sidebar-link{color:var(--color-text-secondary);cursor:pointer;border-radius:0;align-items:center;gap:.6rem;padding:.5rem 1rem;font-size:.875rem;text-decoration:none;transition:all .12s;display:flex}.sidebar-link:hover{background:var(--color-accent2-faint);color:var(--color-accent)}.sidebar-link.active{background:var(--color-accent-faint);color:var(--color-accent);font-weight:600}@media (width<=768px){.sidebar{flex-direction:row;width:100%;height:auto;padding:0;overflow:auto hidden}.sidebar-section-label{display:none}.sidebar-link{white-space:nowrap;padding:.75rem .875rem}.page-container{padding:1rem}.project-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.modal-box{border-radius:14px 14px 0 0;max-height:85vh;margin:0}.modal-backdrop{align-items:flex-end;padding:0}.header-nav{display:none}.right-panel-container{position:static}.right-panel{z-index:60;width:260px;transition:transform .25s;position:fixed;top:3.25rem;bottom:0;right:0;transform:translate(0)}.right-panel.collapsed{border-left:1px solid #00bcd426;width:260px;transform:translate(100%)}.panel-toggle-btn{z-index:61;transition:right .25s,color .15s;position:fixed;top:50%;right:0;transform:translateY(-50%)}.panel-toggle-btn:not(.collapsed){right:260px}.timeline-labels{width:120px}}.dropzone{border:2px dashed var(--color-border);text-align:center;color:var(--color-text-muted);cursor:pointer;border-radius:10px;padding:2rem;transition:all .15s}.dropzone:hover,.dropzone.over{border-color:var(--color-accent2);background:var(--color-accent2-faint);color:var(--color-accent)}.spinner{border:2px solid #007b8c33;border-top-color:var(--color-accent);border-radius:50%;flex-shrink:0;width:18px;height:18px;animation:.7s linear infinite spin}.progress-bar{background:var(--color-border);border-radius:2px;height:4px;overflow:hidden}.progress-fill{background:var(--color-accent2);border-radius:2px;height:100%;transition:width .3s}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sr-only-focusable:focus{z-index:9999;clip:auto;white-space:normal;background:var(--color-accent);color:#fff;border-radius:6px;width:auto;height:auto;padding:.5rem 1rem;font-weight:600;position:fixed;top:.5rem;left:.5rem}.dark{--color-text-primary:#e8f4f8;--color-text-secondary:#a8c4cc;--color-text-muted:#7aa4b0}:scope:where(.dark,.dark *) body{color:#e8f4f8;background:linear-gradient(135deg,#0d1a22 0%,#0a1520 40%,#0d1a22 100%)}:scope:where(.dark,.dark *) .site-header{background:linear-gradient(90deg,#0e5f72,#0a4d5e)}:scope:where(.dark,.dark *) .auth-card,:scope:where(.dark,.dark *) .card,:scope:where(.dark,.dark *) .right-panel,:scope:where(.dark,.dark *) .tool-palette,:scope:where(.dark,.dark *) .timeline-panel,:scope:where(.dark,.dark *) .sidebar,:scope:where(.dark,.dark *) .modal-box,:scope:where(.dark,.dark *) .dropdown-menu,:scope:where(.dark,.dark *) .canvas-controls{background:#0f1923eb;border-color:#00bcd41f}:scope:where(.dark,.dark *) .project-card{background:#0f1923e0;border-color:#00bcd41f}:scope:where(.dark,.dark *) .tb-input,:scope:where(.dark,.dark *) .tb-textarea,:scope:where(.dark,.dark *) .tb-select{color:#e8f4f8;background:#ffffff0f;border-color:#00bcd426}:scope:where(.dark,.dark *) .layer-item{border-bottom-color:#00bcd40a}:scope:where(.dark,.dark *) .layer-item.active{background:#00607040}:scope:where(.dark,.dark *) .data-table td{border-bottom-color:#00bcd40a}:scope:where(.dark,.dark *) .panel-toggle-btn{background:#0f1923eb;border-color:#00bcd426}:scope:where(.dark,.dark *) .asset-thumb{background-color:#1c2a32;background-image:linear-gradient(45deg,#ffffff0a 25%,#0000 25%),linear-gradient(-45deg,#ffffff0a 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ffffff0a 75%),linear-gradient(-45deg,#0000 75%,#ffffff0a 75%)}:scope:where(.dark,.dark *) .asset-meta{background:#0f1923eb}:scope:where(.dark,.dark *) .canvas-area{background:#071018}:scope:where(.dark,.dark *) .timeline-ruler{background:#0a141ef2}:scope:where(.dark,.dark *) .timeline-track-row:hover{background:#00bcd40a}:scope:where(.dark,.dark *) .timeline-label-row.active{color:var(--color-accent2)}.resize-handle{z-index:10;background:#fff;border:1.5px solid #007b8c;border-radius:2px;width:8px;height:8px;position:absolute;transform:translate(-50%,-50%)}.resize-handle-nw{top:0;left:0}.resize-handle-n{top:0;left:50%}.resize-handle-ne{top:0;left:100%}.resize-handle-e{top:50%;left:100%}.resize-handle-se{top:100%;left:100%}.resize-handle-s{top:100%;left:50%}.resize-handle-sw{top:100%;left:0}.resize-handle-w{top:50%;left:0}.dark .resize-handle{background:#0d1a22;border-color:#00bcd4}.canvas-empty-wrap{pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.canvas-empty-pill{color:#ffffffe0;white-space:nowrap;background:#0000006b;border-radius:999px;padding:.35rem 1.1rem;font-size:.8rem}.spacer,.editor-logo{flex:1}.editor-logo-appname{color:#ffffffe6;font-weight:700}.editor-name-wrap{flex-shrink:0;align-items:center;gap:.5rem;padding:0 .5rem;display:flex}.editor-name-input{color:#fff;background:#ffffff26;border:1px solid #ffffff4d;max-width:300px;font-size:.9rem}.editor-name-btn{color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-size:.9rem;font-weight:600;overflow:hidden}.editor-save-saving{color:#fff9;font-size:.75rem}.editor-save-saved{color:#64ffc8d9;align-items:center;gap:.2rem;font-size:.75rem;display:flex}.editor-toolbar{flex:1;justify-content:flex-end;align-items:center;gap:.25rem;display:flex}.header-sep{background:#fff3;flex-shrink:0;width:1px;height:20px;margin:0 .25rem}.header-export-btn{gap:.3rem;font-size:.8rem;font-weight:600;background:#ffffff2e!important;width:auto!important;padding-left:.5rem!important;padding-right:.5rem!important}.header-dropdown{position:relative}.header-dropdown .dropdown-menu{margin-top:4px;top:100%;right:0}.header-lang-btn{width:auto!important;padding:0 .5rem!important}.header-lang-code{font-size:.65rem;font-weight:700}.header-user-btn{gap:.3rem!important;width:auto!important;padding:0 .4rem!important}.header-user-name{text-overflow:ellipsis;white-space:nowrap;max-width:80px;font-size:.75rem;font-weight:600;overflow:hidden}.header-check-spacer{width:12px;display:inline-block}.header-check-icon{color:var(--color-accent)}.tl-sep{background:var(--color-border);flex-shrink:0;width:1px;height:18px;margin:0 .25rem}.tl-label-name{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.75rem;overflow:hidden}.tl-label-input{flex:1;height:20px;padding:.1rem .3rem;font-size:.72rem}.tl-empty{color:var(--color-text-muted);padding:1rem .5rem;font-size:.75rem}.tl-duration-label{color:var(--color-text-muted);align-items:center;gap:.3rem;font-size:.72rem;display:flex}.tl-duration-input{width:72px}.tl-fps-label{color:var(--color-text-muted);align-items:center;gap:.3rem;font-size:.72rem;display:flex}.tl-fps-select{width:60px;padding:.2rem .4rem!important;font-size:.75rem!important}.tl-unit{font-size:.7rem}.tl-kf-options-label{color:var(--color-text-muted);margin-right:.4rem;font-size:.72rem}.tl-kf-danger-btn{color:#ef4444!important}.timeline-ruler-header{border-bottom:1px solid var(--color-border);flex-shrink:0;height:20px}.props-panel{flex-direction:column;flex:1;display:flex;overflow:hidden}.props-panel-empty{flex:1}.props-panel-body{padding:1rem .75rem}.props-empty-hint{color:var(--color-text-muted);margin-top:1rem;font-size:.8rem}.props-section-label{text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);margin-bottom:.35rem;font-size:.68rem;font-weight:700}.props-section-body{flex-direction:column;gap:.3rem;display:flex}.props-row-inner{align-items:center;gap:.4rem;display:flex}.props-row-label{color:var(--color-text-muted);flex-shrink:0;min-width:44px;font-size:.7rem}.props-range{flex:1}.props-pct{font-size:.75rem;font-family:var(--font-mono);text-align:right;min-width:32px}.props-select-sm{padding:.3rem .5rem!important;font-size:.8rem!important}.props-textarea-sm{min-height:60px;font-size:.8rem}.props-kf-btn{width:100%;gap:.3rem!important;padding:.3rem .6rem!important;font-size:.78rem!important}.props-shape-type-btns{gap:.4rem;display:flex}.props-shape-btn{flex:1;padding:.3rem!important;font-size:.75rem!important}.color-picker-input{cursor:pointer;border:none;border-radius:5px;width:32px;height:28px;padding:2px}.props-num-input{width:100%;font-family:var(--font-mono)}.canvas-size-label{text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);margin-bottom:.5rem;font-size:.7rem;font-weight:700}.canvas-size-row{align-items:center;gap:.5rem;display:flex}.canvas-size-axis-label{color:var(--color-text-muted);min-width:18px;font-size:.7rem}.canvas-size-input{width:70px}.layers-root{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.layer-text-thumb{color:var(--color-text-secondary);font-size:9px;overflow:hidden}.layers-empty-hint{color:var(--color-text-muted);text-align:center;padding:1rem .75rem;font-size:.8rem}.modal-box-sm{max-width:440px}.export-format-tabs{gap:.3rem;display:flex}.export-tab-btn{flex:1;padding:.3rem .7rem!important;font-size:.75rem!important}.export-summary-card{padding:.75rem}.export-summary-body{color:var(--color-text-secondary);flex-direction:column;gap:.3rem;font-size:.8rem;display:flex}.export-summary-row{justify-content:space-between;display:flex}.export-mono{font-family:var(--font-mono)}.export-options{flex-direction:column;gap:.75rem;display:flex}.export-field-inline{margin:0}.export-hint{color:var(--color-text-muted);margin:0;font-size:.75rem}.export-num-input-sm{width:80px}.export-color-btns{gap:.3rem;display:flex}.export-color-btn{padding:.25rem .6rem!important;font-size:.75rem!important}.export-progress{margin-top:.75rem}.export-progress-pct{color:var(--color-text-muted);margin-top:.3rem;font-size:.72rem}.export-embed-label,.export-transparent-label{cursor:pointer;align-items:center;gap:.6rem;font-size:.875rem;display:flex}.toggle-switch{cursor:pointer;background:var(--color-border);border:none;border-radius:999px;flex-shrink:0;width:44px;height:24px;transition:background .2s;position:relative}.toggle-switch[aria-checked=true]{background:var(--color-accent)}.toggle-knob{pointer-events:none;background:#fff;border-radius:50%;width:20px;height:20px;transition:left .2s;position:absolute;top:2px;left:2px}.toggle-switch[aria-checked=true] .toggle-knob{left:22px}.page-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.page-section-gap{margin-bottom:1.5rem}.page-max-760{max-width:760px}.page-max-640{max-width:640px}.form-checkbox-label{cursor:pointer;align-items:center;gap:.6rem;font-size:.875rem;display:flex}.appearance-row{justify-content:space-between;align-items:center;display:flex}.appearance-label{color:var(--color-text-primary);font-size:.9rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
