.kc{background:#fffdf7;flex-direction:column;display:flex;position:absolute;inset:0}.kc-head{background:var(--ed-panel);border-bottom:var(--b);box-sizing:border-box;flex:none;align-items:center;gap:10px;height:44px;padding:0 12px;display:flex}.kc-who{font-size:14px;font-weight:600}.kc-who b{font-weight:800}.kc-head button{color:#000;border-radius:var(--r);cursor:pointer;background:#fff;border:2px solid #000;height:30px;padding:0 12px;font-size:13px;font-weight:800;box-shadow:2px 2px #000}.kc-head button:hover{background:var(--ed-hover)}.kc-hint{color:var(--ed-mute);font-size:13px}.kc-ws{flex:1;min-height:0;position:relative}.kc-modal{z-index:50;background:#0000004d;place-items:center;display:grid;position:absolute;inset:0}.kc-modal>div{background:var(--ed-panel);color:#000;border:var(--b);border-radius:14px;width:min(360px,100% - 32px);padding:18px 20px;box-shadow:6px 6px #000}.kc-modal h3{font:800 18px var(--f-head);margin:0 0 6px}.kc-modal p{color:var(--ed-mute);margin:0 0 12px}.kc-modal input{box-sizing:border-box;color:#000;border:var(--b);border-radius:var(--r);width:100%;height:38px;font:inherit;background:#fff;margin-bottom:8px;padding:0 11px}.kc-modal input:focus{box-shadow:var(--sh-sm);outline:none}.kc-err{font-size:13px;font-weight:700;color:var(--ed-danger)!important}.kc-row{gap:10px;margin-top:8px;display:flex}.kc-row button{border-radius:var(--r);height:38px;font:inherit;cursor:pointer;border:var(--b);color:#000;box-shadow:var(--sh-sm);background:#fff;flex:1;font-weight:800}.kc-row .kc-ok{background:var(--ed-accent)}.kc-row .kc-ok:disabled{opacity:.5;cursor:default}.kc .blocklyText{fill:#000!important;font-weight:700!important}.kc .kc-ws .blocklyText.blocklyDropdownText{fill:#000!important}.kc .blocklyFlyoutLabelText{fill:#3d3d3d!important}.kc .blocklyPath{stroke-width:1.5px;stroke:#000!important}.kc .blocklySelected>.blocklyPath{stroke-width:3px}.kc .blocklyToolbox{border-right:var(--b);padding:8px 6px 0}.kc .blocklyToolboxCategory{padding:0}.kc .blocklyTreeRow{border-radius:var(--r);border:2px solid #0000;height:32px;margin-bottom:3px;line-height:32px;padding-right:10px!important}.kc .blocklyTreeRow:hover{background:var(--ed-hover)!important}.kc .blocklyTreeSelected{border-color:#000;box-shadow:2px 2px #000}.kc .blocklyTreeLabel,.kc .blocklyToolboxCategoryLabel{font:800 14px var(--f-ui)!important;color:#000!important}.kc .blocklyFlyoutButton{fill:#fff;stroke:#000;stroke-width:2px}.kd{z-index:8;box-sizing:border-box;background:var(--ed-panel);border:var(--b);width:360px;box-shadow:var(--sh);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;display:flex;position:absolute;top:12px;bottom:12px;right:12px;overflow:hidden}.kd h3{font:800 18px var(--f-head);margin:0}.kd-stats{flex-wrap:wrap;gap:6px;display:flex}.kd-stats span{background:#fff;border:2px solid #000;border-radius:8px;padding:4px 9px;font-size:13px}.kd-stats b{font-variant-numeric:tabular-nums}.kd-check{cursor:pointer;align-items:center;gap:8px;font-weight:700;display:flex}.kd-check input{accent-color:#000;width:18px;height:18px}.kd-sec{text-transform:uppercase;letter-spacing:.04em;margin-top:4px;font-size:12.5px;font-weight:800}.kd-vars{border-collapse:collapse;background:#fff;border:2px solid #000;border-radius:8px;width:100%;font-size:13.5px;overflow:hidden}.kd-vars td{border-bottom:1px solid #e3d9c6;padding:4px 8px}.kd-vars td:last-child{text-align:right;font-variant-numeric:tabular-nums;font-weight:800}.kd select{border:var(--b);border-radius:var(--r);height:34px;font:700 14px var(--f-ui);background:#fff;padding:0 8px}.kd-ws{border:2px solid #000;border-radius:8px;flex:1;min-height:160px;position:relative;overflow:hidden}.kd-note{color:var(--ed-mute);margin:0;font-size:12.5px}.kd .blocklyText{fill:#000!important;font-weight:700!important}.kd .kd-ws .blocklyText.blocklyDropdownText{fill:#000!important}.kd .blocklyPath{stroke-width:1.5px;stroke:#000!important}.kd .blocklyHighlighted>.blocklyPath{fill:#ff90e8!important;stroke:#000!important;stroke-width:4px!important;filter:none!important}.ks .kc-head button:disabled{opacity:.5;cursor:default}.ks-err{background:#ffe3e3;border:2px solid #000;border-radius:10px;margin:10px 16px 0;padding:8px 12px;font-weight:700}.ks-body{flex:1;padding:16px;overflow:auto}.ksc-body{flex:1;min-height:0;display:flex}.ksc-side{border-right:var(--b);background:#fffdf7;flex-direction:column;flex:none;gap:10px;width:250px;padding:12px;display:flex;overflow:auto}.ksc-side h3{font:800 15px var(--f-title,"Rubik", sans-serif);margin:4px 0 0}.ksc-list{flex-direction:column;gap:6px;display:flex}.ksc-list>button{cursor:pointer;text-align:left;font:inherit;background:#fff;border:2px solid #000;border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 10px;display:flex;box-shadow:2px 2px #000}.ksc-list>button.on{background:#ffc900}.ksc-list small{color:var(--ed-mute);font-size:12px;font-weight:700}.ksc-add{grid-template-columns:1fr 1fr;gap:6px;display:grid}.ksc-add button,.ksc-count,.ksc-newvar button,.ksc-props>button{height:30px;font:800 13px var(--f-ui,sans-serif);cursor:pointer;background:#fff;border:2px solid #000;border-radius:8px;box-shadow:2px 2px #000}.ksc-count{background:#6fdc8c}.ksc-props,.ksc-vars{border-top:var(--b);flex-direction:column;gap:8px;padding-top:10px;display:flex}.ksc-var{background:#fff;border:2px solid #000;border-radius:8px;padding:6px 8px}.ksc-var summary{cursor:pointer;font-size:14px}.ksc-var summary small{color:var(--ed-mute);font-weight:700}.ksc-var[open]{flex-direction:column;gap:6px;display:flex}.ksc-newvar{gap:6px;display:flex}.ksc-newvar input{min-width:0;height:30px;font:inherit;border:2px solid #000;border-radius:8px;flex:1;padding:0 8px}.ksc-newvar button{width:34px}.ksc-stage-wrap{background:repeating-conic-gradient(#efe9dd 0 25%, #f8f4ec 0 50%) 0 0 / 22px 22px;flex:1;place-items:center;min-width:0;padding:14px;display:grid;overflow:hidden}.ksc-stage{aspect-ratio:16/9;border:var(--b);background:linear-gradient(#8fb5f0,#f3c28f);border-radius:10px;outline:none;width:100%;max-height:100%;position:relative;overflow:hidden;box-shadow:5px 5px #000}.ksc-stage:focus-visible{box-shadow:5px 5px #000,0 0 0 3px #ffc900}.ksc-stage{-webkit-user-select:none;user-select:none}.ksc-stage .gl.ksc-gl,.ksc-stage .ksc-w{pointer-events:auto}.ksc .kc-head button{white-space:nowrap;flex:none}.ksc-w{cursor:move;touch-action:none;position:absolute}.ksc-w:hover{outline:2px dashed #00000073}.ksc-w.on{outline-offset:2px;z-index:2;outline:3px solid #000}.ksc-w .gl-w{pointer-events:none}.ksc-size{cursor:nwse-resize;background:#ffc900;border:2px solid #000;border-radius:3px;width:14px;height:14px;position:absolute;bottom:-8px;right:-8px}.ksc-hintc{color:#1c2330;pointer-events:none;place-items:center;margin:0;font-weight:800;display:grid;position:absolute;inset:0}.ksc-pic{align-items:center;gap:8px;display:flex}.ksc-pic img{object-fit:contain;background:#fff;border:2px solid #000;border-radius:8px;width:48px;height:48px}.ksc-picker{flex-direction:column;gap:10px;width:min(720px,92vw);max-height:80vh;display:flex}.ksc-picker-head{align-items:center;gap:10px;display:flex}.ksc-picker-head select{height:32px;font:inherit;border:2px solid #000;border-radius:8px;flex:1}.ksc-picker-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid;overflow:auto}.ksc-picker-grid button{cursor:pointer;font:700 12px var(--f-ui,sans-serif);background:#fff;border:2px solid #000;border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:6px;display:flex}.ksc-picker-grid img{object-fit:contain;width:64px;height:64px}.ks-h{font:800 16px var(--f-title,"Rubik", sans-serif);color:#000;margin:18px 0 8px}.ks-events .ks-h{margin-top:0}.ks-note{color:var(--ed-mute);max-width:70ch;margin:0 0 10px;font-weight:600}.ks-defaults{margin-bottom:10px}.ks-evgrid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px 14px;display:grid}.ks-ev{grid-template-columns:1fr 120px 36px;align-items:center;gap:8px;font-size:14px;font-weight:700;display:grid}.ks-ev select{height:34px;font:inherit;background:#fff;border:2px solid #000;border-radius:8px;min-width:0}.ks-ev .ks-play{border-radius:8px;grid-row:auto;width:36px;height:34px}.ks-empty{max-width:60ch;color:var(--ed-mute);font-weight:600}.ks-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;display:grid}.ks-card{border:var(--b);box-shadow:var(--sh-sm);background:#fff;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:40px 1fr 32px;align-items:center;column-gap:10px;padding:10px;display:grid}.ks-card input{min-width:0;height:30px;font:800 14.5px var(--f-ui);background:0 0;border:2px solid #0000;border-radius:7px;padding:0 6px}.ks-card input:hover,.ks-card input:focus{background:#fff;border-color:#000;outline:none}.ks-card small{color:var(--ed-mute);grid-column:2;padding-left:8px;font-size:12px;font-weight:700}.ks-play{background:var(--ed-go);cursor:pointer;border:2px solid #000;border-radius:50%;grid-row:span 2;place-items:center;width:40px;height:40px;padding:0;display:grid;box-shadow:2px 2px #000}.ks-play svg{width:16px;height:16px}.ks-del{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:8px;grid-area:span 2/3;place-items:center;width:32px;height:32px;padding:0;display:grid}.ks-del:hover{background:#ffb3b3;border-color:#000}.kc-modal>.ks-modal{flex-direction:column;gap:10px;width:min(560px,100% - 32px);max-height:calc(100% - 40px);display:flex;overflow:auto}.ks-modal>input,.ks-range select{border:var(--b);border-radius:var(--r);height:36px;font:700 14px var(--f-ui);background:#fff;padding:0 10px}.ks-lib{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;display:grid}.ks-lib-item{background:#fff;border:2px solid #000;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:40px 1fr;align-items:center;gap:4px 8px;padding:8px;display:grid}.ks-lib-item b{font-size:14px}.ks-lib-item>button:last-child{background:var(--ed-accent);cursor:pointer;border:2px solid #000;border-radius:7px;grid-column:2;height:26px;font-weight:800}.ks-range{flex-direction:column;gap:4px;font-size:13.5px;font-weight:700;display:flex}.ks-range input[type=range]{accent-color:#000}.ks-rec{background:#ff6b6b!important}.ks-audio{width:100%}.ks .kc-head button{white-space:nowrap;flex:none}@media (width<=1500px){.kc-hint{display:none}}.kc-who{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.kk .kc-head button{white-space:nowrap;flex:none}.kk-empty{max-width:60ch;padding:20px;font-weight:600}.kk-big{border:var(--b);background:var(--ed-accent);height:44px;font:800 15px var(--f-ui);cursor:pointer;box-shadow:var(--sh);border-radius:10px;padding:0 20px}.kk-strip{border-bottom:var(--b);flex:none;gap:8px;padding:12px 14px;display:flex;overflow-x:auto}.kk-strip button{cursor:pointer;background:#fff;border:2px solid #000;border-radius:10px;flex:none;width:78px;height:78px;padding:4px;position:relative}.kk-strip button img{object-fit:contain;width:100%;height:100%}.kk-strip button span{font-size:11px;font-weight:800;position:absolute;top:2px;left:4px}.kk-strip button.on{background:var(--ed-accent);box-shadow:3px 3px #000}.kk-note{color:var(--ed-mute);margin:8px 14px 0;font-size:13px;font-weight:600}.kk-big-view{background:repeating-conic-gradient(#f3ead8 0 25%, #fffdf7 0 50%) 0 0 / 24px 24px;flex:1;place-items:center;min-height:0;padding:16px;display:grid}.kk-big-view img{object-fit:contain;max-width:min(360px,90%);max-height:100%}.kk-paint{z-index:70;background:#00000059;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.kk-paint>.kp{box-sizing:border-box;background:var(--ed-panel);border:var(--b);border-radius:14px;width:min(980px,100%);max-height:calc(100vh - 32px);padding:16px 18px;overflow:auto;box-shadow:8px 8px #000}.kp{flex-direction:column;gap:10px;display:flex}.kp-tools{flex-wrap:wrap;gap:6px;display:flex}.kp-tools button{cursor:pointer;background:#fff;border:2px solid #000;border-radius:8px;height:32px;padding:0 12px;font-weight:800}.kp-tools button.on{background:var(--ed-accent);box-shadow:2px 2px #000}.kp-main{flex-wrap:wrap;align-items:flex-start;gap:14px;display:flex}.kp-board{border:var(--b);background:repeating-conic-gradient(#ececec 0 25%, #fff 0 50%) 0 0 / 20px 20px;border-radius:8px;width:min(100vh - 150px,560px,100%);position:relative;overflow:hidden}.kp-board canvas{image-rendering:auto;width:100%;height:100%;position:absolute;inset:0}.kp-overlay{cursor:crosshair;touch-action:none}.kp-ground{pointer-events:none;border-top:2px dashed #00000073;height:0;position:absolute;left:0;right:0}.kp-side{flex-direction:column;flex:1;gap:10px;min-width:220px;display:flex}.kp-colors{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.kp-colors button,.kp-own{aspect-ratio:1;cursor:pointer;border:2px solid #000;border-radius:8px;padding:0}.kp-colors button.on{box-shadow:0 0 0 3px #fff,0 0 0 5px #000}.kp-own{background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);place-items:center;display:grid;overflow:hidden}.kp-own input{opacity:0;cursor:pointer;width:100%;height:100%}.kp-field{flex-direction:column;gap:4px;font-size:13.5px;font-weight:700;display:flex}.kp-field input[type=range]{accent-color:#000}.kp-field input:not([type=range]){border:var(--b);border-radius:var(--r);height:34px;font:700 14px var(--f-ui);padding:0 10px}.kp-check{align-items:center;gap:8px;font-weight:700;display:flex}.kp-row{gap:8px;display:flex}.kp-side>button,.kp-row button{border:var(--b);border-radius:var(--r);cursor:pointer;height:36px;box-shadow:var(--sh-sm);background:#fff;flex:1;font-weight:800}.kp-row button:disabled{opacity:.4;cursor:default;box-shadow:none}.kp-save{background:var(--ed-go)!important}.kp-note{color:var(--ed-mute);margin:0;font-size:12.5px;font-weight:600}.ed-stage .kc.kk .kc-head,.ed-stage .kc.ks .kc-head,.ed-stage .kc.ksc .kc-head{flex-wrap:wrap;row-gap:8px;height:auto;min-height:60px;padding:64px 12px 10px}.kk,.ks{overflow:hidden}.kc-local{cursor:pointer;align-items:flex-start;gap:8px;margin:4px 0 6px;font-size:13px;font-weight:700;display:flex}.kc-local input{accent-color:#000;flex:none;width:18px;height:18px;margin-top:1px}.kc-builtin{border-bottom:var(--b);background:#fff3c4;flex:none;align-items:center;gap:12px;padding:8px 12px;font-size:13.5px;font-weight:600;display:flex}.kc-builtin>div{flex:1;min-width:0}.kc-builtin b{font-weight:800}.kc-builtin-note{color:var(--ed-mute)}.kc-builtin button{border-radius:var(--r);cursor:pointer;white-space:nowrap;background:#fff;border:2px solid #000;flex:none;height:32px;padding:0 12px;font-weight:800;box-shadow:2px 2px #000}.kc-builtin button:hover{background:var(--ed-hover)}.kc-builtin.warn{background:#ffe3e3;display:block}.ed-stage .kc-builtin{box-sizing:border-box;min-height:84px;padding-right:270px}
