:root {
  --bg: #f7f5ef;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(17, 24, 21, 0.16);
  --text: #171c1a;
  --muted: rgba(23, 28, 26, 0.52);
  --accent: #16613f;
  --shadow: rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(22, 97, 63, 0.05), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
}

.shell {
  width: min(100%, 42rem);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 14px 36px var(--shadow);
  line-height: 1;
}

.prompt-mark {
  color: var(--accent);
  font-size: 1.05rem;
  transform: translateY(-0.02em);
}

.status-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 13.5rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.status-value {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
}

.status-label {
  color: var(--muted);
}

#status-word {
  display: inline-block;
  color: var(--text);
  font-weight: 500;
}

.cursor {
  width: 0.5rem;
  height: 1rem;
  background: var(--accent);
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 1rem;
  }

  .status-line {
    width: 100%;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
  }

  .status-copy {
    min-width: 0;
    font-size: 0.85rem;
  }
}
