.studio-page{width:min(1500px,100% - 5vw)}.studio-page .back{margin-bottom:12px}.studio-page .brief{margin:12px 0}.studio-page .editorHead h1{font-size:36px}.block-studio{color:#37334c;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f7f6fd;border:1px solid #a99bc8;border-radius:14px;overflow:hidden}.block-studio button{font-family:inherit}.studio-bar{color:#fff;background:#675099;align-items:center;gap:16px;min-height:44px;padding:7px 15px;display:flex}.studio-title,.studio-actions,.stage-controls,.stage-head,.canvas-tools,.sprite-info,.studio-grid h3{align-items:center;display:flex}.studio-title{gap:8px;font-weight:750}.studio-status{color:#f1e7ff;font-size:13px}.studio-actions,.stage-controls{gap:5px;margin-left:auto}.studio-actions button,.stage-controls button,.canvas-tools button{width:31px;height:30px;color:inherit;background:#ffffff24;border-radius:6px;place-items:center;display:grid}.studio-actions svg{width:17px}.studio-grid{grid-template-columns:minmax(240px,.9fr) minmax(310px,1.5fr) minmax(240px,.95fr);align-items:stretch;min-height:420px;display:grid}.block-library,.script-panel,.stage-panel{background:#fff;flex-direction:column;min-width:0;display:flex}.block-library,.script-panel{border-right:1px solid #d9d6e4}.studio-grid h3,.stage-head{letter-spacing:0;min-height:41px;margin:0;font-size:15px;font-weight:750}.block-library>h3,.script-panel>h3,.stage-head{background:#f9f8fd;border-bottom:1px solid #e1deea;padding:7px 13px}.studio-grid h3{gap:8px}.studio-grid h3 svg{color:#8564b4;width:17px}.library-inner{flex:1;grid-template-columns:70px 1fr;min-width:0;display:grid}.category-rail{background:#fbfafe;border-right:1px solid #e3dfeb;padding:6px 3px}.category-rail button{color:#4b4559;background:0 0;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;padding:7px 1px;font-size:11px;font-weight:650;display:flex}.category-rail button[aria-pressed=true]{box-shadow:inset 3px 0 var(--c);background:#edeaf6}.category-rail i{background:var(--c);border:1px solid var(--edge);border-radius:100%;width:17px;height:17px}.cat-gerakan{--c:#4c97ff;--edge:#3974c5}.cat-tampilan{--c:#96f;--edge:#774bcc}.cat-kejadian{--c:#ffbf00;--edge:#cf9600}.cat-kontrol{--c:#ffab19;--edge:#cb8110}.cat-operator,.condition-socket{--c:#59c059;--edge:#379343}.cat-variabel{--c:#ff8c1a;--edge:#ce6a0c}.palette-list{flex-direction:column;align-items:flex-start;gap:15px;min-width:0;padding:15px 11px;display:flex}.palette-list h4{color:#5c556a;margin:0 0 2px;font-size:14px}.palette-block,.script-line,.hat-block,.branch-end,.drag-preview{background:var(--c);color:#fff;border:1px solid var(--edge);text-shadow:0 1px 1px #0002;border-radius:6px;font-weight:700;position:relative}.palette-block,.script-line{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.palette-block{text-align:left;overflow-wrap:anywhere;max-width:100%;min-height:31px;padding:7px 10px;font-size:13px;line-height:1.4}.palette-block:after,.script-line:after,.hat-block:after,.branch-end:after{content:"";background:var(--c);border:1px solid var(--edge);z-index:1;border-top:0;border-radius:0 0 5px 5px;width:16px;height:5px;position:absolute;bottom:-5px;left:13px}.palette-block.cat-kejadian,.hat-block{border-top-left-radius:17px}.palette-block.cat-operator{border-radius:14px}.palette-block.cat-operator:after{display:none}.palette-block.selected,.script-group.picked>.script-line,.hat-block.aim,.condition-socket.aim{outline-offset:2px;outline:3px solid #7653c0}.script-panel{min-height:400px}.script-canvas{overscroll-behavior:contain;background-color:#f9f9fc;background-image:radial-gradient(#d5d2e0 1px,#0000 1px);background-size:16px 16px;flex:1;height:340px;max-height:520px;padding:24px 17px 54px;overflow:auto}.connected-stack{width:max-content;min-width:185px}.hat-block,.script-line{align-items:center;gap:5px;width:max-content;max-width:100%;min-height:33px;padding:4px 7px;font-size:13px;line-height:1.3;display:flex}.hat-block{color:#4d390e;gap:7px;padding:8px 10px 6px}.hat-block svg{color:#16874f}.script-line select,.script-line input,.hat-block select{color:#302e45;text-align:center;background:#fffffff1;border:1px solid #0002;border-radius:8px;max-width:130px;margin:0;padding:2px 3px;font:650 13px/1.3 Arial,sans-serif}.script-line input{-webkit-appearance:textfield;appearance:textfield;width:44px}.script-line input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.script-group{width:max-content}.move-grip,.remove-block,.operator-replace{color:inherit;background:0 0;place-items:center;padding:2px;display:grid}.move-grip{cursor:grab}.remove-block{background:#0002;border-radius:5px;width:18px;height:18px}.move-grip svg,.remove-block svg{width:13px;height:13px}.branch-body{border-left:12px solid var(--c);min-height:25px;margin-left:0;padding-left:4px}.branch-end{width:80px;min-width:80px;height:10px}.condition-socket{background:var(--c);border:1px solid var(--edge);border-radius:16px;align-items:center;gap:3px;padding:4px 7px;display:inline-flex}.condition-socket input{width:35px}.insert-slot{z-index:2;background:0 0;width:100%;min-width:112px;height:5px;padding:0;display:block;position:relative}.insert-slot.available:before,.insert-slot.aim:before{content:"";border:1px dashed #a287c6;border-radius:3px;position:absolute;inset:-2px 0}.insert-slot.available{height:13px}.insert-slot.aim:before{background:#a791d4;border:1px solid #7457aa}.insert-slot.vacant{color:#7b7488;background:#ffffffba;border:1px dashed #aaa1b9;border-radius:5px;height:29px;margin:4px 0;font-size:12px}.canvas-tools{color:#655a76;background:#fff;border-top:1px solid #dedce7;justify-content:space-between;gap:8px;min-height:42px;padding:6px 10px;font-size:12px}.canvas-tools button{background:#ece9f3;flex-shrink:0}.canvas-tools .aim{background:#f2bec1;outline:2px solid #da6270}.drag-preview{pointer-events:none;z-index:5000;padding:7px 10px;font:700 14px/1.4 Arial;position:fixed;box-shadow:0 4px 12px #25203740}.stage-panel{background:#f6f5fb}.stage-head{justify-content:space-between;min-height:41px;padding-block:4px}.stage-head h3{min-height:0}.stage-controls button{background:#e3f3e9}.stage-controls .flag-run{color:#16884e}.stage-controls .stop-run{background:#f8e4e6}.stop-run span{background:#d9515d;border-radius:3px;width:13px;height:13px}.stage-panel .stage{aspect-ratio:4/3;background-color:#fff;background-image:linear-gradient(#dddbe866 1px,#0000 1px),linear-gradient(90deg,#dddbe866 1px,#0000 1px);border-color:#cbc9da;flex-shrink:0;height:auto;margin:12px 10px 6px}.stage-panel .axisX,.stage-panel .axisY{background:#ac9ec558}.stage-panel .statRow,.stage-panel>.actions,.stage-panel>.muted,.stage-panel>small,.stage-panel .scenario{margin:5px 10px}.stage-panel .statRow span{color:#514662;background:#ebe7f3}.stage-panel>.muted,.stage-panel>small{color:#655d72;font-size:12px}.stage-panel .primary,.stage-panel .secondary{border-radius:6px;min-height:32px;padding:5px 8px;font-size:13px}.stage-panel .secondary{color:#554966;background:#fff;border:1px solid #c8c2d3}.stage-panel .scenario select{color:#4c405c;background:#fff}.stage-panel .sprite-info{background:#fff;border:1px solid #d2cadf;border-radius:8px;gap:9px;margin:11px 10px;padding:7px}.sprite-info img{width:34px;height:34px;image-rendering:pixelated}.sprite-info small,.sprite-info strong{display:block}.sprite-info small{color:#777083;font-size:11px}.sprite-info strong{font-size:13px}@media (max-width:1000px){.studio-grid{grid-template-columns:218px minmax(245px,1fr) minmax(195px,.8fr)}.library-inner{grid-template-columns:59px 1fr}.script-canvas{padding:18px 10px}.palette-list{padding:12px 8px}.stage-panel .actions{gap:5px}}@media (max-width:780px){.studio-grid{grid-template-columns:minmax(175px,.85fr) minmax(240px,1.3fr)}.stage-panel{border-top:1px solid #d2cadf;grid-column:1/-1}.stage-panel .stage{align-self:center;width:min(92%,420px)}.script-panel{border-right:0}.studio-page .editorHead h1{font-size:28px}}@media (max-width:480px){.studio-page{width:calc(100% - 18px)}.studio-grid{flex-direction:column;display:flex}.block-library{border:0}.library-inner{display:block}.category-rail{border:0;padding:3px 5px;display:flex;overflow-x:auto}.category-rail button{flex:1;min-width:48px;font-size:10px}.category-rail i{width:12px;height:12px}.category-rail button[aria-pressed=true]{box-shadow:inset 0 -2px var(--c)}.palette-list{flex-direction:row;align-items:center;gap:8px;padding:9px 8px 13px;overflow-x:auto}.palette-list h4{display:none}.palette-block{flex-shrink:0;max-width:155px}.script-panel{min-height:245px}.script-canvas{flex:auto;height:220px}.studio-bar{gap:6px;padding:6px 8px}.studio-status{font-size:11px}.studio-actions{gap:3px}.studio-title{font-size:14px}.studio-actions button{width:26px}}
