#content-area {
  padding-left: 0px;
}

.prompt-line {
  display: inline-flex;
  font-size: 1em;
  line-height: 1;
}

.seg {
  --h: 1.4em;
  --arrow: 0.6em;
  --bg: #333;

  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--h);
  padding: 0 0.8em;
  background: var(--bg);
  color: #fff;
  text-decoration: none;
  line-height: var(--h);
  white-space: nowrap;
}

.seg + .seg {
  padding-left: calc(var(--arrow) + 0.5em);
}

.seg::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(-0.88 * var(--arrow));
  width: 0;
  height: 0;
  border-top: calc(var(--h) / 1.92) solid transparent;
  border-bottom: calc(var(--h) / 1.92) solid transparent;
  border-left: var(--arrow) solid var(--bg);
}

.prompt-input {
  margin-left: 1em;
  color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.seg-user {
  --bg: var(--overlay);
  z-index: 1;
}

.seg-repo {
  --bg: var(--pine);
}

#whoami-output {
  padding: 16px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 32px;
}

#whoami-output-left pre {
  margin: 0;
}

#whoami-aspiring {
  color: var(--rose);
}

#whoami-10x {
  color: var(--gold);
}

#whoami-engineer {
  color: var(--rose);
}

#whoami-output-right p {
  margin-top: 0;
  color: var(--text);
}

#whoami-desc-list span {
  color: var(--rose);
}

.neo {
  --size: 3ch;
  --h: 2ch;
  display: grid;
  grid-template-columns: repeat(8, var(--size));
  grid-auto-rows: var(--h);
  gap: 0;
}

.neo > span {
  background: var(--c);
}

/* md */
@media (max-width: 768px) {
  #whoami-output {
    flex-direction: column;
    gap: 16px;
  }
}

.socials {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(18ch, 1fr));
  padding: 0px 12px;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.8em;
  text-decoration: none;
  color: var(--text);
  background: var(--highlight_low);
  border: 1px solid var(--highlight_high);
  border-radius: 0.6rem;
  line-height: 1;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}

.social-btn:hover {
  background: var(--surface);
  border-color: var(--subtle);
}

.social-btn:active {
  transform: translateY(1px);
}

.social-btn svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-btn span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes caretFillBlink {
  0%,
  49% {
    background-color: currentColor;
  }

  50%,
  100% {
    background-color: transparent;
  }
}

.has-caret {
  position: relative;
}

.has-caret::after {
  content: "";
  color: var(--text);
  box-shadow: inset 0 0 0 1px currentColor;
  display: inline-block;
  width: 1ch;
  height: 1.25em;
  margin-left: 1ch;
  background: currentColor;
  animation: caretFillBlink 1.5s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .has-caret::after {
    animation: none;
  }
}
