* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: #fff;
  color: #222;
  font-size: 16px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.condition {
  width: 100%;
  max-width: 437px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}

.wlname {
  width: 100%;
  padding: 22px 0 28px;
  text-align: center;
}

.wlname h2 {
  color: #111;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

.queryRow {
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
}

.queryLabel {
  display: inline-block;
  width: 22%;
  color: #222;
  font-size: 15px;
  line-height: 36px;
  text-align: right;
  vertical-align: middle;
}

.queryInput {
  display: inline-block;
  width: 76%;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
  line-height: 36px;
  vertical-align: middle;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.queryInput::placeholder {
  color: #c0c0c0;
}

.queryInput[readonly] {
  background: #fff;
  pointer-events: none;
}

.result-pass {
  color: #16a34a;
}

.result-fail {
  color: #e11d48;
}

.hintRow {
  margin: 10px 0 16px;
  color: #3b2ed1;
  font-size: 15px;
  text-align: center;
}

.btnRow {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 22px;
}

.all1 {
  -webkit-appearance: none;
  appearance: none;
  width: 128px;
  height: 35px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: #f08600;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  line-height: 35px;
  text-align: center;
  cursor: default;
  pointer-events: none;
}

.all1:active {
  opacity: 0.9;
}

.resultBox {
  display: none;
}

.resultBox.is-show {
  display: block;
}

.media {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 16px 20px 8px;
}

.photo {
  display: block;
  width: 108px;
  height: 140px;
  object-fit: cover;
  border: 5px solid #cccccc;
  background: #f3f3f3;
}

.qrcode {
  width: 140px;
  height: 140px;
  border: 5px solid #cccccc;
  background: #fff;
  overflow: hidden;
}

.qrcode img,
.qrcode canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
