/* 全局样式 */
body {
  background: #0a0608;
  color: #f0d8c8;
  font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
  margin: 0;
  padding: 0;
}

/* 消息容器 */
.message-container {
  background: #1e1418;
  border-left: 4px solid #d68a4a;
  border-radius: 12px;
  padding: 18px;
  margin: 12px 0;
  color: #f0d8c8;
  font-size: 14px;
  line-height: 1.85;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 角色名 */
.character-name {
  font-size: 18px;
  font-weight: bold;
  color: #e09860;
  margin-bottom: 12px;
  border-bottom: 1px solid #b06a3c;
  display: inline-block;
  padding-right: 20px;
  text-shadow: 0 0 5px rgba(214,138,74,0.3);
}

/* 对话正文 */
.dialogue {
  margin: 12px 0;
  line-height: 1.85;
}

/* 数值条 */
.status-bar {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 15px 0 10px;
  font-size: 12px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid #6a4a2a;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 内心独白 */
.inner-thought {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(100, 60, 40, 0.2);
  border-left: 2px solid #b06a3c;
  font-style: italic;
  color: #c09878;
  font-size: 13px;
}

/* 江湖令提示 */
.jianghu-ling {
  background: #2a1c20;
  border: 1px solid #e0a060;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  font-family: monospace;
  color: #e0a060;
  font-size: 12px;
}

/* 数值变化框 */
.value-change {
  background: #2a1c20;
  border: 1px solid #d68a4a;
  border-radius: 6px;
  padding: 8px;
  margin: 8px 0;
  font-size: 11px;
  color: #f0c8a8;
  font-family: monospace;
}

/* 状态栏折叠面板 */
details {
  background: #1e1418;
  border: 2px solid #b06a3c;
  border-radius: 12px;
  margin: 12px 0;
}
summary {
  padding: 12px;
  color: #d68a4a;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

/* 角色图鉴内部 */
.character-list {
  background: rgba(176,106,60,0.08);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}
.character-name-tag {
  color: #e09860;
  font-weight: bold;
}
.character-value {
  color: #f0c8a8;
  font-size: 11px;
}

/* 选项区域 */
.options {
  background: #1e1418;
  border: 1px solid #b06a3c;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
}
.options-title {
  color: #d68a4a;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 13px;
}
.options-list {
  color: #f0d8c8;
  line-height: 2.2;
  font-size: 13px;
}

/* 按钮通用 */
button {
  transition: all 0.2s ease;
}
button:active {
  transform: scale(0.98);
}

/* 响应式 */
@media (max-width: 600px) {
  .message-container {
    padding: 12px;
  }
  .status-bar {
    flex-direction: column;
    gap: 6px;
  }
}