.baudrillard-ghost {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 8;
  width: min(340px, calc(100vw - 32px));
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(243, 239, 231, 0.08), rgba(0, 183, 168, 0.04)),
    rgba(7, 8, 10, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  color: #f3efe7;
  font-family: "Sohne", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.baudrillard-ghost[data-haunting="true"] {
  opacity: 0.82;
  transform: translateY(0);
}

.baudrillard-ghost__kicker {
  display: block;
  margin-bottom: 6px;
  color: #e7c84b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.baudrillard-ghost strong {
  display: block;
  margin-bottom: 6px;
  color: #f3efe7;
  font-family: "Tiempos", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 0.96;
}

.baudrillard-ghost p {
  margin: 0;
  color: #d8d1c1;
  font-size: 12px;
  line-height: 1.4;
}

.baudrillard-ghost__copies {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.baudrillard-ghost__copies span,
.baudrillard-ghost-copy {
  border: 1px solid rgba(243, 239, 231, 0.1);
  border-left: 3px solid var(--ghost-accent, #7db4ff);
  border-radius: 8px;
  background: rgba(243, 239, 231, 0.045);
  color: rgba(243, 239, 231, 0.74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.25;
  padding: 7px;
  text-transform: uppercase;
}

.baudrillard-ghost-copy {
  position: fixed;
  z-index: 7;
  max-width: min(280px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: rotate(var(--ghost-tilt, -2deg)) translateY(8px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.baudrillard-ghost-copy[data-visible="true"] {
  opacity: 0.5;
  transform: rotate(var(--ghost-tilt, -2deg)) translateY(0);
}

body[data-baudrillard-pressure="high"] .codex-strange-canvas {
  filter: contrast(1.08) saturate(1.16);
}

@media (max-width: 760px) {
  .baudrillard-ghost {
    top: 12px;
    right: 12px;
    width: min(300px, calc(100vw - 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .baudrillard-ghost,
  .baudrillard-ghost-copy {
    transition: none;
  }
}
