@charset "utf-8";
/*===============================================================*/
/*  PixNote - Pixel Art Sketchbook
/*  (c) 2026 Zeta Digital Lab
/*  http://zetalive.com
/*  Licensed under MIT License - see LICENSE file for details
/*===============================================================*/
.plug_color-mask {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}
.plug_color-base {
  position: relative;
  z-index: 100;
  width: 296px;
  background: #fff;
  box-shadow: 0 0 0 2px #000;
}
.plug_color-base .plug_color-pancel {
  padding: 8px;
  background: transparent;
  box-sizing: initial;
}
.plug_color-base .plug_color-pancel .color-board {
  width: 100%;
  padding-bottom: 60%;
  position: relative;
  overflow: hidden;
}
.plug_color-base .plug_color-pancel .color-board .color-pancel {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  cursor: pointer;
}
.plug_color-base .plug_color-pancel .color-board .color-pancel .saturation-white {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: -webkit-linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.plug_color-base .plug_color-pancel .color-board .color-pancel .saturation-white .saturation-black {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: -webkit-linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
}
.plug_color-base .plug_color-pancel .color-board .color-pancel .saturation-white .pickerBtn {
  position: absolute;
  top: 0%;
  left: 100%;
}
.plug_color-base .plug_color-pancel .color-board .color-pancel .saturation-white .pickerBtn .pickerBtn-in {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  box-shadow: inset 0px 0px 0px 1px #ffffff, 0 0 0 1px #000;
  transform: translate(-6px, -6px);
}
.plug_color-base .plug_color-pancel .color_hue {
  padding-top: 8px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix {
  display: flex;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 {
  align-items: center;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_l {
  width: 32px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_l .color_showBox {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAgMAAAC5YVYYAAAAA3NCSVQICAjb4U/gAAAACVBMVEX////MzMz///8IuwXkAAAAA3RSTlP//wDXyg1BAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8wMi8yNqom1tIAAAAPSURBVAiZY2AIZYAjJCYAH/gCqXmsozkAAAAASUVORK5CYII=);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_l .color_showBox .plug_color-showColor {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset;
  z-index: 2;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_l .color_showBox .cs_mask {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r {
  -webkit-box-flex: 1;
  flex: 1 1 0%;
  cursor: pointer;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox {
  height: 10px;
  position: relative;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox .hueringBox-in {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox .hue-horizontal {
  padding: 0px 2px;
  position: relative;
  height: 100%;
  background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
  background: -webkit-linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox .hue-horizontal .colorBar-color-picker {
  position: absolute;
  left: 0%;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox .hue-horizontal .colorBar-color-picker .colorBar-colorhue-cur {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  transform: translate(-6px, -1px);
  background-color: #f8f8f8;
  box-shadow: rgba(0, 0, 0, 0.37) 0px 1px 4px 0px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix1 .huering_r .hueringBox .hue-vertical {
  background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
  background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix2 {
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix2 .transparencyBox {
  padding: 0px 2px;
  position: relative;
  height: 10px;
  width: 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAgMAAADwXCcuAAAAA3NCSVQICAjb4U/gAAAACVBMVEX////MzMz///8IuwXkAAAAA3RSTlP//wDXyg1BAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8wMi8yNqom1tIAAAATSURBVAiZY2AQDWBAx6EODOgYAFiJBOMcZjnBAAAAAElFTkSuQmCC);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix2 .transparencyBox .transparency-color {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #000);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix2 .transparencyBox .colorBar-opacity-picker {
  position: absolute;
  left: 100%;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix2 .transparencyBox .colorBar-opacity-picker .transparency-cur {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  transform: translate(-6px, -1px);
  background-color: #f8f8f8;
  box-shadow: rgba(0, 0, 0, 0.37) 0px 1px 4px 0px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-hexBox {
  padding-left: 6px;
  width: 100%;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-hexBox .plug_color-hexBox-in {
  position: relative;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-hexBox .plug_color-hexInput {
  font-size: 16px;
  color: #333333;
  width: 100%;
  border-radius: 2px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px inset;
  height: 24px;
  text-align: center;
  text-transform: uppercase;
  transform: translateZ(0);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-hexBox .plug_color-hexSpan {
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: block;
  margin-top: 8px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-rgbBox {
  padding-left: 6px;
  width: 100%;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-rgbBox .plug_color-rgbBox-in {
  position: relative;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-rgbBox .plug_color-hexInput {
  font-size: 16px;
  color: #333333;
  width: 100%;
  border-radius: 2px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px inset;
  height: 24px;
  text-align: center;
  transform: translateZ(0);
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-rgbBox .plug_color-hexSpan {
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: block;
  margin-top: 8px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-inputWrap {
  -webkit-box-flex: 1;
  flex: 1 1 0%;
  display: flex;
  margin-left: -6px;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-showModeBtn {
  width: 32px;
  text-align: right;
  position: relative;
}
.plug_color-base .plug_color-pancel .color_hue .flexbox-fix3 .plug_color-showModeBtn .showModeBtn-in {
  margin-right: -4px;
  cursor: pointer;
  position: relative;
}
.plug_color-base .color_g {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 -1px 0 0 rgba(0, 0, 0, 0.2);
}
.plug_color-base .color_g .color-palette {
  display: grid;
  grid-template-columns: repeat(10, auto);
  width: 100%;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2);
}
.plug_color-base .color_g .color-palette .color-palette-item {
  height: 24px;
  cursor: pointer;
}
.plug_color-base .color_g .color-palette .color-palette-item:hover {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #000;
}
.plug_color-base .color_g .color_diy {
  display: grid;
  grid-template-columns: repeat(8, auto);
  /* 一行8列，宽度自适应子元素固定宽 */
  gap: 4px;
  width: 100%;
  padding: 8px;
}
.plug_color-base .color_g .color_diy li {
  height: 24px;
  clip-path: polygon(0 2px, 2px 2px, 2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4), inset 0 -6px 0 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.plug_color-base .color_g .color_diy .act {
  clip-path: none;
  box-shadow: 0 0 0 1px #000, inset 0 0 0 2px #000, inset 0 0 0 4px #fff;
}
.plug_color-base .btn_color {
  display: flex;
  justify-content: space-between;
  padding: 8px;
}
.plug_color-base .btn_color .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 136px;
  height: 40px;
  padding-bottom: 2px;
  border-radius: 2px;
  background: #46470E;
  font-size: 16px;
  line-height: 1;
  color: #FFF;
  transform: translateZ(0);
  clip-path: polygon(0 2px, 2px 2px, 2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px));
  box-shadow: inset 0 0 0 2px #000, inset 0 -6px 0 0 rgba(0, 0, 0, 0.3);
}
.plug_color-base .btn_color .btn:last-child {
  background: #CACE28;
}
