/*
 * Terminal cursor: a blinking block cursor after any element with the class "terminal-cursor",
 * like an active shell prompt. Self-contained and theme-independent: copy this file and
 * templates/partials/terminal-cursor.html.twig into another theme (or add the class yourself and
 * load this file). Tune with --terminal-cursor-color, --terminal-cursor-width, --terminal-cursor-rate.
 */
.terminal-cursor::after {
  content: "";
  display: inline-block;
  width: var(--terminal-cursor-width, .55em);
  height: 1em;
  margin-left: .25em;
  vertical-align: -0.12em;
  background: var(--terminal-cursor-color, currentColor);
  animation: terminal-cursor-blink var(--terminal-cursor-rate, 1.06s) steps(1, end) infinite;
}
@keyframes terminal-cursor-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-cursor::after { animation: none; }
}
