:root {
  --bg: #fafafa;
  --fg: #111;
  --cursor: var(--fg);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0e10; --fg: #eee; }
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
}
body { position: relative; }

.line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: pre;
  user-select: none;
  transition: left 0.5s cubic-bezier(.2,.7,.2,1),
              top 0.5s cubic-bezier(.2,.7,.2,1);
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 20px;
  background: var(--cursor);
  animation: blink 1.1s steps(1) infinite;
  cursor: pointer;
}
@keyframes blink { 50% { background: transparent; } }
