/* 咪牌刮刮乐 — 参考 1pc.cc mipai.css */

.mipai {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  box-sizing: border-box;
}

.mipai.is-open {
  display: flex;
}

.mipai-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
}

.mi-index {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  z-index: 11;
}

.mi_bg {
  display: block;
  width: 100%;
  margin-top: 40px;
}

.mi-close {
  position: absolute;
  top: 2%;
  right: 2%;
  z-index: 999;
  width: 40px;
  height: 40px;
  background: url('../img/mi/ggl-close.png') no-repeat center;
  background-size: 100% 100%;
  cursor: pointer;
}

.mi-center-wrap {
  position: relative;
  top: -9px;
  background: #eb7a6a;
  padding: 10px 0;
  border-radius: 4px;
}

.mi_top_box {
  text-align: center;
  width: 100%;
  color: #fff;
}

.top-title {
  font-size: 16px;
}

.mi_top_box #mi-qishu {
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.center {
  position: relative;
  width: 86%;
  height: 188px;
  margin: 0 auto;
}

.center-lo {
  display: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}

.center-lo.is-loading {
  display: block;
}

.scratch-wrap {
  position: relative;
  width: 100%;
  height: 188px;
  border-radius: 7px;
  overflow: hidden;
}

#mi-scratch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  cursor: crosshair;
  touch-action: none;
  background: #9e9e9e;
}

.scratch-wrap:not(.is-scratch-ready) .center-data {
  visibility: hidden;
}

.center-data {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  background: #fff;
}

.center-num {
  font-size: 28px;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  border-radius: 50%;
  border: 2px solid #111;
  color: #111;
  font-weight: bold;
}

.center-sum {
  font-size: 36px;
  line-height: 48px;
  color: #120301;
  margin: 0 4px;
  font-weight: bold;
}

.mi_bottom_box {
  width: 100%;
  font-size: 14px;
  color: #fff;
  text-align: center;
  padding: 8px 0 4px;
}

.mi_bottom_box #mi-qishu2 {
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.mi_bottom_box #mi-time {
  color: #333;
  font-weight: 600;
}

.kj-item .issue-mi {
  display: inline-block;
  margin-top: 10px;
  margin-left: 0;
  background: linear-gradient(to bottom, #c62d1f, #f24437);
  border-radius: 18px;
  color: #fff;
  font-size: 16px;
  padding: 5px 15px;
  border: solid #d02718 1px;
  cursor: pointer;
  box-shadow: 3px 4px 0 0 #8a2a21;
}

.kj-item .issue-mi:hover {
  background: #f24437;
}

@media screen and (max-width: 720px) {
  .top-title {
    font-size: 14px;
  }
  .mi_bottom_box {
    font-size: 12px;
  }
  .center {
    width: 92%;
    height: 160px;
  }
  .scratch-wrap {
    height: 160px;
  }
}
