/* 网址存根 — 共享样式 */



* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: #1d1b17;
  background-color: #f3efe6;
  background-image: radial-gradient(rgba(29, 27, 23, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

/* 防诈骗提醒：所有页面共用 */
.safety {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.safety__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px solid rgba(194, 64, 42, 0.32);
  border-left: 4px solid #c2402a;
  background: rgba(194, 64, 42, 0.06);
  color: #625b4e;
  font-size: 12px;
  line-height: 1.7;
}

.safety__mark {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 10px;
  padding: 0 6px;
  border: 1px solid #c2402a;
  color: #c2402a;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 18px;
  white-space: nowrap;
}

.safety__text {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
}

.safety__text b {
  color: #c2402a;
  font-weight: 700;
}

.page {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 64, 42, 0.12), rgba(194, 64, 42, 0) 68%);
  pointer-events: none;
}

.page::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 70, 0.08), rgba(47, 107, 70, 0) 68%);
  pointer-events: none;
}

/* 顶栏 */

.topbar {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 32px 20px;
}

.brand {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
}

.brand__stamp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border: 2px solid #c2402a;
  color: #c2402a;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
  box-shadow: inset 0 0 0 2px #fffdf8, inset 0 0 0 3px rgba(194, 64, 42, 0.45);
}

.brand__name {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.topbar__link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(29, 27, 23, 0.35);
  color: #625b4e;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar__link:hover {
  color: #c2402a;
  border-color: #c2402a;
}

/* 查询页主体 */

