/* 基础样式 */
body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* 场景信息标题样式 */
details > summary {
  background-color: #8e44ad;
  color: white;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

details > summary:hover {
  background-color: #9b59b6;
  transform: translateY(-2px);
}

/* 内容区域样式 */
details > div {
  background-color: white;
  padding: 20px;
  border-radius: 0 0 6px 6px;
  margin-top: -5px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 正文内容区域 */
div[style*="text-align:center"] {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 6px;
  margin: 20px 0;
  border: 1px dashed #ccc;
}

/* 状态栏特殊样式 */
details > details {
  margin-top: 10px;
}

details > details > summary {
  background-color: #3498db;
  color: white;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin: 10px 0;
}

/* 记忆区特殊样式 */
details > details > details > summary {
  background-color: #27ae60;
}

/* 图标样式 */
summary::before {
  margin-right: 8px;
  font-size: 1.1em;
}

/* 状态栏内容样式 */
details details > div {
  background-color: #f0f8ff;
  padding: 15px;
  border-radius: 0 0 6px 6px;
  border-left: 1px solid #d6eaf8;
  border-right: 1px solid #d6eaf8;
  border-bottom: 1px solid #d6eaf8;
}

/* 记忆系统规则样式 */
details details details > div {
  background-color: #e8f8f5;
  border-color: #d1f2eb;
}

/* 响应式设计 */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  
  details > summary, 
  details > details > summary {
    padding: 10px;
    font-size: 0.9em;
  }
  
  div[style*="text-align:center"] {
    padding: 15px;
  }
}