/* Shared by the pre-JS splash, React and the design preview. */
.boot-loader {
  --boot-bg: #f8f4ee;
  --boot-ink: #80634e;
  --boot-halo: #eee6dc;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px;
  background: var(--boot-bg);
  color: var(--boot-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme='light']) .boot-loader {
    --boot-bg: #29231f;
    --boot-ink: #d6b698;
    --boot-halo: #352d27;
  }
}
html[data-theme='dark'] .boot-loader {
  --boot-bg: #29231f;
  --boot-ink: #d6b698;
  --boot-halo: #352d27;
}
.boot-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  isolation: isolate;
}
.boot-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--boot-halo);
  animation: maru-halo 4.8s ease-in-out infinite;
}
.boot-mark {
  display: block;
  position: relative;
  width: 88px;
  height: 88px;
  animation: maru-breathe 4.8s ease-in-out infinite;
}
.boot-mark svg { display: block; width: 100%; height: 100%; }
.boot-name {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.6px;
}
.boot-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@keyframes maru-breathe {
  0%, 100% { transform: scale(.94); opacity: .65; }
  50% { transform: scale(1.03); opacity: 1; }
}
@keyframes maru-halo {
  0%, 100% { transform: scale(.91); opacity: .5; }
  50% { transform: scale(1.1); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .boot-mark, .boot-visual::before, .boot-name { animation: none; }
}
/* SDK Telegram не загрузился (index.html) */
.boot-text { margin: 0; max-width: 320px; font-size: 16px; line-height: 1.45; text-align: center; }
.boot-retry {
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
