[data-iv-native-boot] {
  --iv-boot-ink: #211d18;
  --iv-boot-muted: #71685f;
  --iv-boot-surface: rgba(255, 255, 255, 0.76);
  --iv-boot-teal: #10b99b;
  --iv-boot-gold: #c88724;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  min-height: 100dvh;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(32px + env(safe-area-inset-top, 0px)) 28px
    calc(32px + env(safe-area-inset-bottom, 0px));
  color: var(--iv-boot-ink);
  background:
    radial-gradient(circle at 22% 18%, rgba(16, 185, 155, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(200, 135, 36, 0.18), transparent 36%),
    linear-gradient(145deg, #fbf8f3 0%, #f2eee7 100%);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  text-align: center;
}

[data-iv-native-boot]::before,
[data-iv-native-boot]::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(113, 104, 95, 0.12);
  border-radius: 42%;
  content: "";
  transform: rotate(24deg);
}

[data-iv-native-boot]::before {
  top: -96px;
  right: -84px;
}

[data-iv-native-boot]::after {
  bottom: -112px;
  left: -72px;
  transform: rotate(-18deg);
}

.iv-native-boot__mark {
  position: relative;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  margin-bottom: 28px;
}

.iv-native-boot__mark img {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(16, 185, 155, 0.2), 0 8px 20px rgba(33, 29, 24, 0.12);
  animation: iv-native-boot-breathe 1.8s ease-in-out infinite;
}

.iv-native-boot__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(16, 185, 155, 0.34);
  border-radius: 38px;
  animation: iv-native-boot-pulse 1.8s ease-out infinite;
}

.iv-native-boot__ring--inner {
  inset: 13px;
  border-color: rgba(200, 135, 36, 0.32);
  border-radius: 30px;
  animation-delay: 0.28s;
}

[data-iv-native-boot] strong {
  position: relative;
  z-index: 1;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

[data-iv-native-boot] > span {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--iv-boot-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.iv-native-boot__track {
  position: relative;
  z-index: 1;
  width: min(190px, 58vw);
  height: 3px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113, 104, 95, 0.14);
}

.iv-native-boot__track i {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--iv-boot-teal), var(--iv-boot-gold));
  animation: iv-native-boot-track 1.25s ease-in-out infinite;
}

@keyframes iv-native-boot-pulse {
  0% { opacity: 0.72; transform: scale(0.82); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes iv-native-boot-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.025); }
}

@keyframes iv-native-boot-track {
  0% { transform: translateX(-115%); }
  55%, 100% { transform: translateX(245%); }
}

@media (prefers-color-scheme: dark) {
  [data-iv-native-boot] {
    --iv-boot-ink: #f6f0e7;
    --iv-boot-muted: #b9aea1;
    background:
      radial-gradient(circle at 22% 18%, rgba(16, 185, 155, 0.18), transparent 34%),
      radial-gradient(circle at 82% 78%, rgba(200, 135, 36, 0.15), transparent 36%),
      linear-gradient(145deg, #171512 0%, #0f0e0d 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iv-native-boot__mark img,
  .iv-native-boot__ring,
  .iv-native-boot__track i {
    animation: none;
  }

  .iv-native-boot__track i {
    width: 68%;
  }
}
