/* 基础容器 */
.wish-wrap {
  background: rgba(255, 248, 245, 0.95);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  color: #2c3e4e;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.75;
  font-size: 15px;
  border: 1px solid rgba(232,128,122,0.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* 对话样式 - 粉色（林晚晴） */
.wish-dialogue-pink {
  color: #e8807a;
  font-weight: 500;
  display: inline;
}

/* 对话样式 - 蓝色（玩家） */
.wish-dialogue-blue {
  color: #5fa7b0;
  font-weight: 500;
  display: inline;
}

/* 内心独白 */
.wish-inner {
  color: #9aaebf;
  font-style: italic;
  background: rgba(232,128,122,0.08);
  padding: 12px 16px;
  border-radius: 12px;
  margin: 12px 0;
  border-left: 3px solid #e2b87a;
}

/* 场景描述卡片 */
.wish-scene {
  background: rgba(224, 232, 240, 0.5);
  padding: 16px;
  border-radius: 12px;
  margin: 12px 0;
  color: #5d7a8c;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
}

/* 分隔线 */
.wish-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8807a, #5fa7b0, #e8807a, transparent);
  margin: 24px 0;
}

/* 状态栏折叠面板 */
details.wish-state {
  background: rgba(245, 247, 250, 0.9);
  border-radius: 12px;
  padding: 8px 12px;
  margin: 12px 0;
  font-size: 13px;
  border: 1px solid rgba(232,128,122,0.2);
}
details.wish-state summary {
  cursor: pointer;
  color: #e8807a;
  font-weight: 500;
}

/* 时间状态栏专用 */
.wish-timebar {
  background: linear-gradient(135deg, rgba(232,128,122,0.1), rgba(95,167,176,0.1));
  padding: 12px 16px;
  border-radius: 12px;
  font-family: monospace;
  font-size: 13px;
  color: #5d7a8c;
  margin-bottom: 20px;
  border-left: 4px solid #e8807a;
}

/* 选项按钮样式 */
.wish-option {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(232,128,122,0.3);
  border-radius: 30px;
  padding: 8px 20px;
  margin: 8px 8px 0 0;
  color: #e8807a;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.wish-option:hover {
  background: #e8807a;
  color: white;
  border-color: #e8807a;
}

/* 角色名字标签 */
.wish-name-tag {
  font-weight: 600;
  color: #e8807a;
  margin-right: 8px;
}

/* 淡入淡出 */
.wish-fade {
  animation: wishFadeIn 0.3s ease;
}
@keyframes wishFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 书信/日记样式 */
.wish-letter {
  background: rgba(250, 245, 240, 0.9);
  padding: 20px;
  border-radius: 8px;
  font-family: 'KaiTi', '楷体', serif;
  border: 1px dashed #e2b87a;
  margin: 16px 0;
  color: #5d7a8c;
}

/* 医院特殊背景块 */
.wish-hospital {
  background: rgba(232,128,122,0.05);
  border-left: 4px solid #e8807a;
  padding: 16px;
  margin: 16px 0;
  border-radius: 0 12px 12px 0;
}

/* 手机端适配 */
@media (max-width: 600px) {
  .wish-wrap {
    padding: 16px;
    font-size: 14px;
  }
  .wish-option {
    padding: 6px 16px;
    font-size: 13px;
  }
}