:root {
  --bg: #0c0c0c;
  --fg: #eeeeee;
  --muted: #8f8f8f;
  --pink: #e03971;
  --panel: #0c0c0c;
  --code: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: Consolas, "Cascadia Mono", "Cascadia Code", "SFMono-Regular", Menlo, Monaco, "Liberation Mono", monospace;
  font-size: clamp(17px, 1.18vw, 23px);
  line-height: 1.42;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 56px);
  background: var(--bg);
}

.terminal {
  width: min(1120px, calc(100vw - 48px));
  min-height: min(760px, calc(100vh - 48px));
  background: var(--panel);
  color: var(--fg);
}

.cmdline {
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner {
  margin: 0;
  color: var(--fg);
  white-space: pre;
  line-height: 1.35;
  overflow-x: auto;
}

.pink,
.role.veyra,
.helper span {
  color: var(--pink);
}

.helper {
  margin-top: 14px;
  color: var(--muted);
}

.line {
  margin-top: 10px;
  white-space: pre-wrap;
}

.role {
  color: var(--fg);
  font-weight: 700;
}

.code {
  margin: 8px 0 4px;
  padding: 10px 12px;
  background: var(--code);
  border-left: 1px solid var(--pink);
  color: var(--fg);
  white-space: pre-wrap;
  overflow-x: auto;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--fg);
  vertical-align: -0.18em;
  animation: blink 1.05s steps(1, end) infinite;
}

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

@media (max-width: 760px) {
  body {
    font-size: 13px;
  }

  .page {
    place-items: start center;
    padding: 14px;
  }

  .terminal {
    width: 100%;
    min-height: auto;
  }
}
