:root {
  --bg: lab(97.5408 -0.267088 0.984144);
  --fg: lab(24.022 -0.454843 10.6638);
  --muted: color-mix(in oklab, var(--fg) 55%, var(--bg));
  --track: color-mix(in oklab, var(--fg) 18%, transparent);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 344px;
  max-width: 100%;
  padding: 0 16px;
}

.logo {
  width: 176px;
  height: auto;
  display: block;
  user-select: none;
}

.status {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--track);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.msg {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.hint {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.actions {
  margin-top: 24px;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.actions.show {
  display: flex;
}

.btn {
  height: 36px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background: var(--fg);
  color: var(--bg);
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  opacity: 0.8;
}

.link {
  align-self: center;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  text-underline-offset: 3px;
}

.link:hover {
  color: var(--fg);
  text-decoration: underline;
}
