.page {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.title-box {
  width: 100%;
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px 0;
}
.title-box .large {
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #242842;
}
.title-box .small {
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 13px;
  color: #3A3B4B;
}
.content-box {
  margin-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px 0;
  position: relative;
}
.content-box .bg-box {
  width: 180px;
  height: 180px;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: #F5F5F5;
  display: flex;
}
.content-box .tip-box {
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 18rpx;
  color: #333333;
}
.content-box .video-box {
  width: 315px;
  height: 420px;
  background-color: #BCBCBC;
  position: relative;
}
.content-box .video-box .video-box-rotate {
  transform: rotateY(180deg);
}
.content-box .video-box .result-box {
  width: 315px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-box .video-box .portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 274px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-box .video-box .mask-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 307px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-box .video-box .switch {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  background-color: #2B83FF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}
.content-box .video-box .parameter-text-top {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 400;
  font-size: 12px;
  color: #333333;
  background-color: #FFFFFF;
  padding: 0 40rpx;
}
.content-box .video-box .parameter-text-right {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translate(0, -50%);
  font-weight: 400;
  font-size: 12px;
  color: #333333;
  writing-mode: vertical-lr;
  background-color: #FFFFFF;
  padding: 40rpx 0;
}
.content-box .video-box .parameter-text-bottom {
  position: absolute;
  bottom: -10rpx;
  left: 50%;
  transform: translate(-50%, 0);
  font-weight: 400;
  font-size: 12px;
  color: #333333;
  background-color: #FFFFFF;
  padding: 0 40rpx;
}
.content-box .video-box .parameter-text-left {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translate(0, -50%);
  font-weight: 400;
  font-size: 12px;
  color: #333333;
  writing-mode: vertical-rl;
  background-color: #FFFFFF;
  padding: 40rpx 0;
}
.content-box .video-box .left-top {
  position: absolute;
  left: -10px;
  top: -10px;
}
.content-box .video-box .left-top::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 3px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .left-top::after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 30px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .right-top {
  position: absolute;
  right: -10px;
  top: -10px;
}
.content-box .video-box .right-top::before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 3px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .right-top::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 30px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .right-bottom {
  position: absolute;
  right: -10px;
  bottom: -10px;
}
.content-box .video-box .right-bottom::before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .right-bottom::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3px;
  height: 30px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .left-bottom {
  position: absolute;
  left: -10px;
  bottom: -10px;
}
.content-box .video-box .left-bottom::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: #bbb9c0;
  z-index: 1;
}
.content-box .video-box .left-bottom::after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 30px;
  background-color: #bbb9c0;
  z-index: 1;
}
.alert-box {
  margin-top: 60px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.alert-box .item-box {
  width: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
}
.alert-box .item-box .icon {
  width: 70px;
  height: 70px;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
}
.alert-box .item-box .text {
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 13px;
  color: #333333;
}
.btn-box {
  margin-top: 60px;
  width: 100%;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.btn-box .start {
  width: 260px;
  height: 40px;
  background-color: #999999;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-box .start-btn-loading {
  background-color: #2B83FF;
}
.btn-box .countingDown {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
}
.btn-box .countingDown .countingDown-num {
  font-weight: bold;
  font-size: 32px;
  color: #333333;
}
.btn-box .countingDown .countingDown-text {
  font-weight: bold;
  font-size: 14px;
  color: #333333;
}
.btn-box .capture-box {
  width: 260px;
  height: 40px;
  background-color: #999999;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-box .capture-box-loading {
  background-color: #2B83FF;
}
.btn-box .fail-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
}
.btn-box .fail-box .icon {
  width: 20px;
  height: 20px;
  color: #ff0000;
}
.btn-box .fail-box .text {
  font-weight: 500;
  font-size: 16rpx;
  color: #FE0000;
}
.btn-box .fail-btn-box {
  margin-top: 30px;
  width: 200px;
  height: 40px;
  box-sizing: border-box;
  background-color: #FE0000;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-box .success-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 30px;
}
.btn-box .success-box .reset {
  width: 120px;
  height: 40px;
  box-sizing: border-box;
  background-color: #6CA9FF;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-box .success-box .complete {
  width: 190px;
  height: 40px;
  box-sizing: border-box;
  background-color: #2B83FF;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
