.qc-popover {
  position: absolute;
  z-index: 99991;
  pointer-events: none;
  animation: qc-rise 0.18s ease;
}

.qc-popover[hidden] {
  display: none !important;
}

.qc-popover__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: #0b1220;
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font: 600 0.78rem/1.2 system-ui, "Segoe UI", sans-serif;
}

.qc-popover__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbbf24, #f59e0b);
  color: #1c1917;
  font-size: 0.95rem;
  font-weight: 800;
}

.qc-popover__copy,
.qc-popover__x {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.qc-popover__copy:hover,
.qc-popover__x:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qc-popover__x {
  color: #93c5fd;
}

@keyframes qc-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .qc-popover {
    animation: none;
  }
}

@media (max-width: 640px) {
  .qc-popover__inner {
    flex-wrap: wrap;
    border-radius: 12px;
    max-width: calc(100vw - 1rem);
  }
}
