/* “一句话让 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-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-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}
.agent-kit-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #d9dced;
  border-radius: 8px;
  background: #fff;
  color: #454c62;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.agent-kit-actions a:hover {
  border-color: #c4c8e2;
  background: #f8f9ff;
  text-decoration: none;
}
.agent-kit-actions a.primary {
  border-color: #4f46e5;
  background: linear-gradient(135deg, #4f46e5, #7048b7);
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .24);
}
.agent-kit-actions a.primary:hover {
  box-shadow: 0 8px 22px rgba(79, 70, 229, .32);
}
.agent-kit-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent-kit-points li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #4f566b;
  font-size: 13.5px;
  line-height: 1.65;
}
.agent-kit-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #5b55d6;
  font-weight: 800;
}
.agent-kit-note {
  position: relative;
  z-index: 1;
  margin: 15px 0 0;
  color: #777d90;
  font-size: 12.5px;
  line-height: 1.7;
}
@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-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .agent-kit-actions a {
    width: 100%;
    padding-inline: 10px;
  }
  .agent-kit-points {
    grid-template-columns: 1fr;
  }
}
