/* ============================================================
   智觅 · 通用内容页（采集 / 插件 / API 卡片）
   ============================================================ */
[hidden] { display: none !important; }
.sheet {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 80px;
}
.sheet.narrow { width: min(440px, calc(100% - 40px)); }
.sheet h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.lead {
  margin: 0 0 30px;
  color: #6b7690;
  font-size: 15px;
  line-height: 1.8;
  max-width: 44em;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.panel label {
  display: block;
  margin-bottom: 14px;
  color: #5d6b86;
  font-size: 13px;
}
.panel input {
  display: block;
  width: 100%;
  margin-top: 6px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #e3e9f5;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.panel input:hover { border-color: #cdd7ef; }
.panel input:focus { border-color: var(--blue); box-shadow: var(--ring); }
.primary {
  height: 42px;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #4a6cf7 0%, var(--blue-deep) 100%);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(60, 91, 240, 0.26);
  transition: transform var(--fast), box-shadow var(--fast), filter var(--fast);
}
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(60, 91, 240, 0.34);
  filter: brightness(1.03);
}
.block { width: 100%; }
.form-note {
  margin: 14px 0 0;
  color: #5d6b86;
  font-size: 13px;
  line-height: 1.65;
}
.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.api-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--med), box-shadow var(--med), border-color var(--med);
}
.api-card:hover {
  transform: translateY(-3px);
  border-color: #d3ddfd;
  box-shadow: var(--shadow-lift);
}
.api-card h2 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.api-card p {
  margin: 0;
  color: #5d6b86;
  font-size: 14px;
  line-height: 1.7;
}
.pay {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}
.card-foot {
  display: block;
  margin-top: 14px;
  color: var(--faint);
  font-size: 12px;
}
.collect-quota { margin: 12px 0 0; color: #5d6b86; font-size: 13px; line-height: 1.7; }
.skill-block { margin-top: 20px; }
.skill-block:first-child { margin-top: 0; }
.skill-block h2 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.skill-block p { margin: 0 0 10px; color: #3c465c; font-size: 14px; line-height: 1.75; }
.steps { margin: 0; padding-left: 1.2em; color: #31415f; }
.steps li { margin: 0 0 10px; line-height: 1.7; font-size: 14px; }
.steps code,
.skill-block p code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--blue-ghost);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 12.5px;
}
.skill-code {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: #f7f9fd;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  overflow: auto;
  white-space: pre-wrap;
}
.skill-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.skill-actions a.primary {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
}
.collect-row { display: flex; gap: 10px; align-items: flex-end; }
.collect-row label { flex: 1; margin: 0; }
.collect-row .primary { flex: none; padding: 0 20px; }
.result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.result h2 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0;
}
.result p { margin: 0 0 8px; color: #3c465c; font-size: 14px; line-height: 1.7; word-break: break-all; }
.result .muted { color: #6b7690; }

@media (max-width: 720px) {
  .api-grid { grid-template-columns: 1fr; }
  .collect-row { flex-direction: column; align-items: stretch; }
  .collect-row .primary { width: 100%; }
}
