/* Francis Does Things — terminal base */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: #050608;
  color: #c8ffd7;
  font-family: 'VT323', monospace;
  font-size: 18px;
  line-height: 1.4;
}


/* terminal layout */
.terminal{
  padding: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.logo{
  text-align: center;
  margin: 14px 0 42px;
  letter-spacing: 0.12em;
}

.buffer{
  min-height: 40vh;
  white-space: pre-wrap;
}

.promptline{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  white-space: pre-wrap;
}

.prompt{
  color: #c8ffd7;
}

.typed{
  word-break: break-word;
}

/* keep your existing .cursor + @keyframes blink */


/* cursor */
.cursor {
  display: inline-block;
  animation: blink 1.1s steps(1) infinite;
}

/* blink animation */
@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

.line {
  margin-bottom: 6px;
}

.line.user {
  opacity: 0.9;
}

.line.entity {
  opacity: 1;
}

/* the important part */
.speaker-gap {
  margin-top: 22px;
}

/* hidden input that receives typing; 16px stops iOS from zooming on focus */
.ghost-input {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px;
  caret-color: transparent;
}
