/* ============ 发起指南样式 ============ */

/* 目录 */

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  margin-bottom: 8px;
}

.toc a {
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 600;
}

.toc a:hover {
  background: #FFE0C2;
}

/* 手册章节 */

.guide-section {
  scroll-margin-top: 80px;
}

.guide-section .card {
  margin-bottom: 16px;
}

.guide-section h3 {
  font-size: 1.05rem;
  margin: 14px 0 8px;
}

.guide-section h3:first-child {
  margin-top: 0;
}

.guide-section ul {
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-section li {
  font-size: 0.95rem;
}

.guide-section strong {
  color: var(--primary);
}

.section-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* 话术模板 */

.script-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.script-head h3 {
  margin: 0;
  font-size: 1rem;
}

.script-text {
  font-family: var(--font);
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-strong);
}

.script-tip {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 开场白引用 */

.opening-quote {
  margin: 12px 0;
  padding: 14px 18px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--primary-dark);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* 安全卡片 */

.safety-card {
  border: 1.5px solid #FECACA;
  background: #FFFBFA;
}

/* 破冰问题生成器 */

.ice-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ice-tab {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #FFF;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ice-tab:hover {
  border-color: var(--accent);
  color: var(--primary);
}

.ice-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
}

.ice-display {
  text-align: center;
  padding: 36px 24px;
  margin-bottom: 16px;
}

.ice-category {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.ice-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.7;
  min-height: 2.2em;
}

.ice-question.ice-pop {
  animation: icePop 0.35s ease;
}

@keyframes icePop {
  0% { opacity: 0; transform: translateY(8px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ice-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .ice-question {
    font-size: 1.1rem;
  }

  .script-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
