/* ═══════════════════════════════════════════════════════════════
   J-Bot Boot Sequence — companion stylesheet
   Consumes --jbot-* canonical tokens so the overlay inherits the
   active theme's accent/glow automatically. Lives above everything
   else at z-index 10000; fades out on .done.
   ═══════════════════════════════════════════════════════════════ */

.jbot-boot {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--jbot-bg, #040609);
  color: var(--jbot-accent, #5FFF87);
  font-family: var(--jbot-font-display, var(--jbot-font-mono, 'JetBrains Mono', monospace));
  text-shadow: 0 0 6px var(--jbot-accent-glow, transparent);

  transition: opacity 0.6s ease-out;

  /* Subtle reveal so it doesn't just slam onto the viewport */
  animation: jbot-boot-fade-in 0.25s ease-out both;
}

.jbot-boot.done {
  opacity: 0;
  pointer-events: none;
}

@keyframes jbot-boot-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.jbot-boot__content {
  width: min(90%, 800px);
  font-size: 13px;
  line-height: 1.7;
}

.jbot-boot__logo {
  color: var(--jbot-accent);
  font-size: 11px;
  margin-bottom: 20px;
  white-space: pre;
  text-shadow: 0 0 12px var(--jbot-accent-glow);
  line-height: 1.0;
  font-family: inherit;
}

.jbot-boot__lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jbot-boot__line {
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: pre-wrap;
  word-break: break-word;
}

.jbot-boot__line.show {
  opacity: 1;
}

.jbot-boot__line--ok    { color: var(--jbot-success, var(--jbot-accent)); }
.jbot-boot__line--warn  { color: var(--jbot-warn, #FFD700); }
.jbot-boot__line--alert { color: var(--jbot-alert, #FF2A6D); }
.jbot-boot__line--info  { color: var(--jbot-info, var(--jbot-fg-dim)); }
.jbot-boot__line--dim   { color: var(--jbot-fg-dim); opacity: 0.65 !important; }

/* Narrow viewport: tighter type */
@media (max-width: 560px) {
  .jbot-boot__content { font-size: 11px; }
  .jbot-boot__logo { font-size: 9px; }
}
