* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

body {
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.screen {
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.hidden {
  display: none !important;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 18px 0 10px;
  letter-spacing: 2px;
}

.lead {
  font-size: 24px;
  margin: 14px 0;
}

.status {
  border: 3px solid #000;
  padding: 12px 14px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 14px;
  min-height: 62px;
}

.hint {
  font-size: 19px;
  margin: 0 0 12px;
  line-height: 1.45;
}

.big {
  display: block;
  width: 100%;
  min-height: 70px;
  margin: 12px 0;
  padding: 12px;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  font-size: 26px;
  font-weight: bold;
  font-family: inherit;
  border-radius: 0;
}

.big.primary {
  background: #000;
  color: #fff;
}

.big:active {
  background: #000;
  color: #fff;
}

.big.primary:active {
  background: #fff;
  color: #000;
}

.pin {
  display: block;
  width: 100%;
  height: 72px;
  margin: 16px 0;
  padding: 8px 16px;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  font-size: 32px;
  font-family: inherit;
  letter-spacing: 8px;
  border-radius: 0;
}

.msg {
  min-height: 28px;
  font-size: 19px;
  margin: 10px 0;
}

.tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #000;
  margin-top: 18px;
  padding-top: 8px;
}

.linkbtn {
  border: 0;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 20px;
  min-height: 52px;
  padding: 8px 0;
  text-decoration: underline;
}

.diaglink {
  color: #000;
  font-size: 18px;
  min-height: 44px;
  padding: 10px 0;
}

.textpanel {
  border-top: 2px solid #000;
  margin-top: 10px;
  padding-top: 10px;
}

.label {
  font-size: 18px;
  margin: 14px 0 4px;
}

.question {
  font-size: 22px;
  line-height: 1.55;
  border-left: 5px solid #000;
  padding-left: 12px;
  min-height: 34px;
}

.answer {
  font-size: 26px;
  line-height: 1.7;
  min-height: 90px;
  white-space: pre-wrap;
}

.segrow {
  margin: 14px 0 6px;
}

.small {
  min-height: 56px;
  padding: 8px 16px;
  margin: 6px 8px 6px 0;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  font-size: 20px;
  font-family: inherit;
  border-radius: 0;
}

.small:active {
  background: #000;
  color: #fff;
}

.small:disabled {
  border-style: dashed;
  color: #000;
  background: #fff;
}

.segInfo {
  font-size: 18px;
}

.typerow {
  display: flex;
  margin-top: 14px;
}

.typeinput {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  padding: 6px 10px;
  font-size: 20px;
  font-family: inherit;
  border-radius: 0;
}

.typerow .small {
  margin-left: 8px;
  margin-top: 0;
  margin-bottom: 0;
}
