/* Ghost terminal easter egg — hidden until "E" is pressed. */

.ew-ghost {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  background: rgba(10, 5, 18, 0.94);
  border: 1px solid #22e1ff;
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(34, 225, 255, 0.35);
  color: #22e1ff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.35;
  display: none;
}

.ew-ghost--open {
  display: block;
}

.ew-ghost__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(34, 225, 255, 0.35);
  color: #ff2fd6;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.ew-ghost__bar::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2fd6;
  box-shadow: 0 0 6px #ff2fd6;
}

.ew-ghost__body {
  max-height: 40vh;
  overflow: auto;
  padding: 8px 10px;
}

.ew-ghost__line {
  margin: 2px 0;
  color: #22e1ff;
}

.ew-ghost__line--dim {
  color: #7f9f9f;
}

.ew-ghost__link {
  display: inline-block;
  margin-top: 4px;
  color: #22e1ff;
  text-decoration: underline;
}

.ew-ghost__link:hover {
  color: #ff2fd6;
}

.ew-ghost__input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid rgba(34, 225, 255, 0.35);
}

.ew-ghost__prompt {
  color: #ff2fd6;
}

.ew-ghost__input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #22e1ff;
  font: inherit;
  outline: none;
}

/* Make the logo mark a reliable tap target for the easter egg (no double-tap zoom). */
.brand__mark {
  touch-action: manipulation;
}
