/* 回忆系列 — 在 story-engine.css 之上的增量样式 */

.memory-app .anim-zone {
  flex: 0 0 68%;
}

.memory-app .text-zone {
  flex: 0 0 32%;
  background: linear-gradient(180deg, rgba(58,56,53,0) 0%, rgba(58,56,53,0.97) 20%);
}

.narrator-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--story-primary);
  opacity: 0.9;
  margin-bottom: 4px;
}

.narrator-meta {
  font-size: 12px;
  color: var(--story-text-secondary);
  margin-top: 4px;
}

.narrator-intro {
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.6;
  color: var(--white-90);
  max-width: 360px;
  margin: 10px 0 4px;
}

.subtitle-toggle {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white-70);
  font-size: 11px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(6px);
}

body.subtitles-off .memory-caption {
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.memory-caption strong {
  color: var(--story-primary);
  font-weight: 700;
}

.guess-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--story-primary);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.guess-question {
  font-size: clamp(15px, 4.2vw, 19px);
  font-weight: 700;
  line-height: 1.55;
  max-width: 400px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.think-hint {
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--story-text-secondary);
  line-height: 1.5;
  max-width: 340px;
  margin-top: 8px;
  font-style: italic;
}

.btn-guess-continue {
  margin-top: 6px;
}

.guess-choices {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-top: 8px;
}

.reflection-card {
  background: rgba(232, 200, 120, 0.1);
  border-left: 3px solid rgba(232, 200, 120, 0.45);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.65;
  color: var(--white-90);
  max-width: 400px;
  width: 100%;
  text-align: left;
  margin-top: 6px;
}

.ask-family {
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--story-text-secondary);
  max-width: 400px;
  line-height: 1.55;
  margin-top: 8px;
}

.memory-app .anim-zone.has-scene-image canvas {
  opacity: 0.25;
}

.memory-app .scene-image {
  opacity: 0.95;
}

/* ambient 模式：听故事优先，不用逐镜 AI 插画 */
.memory-app.visual-ambient .anim-zone {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.memory-app.visual-ambient .text-zone {
  flex: 1 1 62%;
  background: linear-gradient(180deg, rgba(58,56,53,0) 0%, rgba(58,56,53,0.98) 12%);
}

.memory-app.visual-ambient .anim-zone.has-mood-plate canvas {
  opacity: 0.45;
}

.mood-plate {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(58, 56, 53, 0.42);
  border: 1px solid rgba(232, 200, 120, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: min(280px, 80vw);
  text-align: center;
}

.mood-emoji {
  font-size: clamp(40px, 12vw, 56px);
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.mood-label {
  font-size: clamp(13px, 3.6vw, 15px);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(245, 240, 232, 0.88);
  line-height: 1.45;
}
