/* 歇口气 · 急救陪伴页样式（极简、安静） */

body.emergency-page { background: #F4FAF5; }

/* 顶栏不固定，让求助横幅吸顶 */
.emergency-page .site-header { position: static; }

/* —— 求助横幅（醒目但温和） —— */
.rescue-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  background: var(--green-deep);
  color: #FFFFFF;
  padding: 10px 16px;
  box-shadow: 0 2px 10px rgba(21, 128, 61, 0.25);
}

.rescue-text { font-size: 0.95rem; }

.rescue-call {
  background: #FFFFFF;
  color: var(--green-deep);
  border-radius: 999px;
  padding: 7px 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rescue-call:hover { background: var(--green-mist); }

.rescue-more { color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; white-space: nowrap; }

/* —— 主体 —— */
.emergency-main { max-width: 640px; }

/* 缓慢呼吸圆点 */
.pulse-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 0 30px;
  text-align: center;
}

.pulse-dot {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #BBF7D0, var(--green-soft));
  box-shadow: 0 0 50px rgba(74, 222, 128, 0.4);
  animation: pulse-breathe 10s ease-in-out infinite;
  margin-bottom: 22px;
}

@keyframes pulse-breathe {
  0% { transform: scale(1); }
  45% { transform: scale(1.45); }
  55% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.pulse-text { color: var(--text-muted); line-height: 2; }

/* —— 陪伴短句 —— */
.phrase-section {
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 28px;
}

.phrase-text {
  font-size: 1.18rem;
  line-height: 2;
  min-height: 4.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.phrase-text.phrase-show { opacity: 1; }

/* —— 最小动作 —— */
.actions-title { font-size: 1.05rem; text-align: center; margin-bottom: 14px; font-weight: 600; }

.action-list { display: flex; flex-direction: column; gap: 10px; }

.action-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-item:hover { border-color: var(--green-soft); }

.action-item.done {
  background: var(--green-mist);
  border-color: var(--green-soft);
  color: var(--green-deeper);
}

.action-item.done::after { content: '  ✓ 做到了'; font-size: 0.85rem; font-weight: 700; }

.actions-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.emergency-soft {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
  .phrase-text { transition: none; }
}
