html,body{height:100%;overflow:hidden}div#fun{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;height:100vh;height:100dvh;box-sizing:border-box;overflow:hidden}div.appShell{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}div.workspace{display:flex;gap:0;align-items:stretch;flex:auto;min-height:0}div.previewColumn{flex:1 1 68%;min-width:0;min-height:0;display:flex;flex-direction:column}div.controlsColumn{flex:0 0 360px;width:360px;min-height:0;display:flex;flex-direction:column}div.mobileSplitBar{display:none}div.titleRow,div.settingsBar,div.settingsArea{margin-bottom:0;border:1px solid #000;background-color:#5e5e5e;color:#fff;box-sizing:border-box}div.titleRow{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 12px 8px;background:linear-gradient(#6c6c6c,#505050)}div.titleBlock{flex:auto;min-width:0;display:flex;align-items:center;gap:48px;position:relative;box-sizing:border-box}div.titleBrand{display:inline-block;position:relative;max-width:100%}div.titleRow img.titleLogo{display:block;width:auto;max-width:100%;height:44px}span.titleVersion{position:absolute;bottom:1px;right:-34px;color:#cbb98c;font-size:11px;line-height:1;letter-spacing:.08em;text-shadow:0 1px 0 rgba(0,0,0,.45);white-space:nowrap}a.titleSiteLink{display:inline-block;padding:5px 12px 4px;border:1px solid #3b372d;background:linear-gradient(#7a735f,#5f5849);color:#f0e1b5;text-decoration:none;font-size:13px;line-height:1.15;white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.55);box-shadow:inset 0 1px rgba(255,255,255,.2)}span.titleSiteLabelMobile{display:none}a.titleSiteLink:hover,a.titleSiteLink:focus{background:linear-gradient(#887f68,#69614f);color:#fff1c9}div.titleRow span.title{display:block;font-weight:700;font-size:26px;line-height:1.1;color:#a5f3f2}div.titleRow span.subtitle{display:block;margin-top:4px;color:#ececec;font-size:13px;line-height:1.35}div.titleControls{display:flex;flex:none;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}span.fieldLabel,span.previewLabel,div.controlTitle{font-weight:700;color:#f3f3f3}div.titleControls input[type=button]{min-width:98px}div.settingsBar{padding:8px 10px;background:linear-gradient(#6a6a6a,#555555);font-size:13px}div.settingsBarSample{display:flex;flex-wrap:wrap;align-items:center;gap:8px}div.settingsBarActions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}input#loadImageInput{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}input#pipelineImportInput{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}div.settingsArea{padding:12px;background:linear-gradient(#676767,#535353);font-size:14px;flex:auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}div.controlGroup{padding:10px;margin-bottom:8px;border:1px solid #2e2e2e;background-color:rgba(0,0,0,.12)}div.controlGroup:last-child{margin-bottom:0}div.controlTitle{margin-bottom:8px;font-size:15px}div.controlRow{display:flex;align-items:center;gap:10px;margin-bottom:8px}div.controlRowRange{align-items:center;margin-bottom:0}input,select{box-sizing:border-box}input[type=text]{width:64px;max-width:100%}input[type=button]{min-width:86px}div.pipelineHeader{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:8px}div.pipelineHeaderActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}div.pipelinePresetBar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}div.pipelinePresetBar select{flex:auto;min-width:0}input#pipelinePresetApplyButton{min-width:56px}div.pipelineHeaderActions input[type=button]{min-width:60px}div#pipelineStages{display:flex;flex-direction:column;gap:6px}div.pipelineStage{position:relative;border:1px solid #2d2d2d;background-color:rgba(255,255,255,6%);padding:8px}div.pipelineStage.stageDisabled{background-color:rgba(0,0,0,.26);border-color:#1f1f1f;opacity:.6}div.pipelineStage.stageDragging{opacity:.72}div.pipelineStage.stageDropBefore{box-shadow:inset 0 2px #a5f3f2}div.pipelineStage.stageDropAfter{box-shadow:inset 0 -2px #a5f3f2}div.pipelineFooter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}div.pipelineStageHeader{display:flex;align-items:flex-start;gap:8px;margin-bottom:6px;padding-right:52px}div.stageTitleBlock{flex:auto;min-width:0}input.stageActionButton,input.stageHelpButton,input#pipelineAddButton{box-sizing:border-box}button.stageDragHandle,input.stageActionButton,input#pipelineAddButton{min-width:28px;width:28px;height:24px;padding:0;border:1px solid #343434;background-color:rgba(255,255,255,.12);color:#fff}button.stageDragHandle{cursor:grab;touch-action:none}input.stageCloseButton{position:absolute;top:6px;right:6px;min-width:20px;width:20px;height:20px;line-height:18px;background-color:rgba(0,0,0,.3)}span.stageHelp{position:absolute;top:6px;right:32px;z-index:2}input.stageHelpButton{min-width:20px;width:20px;height:20px;padding:0;border:1px solid #3d5f86;background-color:rgba(82,127,181,.42);color:#eef6ff;font-size:12px;font-weight:700;line-height:18px;border-radius:10px;cursor:help}span.stageHelpBubble{display:none;position:absolute;top:22px;right:0;width:240px;padding:6px 8px;border:1px solid #3b3b3b;background-color:#f0e5b6;color:#1f1f1f;font-size:12px;line-height:1.35;white-space:normal;box-shadow:2px 2px rgba(0,0,0,.28)}span.stageHelp:hover span.stageHelpBubble,span.stageHelp:focus-within span.stageHelpBubble{display:block}span.stageTitle{display:block;font-weight:700;color:#fff}label.stageEnabled{display:inline-flex;align-items:center;white-space:nowrap}div.stageSettings{display:flex;flex-direction:column;gap:6px;padding-top:4px}div.stageRow{display:flex;align-items:center;gap:8px;min-width:0}div.stageRow span.fieldLabel{min-width:88px;white-space:nowrap}span.stageMiniLabel{font-size:12px;color:#dedede;white-space:nowrap}label.stageRadioLabel{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}div.stageRow input.stageInput{width:52px;flex:0 0 52px}div.stageRow input.stageColorPicker{width:52px;flex:0 0 52px;height:24px;padding:1px}div.stageRow input.stageColorText{width:78px;flex:0 0 78px}div.stageRow input.stageRange{flex:auto;min-width:120px}div.stageRow select{flex:auto;min-width:0}div.stageMeta{margin-left:96px;font-size:12px;color:#dedede;line-height:1.35;white-space:normal}div.stagePaletteMeta{white-space:normal}div.stagePaletteSwatchBar{display:flex;height:14px;margin-left:96px;border:1px solid rgba(0,0,0,.45);background-color:rgba(0,0,0,.18);overflow:hidden}div.stagePaletteSwatchBar.stagePaletteSwatchBarActive{box-shadow:0 0 0 1px rgba(165,243,242,.65)}span.stagePaletteSwatch,button.stagePaletteSwatch{display:block;flex:auto;min-width:2px}button.stagePaletteSwatch{border:0;padding:0;margin:0;cursor:pointer;position:relative;background-clip:padding-box}button.stagePaletteSwatch:disabled{cursor:default}button.stagePaletteSwatch.stagePaletteSwatchActive{z-index:1}button.stagePaletteSwatch.stagePaletteSwatchActive:before,button.stagePaletteSwatch.stagePaletteSwatchActive:after{content:"";position:absolute;left:0;right:0;height:2px;background-color:rgba(255,255,255,.92);pointer-events:none}button.stagePaletteSwatch.stagePaletteSwatchActive:before{top:0;box-shadow:0 1px rgba(0,0,0,.55)}button.stagePaletteSwatch.stagePaletteSwatchActive:after{bottom:0;box-shadow:0 -1px rgba(0,0,0,.55)}input.stagePaletteColorText{width:78px;flex:0 0 78px}span.stagePaletteIndexLabel{min-width:40px;text-align:right}select#pipelineAddSelect{flex:auto;min-width:0}body.pipelineDragging{cursor:grabbing}div.previewBar{display:flex;align-items:center;justify-content:flex-start;gap:8px;position:relative;z-index:2}div.previewBarPrimary{display:flex;align-items:center;gap:6px;flex:1;min-width:0;flex-wrap:nowrap}div.previewBarStatus{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none;min-width:0;margin-left:auto;white-space:nowrap}input#previewFitButton,input#previewZoomOutButton,input#previewZoomInButton{min-width:30px;padding-left:8px;padding-right:8px}input#previewFitButton{min-width:44px}span#previewZoomValue{display:inline-block;min-width:58px;text-align:right;white-space:nowrap;color:#f3f3f3}input#previewCenterButton,input#previewToggleButton{min-width:0;padding-left:8px;padding-right:8px}span#previewResolution{white-space:nowrap}div.performanceNotice{display:none;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #000;border-top:0;background:linear-gradient(#f0e5b6,#dfcf8a);color:#272113;font-size:13px;line-height:1.35}span.performanceNoticeText{display:block;flex:auto;min-width:0}div.performanceNoticeActions{display:flex;flex:none;align-items:center}input#performanceNoticeAcknowledgeButton{min-width:112px}div.previewBarPrimary{display:flex;flex:1;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0}div.previewBarStatus{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}span#previewResolution{color:#ececec;font-size:12px;white-space:nowrap}input#previewCenterButton{min-width:76px}input#previewToggleButton{min-width:120px}span.previewHelp{position:relative;display:inline-flex;align-items:center;flex:none;z-index:3}input.previewHelpButton{cursor:help}span.previewHelpBubble{top:auto;bottom:24px;right:0;width:260px;z-index:4}span.previewHelp:hover span.previewHelpBubble,span.previewHelp:focus-within span.previewHelpBubble{display:block}div#display{background-color:#f7f7f7;border:1px solid #000;flex:auto;min-height:260px;overflow:hidden;box-shadow:inset 0 0 0 1px #d6d6d6;display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;position:relative}div#display canvas{display:block;width:100%;height:100%;max-width:100%;max-height:100%;image-rendering:optimizeSpeed;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor}div.previewEmptyState{position:absolute;top:0;left:0;right:0;bottom:0;display:none;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;z-index:150}div.previewEmptyStatePanel{max-width:360px;padding:16px 18px 14px;border:1px solid #3a3a3a;background:linear-gradient(rgba(103,103,103,.94),rgba(83,83,83,.94));color:#f3f3f3;text-align:center;box-shadow:2px 2px rgba(0,0,0,.28)}div.previewEmptyStateTitle{margin-bottom:10px;font-size:22px;font-weight:700;line-height:1.2;color:#a5f3f2}div.previewEmptyStateActions{margin-bottom:10px}input#previewLoadImageButton{min-width:124px}div.previewEmptyStateHint{font-size:13px;line-height:1.4;color:#ececec}div#display.previewCanPan{touch-action:none}div#display.previewCanPan canvas{cursor:grab}div#display.previewPanning canvas{cursor:grabbing}div#display.previewZooming canvas{cursor:zoom-in}body.mobileSplitDragging{cursor:row-resize}div.mobileSplitBar{flex:0 0 18px;align-items:center;justify-content:center;padding:0 10px;border-left:1px solid #000;border-right:1px solid #000;background:linear-gradient(#686868,#545454);box-sizing:border-box;cursor:row-resize;touch-action:none}div.mobileSplitHandle{width:64px;height:8px;border:1px solid #2d2d2d;background:linear-gradient(#9a9a9a,#7e7e7e);box-shadow:inset 0 1px rgba(255,255,255,.35);position:relative}div.mobileSplitHandle:before{content:"";position:absolute;top:1px;left:7px;right:7px;bottom:1px;background-image:linear-gradient(90deg,transparent 0px,transparent 6px,rgba(255,255,255,.42) 6px,rgba(255,255,255,.42) 8px,transparent 8px,transparent 14px,rgba(255,255,255,.42) 14px,rgba(255,255,255,.42) 16px,transparent 16px,transparent 22px,rgba(255,255,255,.42) 22px,rgba(255,255,255,.42) 24px,transparent 24px,transparent 30px,rgba(255,255,255,.42) 30px,rgba(255,255,255,.42) 32px,transparent 32px,transparent 38px,rgba(255,255,255,.42) 38px,rgba(255,255,255,.42) 40px,transparent 40px)}div#catcher{position:absolute;top:0;left:0;overflow:hidden;height:100%;width:100%;margin:0;z-index:-1}body{margin:0;min-width:0;font-family:arial,sans-serif;font-size:16px;background-image:url(bgPattern.png);background-repeat:repeat;background-color:#6a6a6a}@media(max-width:980px){div.workspace{flex-direction:column;gap:0}div.previewColumn{flex:0 0 50%}div.controlsColumn{width:auto;flex:auto}div.mobileSplitBar{display:flex}div.stageMeta{margin-left:0}div.stagePaletteSwatchBar{margin-left:0}}@media(max-width:720px){div.titleRow,div.settingsBar{font-size:15px}div.settingsArea{font-size:14px;padding:8px}div.titleRow{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:8px}div.titleBlock{flex:auto;min-width:0;gap:12px}div.titleBrand{flex:none}div.titleRow img.titleLogo{height:36px}span.titleVersion{display:none}a.titleSiteLink{padding:3px 7px 2px;font-size:11px}span.titleSiteLabelDesktop{display:none}span.titleSiteLabelMobile{display:inline}div.titleControls{margin-top:0;justify-content:flex-end;flex-wrap:nowrap;gap:4px}div.titleControls input[type=button]{min-width:0;min-height:30px;padding:0 6px;font-size:13px}input,select{font-size:16px}input[type=button],input[type=text],select{min-height:32px}div.settingsArea input[type=button],div.settingsArea input[type=text],div.settingsArea select{min-height:28px}div.controlGroup{padding:8px;margin-bottom:6px}div.controlTitle{margin-bottom:6px;font-size:14px}div.pipelineHeader,div.pipelinePresetBar,div.pipelineFooter{gap:6px}div.pipelineHeader,div.pipelinePresetBar{margin-bottom:6px}div#pipelineStages{gap:4px}div.pipelineStage{padding:6px}div.pipelineStageHeader{gap:6px;margin-bottom:4px;padding-right:48px}div.stageSettings{gap:4px;padding-top:2px}div#display{min-height:140px;padding:0}div.performanceNotice{align-items:flex-start;flex-direction:column}div.performanceNoticeActions{width:100%}input#performanceNoticeAcknowledgeButton{min-width:0;width:100%}div.previewEmptyState{padding:12px}div.previewEmptyStatePanel{width:100%;max-width:320px;padding:14px 14px 12px}div.previewEmptyStateTitle{font-size:18px}div.previewBar{align-items:center;gap:8px}div.previewBarPrimary{gap:6px;flex:1}div.previewBarStatus{gap:2px}span#previewZoomLabel{display:inline;font-size:12px}span#previewResolution{display:inline;font-size:11px}input#previewToggleButton,input#previewCenterButton,input#previewFitButton,input#previewZoomOutButton,input#previewZoomInButton{min-width:0;flex:none;padding-left:4px;padding-right:4px;font-size:12px}input#previewZoomOutButton,input#previewZoomInButton{display:none}span#previewZoomValue{flex:none;min-width:40px;font-size:12px}div.stageRow{flex-wrap:nowrap;gap:4px}div.stageRow span.fieldLabel{width:auto;min-width:0;flex:0 0 clamp(78px,24vw,88px)}div.stageRow input.stageRange,div.stageRow select{min-width:0;flex:auto}div.stageRow input.stageInput,div.stageRow input.stageColorPicker{width:44px;flex:0 0 44px}div.stageRow input.stageColorPicker{height:28px}div.stageRow input.stageColorText,input.stagePaletteColorText{width:64px;flex:0 0 64px}div.stageMeta{font-size:11px;line-height:1.3}div.pipelinePresetBar span.fieldLabel,div.pipelineFooter span.fieldLabel{width:100%}}