/* User-authored command sequence; layout follows the terminal workspace. */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #05080d;
  color: #d6e2e4;
  font-family: var(--mono);
  opacity: 1;
  transition: opacity .3s,visibility .3s;
}
.boot-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-terminal {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.boot-terminal-head {
  display: flex;
  justify-content: space-between;
  padding: 18px 30px;
  border-bottom: 1px solid #2c3c43;
  font-size: 12px;
  color: #93a8ae;
}
.boot-terminal-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 190px 30px 80px;
  font: 13px/1.65 var(--mono);
}
.boot-code {
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.boot-code::-webkit-scrollbar { display: none; }
.boot-intro {
  position: absolute;
  top: clamp(86px, 13vh, 136px);
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}
.boot-intro>span,.boot-intro>small {
  color: #8eabb2;
  font: 11px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.boot-intro>strong {
  color: #d6e2e4;
  font: 58px/1 "eDEX United Sans Medium", sans-serif;
  letter-spacing: -.055em;
}
.boot-intro>strong span { color: #aacfd1; }
.boot-line {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.boot-line span,.boot-line.success {
  color: #aacfd1;
}
.boot-line.command {
  color: #fff;
}
.boot-prompt {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.boot-prompt span {
  color: #aacfd1;
}
.boot-prompt code {
  font: inherit;
}
.boot-prompt b {
  display: inline-block;
  width: 7px;
  height: 16px;
  align-self: center;
  background: #aacfd1;
  animation: bootCursor 1s steps(1) infinite;
}
.boot-progress {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #2c3c43;
}
.boot-progress small {
  position: absolute;
  bottom: 10px;
  font-size: 10px;
  color: #93a8ae;
}
.boot-progress>span {
  display: block;
  height: 2px;
  width: 0;
  background: #aacfd1;
}
.download-label {
  color: #d6e2e4;
}
.download-bar,.download-progress {
  color: #aacfd1;
}
@keyframes bootCursor {
  50% {
    opacity: 0;
  }
}
@media (max-height:650px) {
  .boot-intro { top: 72px; }
  .boot-intro>strong { font-size: 43px; }
  .boot-terminal-body { padding-top: 150px; }
}
@media (max-width:900px) {
  .boot-screen {
    display: none;
  }
}
@media (prefers-reduced-motion:reduce) {
  .boot-prompt b {
    animation: none;
  }
  .boot-screen {
    transition: none;
  }
}
