/* Typewriter indicator (ported from the founder's design; no inline style, no external font). */
.live-indicator {
  display: inline-flex;
  align-items: center;
  position: relative;
  background-color: var(--tan);
  padding: 8px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--ink);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 36px;
  font-family: var(--font-mono);
}
.live-text {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: pre;
  line-height: 1;
}
.live-cursor {
  color: var(--burnt-red);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  animation: blink 1s infinite step-end;
  transform: translateY(-1px);
}
.live-cursor.typing,
.live-indicator.paused .live-cursor {
  animation: none;
}
.live-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
/* Dark mode: the light tan chip glares against a near-black page, so it becomes a dim tan. */
@media (prefers-color-scheme: dark) {
  .theme-base .live-indicator { background-color: #4a4530; border-color: var(--line); box-shadow: none; }
  .theme-base .live-text { color: #f6f3e2; }
  .theme-base .live-cursor { color: #ff9aa0; }
}
@media (max-width: 480px) {
  .live-text, .live-cursor { font-size: 13px; }
}
@media (max-width: 360px) {
  .live-text, .live-cursor { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-cursor { animation: none; }
  .live-indicator { transition: none; }
}
