.terminal-shell {
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0;
  border: 1px solid #1b1b1b;
  background: #000;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
  padding-bottom: 120px;
}

.terminal-body {
  padding: 18px 16px 0;
  background: #000;
  position: relative;
  display: block;
}

.output {
  font-size: 0.98rem;
  line-height: 1.45;
  min-height: 60vh;
  padding-right: 6px;
  padding-bottom: 140px;
  overflow: visible;
}

.line {
  white-space: pre-wrap;
  margin: 0 0 6px 0;
}

.line .prompt {
  color: var(--accent-2);
  margin-right: 6px;
}

.line .dir {
  color: var(--accent);
  margin-left: 3px;
}

.line.success {
  color: var(--success);
}

.line.command {
  color: #8be9fd;
}

.line.info {
  color: var(--muted);
}

.line.error {
  color: var(--danger);
}

.line .tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(239, 120, 72, 0.14);
  border: 1px solid var(--border);
  margin-right: 8px;
  color: var(--accent);
  font-size: 0.85rem;
}

.input-line {
  position: sticky;
  bottom: 0;
  background: #000;
  padding-top: 8px;
  margin-top: 0;
  border-top: none;
}

.prompt-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.hint {
  color: var(--muted);
  font-style: italic;
}

.next-step {
  color: var(--accent-2);
}

.boot-screen {
  position: fixed;
  inset: 0;
  background: #000;
  color: #c7c7c7;
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  padding: 24px 18px;
}

.boot-lines {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.boot-meta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  color: #888;
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.boot-skip {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: #111;
  color: #f6f6f6;
  border: 1px solid #333;
  cursor: pointer;
}

.kbd {
  padding: 2px 6px;
  border-radius: 6px;
  background: #111;
  border: 1px solid #333;
  color: #d7d7d7;
  font-size: 0.85rem;
}

.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: rgba(12, 15, 18, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
  display: none;
}

.toast.show {
  display: inline-flex;
}

.skip-bottom {
  top: auto;
  bottom: 14px;
}

.hint-bar {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 10px;
  background: #0c0c0c;
  border: 1px solid #1f1f1f;
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.control-dock {
  position: fixed;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 30;
}

.ctrl-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #1f1f1f;
  background: #0f0f0f;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 150ms ease, border 150ms ease;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}
