:root{--bg:#0d0d0d;--panel:#1c1c1c;--panel-2:#262626;--panel-3:#333;--border:#2e2e2e;--text:#f0f0f0;--text-dim:#8d8d8d;--accent:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;overflow:hidden}#root{height:100vh}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0}.app{flex-direction:column;height:100vh;display:flex}.app-body{flex:1;min-height:0;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.topbar-left{align-items:center;gap:8px;min-width:220px;display:flex}.logo-mark{font-size:20px}.logo-text{letter-spacing:.2px;font-weight:600}.topbar-right{justify-content:flex-end;align-items:center;gap:8px;min-width:220px;display:flex}.btn{border-radius:10px;padding:8px 14px;font-size:13px;font-weight:500;transition:background .12s,opacity .12s}.btn:disabled{opacity:.5;cursor:default}.btn-ghost{background:var(--panel)}.btn-ghost:hover:not(:disabled){background:var(--panel-2)}.btn-primary{background:var(--accent);color:#000;font-weight:600}.btn-primary:hover:not(:disabled){opacity:.85}.scale-select{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:6px 8px;font-size:13px}.sidebar{background:var(--panel);border-radius:16px;flex-direction:column;margin:0 10px 10px;display:flex;overflow:hidden}.sidebar-left{flex-shrink:0;width:250px}.sidebar-right{flex-shrink:0;width:244px}.sidebar-tabs{padding:12px 12px 4px}.sidebar-scroll{flex:1;padding:12px;overflow-y:auto}.panel-stack{flex-direction:column;gap:20px;display:flex}.panel-section{flex-direction:column;gap:8px;display:flex}.section-label{text-transform:uppercase;letter-spacing:.8px;color:var(--text-dim);font-size:11px;font-weight:600}.segmented{background:var(--bg);border-radius:10px;gap:2px;padding:3px;display:flex}.segmented-btn{color:var(--text-dim);border-radius:8px;flex:1;padding:7px 4px;font-size:12px;transition:background .12s,color .12s}.segmented-btn:hover{color:var(--text)}.segmented-btn.active{background:var(--panel-3);color:var(--text)}.slider{flex-direction:column;gap:4px;display:flex}.slider-disabled{opacity:.4}.slider-labels{color:var(--text-dim);justify-content:space-between;font-size:12px;display:flex}.slider-value{color:var(--text);font-variant-numeric:tabular-nums}.slider input[type=range]{appearance:none;background:var(--panel-3);border-radius:2px;outline:none;width:100%;height:4px}.slider input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--text);cursor:grab;border-radius:50%;width:14px;height:14px}.slider input[type=range]::-moz-range-thumb{background:var(--text);cursor:grab;border:none;border-radius:50%;width:14px;height:14px}.drag-pad{aspect-ratio:16/9;background:var(--bg);border:1px solid var(--border);cursor:grab;touch-action:none;border-radius:12px;width:100%;position:relative;overflow:hidden}.drag-pad:active{cursor:grabbing}.drag-pad-cross{background:linear-gradient(var(--border), var(--border)) center / 100% 1px no-repeat, linear-gradient(var(--border), var(--border)) center / 1px 100% no-repeat;pointer-events:none;position:absolute;inset:0}.drag-pad-handle{background:var(--text);pointer-events:none;border-radius:50%;width:16px;height:16px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #ffffff26}.dropzone{background:var(--bg);border:1px dashed var(--border);border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:14px;transition:border-color .12s;display:flex}.dropzone:hover{border-color:var(--text-dim)}.dropzone-thumb{border-radius:6px;max-width:100%;max-height:110px}.dropzone-hint{color:var(--text-dim);font-size:11px}.palette-row{gap:6px;display:flex}.palette-dot{border:1px solid #ffffff26;border-radius:50%;width:18px;height:18px}.style-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.style-btn{background:var(--bg);border:1px solid #0000;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;transition:border-color .12s;display:flex}.style-btn:hover{border-color:var(--panel-3)}.style-btn.active{border-color:var(--text)}.style-swatch{background:linear-gradient(135deg,#6a6a6a,#3a3a3a);border-radius:6px;width:40px;height:28px}.swatch-glass-light{background:linear-gradient(135deg,#cfcfcf,#9c9c9c);border:2px solid #ffffffb3}.swatch-glass-dark{background:linear-gradient(135deg,#4b4b4b,#1f1f1f);border:2px solid #000000b3}.swatch-outline{background:0 0;border:2px solid #e6e6e6}.swatch-stack{background:linear-gradient(135deg,#6a6a6a,#3a3a3a);box-shadow:0 -5px 0 -2px #555,0 -10px 0 -4px #3d3d3d}.style-name{color:var(--text-dim);font-size:10px}.style-btn.active .style-name{color:var(--text)}.swatch-grid{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.bg-swatch{aspect-ratio:1;border:2px solid #0000;border-radius:8px;justify-content:center;align-items:center;font-size:14px;transition:transform .12s,border-color .12s;display:flex;overflow:hidden}.bg-swatch:hover{transform:scale(1.08)}.bg-swatch.active{border-color:var(--text)}.checkerboard-swatch,.checkerboard{background:repeating-conic-gradient(#3a3a3a 0% 25%,#262626 0% 50%) 0 0/16px 16px}.color-picker-swatch{cursor:pointer;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.color-picker-swatch input[type=color]{opacity:0;cursor:pointer;width:100%;height:100%}.image-picker-swatch{background:var(--panel-3)}.canvas-area{flex-direction:column;flex:1;gap:8px;min-width:0;padding:0 6px 10px;display:flex}.canvas-fit{flex:1;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.checkerboard{border-radius:12px}.scene{border-radius:12px;position:relative;overflow:hidden}.bg-fill{position:absolute;inset:0}.bg-shader{width:100%;height:100%;position:absolute;inset:0}.bg-image{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.mockup-area{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.mockup-size{max-width:92%;max-height:92%;position:relative}.mockup-3d{transform-origin:50%;will-change:transform;width:100%;height:100%;transition:transform .12s linear;position:relative}.mockup-item{width:100%;height:100%;position:relative;overflow:hidden}.mockup-img{object-fit:cover;border-radius:inherit;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.stack-layer{background-position:50%;background-size:cover;position:absolute;inset:0}.style-glass-light{-webkit-backdrop-filter:blur(12px);background:#ffffff59;border:1px solid #ffffff80;padding:1.2em}.style-glass-dark{-webkit-backdrop-filter:blur(12px);background:#0006;border:1px solid #ffffff2e;padding:1.2em}.style-glass-light .mockup-img,.style-glass-dark .mockup-img{border-radius:.6em;height:100%}.style-outline{border:.35em solid #ffffffeb}.mockup-placeholder{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:inherit;color:#fff;background:#00000059;border:2px dashed #ffffff59;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}.mockup-placeholder-title{font-size:2.2em;font-weight:600}.mockup-placeholder-sub{opacity:.7;font-size:1.5em}.btn-icon{padding:8px 10px;font-size:15px;line-height:1}.bg-overlay{pointer-events:none;position:absolute;inset:0}.reflection{opacity:.3;pointer-events:none;height:100%;position:absolute;top:calc(100% + .6em);left:0;right:0;overflow:hidden;-webkit-mask-image:linear-gradient(#000000b3,#0000 42%);mask-image:linear-gradient(#000000b3,#0000 42%)}.reflection img{object-fit:cover;border-radius:inherit;width:100%;height:100%;transform:scaleY(-1)}.watermark{object-fit:contain;z-index:5;pointer-events:none;max-width:20%;height:6%;position:absolute;bottom:3%;right:3%}.watermark-row{align-items:center;gap:10px;display:flex}.watermark-thumb{object-fit:contain;background:var(--bg);border-radius:8px;max-width:110px;height:36px;padding:4px}.layers-header{justify-content:space-between;align-items:center;display:flex}.layers-add{gap:6px;display:flex}.mini-btn{background:var(--panel-2);color:var(--text-dim);border-radius:6px;padding:3px 7px;font-size:11px;line-height:1.3}.mini-btn:hover{background:var(--panel-3);color:var(--text)}.mini-btn.danger:hover{color:#ff9b9b;background:#5c1f1f}.mini-btn.eye.off{opacity:.5}.layers-list{flex-direction:column;gap:4px;display:flex}.layer-row{background:var(--bg);cursor:pointer;border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;padding:6px 8px;display:flex}.layer-row:hover{border-color:var(--panel-3)}.layer-row.active{border-color:var(--text)}.layer-thumb{object-fit:cover;border-radius:4px;flex-shrink:0;width:28px;height:20px}.layer-thumb-text{background:var(--panel-3);justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.layer-name{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:12px;overflow:hidden}.layer-actions{gap:3px;display:none}.layer-row:hover .layer-actions,.layer-row.active .layer-actions{display:flex}.mockup-3d.interactive{cursor:grab;touch-action:none}.mockup-3d.interactive:active{cursor:grabbing}.selection-ring{pointer-events:none;border:2px dashed #ffffffa6;border-radius:1em;position:absolute;inset:-.6em}.text-layer{white-space:pre-wrap;word-break:break-word;letter-spacing:-.02em;width:100%;line-height:1.15}.text-input{background:var(--bg);width:100%;color:var(--text);border:1px solid var(--border);font:inherit;resize:vertical;border-radius:10px;padding:8px 10px;font-size:12px}.color-field{color:var(--text-dim);justify-content:space-between;align-items:center;font-size:12px;display:flex}.color-field input[type=color]{cursor:pointer;background:0 0;border:none;border-radius:6px;width:42px;height:26px}.browser-frame{flex-direction:column;display:flex}.browser-screen{flex:1;min-height:0;overflow:hidden}.browser-screen .mockup-img{object-position:top;height:100%}.arc-screen .mockup-img,.phone-screen .mockup-img{object-position:top}.browser-bar,.cr-tabstrip,.ff-tabstrip,.arc-bar,.ios-safari,.crm-bar,.dynamic-island{font-size:calc(1em * var(--chrome-scale,1))}.browser-bar{flex-shrink:0;align-items:center;gap:1em;padding:0 1.3em;display:flex}.bar-flex{flex:1}.bar-icons{opacity:.65;align-items:center;gap:1.1em;display:inline-flex}.ui-icon{flex-shrink:0;width:1.35em;height:1.35em;display:inline-block}.traffic-lights{flex-shrink:0;gap:.65em;display:flex}.traffic-lights i{border-radius:50%;width:1em;height:1em}.traffic-lights.small i{width:.85em;height:.85em}.tl-red{background:#ff5f57}.tl-yellow{background:#febc2e}.tl-green{background:#28c840}.safari-bar{height:3.6em}.safari-frame.theme-light .safari-bar{color:#3c3c3c;background:#f2f1f2;border-bottom:1px solid #d8d7d8}.safari-frame.theme-dark .safari-bar{color:#d8d8d8;background:#3a383c;border-bottom:1px solid #232124}.safari-address{white-space:nowrap;border-radius:.65em;justify-content:center;align-items:center;gap:.5em;min-width:38%;max-width:46%;height:2.2em;padding:0 1em;font-size:1.1em;display:inline-flex;overflow:hidden}.safari-frame.theme-light .safari-address{color:#4c4c4c;background:#e4e3e4}.safari-frame.theme-dark .safari-address{color:#c6c6c6;background:#29282b}.cr-tabstrip{flex-shrink:0;align-items:flex-end;gap:.9em;height:3.1em;padding:0 1.2em;display:flex}.chrome-frame.theme-light .cr-tabstrip{color:#3a3a3a;background:#dfe1e5}.chrome-frame.theme-dark .cr-tabstrip{color:#d3d3d3;background:#202124}.cr-tabstrip .traffic-lights{margin-bottom:.9em}.cr-tabstrip .ui-icon{margin-bottom:.75em}.cr-tab{border-radius:.8em .8em 0 0;align-items:center;gap:.7em;min-width:16em;max-width:22em;height:2.5em;padding:0 1.2em;font-size:1.05em;display:inline-flex}.chrome-frame.theme-light .cr-tab{background:#fff}.chrome-frame.theme-dark .cr-tab{background:#35363a}.cr-favicon{background:conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);border-radius:50%;flex-shrink:0;width:1.1em;height:1.1em}.ff-favicon{background:radial-gradient(circle at 35% 35%,#ffd54d,#ff9500 55%,#e0350b)}.cr-tab-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cr-toolbar{height:3.4em}.chrome-frame.theme-light .cr-toolbar{color:#4a4a4a;background:#fff}.chrome-frame.theme-dark .cr-toolbar{color:#cfcfcf;background:#35363a;border-bottom:1px solid #27282b}.cr-omnibox{white-space:nowrap;border-radius:1.2em;flex:1;align-items:center;gap:.6em;height:2.4em;padding:0 1.1em;font-size:1.05em;display:inline-flex;overflow:hidden}.chrome-frame.theme-light .cr-omnibox{color:#333;background:#f1f3f4}.chrome-frame.theme-dark .cr-omnibox{color:#c9c9c9;background:#202124}.cr-avatar{background:linear-gradient(135deg,#7b5cff,#3aa0ff);border-radius:50%;flex-shrink:0;width:1.7em;height:1.7em}.ff-tabstrip{flex-shrink:0;align-items:center;gap:.9em;height:3.2em;padding:0 1.2em;display:flex}.firefox-frame.theme-light .ff-tabstrip{color:#35343a;background:#f0f0f4}.firefox-frame.theme-dark .ff-tabstrip{color:#d8d7dd;background:#1c1b22}.ff-tab{border-radius:.5em;align-items:center;gap:.7em;min-width:15em;max-width:21em;height:2.4em;padding:0 1.1em;font-size:1.05em;display:inline-flex}.firefox-frame.theme-light .ff-tab{background:#fff;box-shadow:0 .1em .3em #0000001f}.firefox-frame.theme-dark .ff-tab{background:#42414d}.ff-toolbar{height:3.4em}.firefox-frame.theme-light .ff-toolbar{color:#45444a;background:#f9f9fb;border-bottom:1px solid #e0e0e6}.firefox-frame.theme-dark .ff-toolbar{color:#ccccd2;background:#2b2a33;border-bottom:1px solid #1a191f}.firefox-frame.theme-light .ff-address{background:#fff;border-radius:.5em;box-shadow:inset 0 0 0 1px #d0d0d7}.firefox-frame.theme-dark .ff-address{background:#1c1b22;border-radius:.5em}.arc-frame{flex-direction:column;padding:0 1em 1em;display:flex}.arc-bar{flex-shrink:0;align-items:center;gap:1em;height:3.2em;padding:0 .4em;display:flex}.arc-frame.theme-light .arc-bar{color:#4a4358}.arc-frame.theme-dark .arc-bar{color:#d9d3e8}.arc-url{text-align:center;opacity:.75;white-space:nowrap;flex:1;font-size:1.1em;font-weight:600;overflow:hidden}.arc-screen{border-radius:1em;flex:1;min-height:0;overflow:hidden;box-shadow:0 .3em 1.4em #0000002e}.arc-screen .mockup-img{height:100%}.macos-bar{height:3em}.macos-frame.theme-light .macos-bar{background:#ececec;border-bottom:1px solid #d9d9d9}.macos-frame.theme-dark .macos-bar{background:#2b2b2b;border-bottom:1px solid #1d1d1d}.device-phone{background:#101010;border-radius:4.6em;padding:1.1em;box-shadow:inset 0 0 0 .18em #3c3c3c}.device-phone .phone-screen{border-radius:3.6em;width:100%;height:100%;position:relative;overflow:hidden}.dynamic-island{background:#000;border-radius:2em;width:22%;height:3.2em;position:absolute;top:1.4em;left:50%;transform:translate(-50%)}.ios-safari{-webkit-backdrop-filter:blur(14px);flex-direction:column;gap:1em;padding:1em 1.4em 1.6em;display:flex;position:absolute;bottom:0;left:0;right:0}.theme-light .ios-safari{color:#333;background:#f8f8fad1}.theme-dark .ios-safari{color:#d9d9d9;background:#1c1c1ed1}.ios-address{border-radius:1em;justify-content:space-between;align-items:center;gap:1em;height:3.4em;padding:0 1.3em;font-size:1.15em;display:flex}.theme-light .ios-address{background:#fff;box-shadow:0 .1em .5em #0000001f}.theme-dark .ios-address{background:#39393d}.ios-address span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ios-toolbar{color:#2f7cf6;justify-content:space-between;padding:0 1.2em;display:flex}.ios-toolbar .ui-icon{width:1.7em;height:1.7em}.crm-bar{align-items:center;gap:1em;padding:.8em 1.2em;display:flex;position:absolute;top:4.6em;left:0;right:0}.theme-light .crm-bar{color:#444;background:#fff}.theme-dark .crm-bar{color:#cfcfcf;background:#202124}.crm-omnibox{white-space:nowrap;border-radius:1.5em;flex:1;align-items:center;gap:.7em;height:3em;padding:0 1.2em;font-size:1.1em;display:flex;overflow:hidden}.theme-light .crm-omnibox{background:#f1f3f4}.theme-dark .crm-omnibox{background:#35363a}.crm-tabs{border:.18em solid;border-radius:.5em;flex-shrink:0;justify-content:center;align-items:center;width:2em;height:2em;font-size:1em;font-weight:700;display:inline-flex}.device-swatch-none{background:linear-gradient(135deg,#6a6a6a,#3a3a3a)}.device-swatch-safari{background:linear-gradient(#f2f1f2 32%,#8a8a8f 32%)}.device-swatch-chrome{background:linear-gradient(#dfe1e5 26%,#fff 26% 52%,#9aa0a6 52%)}.device-swatch-firefox{background:linear-gradient(#f0f0f4 30%,#ff9500 30% 55%,#7a7a80 55%)}.device-swatch-arc{background:linear-gradient(135deg,#c8b6ff,#ffd6ff);border:3px solid #b39dfa}.device-swatch-macos{background:linear-gradient(#3a3a3a 25%,#6a6a6a 25%)}.device-swatch-phone{background:#222;border:2px solid #555;border-radius:10px}.device-swatch-safari-ios{background:linear-gradient(#222 65%,#e8e8ec 65%);border:2px solid #555;border-radius:10px}.device-swatch-chrome-mobile{background:linear-gradient(#222 20%,#f1f3f4 20% 40%,#222 40%);border:2px solid #555;border-radius:10px}.clay-mount{position:absolute;inset:0}.clay-mount canvas{display:block;width:100%!important;height:100%!important}.camera-rig{transform-origin:50%;will-change:transform;position:absolute;inset:0}.anim-grid{flex-wrap:wrap;gap:6px;display:flex}.anim-chip{padding:5px 10px;font-size:11px}.anim-chip.active{background:var(--text);color:#000}.anim-actions{gap:8px;display:flex}.anim-actions .btn{flex:1;padding:8px 6px;font-size:12px}.preset-list{flex-direction:column;align-items:center;gap:10px;display:flex}.preset-thumb{border:2px solid #0000;border-radius:10px;flex-shrink:0;transition:border-color .12s;position:relative;overflow:hidden}.preset-thumb:hover{border-color:var(--panel-3)}.preset-thumb.active{border-color:var(--text)}.preset-thumb .mockup-placeholder{display:none}.timeline{background:var(--panel);border-radius:14px;flex-direction:column;flex-shrink:0;gap:8px;padding:10px 12px;display:flex}.tl-controls{align-items:center;gap:10px;font-size:12px;display:flex}.tl-play{padding:4px 10px;font-size:13px}.tl-time{font-variant-numeric:tabular-nums;color:var(--text-dim);min-width:92px}.tl-duration{color:var(--text-dim);align-items:center;gap:6px;display:inline-flex}.tl-duration input{background:var(--bg);width:48px;color:var(--text);border:1px solid var(--border);font:inherit;border-radius:6px;padding:3px 6px}.tl-kf-controls{align-items:center;gap:6px;display:inline-flex}.tl-kf-controls select{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:3px 6px;font-size:11px}.tl-hint{color:var(--text-dim);font-size:11px}.tl-tracks{flex-direction:column;gap:4px;max-height:160px;display:flex;position:relative;overflow-y:auto}.tl-ruler{cursor:ew-resize;-webkit-user-select:none;user-select:none;height:20px;display:flex}.tl-ruler-name{flex-shrink:0;width:110px}.tl-ruler-lane{flex:1;position:relative}.tl-tick{color:var(--text-dim);border-left:1px solid var(--border);height:16px;padding-left:4px;font-size:10px;position:absolute;top:2px}.tl-track{background:var(--bg);border-radius:8px;align-items:center;height:30px;display:flex}.tl-track.active{outline:1px solid var(--panel-3)}.tl-track-name{width:110px;color:var(--text-dim);white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;padding:0 10px;font-size:11px;overflow:hidden}.tl-track.active .tl-track-name{color:var(--text)}.tl-lane{border-left:1px solid var(--border);flex:1;height:100%;position:relative}.tl-diamond{background:var(--text-dim);cursor:grab;border-radius:2px;width:11px;height:11px;position:absolute;top:50%;transform:translate(-50%,-50%)rotate(45deg)}.tl-diamond:hover,.tl-diamond.selected{background:#ffd54d}.tl-playhead{pointer-events:none;background:#4d9fff;width:2px;position:absolute;top:0;bottom:0}.export-menu-wrap{position:relative}.export-caret{opacity:.7;font-size:10px}.export-menu{z-index:50;background:var(--panel);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:6px;min-width:230px;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #00000080}.export-menu-label{text-transform:uppercase;letter-spacing:.8px;color:var(--text-dim);margin-top:4px;font-size:10px;font-weight:600}.export-menu-label:first-child{margin-top:0}.export-menu-grid{align-items:center;gap:6px;display:flex}.export-menu-grid .mini-btn{text-align:center;flex:1;padding:6px 4px}.export-menu-format{width:44px;color:var(--text-dim);font-size:12px}.export-menu-item{text-align:left;background:var(--panel-2);border-radius:8px;padding:7px 8px;font-size:12px}.export-menu-item:hover{background:var(--panel-3)}.topbar-error{color:#ff9b9b;max-width:260px;font-size:11px}.layer-row-lg{gap:10px;padding:8px}.layer-row-lg.drop-target{border-color:#4d9fff}.layer-grip{color:var(--text-dim);letter-spacing:-2px;cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;font-size:11px}.layer-thumb-lg{object-fit:cover;background:var(--panel-2);border-radius:6px;width:56px;height:38px}.layer-meta{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.layer-kind{color:var(--text-dim);text-transform:uppercase;letter-spacing:.6px;font-size:10px}.layer-row-lg .layer-actions{flex-direction:column}.shader-select{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:4px 6px;font-size:11px}.shader-colors{flex-direction:column;gap:4px;display:flex}.shader-color-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.shader-color-chip{display:inline-flex;position:relative}.shader-color-chip input[type=color]{cursor:pointer;background:0 0;border:none;border-radius:6px;width:28px;height:24px;padding:0}.shader-color-remove{background:var(--panel-3);width:13px;height:13px;color:var(--text-dim);border-radius:50%;justify-content:center;align-items:center;font-size:8px;line-height:1;display:none;position:absolute;top:-5px;right:-5px}.shader-color-chip:hover .shader-color-remove{display:inline-flex}.shape-sprite{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.shape-swatch{background:linear-gradient(135deg,#3a4cff,#101a66);border-radius:8px}.shape-swatch-sphere{border-radius:50%;width:30px;height:30px}.shape-swatch-cube{border-radius:6px;width:28px;height:28px}.shape-swatch-torus{background:radial-gradient(circle,#0000 34%,#3a4cff 38%,#101a66);border-radius:50%;width:30px;height:30px}.shape-swatch-capsule{border-radius:14px;width:36px;height:22px}.shape-swatch-knot{border-radius:50% 20%;width:30px;height:30px}.shape-swatch-gem{clip-path:polygon(50% 0,100% 38%,80% 100%,20% 100%,0 38%);width:30px;height:30px}.shape-swatch-tube{border-radius:12px;width:38px;height:14px;transform:rotate(-18deg)}.shape-swatch-star{clip-path:polygon(50% 0,63% 35%,100% 38%,72% 60%,82% 100%,50% 76%,18% 100%,28% 60%,0 38%,37% 35%);width:32px;height:32px}.shape-swatch-disc{border-radius:50%;width:32px;height:20px}.custom-mockup{width:100%;height:100%;position:relative}.custom-mockup-frame{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;position:relative}.custom-mockup-screen{object-fit:cover;object-position:top;-webkit-user-select:none;user-select:none;position:absolute}.tl-kf-time{background:var(--bg);width:56px;color:var(--text);border:1px solid var(--border);font:inherit;border-radius:6px;padding:3px 6px;font-size:11px}.tl-ease-linear{background:#9aa4b5}.tl-ease-ease-in{background:#6fb3ff}.tl-ease-ease-out{background:#7ce0b8}.tl-ease-ease-in-out{background:#c9a2ff}.tl-diamond:hover,.tl-diamond.selected{background:#ffd54d;box-shadow:0 0 0 3px #ffd54d40}.template-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.template-thumb{border:1px solid #0000;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:4px;transition:border-color .12s,transform .12s;display:flex}.template-thumb:hover{border-color:var(--panel-3);transform:translateY(-1px)}.template-swatch{aspect-ratio:16/10;border-radius:7px;width:100%}.text-layer-badge-wrap{line-height:1}.text-badge{white-space:nowrap;border-radius:2em;align-items:center;padding:.55em 1.1em;line-height:1.15;display:inline-flex}.badge-chip{background:var(--panel-3)}.checkbox-row{color:var(--text-dim);cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.checkbox-row input[type=checkbox]{accent-color:var(--text)}.scene3d-mount{cursor:grab;touch-action:none;position:absolute;inset:0}.scene3d-mount:active{cursor:grabbing}.scene3d-canvas{display:block;width:100%!important;height:100%!important}.onion-ghost{pointer-events:none;border:1.5px dashed #ffd54d66;border-radius:.8em;position:absolute;inset:0}.onion-ghost.onion-next{border-color:#4d9fff66}.tl-scroll{overflow:auto hidden}.tl-tracks{min-width:100%}.tl-camera-track{background:#14181f}.tl-diamond-camera{background:#6fb3ff;border-radius:50%}.tl-lane-hint{color:var(--text-dim);opacity:.6;pointer-events:none;font-size:10px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.tl-workarea{pointer-events:none;background:#4d9fff24;border-left:1px solid #4d9fff;border-right:1px solid #4d9fff;height:100%;position:absolute;top:0}.tl-curve{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.bezier-editor{background:var(--bg);border:1px solid var(--border);touch-action:none;border-radius:6px}.tl-controls .tl-duration input[type=range]{accent-color:var(--text-dim)}.slides-bar{align-items:center;gap:6px;min-height:26px;padding:2px 4px;display:flex}.slide-chip{background:var(--panel);border:1px solid #0000;border-radius:8px;align-items:center;display:inline-flex;overflow:hidden}.slide-chip.active{border-color:var(--text)}.slide-chip-btn{color:var(--text-dim);padding:4px 10px;font-size:11px}.slide-chip.active .slide-chip-btn{color:var(--text)}.slide-chip-x{color:var(--text-dim);padding:4px 6px;font-size:9px}.slide-chip-x:hover{color:#ff9b9b}.video-screen{object-fit:cover}.url-capture{gap:6px;display:flex}.url-capture .text-input{flex:1}.url-capture .mini-btn{flex-shrink:0;padding:6px 10px}.btn-active{outline:1px solid var(--text)}
