/* Boot sequence */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: block;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.boot-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, rgba(3, 18, 11, 0.94), rgba(0, 9, 5, 0.98));
  border: none;
  box-shadow: none;
  padding: 14px 18px 56px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.boot-header {
  margin: 0 0 4px;
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  color: #f0fff5;
  text-shadow: none;
}

.boot-sub {
  margin: 0 0 10px;
  font-size: 0.72rem;
  color: rgba(201, 255, 223, 0.6);
}

.boot-log {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 6px;
  overflow: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 255, 170, 0.4) rgba(7, 31, 21, 0.65);
}

.boot-line {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.28;
  color: #f1f5f3;
}

.boot-line.important {
  color: #8fcca2;
}

.boot-line.warn {
  color: #f1f5f3;
}

.boot-line.error {
  color: #d97f7f;
}

.boot-file-line {
  color: #f1f5f3;
  letter-spacing: 0.06em;
}

.boot-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 5px;
}

.boot-progress-track {
  width: min(46vw, 360px);
  flex: 0 0 auto;
  height: 16px;
  border: 1px solid rgba(183, 252, 208, 0.55);
  background: #020b06;
  box-shadow: none;
  overflow: hidden;
  padding: 2px;
}

.boot-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #d7ffe6 0%, #f3fff7 100%);
  box-shadow: none;
}

.boot-progress-percent {
  min-width: 48px;
  text-align: right;
  font-size: 0.76rem;
  color: #f3fff7;
}

.boot-prompt {
  flex-shrink: 0;
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: #f0fff5;
  animation: bootPrompt 1s steps(1, end) infinite;
}

.boot-skip-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 88px;
  padding: 8px 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 214, 168, 0.75);
  background: linear-gradient(180deg, rgba(58, 32, 7, 0.95), rgba(39, 19, 5, 0.95));
  color: #ffe9cd;
  box-shadow: 0 0 12px rgba(255, 162, 80, 0.2);
}

.boot-skip-button:hover {
  border-color: #ffe6be;
  box-shadow: 0 0 14px rgba(255, 190, 120, 0.34);
}

.boot-latest-button {
  position: absolute;
  top: 56px;
  right: 14px;
  min-width: 88px;
  padding: 8px 10px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(109, 255, 171, 0.55);
  background: linear-gradient(180deg, rgba(8, 40, 24, 0.96), rgba(6, 24, 15, 0.96));
  color: #e6fff0;
  box-shadow: 0 0 12px rgba(67, 191, 122, 0.18);
}

.boot-latest-button:hover {
  border-color: rgba(177, 255, 206, 0.9);
  box-shadow: 0 0 14px rgba(94, 255, 166, 0.28);
}
