/*
 * Flutter renders visible text in canvas and keeps a transparent semantic DOM
 * for accessibility. Firefox forced-colors can otherwise paint that layer
 * again with oversized, underlined text.
 */
@media (forced-colors: active) {
  flt-semantics,
  flt-semantics-placeholder,
  flt-semantics input,
  flt-semantics textarea {
    forced-color-adjust: none !important;
    text-decoration: none !important;
  }
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #060b14;
}

.app-bootstrap {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  padding: 28px;
  color: #f6fbff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(44, 211, 129, .13), transparent 32%),
    #060b14;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.app-bootstrap--ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-bootstrap__mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(53, 226, 139, .56);
  border-radius: 50%;
  background: rgba(31, 190, 108, .12);
  box-shadow: 0 0 36px rgba(45, 214, 131, .18);
  font-size: 32px;
}

.app-bootstrap__title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.app-bootstrap__message {
  color: rgba(235, 245, 251, .68);
  font-size: 14px;
}

.app-bootstrap__track {
  width: min(240px, 72vw);
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.app-bootstrap__track span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #31d783, #6cebad, transparent);
  animation: app-bootstrap-progress 1.15s ease-in-out infinite;
}

@keyframes app-bootstrap-progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(250%); }
}

@media (prefers-reduced-motion: reduce) {
  .app-bootstrap__track span { animation-duration: 2.4s; }
}
