@font-face{font-display:swap;font-family:Outfit;font-style:normal;font-weight:100 900;src:url(./outfit.Bc-8i84L.woff2) format("woff2")}:root{background:var(--paper);color:var(--ink);color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;--display-font:Outfit,system-ui,sans-serif;--header-height:68px;--wrap-width:1240px;--ink:#110d1b;--muted:#5c546e;--line:#e8e4f0;--paper:#fff;--panel-muted:#f6f5f9;--control:#fff;--control-border:#dcd6e8;--accent:#5a24a6;--accent-hover:#481b89;--accent-vivid:#8f57f5;--accent-tint:#f3eeff;--accent-fill:#e9dfff;--accent-fill-hover:#ded0ff;--accent-border:#d4c2fa;--on-accent:#3f197a;--stage-dark:#120d1f;--stage-dark-elevated:#1c1530;--stage-dark-line:hsla(0,0%,100%,.11);--stage-dark-ink:#fff;--stage-dark-muted:rgba(244,240,255,.72);--candy-lavender:#ede4ff;--candy-peach:#ffe8ee;--candy-butter:#fff3cc;--glass:hsla(0,0%,100%,.88);--glass-shadow:0 1px 2px rgba(17,13,27,.05),0 12px 32px rgba(17,13,27,.06);--card-shadow:0 1px 2px rgba(17,13,27,.04),0 8px 24px rgba(17,13,27,.05);--card-shadow-hover:0 2px 4px rgba(17,13,27,.06),0 16px 36px rgba(34,18,66,.1)}*,:after,:before{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}::-moz-selection{background:#dfd0ff;color:var(--ink)}::selection{background:#dfd0ff;color:var(--ink)}a{color:inherit}button,input,select,textarea{caret-color:var(--accent);font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{border-radius:6px;outline:2px solid var(--accent-vivid);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}.wrap{margin-inline:auto;width:min(var(--wrap-width),100% - 48px)}.skip-link{background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:var(--card-shadow);font-weight:650;left:12px;padding:10px 14px;position:fixed;top:12px;transform:translateY(-200%);z-index:40}.skip-link:focus{transform:none}.site-header{background:#ffffffeb;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}@supports (backdrop-filter:blur(16px)){.site-header{-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);background:#ffffffd1}}.header-inner{align-items:center;display:flex;gap:20px;justify-content:space-between;min-height:var(--header-height)}.brand{align-items:center;color:var(--ink);display:inline-flex;font:760 1.38rem/1 var(--display-font);gap:8px;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}.brand-domain{color:var(--accent);font-weight:700}.brand-mark{border-radius:6px;display:block;flex:none}.site-header nav{align-items:center;display:flex;gap:2px}.site-header nav a{align-items:center;border-radius:999px;color:var(--muted);display:inline-flex;font-size:.9rem;font-weight:600;line-height:1.2;min-height:40px;padding:8px 13px;text-decoration:none;transition:background-color .16s ease,color .16s ease;white-space:nowrap}.site-header nav a:hover{background:var(--panel-muted);color:var(--ink)}.site-header nav a:is([aria-current=page],.is-current-section){background:var(--accent-tint);color:var(--on-accent);font-weight:700}.header-cta{align-items:center;background:var(--ink);border-radius:999px;color:#fff;display:inline-flex;font-size:.88rem;font-weight:650;gap:6px;justify-content:center;min-height:40px;padding:8px 16px;text-decoration:none;transition:background-color .16s ease,transform .16s ease;white-space:nowrap}.header-cta:hover{background:var(--accent);transform:translateY(-1px)}.nav-label-short{display:none}.primary{align-items:center;background:var(--accent);border:1px solid transparent;border-radius:12px;box-shadow:0 1px 2px #110d1b1f,0 6px 18px #5a24a638;color:#fff;cursor:pointer;display:inline-flex;font-size:.96rem;font-weight:680;gap:10px;justify-content:center;line-height:1.2;min-height:46px;padding:11px 20px;text-decoration:none;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}.primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 2px 4px #110d1b24,0 10px 24px #5a24a647;transform:translateY(-1px)}.primary span{font-size:1.05em;line-height:1}.secondary{align-items:center;background:var(--paper);border:1px solid var(--control-border);border-radius:10px;color:var(--ink);cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:620;gap:8px;justify-content:center;line-height:1.2;min-height:42px;padding:9px 15px;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.secondary:hover:not(:disabled){background:var(--panel-muted);border-color:#c7bdd9}.compact{font-size:.83rem;font-weight:640;min-height:38px;padding:7px 12px}.tool-template-link{align-items:center;background:var(--paper);border:1px solid var(--control-border);border-radius:999px;color:var(--ink);display:inline-flex;font-size:.86rem;font-weight:650;gap:6px;min-height:40px;padding:7px 13px;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.tool-template-link:hover{background:var(--accent-tint);border-color:var(--accent-border);color:var(--on-accent)}.tool-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.tool-card:hover{border-color:var(--accent-border);box-shadow:var(--card-shadow-hover)}.tool-page{padding:36px 0 68px}.back-link{align-items:center;color:var(--muted);display:inline-flex;font-size:.88rem;font-weight:620;gap:6px;text-decoration:none;transition:color .15s ease}.back-link:hover{color:var(--ink)}.tool-page h1{font-family:var(--display-font);font-size:clamp(2.15rem,4.5vw,3.6rem);letter-spacing:-.035em;line-height:1.05;margin:14px 0 8px}.page-intro{color:var(--muted);font-size:1rem;line-height:1.6;margin:0 0 24px;max-width:64ch;text-wrap:pretty}.gallery-art{background:var(--panel-muted);overflow:hidden;position:relative}.gallery-art canvas,.gallery-art img{display:block;height:100%;inset:0;-o-object-fit:contain;object-fit:contain;position:absolute;width:100%}.gallery-card-label{align-items:center;display:flex;font-size:.92rem;font-weight:660;gap:10px;justify-content:space-between;min-height:44px;overflow-wrap:anywhere;padding:10px 14px}.gallery-card-arrow{background:var(--panel-muted);border-radius:8px;color:var(--muted);display:grid;flex:none;height:28px;place-items:center;transition:background-color .16s ease,color .16s ease,transform .16s ease;width:28px}.gallery-empty{background:var(--panel-muted);border:1px solid var(--line);border-radius:16px;padding:32px}.gallery-empty p{color:var(--muted);margin:0 0 14px}.library-fallback,.library-preview{border-radius:8px;display:block;height:auto;max-height:470px;max-width:100%;-o-object-fit:contain;object-fit:contain}.visually-hidden{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.workspace{align-items:start;display:grid;gap:20px;grid-template-columns:minmax(0,1fr) minmax(300px,356px)}.controls,.stage{background:var(--paper);border:1px solid var(--line);border-radius:16px}.stage{overflow:hidden}.stage-bar{align-items:center;display:flex;font-size:.88rem;font-weight:700;justify-content:space-between;padding:10px 16px}.stage-surface{background:var(--panel-muted);display:grid;min-height:300px;padding:20px;place-items:center}.stage-surface .motion-canvas{border-radius:10px;box-shadow:0 12px 32px #110d1b1f;display:block;height:auto;max-height:470px;max-width:100%;-o-object-fit:contain;object-fit:contain;width:100%}.stage-square .motion-canvas{width:min(100%,470px)}.stage-portrait .motion-canvas{width:min(100%,264px)}.stage-caption{align-items:center;color:var(--muted);display:flex;font-size:.82rem;gap:8px;padding:12px 16px}.stage-caption span{background:var(--panel-muted);border-radius:5px;color:var(--ink);font-weight:700;padding:3px 6px}.editor-fallback,.empty-preview{color:var(--muted);padding:14px}.editor-jump{align-items:center;color:var(--accent);display:none;font-size:.84rem;font-weight:650;min-height:40px;padding-inline:8px;text-underline-offset:3px}.editor-jump-back{margin-block-end:6px;padding-inline:0}.controls{padding:20px}.controls fieldset{border:0;margin:0;min-width:0;padding:0}.panel-title{font:720 1.15rem/1.2 var(--display-font);letter-spacing:-.02em;margin:0 0 6px;padding:0}.controls label{color:var(--ink);display:block;font-size:.84rem;font-weight:650;margin:13px 0 6px}.optional{color:var(--muted);font-size:.76rem;font-weight:500;margin-left:4px}.controls input,.controls select,.controls textarea{background:var(--control);border:1px solid var(--control-border);border-radius:10px;color:var(--ink);font-size:.93rem;min-height:42px;padding:9px 11px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.controls textarea{display:block;resize:vertical}#chart-data{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88rem;line-height:1.55}.controls input[type=file]{font-size:.82rem;padding:6px}.controls input::file-selector-button{background:var(--panel-muted);border:1px solid var(--control-border);border-radius:7px;color:var(--ink);cursor:pointer;font-weight:620;margin-right:8px;padding:5px 10px}.controls input::file-selector-button:hover{background:var(--accent-tint);border-color:var(--accent-border)}.control-pair{display:grid;gap:10px;grid-template-columns:1fr 1fr}.field-help{color:var(--muted);font-size:.78rem;line-height:1.5;margin:5px 0 0}.selected-file{align-items:center;display:flex;font-size:.82rem;gap:8px;justify-content:space-between;margin-top:8px}.selected-file span{min-width:0;overflow-wrap:anywhere}.error{background:#fff1ef;border:1px solid #f7cbc6;border-radius:8px;color:#9c2519;font-size:.82rem;margin:12px 0 0;padding:8px 10px}.export-button{margin-top:16px;width:100%}.export-note{margin-top:8px}.export-progress{margin-top:14px}.progress-caption{align-items:center;display:flex;font-size:.84rem;font-variant-numeric:tabular-nums;gap:6px;justify-content:space-between}.export-progress progress{accent-color:var(--accent);width:100%}.site-footer{background:var(--paper);border-top:1px solid var(--line)}.footer-inner{font-size:.86rem;gap:16px 28px;justify-content:space-between;padding-block:28px}.footer-brand-block,.footer-inner{align-items:center;display:flex;flex-wrap:wrap}.footer-brand-block{gap:10px 16px}.footer-brand{align-items:center;color:var(--ink);display:inline-flex;font:740 1.05rem/1 var(--display-font);gap:7px;letter-spacing:-.03em;text-decoration:none}.footer-tagline{color:var(--muted);margin:0}.footer-links{align-items:center;display:flex;flex-wrap:wrap;gap:6px 18px}.footer-links a{color:var(--muted);font-weight:560;text-decoration:none;transition:color .15s ease}.footer-links a:hover{color:var(--ink)}@media(max-width:900px){.header-cta{display:none}.editor-jump{display:inline-flex}}@media(max-width:850px){.wrap{width:calc(100% - 32px)}.nav-label-full{display:none}.nav-label-short{display:inline}.workspace{gap:14px;grid-template-columns:minmax(0,1fr) 296px}}@media(max-width:650px){.wrap{width:calc(100% - 28px)}.header-inner{flex-wrap:wrap;gap:8px;padding-block:10px}.site-header nav{gap:4px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;width:100%}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{font-size:.84rem;min-height:38px;padding:6px 11px}.workspace{grid-template-columns:minmax(0,1fr)}.tool-page{padding-top:24px}.page-intro{margin-bottom:16px}.stage-surface{min-height:180px;padding:12px}.stage-portrait .motion-canvas{max-height:355px;width:min(100%,200px)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.controls input,.controls select,.controls textarea,.gallery-card-arrow,.header-cta,.primary,.secondary,.site-header nav a,.tool-card,.tool-template-link{transition:none}.header-cta:hover,.primary:hover:not(:disabled){transform:none}}.studio-page,.studio-tool-card{--studio-tint:var(--panel-muted);--studio-border:var(--line);--studio-accent:var(--accent)}.studio-page[data-theme=pink],.studio-tool-card[data-theme=pink]{--studio-tint:#faf2f6;--studio-border:#eddbe4;--studio-accent:#8a3562}.studio-page[data-theme=yellow],.studio-tool-card[data-theme=yellow]{--studio-tint:#fbf7ec;--studio-border:#ece2c9;--studio-accent:#7a5219}.studio-page{padding-block:clamp(24px,3.6vw,42px) clamp(56px,6vw,84px)}.studio-breadcrumb-row{margin-bottom:14px}.studio-back-pill{align-items:center;background:var(--panel-muted);border:1px solid var(--line);border-radius:999px;color:var(--muted);display:inline-flex;font-size:.82rem;font-weight:640;gap:6px;min-height:34px;padding:5px 13px;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.studio-back-pill:hover{background:var(--accent-tint);border-color:var(--accent-border);color:var(--on-accent)}.studio-intro{margin:0 0 clamp(22px,2.8vw,30px)}.studio-tool-intro{margin-top:0}.studio-intro-panel{background:var(--panel-muted);border:1px solid var(--line);border-radius:20px;padding:clamp(20px,3vw,32px)}.studio-intro h1,.studio-page h2,.studio-page h3{font-family:var(--display-font);line-height:1.12;margin:0}.studio-intro h1{font-size:clamp(2.2rem,4.6vw,3.5rem);font-weight:740;letter-spacing:-.035em;text-wrap:balance}.studio-page h2{font-size:clamp(1.35rem,2.4vw,1.85rem);font-weight:720;letter-spacing:-.028em;text-wrap:balance}.studio-page h3{font-size:1.12rem;font-weight:700;letter-spacing:-.018em}.studio-page p{color:var(--muted);line-height:1.55;margin:7px 0 0}.studio-intro p{font-size:clamp(.96rem,1.45vw,1.08rem);max-width:60ch}.studio-page :is(.studio-tool-card p,.studio-tool-detail p,.studio-intro p){text-wrap:pretty}.studio-page>.back-link{align-items:center;display:inline-flex;margin-bottom:6px;min-height:36px}.studio-section-head{align-items:center;display:flex;gap:10px;margin-bottom:18px}.studio-count{align-items:center;background:var(--panel-muted);border-radius:999px;color:var(--muted);display:inline-flex;font-size:.78rem;font-variant-numeric:tabular-nums;font-weight:660;height:24px;padding-inline:9px}.studio-tool-grid{display:grid;gap:clamp(16px,2vw,22px);grid-template-columns:repeat(3,minmax(0,1fr))}.studio-tool-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;text-decoration:none;transition:border-color .18s ease,box-shadow .2s ease,transform .2s ease}.studio-tool-card:hover{border-color:var(--accent-border);box-shadow:var(--card-shadow-hover);transform:translateY(-2px)}.studio-card-media{aspect-ratio:16/9;background:var(--stage-dark);border-bottom:1px solid var(--line);overflow:hidden;position:relative}.studio-card-media img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.studio-card-media .studio-card-backdrop{filter:blur(18px) brightness(.45);height:calc(100% + 24px);inset:-12px;-o-object-fit:cover;object-fit:cover;position:absolute;transform:scale(1.08);width:calc(100% + 24px)}.studio-card-media.is-portrait .studio-card-foreground{-o-object-fit:contain;object-fit:contain;position:relative;z-index:1}.studio-card-body{padding:16px 18px 18px}.studio-tool-card h3{align-items:center;color:var(--ink);display:flex;gap:8px;justify-content:space-between}.studio-tool-card h3 span{color:var(--muted);font-size:.95em;transition:color .16s ease,transform .16s ease}.studio-tool-card:hover h3 span{color:var(--accent);transform:translate(2px,-2px)}.studio-tool-card p{font-size:.9rem}.studio-available{align-items:center;background:radial-gradient(ellipse 65% 90% at 100% 0,rgba(143,87,245,.3),transparent 68%),var(--stage-dark);border-radius:22px;color:#fff;display:flex;flex-wrap:wrap;gap:16px 28px;justify-content:space-between;margin-top:clamp(36px,5vw,56px);padding:clamp(24px,3.8vw,38px)}.studio-available h2{color:#fff}.studio-available p{color:var(--stage-dark-muted)}.studio-available-cta{align-items:center;background:#fff;border-radius:12px;color:var(--ink);display:inline-flex;font-family:var(--display-font);font-size:.94rem;font-weight:700;gap:8px;min-height:46px;padding:11px 20px;text-decoration:none;transition:background-color .15s ease}.studio-available-cta:hover{background:var(--accent-tint);color:var(--on-accent)}.studio-tool-detail{align-items:start;background:var(--panel-muted);border:1px solid var(--line);border-radius:22px;display:grid;gap:clamp(18px,3vw,36px);grid-template-columns:repeat(2,minmax(0,1fr));margin-top:clamp(32px,5vw,52px);padding:clamp(22px,3.2vw,34px)}.studio-input,.studio-related-template{display:grid;gap:8px}.studio-input h3{margin-top:16px}.studio-related-template .gallery-card{max-width:520px;width:100%}.studio-template-link{color:var(--accent);margin-top:10px;text-underline-offset:3px;width:-moz-fit-content;width:fit-content}.studio-sample video{background:var(--stage-dark);border-radius:12px;display:block;height:auto;max-height:390px;max-width:100%;width:auto}.studio-sample p{font-size:.86rem}.studio-workbench{align-items:start;display:grid;gap:clamp(16px,2.4vw,26px);grid-template-columns:minmax(320px,.9fr) minmax(0,1.15fr)}.studio-fields,.studio-output,.studio-workbench-placeholder{background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:var(--card-shadow);margin:0;min-width:0;padding:clamp(18px,2.2vw,24px);scroll-margin-block-start:calc(var(--header-height) + 16px)}.studio-panel-header{align-items:center;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:space-between;margin-bottom:16px;padding-bottom:14px}.studio-panel-header h2{font:720 1.16rem/1.2 var(--display-font);letter-spacing:-.02em;margin:0}.studio-field-group{margin-top:14px}.editor-jump-back+.studio-field-group,.studio-panel-header+.studio-field-group{margin-top:0}.studio-field-head{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-bottom:7px}.studio-fields .studio-field-head label{font-size:.85rem}.studio-field-actions{align-items:center;display:inline-flex;gap:8px}.studio-char-count,.studio-field-meta{color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums;font-weight:540}.studio-inline-clear{background:var(--panel-muted);border:1px solid var(--line);border-radius:999px;color:var(--muted);cursor:pointer;font-size:.73rem;font-weight:640;line-height:1.3;padding:2px 8px;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.studio-inline-clear:hover{background:#fff4f6;border-color:#d6b6c2;color:#9c2548}.studio-select-pair{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.studio-dropzone{align-items:center;background:var(--panel-muted);border:1.5px dashed var(--control-border);border-radius:13px;cursor:pointer;display:flex;gap:12px;padding:14px 15px;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.studio-dropzone.is-compact{background:var(--paper);border-style:solid;border-width:1px;padding:9px 12px}.studio-dropzone.is-dragging,.studio-dropzone:hover:not(.is-disabled){background:var(--accent-tint);border-color:var(--accent-vivid);box-shadow:0 0 0 3px #8f57f51f}.studio-dropzone.is-disabled{cursor:not-allowed;opacity:.55}.studio-dropzone-icon{background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--accent);display:grid;flex:none;height:36px;place-items:center;width:36px}.studio-dropzone.is-compact .studio-dropzone-icon{border-radius:8px;height:30px;width:30px}.studio-dropzone-copy{display:grid;flex:1;gap:2px;min-width:0}.studio-dropzone-copy strong{color:var(--ink);font-size:.84rem;font-weight:660;line-height:1.25}.studio-dropzone-copy span{color:var(--muted);font-size:.74rem;line-height:1.3}.studio-dropzone-action{background:#fff;border:1px solid var(--control-border);border-radius:8px;color:var(--ink);flex:none;font-size:.76rem;font-weight:660;padding:5px 11px;transition:border-color .14s ease,color .14s ease,background-color .14s ease}.studio-dropzone:hover:not(.is-disabled) .studio-dropzone-action{background:var(--accent);border-color:var(--accent);color:#fff}.studio-uploaded-pill{align-items:center;background:var(--accent-tint);border:1px solid var(--accent-border);border-radius:12px;display:flex;gap:10px;justify-content:space-between;margin-bottom:8px;padding:10px 12px}.studio-uploaded-pill div{display:grid;gap:2px;min-width:0}.studio-uploaded-pill strong{color:var(--ink);font-size:.83rem;font-weight:680;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-uploaded-pill span{color:var(--muted);font-size:.74rem}.studio-page .studio-workbench-placeholder,.studio-workbench-placeholder{align-content:start;background:var(--panel-muted);box-shadow:none;color:var(--muted);display:grid;margin:0;min-height:clamp(12rem,30svh,19rem)}.studio-fields legend{font:720 1.24rem/1.2 var(--display-font);max-inline-size:100%;padding:0 4px}.studio-fields label{display:block;font-size:.85rem;font-weight:660;margin:12px 0 5px}.studio-fields .studio-field-head label{color:var(--ink);font-weight:680;margin:0}.studio-fields :is(input:not([type=checkbox],[type=radio]),textarea,select){background:var(--paper);border:1px solid var(--control-border);border-radius:11px;color:var(--ink);font:inherit;font-size:.92rem;min-height:42px;padding:9px 12px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.studio-fields :is(input:not([type=checkbox],[type=radio]),textarea,select):focus{border-color:var(--accent-vivid);box-shadow:0 0 0 3px #8f57f524;outline:none}.studio-fields input[type=file]{font-size:.84rem;padding:6px}.studio-fields input::file-selector-button{margin-inline-end:8px}.studio-fields textarea{line-height:1.52;min-height:82px;resize:vertical}.studio-fields :is(.field-help,.error){font-size:.8rem;margin:6px 0 0}.studio-output-actions,.studio-output-heading{align-items:center;display:flex;flex-wrap:wrap;gap:9px 12px}.studio-output-heading{border-bottom:1px solid var(--line);justify-content:space-between;margin-bottom:14px;padding-bottom:14px}.studio-output-title-group{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.studio-output-heading h2{font:720 1.16rem/1.2 var(--display-font);letter-spacing:-.02em;margin:0}.studio-example-badge{align-items:center;background:var(--accent-tint);border:1px solid var(--accent-border);border-radius:999px;color:var(--on-accent);display:inline-flex;font-size:.72rem;font-weight:680;padding:3px 9px}.studio-output-actions{margin-top:14px}.studio-output-actions :is(a,button),.studio-preview-actions button{align-items:center;display:inline-flex;min-height:40px;text-decoration:none}.studio-preview-actions{display:flex;flex-wrap:wrap;gap:6px}.studio-output progress{accent-color:var(--accent);margin-top:10px;width:100%}.studio-preview{background:#f1eef7;border-radius:14px;display:grid;min-height:220px;overflow:hidden;padding:14px;place-items:center}.studio-preview.is-sample{background:radial-gradient(ellipse 70% 60% at 50% 0,rgba(143,87,245,.24),transparent 72%),var(--stage-dark)}.studio-preview p{color:var(--muted);line-height:1.5;margin:0;text-align:center}.studio-output .studio-preview .studio-sample-media,.studio-output .studio-preview canvas,.studio-output video{border-radius:10px;display:block;height:auto;max-height:min(54svh,28rem);max-width:100%;width:auto}.studio-output .studio-preview .studio-sample-media{box-shadow:0 14px 36px #06030e6b;margin:0}.studio-output>video{margin:12px auto 0}.studio-sample-caption{color:var(--muted);font-size:.84rem;margin-top:10px}.studio-sample-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.studio-sample-tab{background:var(--paper);border:1px solid var(--control-border);border-radius:999px;color:var(--muted);cursor:pointer;font-size:.81rem;font-weight:640;min-height:34px;padding:5px 12px;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.studio-sample-tab:hover{border-color:var(--accent-border);color:var(--ink)}.studio-sample-tab[aria-selected=true]{background:var(--accent);border-color:var(--accent);color:#fff}.studio-prompt-card{background:var(--accent-tint);border:1px solid var(--accent-border);border-radius:13px;margin-top:12px;padding:13px 15px}.studio-prompt-head{align-items:center;display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:space-between;margin-bottom:8px}.studio-prompt-label{color:var(--on-accent);font-size:.78rem;font-weight:720;letter-spacing:.01em}.studio-prompt-buttons{display:flex;flex-wrap:wrap;gap:6px}.studio-prompt-btn{background:#fff;border:1px solid var(--accent-border);border-radius:8px;color:var(--ink);cursor:pointer;font-size:.76rem;font-weight:660;min-height:30px;padding:4px 10px;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.studio-prompt-btn:hover{border-color:var(--accent);color:var(--accent)}.studio-prompt-btn.is-accent{background:var(--accent);border-color:var(--accent);color:#fff}.studio-prompt-btn.is-accent:hover{background:var(--accent-hover);color:#fff}.studio-prompt-text{color:var(--ink)!important;font-size:.86rem;line-height:1.56;margin:0!important;text-wrap:pretty}.studio-prompt-ref{align-items:center;border-top:1px solid var(--accent-border);display:flex;gap:10px;margin-top:10px;padding-top:10px}.studio-prompt-ref img{background:#fff;border:1px solid rgba(90,36,166,.18);border-radius:8px;height:44px;-o-object-fit:cover;object-fit:cover;width:44px}.studio-prompt-ref div{display:grid;font-size:.78rem;gap:2px}.studio-prompt-ref strong{color:var(--on-accent);font-weight:680}.studio-prompt-ref span{color:var(--muted)}.studio-form-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.studio-clear-btn,.studio-try-btn{align-items:center;border-radius:999px;cursor:pointer;display:inline-flex;font-size:.81rem;font-weight:660;gap:6px;justify-content:center;min-height:34px;padding:5px 12px;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.studio-try-btn{background:var(--accent-tint);border:1px solid var(--accent-border);color:var(--on-accent)}.studio-try-btn:hover{background:var(--accent);border-color:var(--accent);color:#fff}.studio-clear-btn{background:var(--paper);border:1px solid var(--control-border);color:var(--muted)}.studio-clear-btn:hover{background:#fff4f6;border-color:#d6b6c2;color:#9c2548}.studio-sample-file-list{display:grid;gap:8px;list-style:none;margin:0 0 8px;padding:0}.studio-sample-file-list li{align-items:center;background:var(--accent-tint);border:1px solid var(--accent-border);border-radius:11px;display:grid;gap:10px;grid-template-columns:44px minmax(0,1fr) auto;padding:8px}.studio-sample-file-list img{background:#fff;border:1px solid rgba(90,36,166,.15);border-radius:8px;display:block;height:44px;-o-object-fit:cover;object-fit:cover;width:44px}.studio-sample-file-info{display:grid;gap:2px;min-width:0}.studio-sample-file-info strong{color:var(--ink);font-size:.82rem;font-weight:680;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-sample-file-info span{color:var(--muted);font-size:.74rem}.studio-sample-video-card{background:var(--accent-tint);border:1px solid var(--accent-border);border-radius:12px;margin:0 0 8px;padding:8px}.studio-sample-video-card video{background:var(--stage-dark);border-radius:8px;display:block;max-height:200px;-o-object-fit:contain;object-fit:contain;width:100%}.studio-sample-file-meta{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:8px}.studio-sample-file-meta div{display:grid;gap:2px;min-width:0}.studio-sample-file-meta strong{color:var(--ink);font-size:.82rem;font-weight:680;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-sample-file-meta span{color:var(--muted);font-size:.74rem}.studio-preview.is-empty{background:radial-gradient(ellipse 65% 55% at 50% 0,rgba(143,87,245,.08),transparent 72%),var(--panel-muted);border:1px dashed var(--control-border);min-height:300px}.studio-empty-stage{display:grid;gap:8px;justify-items:center;max-width:34ch;padding:16px;text-align:center}.studio-empty-icon{background:var(--accent-tint);border-radius:13px;color:var(--accent);display:grid;height:44px;place-items:center;width:44px}.studio-empty-stage strong{color:var(--ink);font:700 1rem/1.2 var(--display-font)}.studio-empty-stage p{color:var(--muted);font-size:.86rem;line-height:1.5;margin:0}.studio-empty-try{margin-top:6px}#motion-editor{scroll-margin-top:calc(var(--header-height, 68px) + 18px)}.motion-effect-library{background:var(--panel-muted);border:1px solid var(--line);border-radius:18px;margin-block-end:clamp(28px,4vw,48px);padding:clamp(16px,2.4vw,24px)}.motion-effect-heading,.motion-effect-pagination,.motion-effect-switch,.motion-effect-toolbar,.motion-example-heading{align-items:center;display:flex;flex-wrap:wrap;gap:8px 12px}.motion-effect-heading,.motion-effect-toolbar,.motion-example-heading{justify-content:space-between}.motion-effect-heading{margin-bottom:12px}.studio-editor-link{align-items:center;display:inline-flex;gap:5px;text-decoration:none}.motion-effect-library :is(.secondary,.motion-effect-search input){min-height:40px}.motion-effect-switch{gap:6px}.motion-effect-switch button span{font-size:.8em;margin-inline-start:4px;opacity:.75}.motion-effect-switch button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.motion-effect-search{flex:0 1 240px}.motion-effect-search input{background:#fff;border:1px solid var(--control-border);border-radius:10px;color:var(--ink);font:inherit;padding:7px 12px;width:100%}.motion-effect-library .motion-effect-description{font-size:.86rem;margin:10px 0 12px}.motion-effect-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0}.motion-effect-card{background:#fff;border:1px solid var(--line);border-radius:13px;color:var(--ink);cursor:pointer;display:block;overflow:hidden;padding:0;text-align:start;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.motion-effect-card:hover{border-color:var(--accent);box-shadow:var(--card-shadow)}.motion-effect-thumb{aspect-ratio:8/5;background:var(--accent-tint);color:var(--accent);display:grid;place-items:center}.motion-effect-thumb img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.motion-effect-name{display:flex;font-size:.86rem;font-weight:680;gap:7px;justify-content:space-between;padding:9px 11px}.motion-effect-name span{color:var(--accent)}.motion-effect-preset{background:var(--accent-tint);display:grid;gap:4px;min-height:64px;padding:10px 12px}.motion-effect-preset span{color:var(--muted);font-size:.8rem;text-transform:capitalize}.motion-effect-pagination{color:var(--muted);font-size:.84rem;justify-content:center;margin-top:15px}.motion-effect-empty{padding:12px 0}.motion-example-dialog{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 64px #110d1b40;color:var(--ink);max-width:calc(100% - 32px);padding:0}.motion-example-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#110d1b99}.motion-example-content{padding:18px;width:min(480px,82vw)}.motion-example-content img{border-radius:10px;display:block;height:auto;margin-top:12px;width:100%}@media(min-width:901px){.studio-workbench>.studio-output:not(:has(>video)){position:sticky;top:calc(var(--header-height) + 16px)}}@media(max-width:900px){.studio-workbench{grid-template-columns:minmax(0,1fr)}.studio-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){:is(.studio-fields,.studio-output){scroll-margin-block-start:12px}}@media(max-width:560px){.studio-tool-detail,.studio-tool-grid{grid-template-columns:minmax(0,1fr)}.motion-effect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.motion-effect-search{flex:1 1 100%}}@media(prefers-reduced-motion:reduce){.motion-effect-card,.studio-available-cta,.studio-tool-card,.studio-tool-card h3 span{transition:none}.studio-tool-card:hover,.studio-tool-card:hover h3 span{transform:none}}
