:root {
  --boot-bg: #0a0a0a;
  --boot-fg: #33ff66;
}
#boot-screen {
  position: fixed;
  inset: 0;
  background: var(--boot-bg);
  color: var(--boot-fg);
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity .4s ease, filter .4s ease;
}
#boot-screen.boot-hide {
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
}
#boot-log { white-space: pre-wrap; margin: 0; }
.boot-cursor {
  display: inline-block;
  animation: boot-blink 1s step-end infinite;
}
@keyframes boot-blink { 50% { opacity: 0; } }

#boot-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px,
    transparent 1px, transparent 3px
  );
  pointer-events: none;
}

/* hide the original spinner while boot-screen owns the show */
.loading-wrapper { visibility: hidden; }