:root{color-scheme:light;--bg:#f7faff;--panel:#fff;--line:#e6eaf2;--text:#162238;--muted:#64748b;--blue:#196dce;--blue-dark:#1559ad;--soft:#f3f7fd;--shadow:0 12px 42px rgba(22,40,86,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.44;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}#stage:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6ab6ff;outline-offset:2px}.shell{width:min(1520px,calc(100% - 50px));margin:auto}.sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.skip{position:absolute;top:-50px;left:16px;z-index:99;background:#fff;padding:10px}.skip:focus{top:10px}.site-header{border-bottom:1px solid var(--line);background:var(--panel)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:21px;font-weight:760;letter-spacing:-.9px;display:flex;align-items:center;gap:3px}.mark{background:linear-gradient(140deg,#67c7ff,#3987ed);color:#fff;display:inline-grid;place-items:center;width:33px;height:33px;border-radius:10px;margin-right:6px;font-weight:800;font-size:20px}.mark.small{width:26px;height:26px;font-size:17px}.blue,.hero h1 span{color:var(--blue)}nav{display:flex;gap:26px;color:var(--muted)}nav a:hover{color:var(--blue)}.hero{padding:46px 0 34px;max-width:900px}.eyebrow{color:#2c6fb0;font-size:11px;letter-spacing:2.6px;font-weight:800}.hero h1{font-size:clamp(37px,4.1vw,59px);letter-spacing:-2.3px;line-height:1.1;margin:11px 0 14px}.hero p{max-width:735px;color:var(--muted);font-size:16px}.chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.chips span{background:#eaf3ff;color:#2e699e;border:1px solid #dceafb;border-radius:90px;padding:6px 13px;font-size:12px;font-weight:600}.workspace{background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden}.work-header{min-height:76px;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.work-heading{display:flex;align-items:center;gap:11px}.work-heading strong{display:block;font-size:15px}.work-heading small{display:block;color:var(--muted);font-size:11px}.app-icon{font-size:25px;color:#4a92f1;background:#e9f3ff;padding:6px 12px;border-radius:12px}.work-actions{display:flex;gap:7px;flex-wrap:wrap}.btn,.button-outline,.ghost,.icon-button{border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-weight:650;min-height:36px;padding:8px 12px;transition:background .12s}.btn:hover,.button-outline:hover,.ghost:hover,.icon-button:hover{background:var(--soft)}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--blue-dark)}.btn.dark{background:#17243d;border-color:#17243d}.btn.light{background:var(--soft)}.small{min-width:38px}.notice{margin:14px 0;border:1px solid #ffbeab;background:#fff6ee;color:#8a341c;display:flex;justify-content:space-between;align-items:center;border-radius:9px;padding:10px 14px}.notice[hidden],[hidden]{display:none!important}.notice button{background:0 0;border:none;font-size:22px;color:inherit}.quickbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}.quickgroup{display:flex;gap:7px;flex-wrap:wrap}.button-outline.strong{color:#176fcd;background:#eff7ff;border-color:#cbe3ff}.icon-button{min-width:37px;padding:7px 9px;font-size:17px}.editor-grid{display:grid;grid-template-columns:minmax(225px,255px) minmax(360px,1fr) minmax(265px,290px);min-height:685px}.panel{background:var(--panel);padding:17px 15px}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:9px}.panel-heading h2{font-size:14px;margin:0}.panel-heading span{color:var(--muted);font-size:11px}.hint{color:var(--muted);font-size:12px;margin:0 0 14px}.layer-list{display:grid;gap:7px}.layer-row{display:flex;align-items:center;gap:7px;padding:9px 7px;border:1px solid var(--line);background:var(--soft);border-radius:10px}.layer-row.selected{border-color:#68a9ff;background:#eef6ff}.layer-select{flex:1;min-width:0;border:none;text-align:left;background:0 0;display:flex;align-items:center;gap:9px;color:var(--text);padding:0}.layer-type{background:#dceafb;color:#346eaa;border-radius:8px;display:grid;place-items:center;width:29px;height:29px;flex:none}.layer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.layer-tools{display:flex}.tinybtn{font-size:14px;border:0;background:0 0;color:var(--muted);padding:4px}.tinybtn:hover{color:var(--blue)}.layer-footer{display:flex;gap:7px;margin-top:12px}.layer-footer button{flex:1;font-size:12px}.mini-help{border-radius:11px;background:#f0f6ff;padding:13px;margin-top:22px;color:#426387}.mini-help strong{font-size:12px}.mini-help p{font-size:11.5px;margin:5px 0 0}.stage-wrap{background:#f9fbff;min-width:0;padding:12px 14px}.player,.stage-actions,.stage-label,.stage-toolbar{display:flex;align-items:center;gap:11px}.stage-toolbar{justify-content:space-between;gap:7px;margin-bottom:12px}.stage-label{align-items:flex-start;flex-direction:column;gap:0}.stage-label strong{font-size:13px}.stage-label span{font-size:11px;color:var(--muted)}.tiny-select{font-size:11px;color:var(--muted)}.tiny-select select{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:5px}.canvas-shell{border-radius:13px;padding:22px;min-height:270px;background:#ebf0fa;display:flex;align-items:center;justify-content:center;overflow:auto;box-shadow:inset 0 2px 7px rgba(13,38,79,.05)}.canvas-pattern{background-image:conic-gradient(#dde5f0 25%,#fff 0 50%,#dde5f0 0 75%,#fff 0);background-size:24px 24px;max-width:100%}.canvas-pattern canvas{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:16/9;box-shadow:0 12px 30px rgba(12,33,78,.17);touch-action:none;cursor:crosshair}.player{gap:12px;padding:16px 1px}.player input{flex:1;min-width:35px;accent-color:var(--blue)}.player output{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;color:var(--muted)}.play-button{color:#fff;background:var(--blue);border:0;width:42px;height:40px;border-radius:11px;font-size:17px}.loop-button{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:9px;color:var(--muted)}.loop-button.active{color:var(--blue);border-color:#bcdbff;background:#eaf3ff}.timeline{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:13px}.timeline-head{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:12px}.timeline-head strong{font-size:13px}.timeline-head span{font-size:11px;color:var(--muted)}.timeline-rows{display:grid;gap:6px}.timeline-row{display:flex;align-items:center;gap:8px;min-height:28px}.timeline-row button{flex:0 0 110px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;background:0 0;border:0;font-size:11px;color:var(--text)}.timeline-row button.selected{font-weight:800;color:var(--blue)}.timeline-track{flex:1;min-width:0;height:21px;background:#eef2f9;border-radius:6px;position:relative;overflow:hidden}.timeline-bar{background:#6faafb;border-radius:5px;position:absolute;top:3px;height:15px;min-width:3px}.timeline-row.selected .timeline-bar{background:#337ddc}.timeline-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:12px;padding-top:12px;color:var(--muted)}.timeline-foot label{font-size:12px}.timeline-foot input{width:61px}.timeline-foot select{width:85px}.timeline-foot input,.timeline-foot select{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:6px;color:var(--text)}.timeline-foot small{font-size:11px}.tabs{display:flex;background:var(--soft);border-radius:9px;padding:3px;margin-bottom:15px}.tabs button{flex:1;background:0 0;border:0;border-radius:7px;padding:7px;color:var(--muted)}.tabs button.active{background:var(--panel);box-shadow:0 1px 5px #15223816;color:var(--text);font-weight:700}.field{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px;font-weight:650;margin-bottom:12px}.field input,.field select,.field textarea{width:100%;min-width:0;background:var(--panel);border:1px solid #dce3ee;border-radius:8px;padding:8px 9px;color:var(--text);font-size:12px;outline-offset:1px}.field input[type=color]{min-height:35px;padding:4px;cursor:pointer}.field input[type=range]{accent-color:var(--blue);margin:11px 0}.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sectionline{border-bottom:1px solid var(--line);padding-bottom:6px;margin:8px 0 13px;text-transform:uppercase;letter-spacing:1px;font-size:10px;font-weight:800;color:#78a0c3}.export-panel{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;padding:22px 24px;background:linear-gradient(110deg,#f1f7ff,#fff);border-top:1px solid var(--line)}.export-panel h2{margin:7px 0;font-size:19px;letter-spacing:-.5px}.export-panel p{color:var(--muted);font-size:12px;max-width:460px}.export-controls{display:flex;gap:10px;align-items:center;align-content:start;flex-wrap:wrap}.export-controls label{font-size:11px;color:var(--muted)}.export-controls select{border:1px solid var(--line);padding:8px 6px;border-radius:8px;background:var(--panel)}.export-buttons{width:100%;display:flex;flex-wrap:wrap;gap:8px}.export-controls progress{width:100%;height:8px;accent-color:var(--blue)}.export-controls #exportStatus{width:100%;color:var(--muted);font-size:11px}.privacy{padding:11px 18px;background:#f1f7ff;color:#4876a9;font-size:11px;border-top:1px solid #e1efff}.below,.faq{padding:70px 0 0}.below h2,.faq h2{font-size:28px;letter-spacing:-.9px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.features article{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px}.features article span{color:var(--blue);font-size:11px;font-weight:700}.features h3{font-size:17px;margin:10px 0}.faq p,.features p{color:var(--muted);font-size:13px}.faq{padding-bottom:70px;max-width:880px}.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq summary{cursor:pointer;font-weight:650}.faq p{padding-top:11px}.site-footer{border-top:1px solid var(--line);padding:22px 0;background:var(--panel)}.foot{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.foot>span:first-child{font-weight:800;color:var(--text);font-size:16px;display:flex;align-items:center;gap:2px}[data-theme=dark]{color-scheme:dark;--bg:#0d1524;--panel:#182235;--line:#2b3850;--text:#edf4ff;--muted:#a4b3cb;--blue:#65a6ff;--blue-dark:#397dcb;--soft:#202f46;--shadow:0 12px 42px #0004}[data-theme=dark] .stage-wrap{background:#121d2e}[data-theme=dark] .canvas-shell{background:#222f47}[data-theme=dark] .export-panel{background:linear-gradient(120deg,#1b2b47,#182235)}[data-theme=dark] .mini-help,[data-theme=dark] .privacy{background:#213856;color:#abc8ee}[data-theme=dark] .chips span,[data-theme=dark] .layer-row.selected{background:#253a56;color:#bddbff;border-color:#3b6ba1}[data-theme=dark] .layer-type,[data-theme=dark] .loop-button.active{background:#2c4b71;color:#c1ddff}[data-theme=dark] .notice{background:#3e2628;color:#ffd8bf;border-color:#a35c43}[data-theme=dark] .layer-row{background:#213047}[data-theme=dark] .timeline-track{background:#2a3c57}@media(max-width:1180px){.editor-grid{grid-template-columns:205px minmax(280px,1fr) 250px}.shell{width:calc(100% - 28px)}.panel{padding:12px}.canvas-shell{padding:10px}}@media(max-width:940px){.editor-grid{grid-template-columns:220px minmax(0,1fr)}.right-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:block}.right-panel #layerFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.right-panel .sectionline{grid-column:1/-1}.right-panel .tabs{max-width:320px}.export-panel{grid-template-columns:1fr}}@media(max-width:640px){.shell{width:calc(100% - 20px)}.nav{height:60px}.nav nav{display:none}.hero{padding:32px 0 25px}.hero h1{letter-spacing:-1.5px}.work-header{align-items:flex-start;padding:12px;flex-wrap:wrap}.work-actions{width:100%}.work-actions .btn{flex:1}.editor-grid{display:flex;flex-direction:column}.left-panel{border:0;border-bottom:1px solid var(--line)}.layer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stage-wrap{padding:10px}.quickbar{padding:9px;gap:9px}.button-outline{font-size:12px;padding:7px}.canvas-shell{min-height:150px;padding:8px}.stage-toolbar{flex-wrap:wrap}.timeline-row button{flex-basis:92px;max-width:92px}.player{gap:8px}.player output{font-size:11px}.right-panel #layerFields{grid-template-columns:1fr}.export-panel{padding:17px}.features{grid-template-columns:1fr}.below,.faq{padding-top:44px}.faq{padding-bottom:44px}.foot{align-items:flex-start;flex-direction:column}}@media(max-width:350px){.layer-list{grid-template-columns:1fr}.timeline-head span{display:none}.work-actions{gap:4px}.work-actions .btn{padding:6px;font-size:12px}}.timing-hint{font-size:12px;color:var(--muted,#596b87);line-height:1.5;margin:10px 0 3px}.timing-hint[data-warning=true]{color:#b45309;font-weight:600}.timeline-track[role=button]{cursor:pointer}.timeline-track[role=button]:focus-visible{outline:3px solid #3d8bff;outline-offset:3px}.hero{padding:30px 0 14px;max-width:1100px}.hero h1{font-size:clamp(27px,3vw,43px)}.hero p{font-size:13px}.chips{margin-top:8px}.workspace{margin-top:12px}.inline-preset{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;max-width:100%}.inline-preset select{min-height:34px;padding:5px 8px;border-radius:8px;border:1px solid var(--line);background:var(--panel);color:var(--text)}.inline-preset input{accent-color:var(--blue)}.timeline-scroll{overflow-x:auto;overflow-y:hidden;max-width:100%;scrollbar-width:thin;padding:0 1px 5px}.timeline-ruler{position:relative;height:24px;margin-left:118px;border-bottom:1px solid var(--line);font-size:10px;white-space:nowrap;color:var(--muted)}.ruler-tick{position:absolute;bottom:3px;transform:translateX(-50%);font-variant-numeric:tabular-nums}.ruler-tick:first-child{transform:none}.ruler-tick:last-child{transform:translateX(-100%)}.timeline-head{flex-wrap:wrap}.timeline-row{min-width:0}.timeline-track{overflow:visible;min-height:23px;cursor:crosshair}.timeline-playhead{position:absolute;top:0;height:100%;width:2px;background:#e24c71;z-index:2;pointer-events:none}.keymark{position:absolute;top:4px;width:13px;height:13px;border:2px solid #fff;border-radius:2px;background:#174d99;transform:translateX(-50%) rotate(45deg);z-index:3;padding:0;touch-action:none;cursor:grab;box-shadow:0 0 0 1px #174d99}.keymark:focus-visible{outline:3px solid #e9a347;outline-offset:4px}.timeline-row.selected .keymark{background:#bb50ee;box-shadow:0 0 0 1px #6f2591}.key-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}.key-actions button{font-size:11px;flex:1;min-width:100px}.key-actions button:disabled{opacity:.45}.timeline-row.selected .timeline-track{background:#e6effb}#keyframeFields{padding:9px;border:1px solid var(--line);background:var(--soft);border-radius:10px;margin-bottom:10px}#keyframeFields .field{margin-bottom:8px}.panel{min-width:0}.stage-wrap{min-width:0}.canvas-pattern{max-width:100%}.canvas-pattern canvas{max-height:72vh;object-fit:contain}.stage-actions{flex-wrap:wrap;justify-content:flex-end}#showGuides{vertical-align:middle;accent-color:var(--blue)}.pk-search-field,.pk-site-search{min-width:0;max-width:100%}.pk-search-field{display:flex;align-items:center}.pk-search-field svg{width:18px;height:18px;min-width:18px;flex:none}.pk-search-field input{min-width:0;max-width:100%}.nav{min-width:0;gap:8px}.nav>.pk-site-search{flex:1;min-width:0}.nav>.brand{flex:none;white-space:nowrap}.pk-studio-navigation{flex:none}.editor-grid,.export-panel,.shell,.stage-toolbar,.timeline,.work-header,.workspace{min-width:0;max-width:100%}@media(max-width:640px){.timeline-ruler{margin-left:100px}.hero{padding:23px 0 10px}.canvas-pattern canvas{max-height:55vh}.pk-search-field input{width:100%}.work-actions .btn{min-width:0}.export-controls{width:100%}}@media(max-width:390px){.nav .pk-wordmark span{font-size:14px}.nav .pk-brand-icon{width:22px;height:22px}.nav .pk-site-search{max-width:110px}.pk-search-field{padding:2px 4px}.stage-actions{justify-content:flex-start}.stage-toolbar{justify-content:flex-start}.inline-preset select{max-width:156px}.player{flex-wrap:wrap}.timeline-row button{flex-basis:78px;max-width:78px}.timeline-ruler{margin-left:86px}}@media(prefers-reduced-motion:reduce){.btn,.button-outline,.ghost,.icon-button{transition:none!important}.hero,.notice{scroll-behavior:auto}}.foot nav{display:flex;flex-wrap:wrap;gap:7px 16px;min-width:0;max-width:100%}.foot nav a{white-space:normal}.pk-studio-footer{max-width:100%;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.pk-studio-footer nav{display:flex;flex-wrap:wrap;gap:6px 15px;min-width:0;max-width:100%}.pk-studio-footer small{max-width:100%}