:root {
  --boot-background: #fbf7f6;
  --boot-foreground: #382d2b;
  --boot-muted: #766966;
  --boot-accent: #d9485f;
  --boot-shadow: rgb(90 45 52 / 22%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --boot-background: #211f1f;
    --boot-foreground: #f8f3f2;
    --boot-muted: #c4b8b5;
    --boot-accent: #e96376;
    --boot-shadow: rgb(0 0 0 / 35%);
  }
}

.boot-recovery {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  background: var(--boot-background);
  color: var(--boot-foreground);
  font-family: "Nunito Variable", "Nunito", ui-sans-serif, system-ui, sans-serif;
}

.boot-recovery[hidden],
:root[data-app-ready="true"] .boot-recovery {
  display: none;
}

.boot-card {
  display: flex;
  width: min(100%, 360px);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.boot-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
  background: var(--boot-accent);
  box-shadow: 0 16px 44px var(--boot-shadow);
  color: white;
  font-size: 32px;
  font-weight: 900;
}

.boot-card h1,
.boot-card p {
  margin: 0;
}

.boot-card h1 {
  font-size: 24px;
  line-height: 1.1;
}

.boot-card p {
  color: var(--boot-muted);
  line-height: 1.35;
}

.boot-card button {
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--boot-accent);
  box-shadow: 0 12px 30px var(--boot-shadow);
  color: white;
  font: inherit;
  font-weight: 900;
}

.boot-card button:disabled {
  opacity: 0.72;
}
