.vcg-root{width:100%;min-height:100%}@keyframes vcg-gradient-shift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes vcg-item-enter{0%{opacity:0;transform:scale(.5) rotate(6deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes vcg-item-exit{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5) rotate(-6deg)}}@keyframes vcg-shake{0%,to{transform:translate(0)}20%{transform:translate(-7px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(5px)}}@keyframes vcg-confetti-piece{0%{opacity:1;transform:translate(0) rotate(0) scale(1)}to{opacity:0;transform:translate(var(--cx),var(--cy)) rotate(var(--cr)) scale(0)}}@keyframes vcg-pulse-glow{0%,to{box-shadow:0 0 #2dd4bf80}50%{box-shadow:0 0 0 2px #2dd4bf40}}@keyframes vcg-bounce-in{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.08)}70%{transform:scale(.94)}to{transform:scale(1);opacity:1}}@keyframes vcg-float{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.vcg-card{display:grid;gap:1rem;width:100%;padding:.85rem;overflow:hidden;background:radial-gradient(circle at 12% 18%,rgba(45,212,191,.22),transparent 30%),radial-gradient(circle at 88% 12%,rgba(251,191,36,.22),transparent 26%),radial-gradient(circle at 50% 90%,rgba(99,102,241,.14),transparent 32%),linear-gradient(135deg,#f8fafc,#eff6ff);background-size:100% 100%,100% 100%,100% 100%,200% 200%;border:1px solid rgb(191,219,254);border-radius:1.25rem;animation:vcg-gradient-shift 8s ease-in-out infinite}.theme-dark .vcg-card{background:radial-gradient(circle at 12% 18%,rgba(45,212,191,.16),transparent 30%),radial-gradient(circle at 88% 12%,rgba(251,191,36,.13),transparent 26%),radial-gradient(circle at 50% 90%,rgba(99,102,241,.1),transparent 32%),linear-gradient(135deg,#080d18,#0f172a);border-color:#334155}.vcg-stage-panel,.vcg-control-panel{min-width:0;background:#ffffffd1;border:1px solid rgba(148,163,184,.32);border-radius:1rem;box-shadow:0 18px 46px #0f172a14}.theme-dark .vcg-stage-panel,.theme-dark .vcg-control-panel{background:#0f172acc;border-color:#475569b3;box-shadow:none}.vcg-stage-panel{display:grid;gap:.8rem;padding:.85rem;align-self:start;grid-template-rows:auto auto 1fr;min-height:calc(100vh - 4rem)}.vcg-toolbar,.vcg-actions,.vcg-mode{display:flex;gap:.5rem;align-items:center}.vcg-toolbar{justify-content:space-between;flex-wrap:wrap}.vcg-mode{padding:.25rem;background:#e2e8f0;border-radius:.85rem}.theme-dark .vcg-mode{background:#1e293b}.vcg-mode-button,.vcg-icon-button,.vcg-copy-button,.vcg-preset-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.35rem;color:#1e293b;cursor:pointer;background:#fff;border:1px solid rgb(203,213,225);border-radius:.7rem;transition:transform .15s,box-shadow .15s,background .15s}.vcg-mode-button,.vcg-preset-button{gap:.35rem;padding:0 .8rem;font-weight:800}.vcg-mode-button svg,.vcg-icon-button svg,.vcg-copy-button svg,.vcg-preset-button svg{width:1rem;height:1rem}.vcg-mode-button.vcg-active{color:#fff;background:#0891b2;border-color:#0891b2}.vcg-icon-button,.vcg-copy-button{width:2.35rem}.vcg-icon-button:hover,.vcg-mode-button:hover,.vcg-preset-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a1a}.vcg-icon-button:active,.vcg-preset-button:active{transform:translateY(0) scale(.96)}.theme-dark .vcg-mode-button,.theme-dark .vcg-icon-button,.theme-dark .vcg-copy-button,.theme-dark .vcg-preset-button{color:#e2e8f0;background:#0f172a;border-color:#334155}.theme-dark .vcg-mode-button.vcg-active{color:#080d18;background:#2dd4bf;border-color:#2dd4bf}.vcg-presets{display:flex;flex-wrap:nowrap;gap:.4rem;margin-top:.35rem;overflow-x:auto}.vcg-preset-button{flex:none;width:82px;font-size:.72rem;font-weight:750;padding:0 .4rem;min-height:2rem;white-space:nowrap;text-overflow:ellipsis;background:#f8fafce6;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s,color .15s}.vcg-preset-button:hover{background:#e0e7ff;border-color:#6366f1;color:#6366f1}.vcg-preset-button.vcg-preset-active{background:#6366f1;color:#fff;border-color:#6366f1}.theme-dark .vcg-preset-button{background:#1e293be6}.theme-dark .vcg-preset-button:hover{background:#6366f133;border-color:#6366f1;color:#a5b4fc}.theme-dark .vcg-preset-button.vcg-preset-active{background:#6366f1;color:#fff}.vcg-canvas-shell{display:grid;place-items:center;min-height:25rem;padding:1rem;overflow:auto;background:linear-gradient(90deg,rgba(148,163,184,.16) 1px,transparent 1px),linear-gradient(rgba(148,163,184,.16) 1px,transparent 1px);background-color:#f1f5f9e0;background-size:24px 24px;background-position:0 0;border:1px dashed rgb(148,163,184);border-radius:1rem;transition:background-color .3s}.theme-dark .vcg-canvas-shell{background-color:#0f172abf;border-color:#475569}.vcg-canvas-shell.vcg-drag-over{background-color:#2dd4bf14;border-color:#2dd4bf;border-style:solid}.vcg-canvas{position:relative;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:center;box-sizing:border-box;width:min(760px,100%);min-height:380px;padding:1rem;resize:both;overflow:auto;background:#ffffffe6;border:2px solid rgb(14,165,233);border-radius:1rem;box-shadow:inset 0 0 0 1px #fffc,0 18px 40px #0f172a1f;transition:border-color .25s}.theme-dark .vcg-canvas{background:#020617e6;border-color:#2dd4bf;box-shadow:inset 0 0 0 1px #2dd4bf26}.vcg-canvas:after{position:absolute;right:.55rem;bottom:.45rem;width:1rem;height:1rem;content:"";border-right:3px solid rgb(14,165,233);border-bottom:3px solid rgb(14,165,233);opacity:.8;transition:opacity .2s}.vcg-canvas:hover:after{opacity:1}.vcg-item{display:grid;place-items:center;min-width:104px;min-height:104px;color:#0f172a;cursor:default;user-select:none;background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#2dd4bf,#fbbf24);border:2px solid rgba(15,23,42,.14);border-radius:1rem;box-shadow:0 16px 30px #0f172a29;transition:transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .22s,opacity .22s,border-color .22s;will-change:transform}.vcg-item:nth-child(1){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#2dd4bf,#14b8a6)}.vcg-item:nth-child(2){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#60a5fa,#6366f1)}.vcg-item:nth-child(3){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#fbbf24,#f59e0b)}.vcg-item:nth-child(4){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#f472b6,#d946ef)}.vcg-item:nth-child(5){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#34d399,#10b981)}.vcg-item:nth-child(6){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#fb923c,#ea580c)}.vcg-item:nth-child(7){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#a78bfa,#8b5cf6)}.vcg-item:nth-child(8){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#22d3ee,#0ea5e9)}.vcg-item:nth-child(9){background:linear-gradient(135deg,#ffffffbd,#ffffff47),linear-gradient(135deg,#fde047,#facc15)}.vcg-item:hover{transform:translateY(-3px);box-shadow:0 22px 42px #0f172a33}.vcg-item span{padding:.35rem .65rem;font-size:.9rem;font-weight:900;background:#ffffffb8;border-radius:999px;pointer-events:none}.vcg-item.vcg-enter{animation:vcg-item-enter .35s cubic-bezier(.34,1.56,.64,1) both}.vcg-item.vcg-exit{animation:vcg-item-exit .25s ease-in both}.vcg-item.vcg-insert-before{border-left:4px solid rgb(45,212,191)}.vcg-item.vcg-insert-after{border-right:4px solid rgb(45,212,191)}.vcg-item.vcg-spanned{position:relative}.vcg-item.vcg-spanned:before{position:absolute;top:.35rem;right:.5rem;padding:.1rem .4rem;font-size:.68rem;font-weight:900;color:#fff;content:attr(data-span) "x";background:#0f172a8c;border-radius:999px}.theme-dark .vcg-item.vcg-insert-before{border-left-color:#2dd4bf}.theme-dark .vcg-item.vcg-insert-after{border-right-color:#2dd4bf}.theme-dark .vcg-item{color:#e2e8f0;border-color:#e2e8f01f}.theme-dark .vcg-item:nth-child(1){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#14b8a6,#0d9488)}.theme-dark .vcg-item:nth-child(2){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#60a5fa,#4f46e5)}.theme-dark .vcg-item:nth-child(3){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#fbbf24,#d97706)}.theme-dark .vcg-item:nth-child(4){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#ec4899,#c026d3)}.theme-dark .vcg-item:nth-child(5){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#34d399,#047857)}.theme-dark .vcg-item:nth-child(6){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#fb923c,#c2410c)}.theme-dark .vcg-item:nth-child(7){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#a78bfa,#6d28d9)}.theme-dark .vcg-item:nth-child(8){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#22d3ee,#0891b2)}.theme-dark .vcg-item:nth-child(9){background:linear-gradient(135deg,#0f172aa3,#0f172a2e),linear-gradient(135deg,#fde047,#ca8a04)}.theme-dark .vcg-item span{background:#0f172a9e}.vcg-hint{margin:0;font-size:.84rem;color:#475569;transition:color .3s}.theme-dark .vcg-hint{color:#94a3b8}.vcg-hint.vcg-shake{animation:vcg-shake .5s ease-in-out;color:#ef4444}.vcg-control-panel{display:grid;gap:1rem;padding:.85rem}.vcg-slider-grid,.vcg-select-grid{display:grid;gap:.75rem}.vcg-control,.vcg-select-wrap{display:grid;gap:.45rem;padding:.75rem;background:#f8fafcdb;border:1px solid rgba(203,213,225,.86);border-radius:.9rem;transition:border-color .2s,box-shadow .2s}.vcg-control:focus-within,.vcg-select-wrap:focus-within{border-color:#2dd4bf;box-shadow:0 0 0 3px #2dd4bf26}.theme-dark .vcg-control,.theme-dark .vcg-select-wrap{background:#1e293bc2;border-color:#475569c2}.theme-dark .vcg-control:focus-within,.theme-dark .vcg-select-wrap:focus-within{border-color:#2dd4bf;box-shadow:0 0 0 3px #2dd4bf2e}.vcg-control span,.vcg-select-wrap span{font-size:.76rem;font-weight:850;color:#475569}.vcg-control strong{font-size:1rem;color:#0f172a}.theme-dark .vcg-control span,.theme-dark .vcg-select-wrap span{color:#94a3b8}.theme-dark .vcg-control strong{color:#e2e8f0}.vcg-control input[type=range]{width:100%;accent-color:rgb(8,145,178);cursor:pointer}.vcg-select{width:100%;min-height:2.35rem;padding:0 .65rem;color:#0f172a;background:#fff;border:1px solid rgb(203,213,225);border-radius:.65rem;cursor:pointer;font-size:.85rem;transition:border-color .2s}.theme-dark .vcg-select{color:#e2e8f0;background:#0f172a;border-color:#334155}.vcg-grid-only,.vcg-flex-only{transition:opacity .25s,max-height .25s,margin .25s,padding .25s}.vcg-grid-only.vcg-hidden,.vcg-flex-only.vcg-hidden{overflow:hidden;max-height:0;margin:0;padding:0;opacity:0;border-width:0}.vcg-grid-only:not(.vcg-hidden),.vcg-flex-only:not(.vcg-hidden){max-height:10rem;opacity:1}.vcg-code-panel{overflow:hidden;background:#0f172a;border-radius:.95rem;transition:box-shadow .3s}.vcg-code-panel.vcg-code-updated{animation:vcg-pulse-glow .6s ease-in-out}.vcg-code-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem .85rem;border-bottom:1px solid rgba(148,163,184,.24)}.vcg-code-header h2{margin:0;font-size:.92rem;color:#e2e8f0}.vcg-copy-button{position:relative;color:#e2e8f0;background:#1e293be6;border-color:#94a3b852;transition:background .2s,border-color .2s,transform .15s}.vcg-copy-button:hover{background:#2dd4bf33;border-color:#2dd4bf}.vcg-copy-button.vcg-copied{animation:vcg-bounce-in .4s ease-in-out;background:#2dd4bf;border-color:#2dd4bf;color:#0f172a}.vcg-copy-button[data-copied]:after{position:absolute;right:0;bottom:calc(100% + .35rem);padding:.25rem .5rem;font-size:.72rem;color:#0f172a;white-space:nowrap;content:attr(data-copied);background:#2dd4bf;border-radius:.45rem;animation:vcg-bounce-in .3s ease-in-out}.vcg-code{min-height:15rem;padding:1rem;margin:0;overflow:auto;font-size:.8rem;line-height:1.58;color:#e2e8f0;white-space:pre-wrap}.vcg-confetti-container{position:fixed;inset:0;z-index:99999;pointer-events:none;overflow:hidden}.vcg-confetti-piece{position:absolute;width:8px;height:8px;border-radius:2px;animation:vcg-confetti-piece .8s ease-out both}@media(min-width:980px){.vcg-card{grid-template-columns:minmax(0,1.35fr) minmax(23rem,.65fr);padding:1rem}.vcg-slider-grid,.vcg-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.vcg-toolbar,.vcg-actions,.vcg-mode{flex-wrap:wrap}.vcg-mode,.vcg-mode-button{flex:1 1 auto}.vcg-canvas-shell{min-height:20rem;padding:.55rem}.vcg-canvas{resize:vertical}.vcg-presets{gap:.25rem}.vcg-preset-button{font-size:.68rem;padding:0 .4rem;min-height:1.75rem}.vcg-preset-button svg{width:.8rem;height:.8rem}}
