/* Boot-overlay — показывается пока React не смонтировался.
   Удаляется автоматически через MutationObserver. */
#boot-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: #e8e8ed;
  color: #3c3c43;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  z-index: 9999;
}
html[data-theme="dark"] #boot-overlay {
  background: #0d0d0d;
  color: #d1d1d1;
}
#boot-overlay .boot-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}
#boot-overlay .boot-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(85, 133, 192, 0.18);
  border-top-color: #5585c0;
  animation: boot-spin 0.9s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
#boot-overlay .boot-title {
  font-size: 17px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#boot-overlay.boot--stage1 .boot-title { opacity: 0.7; }
#boot-overlay .boot-hint {
  display: none;
  max-width: 360px;
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(85, 133, 192, 0.10);
  border: 1px solid rgba(85, 133, 192, 0.20);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#boot-overlay.boot--stage2 .boot-hint,
#boot-overlay.boot--stage3 .boot-hint {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
html[data-theme="dark"] #boot-overlay .boot-hint {
  background: rgba(74, 111, 165, 0.14);
  border-color: rgba(74, 111, 165, 0.30);
}
#boot-overlay .boot-hint-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1e;
  margin-bottom: 6px;
}
html[data-theme="dark"] #boot-overlay .boot-hint-title { color: #e4e8f0; }
#boot-overlay .boot-reload {
  margin-top: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: #5585c0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
}
#boot-overlay .boot-reload:active { opacity: 0.85; }
#boot-overlay .boot-support {
  display: none;
  margin-top: 16px;
  font-size: 16px;
  opacity: 0.8;
}
#boot-overlay.boot--stage3 .boot-support { display: block; }
#boot-overlay .boot-support a {
  color: #5585c0;
  text-decoration: none;
}