/* Сплэш до React: пульс, разлёт, статус. Не класть обратно в index.html. */
#boot-splash {
  overflow: hidden;
}
#boot-splash__fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
#boot-splash__ringwrap,
#boot-splash__copy {
  position: relative;
  z-index: 1;
}
#boot-splash__mark {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
  animation: boot-splash-pulse 1.7s ease-in-out infinite;
}
#boot-splash__mark:focus { outline: none; }
#boot-splash__mark:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 4px;
}
#boot-splash__mark.is-pop {
  animation: boot-splash-pop 0.38s ease-out;
}
#boot-splash__mark img {
  pointer-events: none;
}
@keyframes boot-splash-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes boot-splash-pop {
  0% { transform: scale(1); }
  35% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.boot-splash__bit {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9d00 0%, #f97316 100%);
  color: #fff;
  font-family: Evolventa, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.28);
  animation: boot-splash-fly 0.72s cubic-bezier(0.12, 0.72, 0.28, 1) both;
}
.boot-splash__bit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@keyframes boot-splash-fly {
  0% { opacity: 1; transform: scale(0.35); }
  55% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(var(--rot));
  }
}
#boot-splash__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#boot-splash__status {
  margin: 0;
  min-height: 20px;
  font-family: Evolventa, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #9a5a1f;
  letter-spacing: 0.01em;
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#boot-splash__status.is-swap {
  opacity: 0;
  transform: translateY(4px);
}
@media (prefers-reduced-motion: reduce) {
  #boot-splash__mark { animation: none; }
  #boot-splash__status { transition: none; }
  .boot-splash__bit { animation: none; visibility: hidden; }
}
