.so-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

input[type='radio'] {
  width: 20px;
  height: 20px;
}

.so-plate {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  background: #fff;
  padding: 12px 12px 0 12px;
}

.so-plate-head {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.so-plate-type {
  // -webkit-box-flex: 1;
  // flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-right: 5px;
}

// .so-plate-type  {

//     margin-right: 5px;
// 	line-height: 30px;
//     height: 30px;
//     vertical-align: middle;
// }

.so-plate-body {
  box-sizing: border-box;
  padding: 15px 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.so-plate-word {
  border: 0.5px solid #ccc;
  border-radius: 5px;
  height: 0;
  margin: 0 2.5px;
  padding: 16px;
  box-sizing: border-box;
  padding-bottom: calc(4.28571429%);
  width: calc(4.28571429%);
  position: relative;
}

.so-plate-word.active {
  border-color: #007aff;
  box-shadow: 0 0 7px 0 #007aff;
}

.so-plate-word span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  font-weight: 700;
  font-size: 16px;
}

.so-plate-dot {
  width: 7px;
  height: 7px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 2.5px;
}

.so-plate-keyboard {
  background: #eee;
  margin-left: -12px;
  margin-right: -12px;
  padding: 10px 12px 5px 12px;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

.so-plate-keyboard-item {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

.so-plate-key {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 4px 0 #bbb;
  width: 40px;
  height: 40px;
  margin: 2.5px 0;
  font-size: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
}

.so-plate-key.hover {
  background: #efefef;
}

.fill-block {
  width: 40px;
  height: 40px;
  background: none;
  // box-shadow: none;
  background-color: transparent;
}

.so-plate-btn {
  display: inline-block;
  background: #fff;
  padding: 6px 8px;
  border-radius: 5px;
  box-shadow: 0 0 5px 0 #bbb;
  font-size: 14px;
  text-align: center;
  margin: 0 0 0 5px;
}

.so-plate-btn-group {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  background: #eee;
  margin-left: -12px;
  margin-right: -12px;
  box-sizing: border-box;
  padding: 0 12px 5px 12px;
}

.so-plate-btn--cancel {
  margin: 0;
}

.so-plate-btn--submit {
  background: #5773f9;
  color: #fff;
}

.so-plate-btn--delete {
  color: #fd6b6d;
}

.animation-scale-up {
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: scale-up;
  animation-name: scale-up;
}

@-webkit-keyframes scale-up {
  0% {
    opacity: 0.8;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale-up {
  0% {
    opacity: 0.8;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}