/* Shared signature: tint the original SVG without changing the source artwork. */
.terminal-signature {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: min(38vw, 460px);
  height: 85%;
  object-fit: contain;
  object-position: bottom right;
  filter: brightness(0) saturate(100%) invert(79%) sepia(24%) saturate(885%) hue-rotate(99deg) brightness(90%);
  opacity: .32;
  pointer-events: none;
  user-select: none;
}
#cli-terminal-body { position: relative; padding-right: clamp(160px, 32vw, 390px); }
.boot-terminal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: var(--layout-padding, 16px);
  background: #040906;
  transform: translateY(0);
  transition: transform .48s cubic-bezier(0.16, 1, 0.3, 1);
}
.boot-terminal[hidden] { display: none; }
.boot-terminal.is-closing { transform: translateY(100%); pointer-events: none; }
.boot-terminal .cli-screen { border-radius: 4px; }
.boot-terminal .cli-header-bar, .boot-terminal .cli-footer-bar { flex-shrink: 0; }
.boot-body {
  position: relative;
  flex: 1;
  overflow: auto;
  padding: 24px 28px;
  padding-right: clamp(170px, 34vw, 430px);
  color: #88b99d;
  font-size: 12px;
  line-height: 1.65;
  text-shadow: 0 0 4px rgba(110, 231, 183, .18);
}
.boot-eyebrow { color: var(--emerald-pale); font-size: 13px; font-weight: 400; letter-spacing: 1px; }
.boot-system { color: #648e77; margin: 2px 0 18px; overflow-wrap: anywhere; }
.boot-command { color: var(--text-muted); margin-bottom: 16px; overflow-wrap: anywhere; }
.boot-log { display: grid; gap: 2px; }
.boot-log p { overflow-wrap: anywhere; }
.boot-log-tag { color: var(--emerald-bright); margin-right: 14px; }
.boot-log .is-warning, .boot-log .is-warning .boot-log-tag { color: #d6bc86; }
.boot-prompt { margin-top: 6px; color: var(--emerald-bright); overflow-wrap: anywhere; }
.boot-terminal .terminal-signature { opacity: .26; }
.boot-cursor { animation: boot-blink 1s steps(2, start) infinite; }
@keyframes boot-blink { to { visibility: hidden; } }
@media (max-width: 600px) {
  .terminal-signature { width: 52vw; height: 48%; opacity: .16; }
  #cli-terminal-body { padding-right: 20px; }
  .boot-body { padding: 28px 20px; }
  .boot-terminal .cli-footer-bar { font-size: 8px; gap: 8px; }
  .boot-eyebrow { font-size: 8px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .boot-terminal { transition: none; }
  .boot-cursor { animation: none; }
}
