@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("./fonts/atkinson_hyperlegible_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("./fonts/atkinson_hyperlegible_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sun-paper: #fffbf2;
  --sun-paper2: #f6f0e2;
  --sun-ink: #111111;
  --sun-ink2: #3d3a33;
  --sun-line: #111111;
  --sun-marker: #ffd400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sun-paper: #15130e;
    --sun-paper2: #211e17;
    --sun-ink: #f4efe4;
    --sun-ink2: #c8c1b2;
    --sun-line: #c8c1b2;
    --sun-marker: #ffd400;
  }
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--sun-paper);
  color: var(--sun-ink);
  font-family: "Atkinson Hyperlegible", sans-serif;
}

#ComposeTarget {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.boot-shell {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sun-paper);
}

.boot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 36px;
  border-radius: 12px;
  background: var(--sun-paper2);
  border: 2px solid var(--sun-line);
}

.boot-mark-svg {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 12px;
}

.boot-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--sun-ink);
}

.boot-sub {
  font-size: 14px;
  color: var(--sun-ink2);
}

.boot-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  margin-top: 4px;
}

.boot-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: var(--sun-paper);
  border: 1.5px solid var(--sun-line);
  overflow: hidden;
}

.boot-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--sun-marker);
  transition: width 160ms ease-out;
}

.boot-pct {
  min-width: 36px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--sun-ink);
}
