/* “一句话让 AI 接入”首屏推荐卡。用于 Docsify 首页与静态接口总览页。 */
.agent-kit-promo {
  position: relative;
  margin: 24px 0 30px;
  padding: 28px 30px 26px;
  overflow: hidden;
  border: 1px solid #d8dcff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(118, 75, 162, .18), transparent 28%),
    radial-gradient(circle at 4% 102%, rgba(99, 102, 241, .14), transparent 32%),
    linear-gradient(145deg, #fbfbff 0%, #f5f4ff 58%, #fff 100%);
  box-shadow: 0 16px 42px rgba(79, 70, 229, .1);
}
.agent-kit-promo::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -78px;
  bottom: -108px;
  border-radius: 50%;
  border: 28px solid rgba(99, 102, 241, .07);
  pointer-events: none;
}
.agent-kit-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #d7dafa;
  border-radius: 999px;
  background: #fff;
  color: #4f46a5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.agent-kit-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a45, #6366f1);
}
.agent-kit-title {
  margin: 13px 0 8px;
  color: #25243a;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.02em;
}
.agent-kit-desc {
  max-width: 800px;
  margin: 0 0 18px;
  color: #5b6074;
  font-size: 15px;
  line-height: 1.8;
}
.agent-kit-command {
  position: relative;
  z-index: 1;
  padding: 13px;
  border: 1px solid #dfe1f1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
}
.agent-kit-command-label {
  margin: 0 0 8px 2px;
  color: #676d82;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.agent-kit-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.agent-kit-command pre {
  margin: 0;
  padding: 14px 16px;
  overflow: visible;
  border-radius: 8px;
  background: #202438;
  color: #f7f7fb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.agent-kit-command pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 14.5px;
  line-height: 1.7;
}
.agent-kit-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 10px 16px;
  border: 1px solid #4f46e5;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f46e5, #7048b7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .24);
}
.agent-kit-copy:hover {
  box-shadow: 0 8px 22px rgba(79, 70, 229, .32);
}
@media (max-width: 720px) {
  .agent-kit-promo {
    margin: 18px 0 24px;
    padding: 22px 18px 20px;
    border-radius: 14px;
  }
  .agent-kit-title {
    font-size: 21px;
  }
  .agent-kit-desc {
    font-size: 14px;
  }
  .agent-kit-command {
    padding: 10px;
  }
  .agent-kit-command pre {
    padding: 12px;
  }
  .agent-kit-command pre code {
    font-size: 13px;
  }
  .agent-kit-copy-row {
    grid-template-columns: 1fr;
  }
  .agent-kit-copy {
    width: 100%;
    min-height: 40px;
  }
}
