#panel-conf {
  box-sizing: border-box;
  display: none;
  grid-template-rows: 30px 1fr;
  width: 460px;
  /* height: 165px; */
  border-radius: 4px;
  position: absolute;
  top: 145px;
  left: calc(50% - 460px / 2);
  background: rgba(30,33,46,0.9);
  box-shadow: 0 2px 14px 0px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
#panel-conf-header {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
  width: 100%;
  height: 30px;
  border-radius: 4px 4px 0 0;
  font-size: 12px;
  color: #85a1c8;
  background: #0c0e26;
  cursor: pointer;
}
#panel-conf-header span:first-child::before{
  content: "";
  width: 24px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  background: url(../img/play_conf_blue.svg) no-repeat left -2px;
  background-size: contain;
}
#panel-conf-header span:nth-child(2)::before{
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  background: url(../img/ic_close2.svg) no-repeat left center;
  background-size: contain;
}


#panel-conf-body {
  display: block;
  box-sizing: border-box;
  padding: 15px 15px;
  width: 100%;
  color: #fff;
  font-size: 11px;
}

#play-mode-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  width: 100%;
  height: 26px;
}
#form-title-mode {
  border-right: solid 1px #85a1c8;
  text-align: right;
  padding: 0 16px 0 0;
  height: 26px;
  box-sizing: border-box;
}
#form-title-mode::before{
  content:"";
  vertical-align: middle;
  display: inline-block;
  width: 16px;
  height: 26px;
  background: url(../img/play_play.svg) no-repeat center center;
  background-size: 16px 16px;
}
.form-title-disable {
  color: rgba(255, 255, 255, 0.4)
}

.form-title-disable::before {
  opacity: 0.3;
}

#play-mode-selector{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 25px;
  font-size: 11px;
}

.selector-disable {
  opacity: 0.3;
  pointer-events: none;
}

#play-mode-normal {
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 5px 0 0 5px;
  border: solid 1px #85a1c8;
  color: #85a1c8;
  height: 25px;
  cursor: pointer;
}

body.normalPlay #play-mode-normal {
  background: #fc3;
  color: rgba(30,33,46,1);
  border: solid 1px #fc3;
}

#play-mode-span {
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 0 5px 5px 0;
  border: solid 1px #85a1c8;
  color: #85a1c8;
  border-left: none;
  height: 25px;
  cursor: pointer;
}

body.framePlay #play-mode-span {
  background: #FF77B6;
  color: rgba(30,33,46,1);
  border: solid 1px #FF7786;
}

#play-range-col {
  display: block;
  width: 100%;
}

#form-title-play-speed {
  display: grid;
  grid-template-columns: 110px 1fr 100px;
  align-items: center;
  height: 25px;
  gap: 10px;
  margin: 10px 0 0 0;
}
#form-title-play-speed-title {
  border-right: solid 1px #85a1c8;
  text-align: right;
  padding: 0 16px 0 0;
  box-sizing: border-box;
  font-size: 11px;
  color: #fff;
  user-select: none;
}

#form-title-play-speed-title::before{
  content:"";
  vertical-align: middle;
  display: inline-block;
  width: 16px;
  height: 25px;
  background: url(../img/play_play.svg) no-repeat center center;
  background-size: 16px 16px;
}
#form-title-play-speed-title.fx {
  animation: blink 0.4s 3 forwards;
}

#form-title-play-span {
  display: grid;
  grid-template-columns: 110px 1fr 100px;
  align-items: center;
  height: 25px;
  gap: 10px;
  margin: 10px 0 10px 0;
}
#form-title-play-span-title {
  border-right: solid 1px #85a1c8;
  text-align: right;
  padding: 0 16px 0 0;
  box-sizing: border-box;
  font-size: 11px;
  color: #fff;
  user-select: none;
}
#form-title-play-span-title::before{
  content:"";
  vertical-align: middle;
  display: inline-block;
  width: 18px;
  height: 25px;
  background: url(../img/play_frame.svg) no-repeat center center;
  background-size: 18px 18px;
}
#form-title-play-span-title.fx {
  animation: blink 0.4s 1 forwards;
}

#play-speed {
  display: grid;
}

#play-speed2 {
  display: grid;
}


.input-area {
  display: grid;
  align-items: center;
}
.input-area input{
  width: 100%;
}
.value-display {
  color: #fff;
  background: rgba(0,0,0,0.6);
  width: 90px;
  height: 25px;
  display: grid;
  align-items: center;
  text-align: center;
  border-radius: 4px;
  font-family: Monda, sans-serif;
  font-size: 12px;
}

#display3 {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
}

#frame {
  display: inline;
  margin: 0 6px 0 0; 
}
#time {
  display: inline;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  height: 2px; 
  width: 100%;
  background: #85a1c8;
  border-radius: 2px;
}
input[type="range"]:disabled {
  background: rgba(255, 255, 255, 0.3);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

input[type="range"]:disabled::-webkit-slider-thumb {
  background: rgba(255, 255, 255, 0.3);
}

input[type="range"]::-moz-range-thumb {
  background: #85a1c8;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
}
input[type="range"]:disabled:-moz-range-thumb {
  background: rgba(255, 255, 255, 0.3);
}
input[type="range"]::-moz-focus-outer {
  border: 0;
}

input[type="range"]:active::-webkit-slider-thumb {
  background: rgba(255, 255, 255, 0.7)
}


#panel-conf.active {
  animation: zoomIn cubic-bezier(0.075, 0.82, 0.165, 1) 0.6s;
  display: grid;
}


@keyframes zoomIn {
  0% {
    opacity: 0;
    display: grid;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}