/* Shared install pill — content pages (blog, wiki, tools, guides, faq, compare, profiles)
   Design break: index.html / uneed use their own .install styles on the marketing landing. */

.hyv-install {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1A1A18;
  color: #fff;
  padding: 7px 7px 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  line-height: 1;
  max-width: 100%;
}

.hyv-install code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 52vw);
}

.hyv-install-copy {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e0ddd6;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hyv-install-copy:hover { background: rgba(255, 255, 255, 0.18); }
.hyv-install-copy svg { width: 14px; height: 14px; display: block; }
.hyv-install-copy.copied { background: rgba(34, 197, 94, 0.25); }

.hyv-install--nav { margin: 0; }

.hyv-install--cta {
  margin: 18px auto 0;
}

.hyv-install-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: inherit;
}

.cta-box .hyv-install-label { opacity: 0.92; }

@media (max-width: 480px) {
  .hyv-install code { font-size: 11px; max-width: 46vw; }
  .hyv-install--nav code { max-width: 38vw; }
}