/* ========== 全局重置与卡片容器 ========== */
.summer-card {
  max-width: 720px;
  margin: 24px auto;
  padding: 28px 32px;
  background: linear-gradient(135deg, #e0f7fa 0%, #fff8e1 100%);
  /* 海洋泡沫到沙滩阳光的渐变 */
  border-radius: 32px;
  box-shadow: 0 12px 32px rgba(0, 150, 180, 0.15);
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  color: #2e3b4e;
}

/* ========== 段落基础 ========== */
p {
  line-height: 1.8;
  margin: 0 0 16px 0;
}

/* ========== 所有 strong 标签：用作字段名，统一夏日橘色 ========== */
strong {
  color: #f57c00;
  font-weight: 700;
}

/* ========== 区块标题 ========== */
.section-title {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d84315;
  border-left: 5px solid #ffb74d;
  padding-left: 14px;
}

/* ========== 通用信息列表 (用于世界信息、人物面板) ========== */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #ffe0b2;
  font-size: 0.95rem;
}

.info-list li:last-child {
  border-bottom: none;
}

/* ========== 正文区域 ========== */
.content-body {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 183, 77, 0.3);
}

/* ========== 折叠面板通用样式 ========== */
details {
  margin: 16px 0;
  border-radius: 18px;
  border: 1px solid rgba(0, 150, 136, 0.2);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  overflow: hidden;
}

details[open] {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 150, 180, 0.15);
  border-color: #4dd0e1;
}

/* 折叠标题 */
summary {
  list-style: none;
  padding: 14px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 224, 178, 0.4);
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background: rgba(255, 183, 77, 0.25);
}

details[open] > summary {
  background: rgba(255, 183, 77, 0.2);
  border-bottom-color: #ffe0b2;
}

/* 自定义折叠箭头 */
summary::before {
  content: "🌴";
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.2s;
}

details[open] > summary::before {
  content: "☀️";
  transform: rotate(0deg);
}

/* 面板展开后内容区 */
.panel-content {
  padding: 16px 20px;
}

/* ========== 特定面板微调 ========== */
/* 日记面板使用更暖的底色 */
.diary-panel {
  border-color: #ffb74d;
}

.diary-panel > summary {
  background: rgba(255, 204, 128, 0.3);
}

/* 用户面板 */
.user-panel > summary {
  background: rgba(129, 212, 250, 0.25);
}

/* 角色面板 */
.character-panel > summary {
  background: rgba(255, 171, 145, 0.3);
}

/* 嵌套私密信息面板（内部折叠） */
.secret-panel {
  border: 1px dashed #ff8a65;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  border-radius: 14px;
}

.secret-panel > summary {
  background: rgba(255, 138, 101, 0.2);
  font-size: 1rem;
  padding: 10px 16px;
}

.secret-panel > summary::before {
  content: "🔒";
}

.secret-panel[open] > summary::before {
  content: "🔓";
}

/* ========== 行动推荐区域 ========== */
.actions {
  margin-top: 28px;
}

.actions-title {
  margin: 0 0 16px 0;
  font-size: 1.2rem;
  color: #d84315;
  border-bottom: 2px dotted #ffb74d;
  padding-bottom: 6px;
}

.action-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-card {
  flex: 1 1 160px;
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.action-card:hover {
  transform: translateY(-3px);
}

.action-a {
  border-color: #ffb74d;
  background: linear-gradient(white, #fff3e0);
}

.action-b {
  border-color: #4dd0e1;
  background: linear-gradient(white, #e0f7fa);
}

.action-c {
  border-color: #81c784;
  background: linear-gradient(white, #e8f5e9);
}

.action-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #37474f;
}

.action-card p {
  font-size: 0.85rem;
  color: #546e7a;
  margin: 0;
}

/* 自由行动 */
.free-action {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(255, 243, 224, 0.8);
  border: 1px dashed #ffb74d;
  border-radius: 30px;
  text-align: center;
  font-size: 1rem;
  color: #e65100;
}

.free-action strong {
  color: #bf360c;
}

/* 隐藏内容区 */
.hidden-area {
  display: none;
}

/* 淡橙色文字美化 - 适用选择器：.text-light-orange */
.text-light-orange {
    color: #d4946e;
    text-shadow: 0 1px 3px rgba(212, 148, 110, 0.25);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
