.mainWrapper{min-height:100vh;font-size:21px;font-family:var(--font-code),Inconsolata,monospace;background:#181818;margin:0;position:fixed;inset:0}.hidden{display:none!important}.icon{vertical-align:bottom;line-height:1;display:inline-block}#sliderArea{grid-template-rows:auto 1fr auto auto auto;justify-content:right;display:grid}#sliderArea .view-HueSlider{grid-area:1/5/4/6}#sliderArea .view-SatSlider{grid-area:3/3/4/4}#sliderArea .view-ValSlider{grid-area:3/4/4/5}#sliderArea .view-RedSlider{grid-area:4/2/5/3}#sliderArea .view-GreenSlider{grid-area:4/3/5/4}#sliderArea .view-BlueSlider{grid-area:4/4/5/5}#sliderArea .view-AlphaSlider{grid-area:4/5/5/6}#sliderArea #mainInput{grid-area:5/2/6/6}#sliderArea #mainColorDisplay{grid-area:3/2/4/3}#sliderArea #satValSlider{grid-area:1/2/3/5}#sliderArea #modeCopyController{grid-area:1/1/2/2}input{box-sizing:border-box;color:#aaa;letter-spacing:1px;background:#181818;border:1px solid #000;margin:0;padding:5px 0 5px 8px;font-family:Inconsolata,monospace;font-size:21px}input.invalid{background:#200e0e}#modeCopyController,#satValSlider,#mainColorDisplay,#mainInput,.vbar{background:#222;border:1px solid #000;border-radius:8px;padding:5px}.vbar{flex-direction:column;width:90px;padding-top:0;display:flex}.vbar .numberWrapper{border:1px solid #000;border-radius:4px;flex-grow:0;flex-shrink:0;height:42px;overflow:hidden}.vbar .sliderOuter{padding:12px 0;position:relative}.vbar .sliderOuter .sliderInner{box-sizing:content-box;background:linear-gradient(red,#000);border:1px solid #000;border-radius:3px;height:256px;top:11px;left:3px;right:3px}.vbar .sliderOuter .sliderMarker{box-sizing:content-box;background:0 0;border:7px solid #0000;border-color:#0000 #ccc;height:1px;margin-top:5px;position:absolute;top:180px;left:0;right:0}.vbar .numberWrapper{display:flex}.vbar .numberWrapper .numberBox{border:0;flex-grow:1;flex-shrink:1;width:0;padding-right:0}.vbar .numberWrapper .arrowWrapper{flex-direction:column;display:flex}.vbar .numberWrapper .arrow{color:#aaa;text-align:center;cursor:pointer;background:#333;flex-grow:1;flex-shrink:1;padding:10px 3px 0;font-size:14px;line-height:0}.vbar .numberWrapper .arrow:hover{background:#555}.vbar .numberWrapper .arrow:active{background:#181818}.vbar .numberWrapper .arrowUp{border-bottom:1px solid #000}.controlGroup{border:1px solid #000;border-radius:4px;flex-direction:row;display:flex;overflow:hidden}.controlGroup:not(:last-child){margin-bottom:5px}.controlGroup input{border:0;flex-grow:1}.controlGroup .button{color:#aaa;text-align:center;cursor:pointer;background:#333;min-width:34px;padding:5px 8px 6px;font-size:20px;position:relative}.controlGroup .button:not(:first-child){border-left:1px solid #000}.controlGroup .button:hover{background:#555}.controlGroup .button:active{background:#181818}.controlGroup .button.active{color:#000;background:#999}.controlGroup .button .desc{height:18px;padding-left:1ch;font-size:85%;display:inline-block}.controlGroup .button .buttonSuccessToast{padding:inherit;z-index:1;color:inherit;opacity:1;pointer-events:none;text-align:center;background:#555;transition:opacity .5s;position:absolute;inset:0}.controlGroup .button .buttonSuccessToast.fade{opacity:0}.controlGroup.vertical{flex-direction:column}.controlGroup.vertical .button{border-left:0}.controlGroup.vertical .button:not(:first-child):not(.first){border-top:1px solid #000}.controlGroup.vertical .button{text-align:left}#mainInput{width:auto}#mainColorDisplay{display:flex}#mainColorDisplay .inner{background:conic-gradient(#666 90deg,#999 90deg 180deg,#666 180deg 270deg,#999 270deg) 50%/16px 16px;border:1px solid #000;border-radius:4px;flex-direction:column;flex-grow:1;display:flex;overflow:hidden}#mainColorDisplay .inner .solid,#mainColorDisplay .inner .alpha{flex-grow:1}#satValSlider{padding:16px;display:flex}#satValSlider .sliderOuter{border:1px solid #000;width:100%;height:100%;position:relative}#satValSlider .sliderOuter .sliderInner{background-color:red;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#fff0);position:absolute;inset:0}#satValSlider .sliderOuter .sliderMarker{border-color:#fff;width:2px;height:2px;margin-top:-1px;margin-left:-1px;position:absolute;top:50px;left:50px}#satValSlider .sliderOuter .sliderMarker:before{content:"";border-left:6px solid #fff;border-right:6px solid #fff;border-color:inherit;width:6px;height:2px;position:absolute;top:0;left:-8px}#satValSlider .sliderOuter .sliderMarker:after{content:"";border-top:6px solid #fff;border-bottom:6px solid #fff;border-color:inherit;width:2px;height:6px;position:absolute;top:-8px;left:0}#modeCopyController{grid-gap:5px;display:grid}#modeCopyController .mainMode{grid-area:1/1/2/3}#modeCopyController .previews{grid-area:2/1/3/2}#modeCopyController .copys{grid-area:2/2/3/3}#modeCopyController .controlGroup{margin:0}#modeCopyController .previews .button{text-align:center}#gradientController{background:#181818;flex-direction:column;justify-content:center;padding:15px 0;display:flex;position:absolute;top:0;bottom:0;left:250px}#gradientController .gradientSwatch{background-image:conic-gradient(#666 90deg,#999 90deg 180deg,#666 180deg 270deg,#999 270deg)center/16px 16px repeat;border-radius:8px;flex-shrink:1;width:150px;height:150px;position:relative}#gradientController .gradientSwatch .addBefore,#gradientController .gradientSwatch .addAfter,#gradientController .gradientSwatch .addMultiBefore,#gradientController .gradientSwatch .duplicate,#gradientController .gradientSwatch .delete{text-align:center;cursor:pointer;z-index:3;color:#fff0;height:40px;padding:8px;font-size:23px;transition:color .2s;position:absolute}#gradientController .gradientSwatch .addBefore:hover,#gradientController .gradientSwatch .addAfter:hover,#gradientController .gradientSwatch .addMultiBefore:hover,#gradientController .gradientSwatch .duplicate:hover,#gradientController .gradientSwatch .delete:hover{color:#fff}#gradientController .gradientSwatch .addBefore:before,#gradientController .gradientSwatch .addAfter:before,#gradientController .gradientSwatch .addMultiBefore:before,#gradientController .gradientSwatch .duplicate:before,#gradientController .gradientSwatch .delete:before{content:"";z-index:-1;background:#181818;border-radius:5px;transition:top .15s ease-in,bottom .15s ease-in;position:absolute;inset:20px 0}#gradientController .gradientSwatch .addBefore:hover:before,#gradientController .gradientSwatch .addAfter:hover:before,#gradientController .gradientSwatch .addMultiBefore:hover:before,#gradientController .gradientSwatch .duplicate:hover:before,#gradientController .gradientSwatch .delete:hover:before{transition:top .15s ease-out,bottom .15s ease-out;top:0;bottom:0}#gradientController .gradientSwatch:hover .addBefore,#gradientController .gradientSwatch:hover .addAfter,#gradientController .gradientSwatch:hover .addMultiBefore,#gradientController .gradientSwatch:hover .duplicate,#gradientController .gradientSwatch:hover .delete{color:#fff3}#gradientController .gradientSwatch .addBefore,#gradientController .gradientSwatch .addMultiBefore{top:-20px}#gradientController .gradientSwatch .addBefore,#gradientController .gradientSwatch .addAfter{left:30%;right:30%}#gradientController .gradientSwatch .addMultiBefore{left:70%;right:0%}#gradientController .gradientSwatch .addAfter{bottom:-20px}#gradientController .gradientSwatch:not(:last-child) .addAfter,#gradientController .gradientSwatch:first-child .addMultiBefore{display:none}#gradientController .gradientSwatch .duplicate{width:40px;margin-top:-20px;top:50%;bottom:auto;left:-20px}#gradientController .gradientSwatch:only-child .delete{display:none}#gradientController .gradientSwatch .delete{width:40px;margin-top:-20px;inset:50% -20px auto auto}#gradientController .gradientSwatch:not(.active) .isActive{display:none}#gradientController .gradientSwatch .isActive{font-size:20px;position:absolute;top:8px;left:8px}#gradientController .gradientSwatch:hover+.gradientSwatch .addBefore,#gradientController .gradientSwatch:hover+.gradientSwatch .addMultiBefore{color:#fff3}#gridControllerWrapper{pointer-events:none;z-index:5;flex-direction:column;justify-content:center;display:flex;position:absolute;top:0;bottom:0;left:250px}#gridController{pointer-events:auto;background:#181818;border:1px solid #000;border-radius:8px;font-size:72px;position:relative}#gridController .elementArea{margin:32px;position:relative}#gridController #gridRenderCanvas{background-image:conic-gradient(#666 90deg,#999 90deg 180deg,#666 180deg 270deg,#999 270deg)center/16px 16px repeat;width:auto;height:auto;position:absolute;inset:32px}#gridController .gridSwatch{box-sizing:border-box;z-index:2;background-image:conic-gradient(#666 90deg,#999 90deg 180deg,#666 180deg 270deg,#999 270deg)center/16px 16px repeat;color:#000;background-position:50%;border:2px solid #000;border-radius:4px;width:52px;height:52px;margin-bottom:-26px;margin-left:-26px;display:block;position:absolute}#gridController .gridSwatch.light{color:#e7e7e7}#gridController .gridSwatch.unlocked{background:0 0;border-style:dashed}#gridController .gridSwatch{transition:all 50ms linear}#gridController .gridSwatch .isActive{margin-bottom:-2px;font-size:20px;position:absolute;bottom:50%;left:50%}#gridController .gridSwatch:not(.active) .isActive{display:none}#gridController:not(:hover) .gridSwatch{border-color:#0000;border-radius:8px;width:16px;height:16px;margin-bottom:-8px;margin-left:-8px}#gridController:not(:hover) .gridSwatch.unlocked{opacity:0}#gridController .gridRowControl,#gridController .gridGapControl{opacity:0;background:#18181800;border-radius:5px;justify-content:center;align-items:center;width:40px;height:40px;transition:all 50ms linear;display:flex;position:absolute}#gridController .gridRowControl:hover,#gridController .gridGapControl:hover{background:#181818}#gridController .gridRowControl .delete,#gridController .gridRowControl .add,#gridController .gridGapControl .delete,#gridController .gridGapControl .add{color:#fff3;cursor:pointer;font-size:20px}#gridController:hover .gridRowControl,#gridController:hover .gridGapControl{opacity:1}#gridController .gridRowControl.horizontal{margin-bottom:-20px;right:-68px}#gridController .gridRowControl.vertical{margin-left:-20px;bottom:-68px}#gridController .gridGapControl.horizontal{margin-bottom:-20px;left:-68px}#gridController .gridGapControl.vertical{margin-left:-20px;top:-68px}#historyView{background:#181818;width:200px;padding-right:10px;position:absolute;top:0;bottom:0;left:0}#historyView .historyGrad{border-top-right-radius:8px;border-bottom-right-radius:8px;height:30px;margin-bottom:2px;display:grid;overflow:hidden}#historyView .controlGroup{position:absolute;bottom:10px;left:10px}#previewCanvasCtx,#previewCanvasGl{z-index:-1;background:conic-gradient(#666 90deg,#999 90deg 180deg,#666 180deg 270deg,#999 270deg) 50%/16px 16px;position:absolute;inset:0}[data-template=true]{display:none}
