/* API 指导文档按钮（注入到 New-API 控制台） */
.dengmo-api-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(47, 111, 94, 0.35);
  background: rgba(47, 111, 94, 0.08);
  color: #2f6f5e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dengmo-api-guide-btn:hover {
  background: rgba(47, 111, 94, 0.16);
  border-color: #2f6f5e;
  text-decoration: none;
}

.dengmo-api-guide-btn:active {
  transform: translateY(1px);
}

.dengmo-api-guide-btn svg {
  flex: none;
  opacity: 0.9;
}

.dengmo-api-guide-holder {
  display: flex;
  justify-content: flex-end;
  margin: -26px 0 10px;
}

html.dark .dengmo-api-guide-btn {
  color: #8fc6b6;
  border-color: rgba(143, 198, 182, 0.35);
  background: rgba(143, 198, 182, 0.1);
}

html.dark .dengmo-api-guide-btn:hover {
  background: rgba(143, 198, 182, 0.2);
  border-color: #8fc6b6;
}

@media (max-width: 640px) {
  .dengmo-api-guide-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
}
