:root {
  color: #201c18;
  background: #fff;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

.app-shell,
.boot-screen {
  width: 100%;
  min-height: 100vh;
}

.boot-screen {
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) 28px max(32px, env(safe-area-inset-bottom));
  background: #fff;
  color: #201c18;
  text-align: center;
}

.boot-screen__content {
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
}

.boot-screen .brand-mark {
  width: 132px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.boot-screen .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.boot-screen p {
  margin: 24px 0 0;
  font: 15px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .28em;
  text-indent: .28em;
}

.boot-screen span {
  display: block;
  margin-top: 17px;
  color: #777169;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .06em;
}

.boot-screen__action {
  width: min(100%, 260px);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
  border: 1px solid #b69250;
  background: #171513;
  color: #d7bc84;
  font-size: 14px;
  letter-spacing: .12em;
  text-decoration: none;
}

.boot-screen__action[aria-disabled="true"] {
  opacity: .62;
  pointer-events: none;
}

.boot-screen__action[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .boot-screen {
    padding-right: 24px;
    padding-left: 24px;
  }

  .boot-screen .brand-mark {
    width: 120px;
    height: 71px;
  }

  .boot-screen span {
    font-size: 13px;
  }
}

/* Keep the entry screen visually stable while the storefront styles load. */
html .boot-screen {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  padding: max(32px, env(safe-area-inset-top)) 28px max(32px, env(safe-area-inset-bottom));
  background: #fff;
  color: #201c18;
  text-align: center;
}

html .boot-screen p {
  margin: 24px 0 0;
  color: #201c18;
  font: 15px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .28em;
}

html .boot-screen span {
  display: block;
  margin-top: 17px;
  color: #777169;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .06em;
}

html .boot-screen .brand-mark {
  width: 132px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
}

html .boot-screen .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 480px) {
  html .boot-screen .brand-mark {
    width: 120px;
    height: 71px;
  }
}