.lookup {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 32px 72px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.intro {
  -webkit-box-flex: 1.05;
  -ms-flex: 1.05 1 0px;
  flex: 1.05 1 0;
  min-width: 0;
  padding-right: 64px;
}

.eyebrow {
  margin: 0;
  color: #c2402a;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  background: #c2402a;
  vertical-align: middle;
}

.intro h1 {
  margin: 20px 0 22px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.intro h1 em {
  color: #c2402a;
  font-style: normal;
}

.lede {
  max-width: 31em;
  margin: 0;
  color: #625b4e;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 40px 0 0;
  padding: 16px 0;
  border-top: 1px solid #d9d0be;
  border-bottom: 1px solid #d9d0be;
  list-style: none;
}

.step {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
}

.step + .step {
  padding-left: 22px;
  border-left: 1px solid #d9d0be;
}

.step b {
  display: block;
  color: #c2402a;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.step span {
  display: block;
  margin-top: 5px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid #1d1b17;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #c2402a;
  border-color: #c2402a;
}

/* 存根卡片 */

.ticket {
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border: 1px solid #1d1b17;
  background: #fffdf8;
  box-shadow: 11px 11px 0 rgba(29, 27, 23, 0.07);
}

.ticket__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 13px 26px;
  border-bottom: 1px dashed rgba(29, 27, 23, 0.3);
  color: #8d8575;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ticket__body {
  padding: 30px 28px 32px;
}

.field-label {
  display: block;
  color: #625b4e;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.protocol-switch {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid #1d1b17;
}

.protocol-option {
  -webkit-appearance: none;
  appearance: none;
  padding: 7px 16px;
  border: 0;
  background: transparent;
  color: #625b4e;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.protocol-option + .protocol-option {
  border-left: 1px solid #d9d0be;
}

.protocol-option.is-active {
  background: #1d1b17;
  color: #f3efe6;
}

.code-field,
.url-field {
  margin-top: 12px;
  border: 1px solid #1d1b17;
  background: #f3efe6;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.url-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.url-prefix {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding-left: 14px;
  color: #625b4e;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 14px;
  line-height: 1;
}

.url-field .url-input {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding-left: 2px;
}

.code-field:focus-within,
.url-field:focus-within,
.code-field.is-focus,
.url-field.is-focus {
  border-color: #c2402a;
  box-shadow: 0 0 0 3px rgba(194, 64, 42, 0.15);
}

.code-input {
  display: block;
  width: 100%;
  padding: 16px 8px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d1b17;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-align: center;
}

.code-input::-webkit-input-placeholder {
  color: #c7bfad;
}

.code-input::placeholder {
  color: #c7bfad;
}

.url-input {
  display: block;
  width: 100%;
  padding: 15px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.url-input::-webkit-input-placeholder {
  color: #c7bfad;
}

.url-input::placeholder {
  color: #c7bfad;
}

.hint {
  margin: 10px 2px 0;
  color: #8d8575;
  font-size: 12px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-align: center;
  text-decoration: none;
  -webkit-transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, -webkit-transform 0.12s ease;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn--primary {
  width: 100%;
  margin-top: 22px;
  padding: 15px 20px;
  border: 1px solid #c2402a;
  background: #c2402a;
  color: #fff8ee;
  font-size: 15px;
  letter-spacing: 0.26em;
}

.btn--primary:hover {
  background: #a2321f;
  border-color: #a2321f;
}

.btn--primary:active {
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}

.btn--primary[disabled] {
  cursor: default;
  opacity: 0.65;
}

.btn--ghost {
  padding: 8px 15px;
  border: 1px solid #d9d0be;
  background: transparent;
  color: #1d1b17;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.btn--ghost:hover {
  border-color: #1d1b17;
}

.status-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 13px;
}

.msg {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 21px;
  margin: 0 2px;
  color: #625b4e;
  font-size: 13px;
  line-height: 1.6;
}

.quick-add {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 0 2px 0 12px;
  padding: 3px 9px 2px;
  border: 1px solid rgba(194, 64, 42, 0.55);
  border-radius: 2px;
  color: #c2402a;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s ease, border-color 0.2s ease;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.quick-add:hover {
  border-color: #c2402a;
  background: rgba(194, 64, 42, 0.07);
}

.msg--error {
  color: #c2402a;
}

.msg--ok {
  color: #2f6b46;
}

.ticket__tear {
  position: relative;
  border-top: 1px dashed rgba(29, 27, 23, 0.3);
}

.ticket__tear::before,
.ticket__tear::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3efe6;
}

.ticket__tear::before {
  left: -11px;
}

.ticket__tear::after {
  right: -11px;
}

.ticket__foot {
  margin: 0;
  padding: 13px 28px 16px;
  border-top: 1px dashed rgba(29, 27, 23, 0.18);
  color: #8d8575;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* 查询结果 */

.result {
  padding: 24px 28px 26px;
}

.result.is-shown {
  -webkit-animation: rise 0.4s ease both;
  animation: rise 0.4s ease both;
}

.result__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.result__label {
  margin: 0;
  color: #8d8575;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.stamp {
  padding: 2px 7px;
  border: 1.5px solid #c2402a;
  color: #c2402a;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  opacity: 0.85;
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}

.result__url {
  display: block;
  margin-top: 12px;
  color: #1d1b17;
  font-size: 16px;
  line-height: 1.65;
  word-break: break-all;
  word-wrap: break-word;
  -webkit-text-decoration-color: #c2402a;
  text-decoration-color: #c2402a;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.result__url:hover {
  color: #c2402a;
}

.result__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 18px;
  color: #8d8575;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.result__actions--lookup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 16px;
}

.result__actions--lookup .btn {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  margin: 0 0 0 10px;
  padding: 11px 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.result__actions--lookup .btn:first-child {
  margin-left: 0;
}

.result__actions--lookup .btn--ghost {
  border-color: #1d1b17;
}

/* 打开页面 */

.open {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.open h1 {
  margin: 16px 0 14px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.32;
}

.open h1 em {
  color: #c2402a;
  font-style: normal;
}

.open__card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid #1d1b17;
  background: #fffdf8;
  box-shadow: 8px 8px 0 rgba(29, 27, 23, 0.07);
}

.open__label {
  display: block;
  margin: 0;
  color: #8d8575;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.open__url {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d9d0be;
  background: #f6f1e7;
  color: #1d1b17;
  font-size: 14px;
  line-height: 1.65;
  word-break: break-all;
  word-wrap: break-word;
}

.open__check {
  display: block;
  margin-top: 18px;
  color: #625b4e;
  font-size: 13px;
  line-height: 1.65;
  cursor: pointer;
}

.open__check input {
  width: 16px;
  height: 16px;
  margin: 1px 8px 0 0;
  vertical-align: -2px;
}

.open__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 18px;
}

.open__actions .btn--primary {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin-top: 0;
}

.open__actions .btn--ghost {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 10px;
}

.open__actions .btn--primary[disabled] {
  cursor: not-allowed;
}

.open__note {
  margin: 16px 0 0;
  color: #8d8575;
  font-size: 12px;
  line-height: 1.7;
}

.open__note b {
  color: #c2402a;
}

.open__back {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid #1d1b17;
  font-size: 13px;
  text-decoration: none;
}

/* 签发页 */

.issue {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 26px 20px 60px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.issue .eyebrow {
  letter-spacing: 0.28em;
}

.issue h1 {
  margin: 16px 0 14px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.issue .lede {
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.85;
}

.ticket--issue {
  max-width: none;
  margin: 0;
  box-shadow: 9px 9px 0 rgba(29, 27, 23, 0.07);
}

.result--issued {
  padding-bottom: 28px;
}

.digits {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 16px;
}

.digits span {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
  margin-right: -1px;
  padding: 13px 0 10px;
  border: 1px solid #1d1b17;
  background: #f3efe6;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.digits span:last-child {
  margin-right: 0;
}

.result.is-shown .digits span {
  -webkit-animation: digitIn 0.42s ease both;
  animation: digitIn 0.42s ease both;
}

.result.is-shown .digits span:nth-child(2) {
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
}

.result.is-shown .digits span:nth-child(3) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.result.is-shown .digits span:nth-child(4) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}

.result.is-shown .digits span:nth-child(5) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.result.is-shown .digits span:nth-child(6) {
  -webkit-animation-delay: 0.25s;
  animation-delay: 0.25s;
}

.issued-url {
  margin: 18px 0 0;
  color: #8d8575;
  font-size: 12px;
  line-height: 1.7;
  word-break: break-all;
}

.issued-url span {
  color: #625b4e;
}

.result__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 20px;
}

.result__actions .btn--primary {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin-top: 0;
  padding: 13px 16px;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.result__actions .btn--ghost {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 10px;
  padding: 12px 14px;
}

/* 页脚 */

.footer {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 32px 30px;
  color: #8d8575;
  font-family: "DIN Alternate", "Bahnschrift SemiBold", "Consolas", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* 入场动画 */

.intro > * {
  -webkit-animation: rise 0.55s ease both;
  animation: rise 0.55s ease both;
}

.intro > *:nth-child(2) {
  -webkit-animation-delay: 0.06s;
  animation-delay: 0.06s;
}

.intro > *:nth-child(3) {
  -webkit-animation-delay: 0.12s;
  animation-delay: 0.12s;
}

.intro > *:nth-child(4) {
  -webkit-animation-delay: 0.18s;
  animation-delay: 0.18s;
}

.intro > *:nth-child(5) {
  -webkit-animation-delay: 0.24s;
  animation-delay: 0.24s;
}

.lookup .ticket {
  -webkit-animation: rise 0.6s 0.16s ease both;
  animation: rise 0.6s 0.16s ease both;
}

.issue .eyebrow,
.issue h1,
.issue .lede,
.ticket--issue {
  -webkit-animation: rise 0.5s ease both;
  animation: rise 0.5s ease both;
}

.issue h1 {
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
}

.issue .lede {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.ticket--issue {
  -webkit-animation-delay: 0.16s;
  animation-delay: 0.16s;
}

@-webkit-keyframes rise {
  from {
    opacity: 0;
    -webkit-transform: translateY(14px);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    -webkit-transform: translateY(14px);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes digitIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes digitIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* 响应式 */

@media (max-width: 900px) {
  .topbar {
    padding: 20px 20px 16px;
  }

  .safety {
    padding: 0 20px;
  }

  .safety__inner {
    font-size: 11px;
  }

  .lookup {
    display: block;
    padding: 18px 20px 54px;
  }

  .intro {
    padding-right: 0;
    margin-bottom: 34px;
  }

  .intro h1 {
    margin: 14px 0 16px;
    font-size: 38px;
    line-height: 1.24;
  }

  .lede {
    font-size: 14px;
    line-height: 1.85;
  }

  .steps {
    margin-top: 26px;
  }

  .step span {
    font-size: 14px;
  }

  .text-link {
    margin-top: 22px;
  }

  .ticket {
    max-width: none;
    margin: 0;
    box-shadow: 7px 7px 0 rgba(29, 27, 23, 0.07);
  }

  .ticket--issue {
    box-shadow: 6px 6px 0 rgba(29, 27, 23, 0.07);
  }

  .ticket__body {
    padding: 24px 20px 26px;
  }

  .code-input {
    font-size: 34px;
    letter-spacing: 0.26em;
    text-indent: 0.26em;
  }

  .result {
    padding: 20px 20px 22px;
  }

  .ticket__head {
    padding: 12px 20px;
  }

  .ticket__foot {
    padding: 12px 20px 15px;
  }

  .issue {
    padding: 12px 20px 44px;
  }

  .issue h1 {
    font-size: 30px;
  }

  .footer {
    padding: 18px 20px 26px;
  }
}

@media (max-width: 380px) {
  .digits span {
    padding: 10px 0 8px;
    font-size: 28px;
  }

  .result__actions {
    display: block;
  }

  .result__actions .btn--ghost {
    width: 100%;
    margin: 10px 0 0;
  }

  .result__actions--lookup {
    display: block;
  }

  .result__actions--lookup .btn {
    width: 100%;
    margin: 8px 0 0;
  }

  .open__actions {
    display: block;
  }

  .open__actions .btn--primary,
  .open__actions .btn--ghost {
    width: 100%;
    margin: 8px 0 0;
  }

  .footer {
    display: block;
  }

  .footer span {
    display: block;
  }

  .footer span + span {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.001s !important;
    animation-duration: 0.001s !important;
    -webkit-animation-delay: 0s !important;
    animation-delay: 0s !important;
    -webkit-transition-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
