/* 主流大模型提示词专题：六个模型共用一个页面，切换后复用同一套卡片与筛选。 */
.llm-page { padding-bottom: 48px; }
.llm-intro { padding-top: 6px; }
.llm-note { margin: 0 auto 18px; color: var(--text-muted); font-size: 12px; line-height: 1.7; text-align: center; }

.llm-model-switch {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.llm-models { display: flex; flex-wrap: wrap; gap: 8px; }

.llm-model {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
}

.llm-model:hover { border-color: var(--primary); }
.llm-model.active { border-color: var(--primary); background: var(--primary-soft, rgba(91,94,245,.10)); color: var(--primary); font-weight: 600; }
.llm-model .llm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--llm-accent, var(--primary)); }
.llm-model-note { margin: 10px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }

.llm-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.llm-search-wrap {
  display: flex;
  align-items: center;
  flex: 0 1 310px;
  min-width: 190px;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-muted);
}

.llm-search-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 94, 245, .10); }
.llm-search-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.llm-toolbar .chips { flex: 1 1 auto; margin: 0; }
.llm-tab-count { margin-left: 5px; color: inherit; font-size: 11px; opacity: .68; }

.llm-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 2px 4px;
}

.llm-count-row .list-count { margin: 0; }

.llm-stats-inline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.llm-stats-inline span { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.llm-stats-inline span + span::before { content: "·"; margin-right: 8px; opacity: .45; }
.llm-stats-inline strong { color: var(--primary); font-size: 14px; }

.llm-groups { margin-top: 6px; }
.llm-group { margin-top: 24px; }
.llm-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.llm-group-head h2 { margin: 0; font-size: 18px; }
.llm-group-head span { flex: 0 0 auto; color: var(--text-muted); font-size: 12px; }
.llm-group .prompt-grid { margin-top: 0; }
.llm-group .prompt-card { min-width: 0; }
.llm-empty { padding: 40px 0; text-align: center; }

.llm-disclaimer {
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
}

.llm-disclaimer h2 { margin: 0 0 8px; font-size: 15px; }
.llm-disclaimer p { margin: 6px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.75; }

@media (max-width: 760px) {
  .llm-toolbar { align-items: stretch; flex-direction: column; }
  .llm-search-wrap { flex-basis: auto; width: 100%; }
  .llm-toolbar .chips { width: 100%; }
  .llm-count-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .llm-stats-inline { justify-content: flex-start; }
  .llm-group-head h2 { font-size: 16px; }
}
