body {
  background-color: #110D30;
}
.score {
  font-size: 30px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
  margin-top: 4px;
}
.canvas-box {
  position: relative;
}
#canvas {
  display: block;
  background-color: #110D30;
  margin: 16px auto 24px;
  border-bottom: 3px solid #28224F;
}
.props {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon {
  width: 48px;
}
.preview {
  width: 78px;
  height: 84px;
  margin: 0 auto;
  border: 4px solid #FFFFFF;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.square {
  width: 54px;
}
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.prop {
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.icon-prop {
  width: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.rewarded-box, .spent-box {
  margin-top: 4px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4F82FF;
  box-shadow: 0px 3px 0px 0px #274284;
  border-radius: 8px;
}
.spent-box {
  background-color: #FFB015;
  box-shadow: 0px 3px 0px 0px #C16A0D;
}
.rewarded-diamond, .spent-diamond {
  width: 18px;
}
.rewarded-number, .spent-number {
  margin-top: 4px;
  font-size: 10px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
}
.disabled {
  opacity: 0.2;
}
.preload {
  display: none;
}
.mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 13, 48, 0.7) 0%, #110D30 100%);
}
.close {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
}
.prop-box {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.current-prop {
  width: 132px;
}
.usage {
  font-size: 16px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
  line-height: 22px;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.container {
  width: 268px;
  height: 268px;
  background-color: #110D30;
  border-radius: 24px;
}
.modal-button-top-right {
  display: block;
  width: 32px;
  margin: 8px 8px 0 auto;
}
.diamond-gift {
  display: block;
  width: 60px;
  margin: 0 auto;
}
.over .diamond-gift {
  width: 27px;
}
.modal .square {
  display: block;
  width: 54px;
  margin: 0 auto;
  border: 3px solid #fff;
  border-radius: 15px;
}
.modal-text {
  margin: 12px 0;
  text-align: center;
  font-size: 18px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
}
.over .modal-text {
  font-size: 48px;
}
.modal-diamond-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 18px;
  font-family: Fonarto-Bold;
  font-weight: bold;
}
.icon-diamond {
  width: 24px;
  margin-right: 6px;
}
.reward-num {
  font-size: 16px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
  margin-top: 6px;
}
.modal-button-bottom {
  width: 198px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: #56A4FF;
  box-shadow: 0px 6px 0px 0px #2D5DC7;
  border-radius: 18px;
  background-image: url('../assets/images/button-flash.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 30px;
}
.reward .modal-button-bottom {
  position: relative;
}
.times {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 52px;
}
.icon-video {
  width: 20px;
}
.button-text {
  font-size: 18px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #FFF;
  margin-top: 4px;
  margin-left: 10px;
}
.hide {
  display: none !important;
}
.combo-box{
  position: absolute;
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  animation: zoomOut ease-out 1s forwards;
}
.combo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  animation: bounce ease-out 1s forwards;
}
.combo-num {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-family: Fonarto-Bold;
  font-weight: bold;
  color: #fff;
  animation: bounce ease-out 1s forwards;
}

@keyframes zoomOut {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(3);
  }
  80% {
    transform: translate(-50%, -50%) scale(3);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }
}

@keyframes bounce {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  20% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  40% {
    transform: translate(-50%, -50%) scale(1);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  80% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
