.vd-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.vd-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.vd-preview{overflow:hidden;border:1px solid #ffffff26;border-radius:16px;background:#191625;padding:14px;position:sticky;top:10px}.vd-checker{position:relative;overflow:hidden;background:repeating-conic-gradient(#23202e 0% 25%,#302b3e 0% 50%) 0/24px 24px;aspect-ratio:16/9}.vd-canvas{position:absolute;width:1920px;height:1080px;transform-origin:top left}.vd-inspector details{border-top:1px solid #ffffff20;padding:12px 0}.vd-inspector summary{cursor:pointer;font-weight:700;margin-bottom:10px}.vd-inspector label{display:block;font-size:12px;margin:9px 0 4px}.vd-inspector input,.vd-inspector select,.vd-inspector textarea{width:100%;min-height:38px}.vd-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vd-layer-list{display:grid;gap:6px}.vd-layer-list button{text-align:left}.vd-layer-list .active{border-color:#a855f7;background:#a855f733}.vd-note{color:#c7bbda;font-size:13px;line-height:1.5}.vd-status{color:#b3f5ca}.vd-inspector button{min-height:40px}.vd-preview.paused .ve-motion{animation-play-state:paused!important}.vd-preview.paused video{filter:grayscale(.2)}@media(max-width:950px){.vd-layout{grid-template-columns:1fr}.vd-preview{position:relative;top:0}.vd-inspector{min-width:0}}.vd-toolbar button,.vd-inspector button{background:#211932;color:#f4ecff;border:1px solid #70518c;border-radius:9px;padding:9px 12px;font:inherit;cursor:pointer}.vd-toolbar button:hover,.vd-inspector button:hover{background:#3b2457}.vd-toolbar button:disabled{opacity:.4;cursor:default}.vd-inspector input,.vd-inspector select,.vd-inspector textarea,.vd-toolbar input,.vd-toolbar select{background:#141020;border:1px solid #594369;border-radius:8px;color:#f5efff;padding:8px}.vd-inspector input[type=checkbox]{width:20px;min-height:20px;height:20px;vertical-align:middle}.vd-toolbar input{min-width:0;max-width:100%}
.vd-border-library{margin:14px 0 20px}.vd-border-library summary{font-weight:750;cursor:pointer}.vd-border-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.vd-border-grid button{background:#1b142a;color:#e7dcf7;border:1px solid #61467b;border-radius:12px;padding:14px;cursor:pointer}.vd-border-grid button:hover{border-color:#c084fc;background:#342044}.vd-border-sample{display:block;width:100%;height:54px;margin-bottom:12px}.vd-border-grid strong{font-size:12px}.vd-handle{position:absolute;width:var(--vd-handle,40px);height:var(--vd-handle,40px);min-height:0!important;min-width:0;padding:0!important;background:#fff!important;border:2px solid #a855f7!important;border-radius:3px;z-index:3;touch-action:none;transform:translate(-50%,-50%)}.vd-handle-nw{left:0;top:0;cursor:nwse-resize}.vd-handle-n{left:50%;top:0;cursor:ns-resize}.vd-handle-ne{left:100%;top:0;cursor:nesw-resize}.vd-handle-e{left:100%;top:50%;cursor:ew-resize}.vd-handle-se{left:100%;top:100%;cursor:nwse-resize}.vd-handle-s{left:50%;top:100%;cursor:ns-resize}.vd-handle-sw{left:0;top:100%;cursor:nesw-resize}.vd-handle-w{left:0;top:50%;cursor:ew-resize}.vd-handle:focus-visible{outline:4px solid #22d3ee;outline-offset:3px}@media(max-width:900px){.vd-border-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:500px){.vd-border-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vd-upload-label{display:block;margin:12px 0;padding:14px;border:1px dashed #a878fb;border-radius:10px;background:#a855f712;color:#e9d5ff;font-weight:700}.vd-upload-label input{display:block;margin-top:10px;width:100%;color:#ddd;min-height:40px}.vd-upload-label input::file-selector-button{background:#7c3aed;color:white;border:0;border-radius:8px;padding:10px 14px;margin-right:10px;cursor:pointer}
