/* 光标样式 */
.typed-text::after {
  content: none;
}

.typed-text.typed-text--typing::after {
  content: "";
  display: inline-block;
  width: 0.16em;
  height: 0.78em;
  margin-left: 0.08em;
  background: var(--devcm-amber);
  box-shadow: 0 0 8px rgba(255, 176, 0, 0.34);
  opacity: 0.82;
  animation: blink 0.7s infinite alternate; /* 闪烁动画 */
  vertical-align: 0.04em;
}

.typed-text.typed-text--complete::after {
  content: none;
}

/* 闪烁动画 */
@keyframes blink {
  to {
    opacity: 1;
  }
}
