html,
body {
  min-height: 100%;
  margin: 0;
  background: #eef4e9;
  color: #1f3022;
  font-family: system-ui, sans-serif;
}

#bootstrap-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 1rem;
}

#bootstrap-screen > section {
  width: min(30rem, 100%);
  box-sizing: border-box;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .15);
  text-align: center;
}

#bootstrap-screen > section > span {
  font-size: 4rem;
}

#bootstrap-progress {
  width: 100%;
  height: 1.2rem;
}

#bootstrap-steps {
  line-height: 1.8;
  text-align: left;
}

#bootstrap-steps li.done::marker {
  content: "✓  ";
}

#bootstrap-steps li.failed {
  color: #8b1e1e;
}

#bootstrap-error {
  padding: .75rem;
  border-radius: .5rem;
  background: #fee;
  color: #701010;
}

#bootstrap-screen {
  align-items: start;
  overflow-y: auto;
  padding-top: calc(1rem + env(safe-area-inset-top));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

#bootstrap-screen.ready {
  cursor: pointer;
}

#bootstrap-screen > section {
  margin: auto 0;
}

.privacy-summary {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
  text-align: left;
}

.privacy-summary > p {
  margin: 0;
  padding: .7rem;
  border-left: .35rem solid #315d3a;
  border-radius: .25rem;
  background: #eef4e9;
  line-height: 1.4;
}

.storage-cleanup-status,
.bootstrap-ready {
  margin: .85rem 0;
  padding: .75rem;
  border-radius: .5rem;
  background: #fff8d6;
  color: #493700;
  line-height: 1.4;
}

.bootstrap-ready {
  border: 2px solid #315d3a;
  background: #eef4e9;
  color: #1f3022;
  font-weight: 700;
}

#bootstrap-enter,
#bootstrap-retry {
  min-height: 3rem;
  margin: .35rem;
  touch-action: manipulation;
}
