* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #000;
  color: #c0c0c0;
  font-family: Consolas, "Lucida Console", "Courier New", monospace;
  font-size: 16px;
  line-height: 1.35;
}

.terminal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.screen {
  flex: 1;
  padding: 40px 14px 12px 48px;
  overflow-x: auto;
}

.ascii {
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.05;
  color: #c0c0c0;
  margin-bottom: 18px;
}

.screen p { white-space: pre-wrap; margin-bottom: 6px; }
.screen .line { margin-top: 12px; }
.prompt { color: #c0c0c0; }

a { color: #c0c0c0; }
a:hover { background: #c0c0c0; color: #000; }

::selection { background: #c0c0c0; color: #000; }

.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 500px) {
  html, body { font-size: 14px; }
  .ascii { font-size: 11px; }
}
