.customer-loading-page {
  margin: 0;
  background: #100b0a;
  color-scheme: dark;
}

.customer-loading {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  background:
    radial-gradient(ellipse at center, #140b068c, #100b0a40 75%),
    #100b0a url("/assets/autumn-studio-scene-v2.webp") center center / cover no-repeat;
  color: #fff4e8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: normal;
}

.customer-loading-card {
  box-sizing: border-box;
  width: min(100%, 31em);
  padding: clamp(26px, 5vw, 46px) clamp(16px, 5vw, 40px);
  text-align: center;
  background: linear-gradient(145deg, #241711f5, #100e10f5);
  border: 1px solid #e9a56680;
  border-radius: 22px;
  box-shadow: 0 22px 72px #0008;
}

.customer-loading-card img {
  display: block;
  margin: 0 auto 16px;
}

.customer-loading-card h1 {
  margin: 0 0 12px;
  color: #fff4e8;
  font-family: inherit;
  font-size: clamp(1.65em, 4.3vw, 2.5em);
  font-weight: 740;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.customer-loading-card p {
  margin: 0;
  color: #f1dbc6;
  font-size: 1em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.customer-loading-card .customer-loading-detail {
  margin-top: 10px;
  font-size: .875em;
}

.customer-loading-spinner {
  box-sizing: border-box;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-top: 22px;
  border: 2px solid #f6b97a50;
  border-top-color: #ffd08f;
  border-radius: 50%;
  animation: customer-loading-spin 900ms linear infinite;
}

.customer-loading-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.customer-loading-actions:empty,
.customer-loading [hidden],
.customer-startup {
  display: none !important;
}

.customer-loading-actions a,
.customer-loading-actions button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e9a56680;
  border-radius: 8px;
  background: #271b16;
  color: #fff4e8;
  font: 650 .875em/1.3 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.customer-loading-actions button {
  background: #f4b471;
  color: #29160b;
}

.customer-loading a:focus-visible,
.customer-loading button:focus-visible {
  outline: 3px solid #ffda9d;
  outline-offset: 3px;
}

.customer-starting .customer-startup {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid !important;
  overflow: auto;
}

.customer-starting body > :not(.customer-startup) {
  visibility: hidden;
}

@keyframes customer-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-loading-spinner { animation: none; }
}
