:root {
  color: #f7f3ee;
  background: #000;
  font-family:
    Inter,
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #000;
}

html {
  touch-action: manipulation;
  /* stylelint-disable-next-line property-no-vendor-prefix -- required by iOS Safari */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.app-bootstrap {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(24px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  place-items: center;
  color: #f7f3ee;
  background: radial-gradient(circle at 50% 45%, rgba(211, 155, 87, 0.12), transparent 34%), #000;
}

.app-bootstrap__content {
  display: grid;
  width: min(100%, 320px);
  justify-items: center;
  gap: 22px;
}

.app-bootstrap__brand {
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
}

.app-bootstrap__mark {
  display: block;
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
  object-fit: contain;
}

.app-bootstrap__brand h1,
.app-bootstrap__brand p,
.app-bootstrap__status {
  margin: 0;
}

.app-bootstrap__brand h1 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.app-bootstrap__brand p {
  margin-top: 8px;
  color: #c8b28f;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.app-bootstrap__status {
  opacity: 0;
  color: #918d96;
  animation: app-bootstrap-reveal 1ms 400ms forwards;
  font-size: 13px;
  line-height: 1.4;
}

.app-bootstrap__progress {
  display: block;
  width: 156px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.13);
}

.app-bootstrap__progress i {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: #d39b57;
  animation: app-bootstrap-progress 1.35s ease-in-out infinite alternate;
}

@keyframes app-bootstrap-progress {
  from {
    transform: translateX(-68%);
  }

  to {
    transform: translateX(118%);
  }
}

@keyframes app-bootstrap-reveal {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-bootstrap__progress i {
    animation: none;
  }
}
