* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
}

body {
  padding: 12px;
}

a {
  color: #fff;
  text-decoration: underline;
}

.terminal {
  width: 100%;
  min-height: calc(100vh - 24px);
}

.top-link {
  margin: 0 0 10px;
  font-size: 14px;
}

.top-link a {
  color: #9fd3ff;
}

.top-link a:hover,
.top-link a:focus {
  color: #c8e7ff;
}

.output {
  white-space: pre-wrap;
  line-height: 1.35;
}

.line {
  margin: 0 0 4px;
}

.prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.prompt-label {
  white-space: nowrap;
}

#cmdInput {
  flex: 1;
  min-width: 0;
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  font: inherit;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #fff;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}
