:root {
  --bg: #0d1117;
  --panel: #010409;
  --header: #161b22;
  --fg: #c9d1d9;
  --muted: #8b949e;
  --accent: #ff4d4f;
  --link: #58a6ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal {
  display: flex;
  flex-direction: column;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--header);
  gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  margin-left: 12px;
  font-size: .85rem;
  color: var(--muted);
}

.terminal-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  font-size: .95rem;
  line-height: 1.6;
}

.line { white-space: pre-wrap; }
.muted { color: var(--muted); }
.prompt { color: var(--accent); }
.command { color: var(--fg); }
.output { margin-left: 12px; }

.output a {
  color: var(--link);
  text-decoration: underline;
}

.input-line {
  display: flex;
  gap: 8px;
}

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