* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000000;
  color: #ff6a00;
  font-family: Consolas, monospace;
  font-size: clamp(13px, 3.5vw, 15px);
}

.terminal {
  height: 100dvh;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.output {
  flex: 1;
  white-space: pre-wrap;
  overflow-y: auto;
  padding-bottom: 8px;
}

.input-line {
  display: flex;
  align-items: center;
}

.prompt {
  margin-right: 6px;
  white-space: nowrap;
}

input {
  background: transparent;
  border: none;
  outline: none;
  color: #ff6a00;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
}

.cursor {
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .terminal {
    padding: 8px;
  }
}
