css
.ai-response {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 19px;
  line-height: 2.0;
  color: #1a1a1a;
  background: #faf8f4;
  border: 3px solid #333333;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px #b08d57,
    0 0 0 5px #faf8f4,
    0 0 0 6px #8a7a5f,
    0 10px 36px rgba(0, 0, 0, 0.18);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

/* 思维链隐藏 */
.ai-response think {
  display: none;
}

/* 正文容器 */
.ai-response text {
  display: block;
}

.ai-response text p {
  margin: 1em 0;
  text-align: justify;
  text-indent: 2em;
  word-break: break-word;
  color: #1a1a1a;
  font-weight: 400;
}

.ai-response text p strong {
  color: #000000;
  font-weight: 700;
}

.ai-response text p em {
  color: #4a3a20;
}

.ai-response text p::selection {
  background: rgba(176, 141, 87, 0.35);
  color: #000000;
}

/* ===== 状态栏卡片 ===== */
.ai-response details {
  background: #ffffff;
  border: 2px solid #4a4a4a;
  border-radius: 12px;
  margin: 20px 0;
  padding: 14px 20px;
  box-shadow:
    inset 0 0 0 1px #e8e0d4,
    0 4px 14px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-response details:hover {
  border-color: #8a6d3b;
  box-shadow:
    inset 0 0 0 1px #e8e0d4,
    0 0 0 3px rgba(176, 141, 87, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.12);
}

.ai-response summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.08em;
  color: #6b4f25;
  padding: 8px 2px;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ai-response summary::-webkit-details-marker {
  display: none;
}

.ai-response summary::before {
  content: "❖ ";
  color: #8a6d3b;
  font-size: 0.9em;
}

.ai-response details[open] summary {
  border-bottom: 2px solid #e8e0d4;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

/* 状态栏内部文本 */
.ai-response details p {
  margin: 0.5em 0;
  line-height: 1.95;
  color: #2a2a2a;
}

.ai-response details strong {
  color: #6b4f25;
  font-weight: 700;
}

.ai-response details hr {
  border: none;
  border-top: 2px solid #e8e0d4;
  margin: 12px 0;
}

/* 对话染色 */
.ai-response .male-speech {
  color: #1f4e79;
  font-weight: 600;
}

.ai-response .female-speech {
  color: #a0305e;
  font-weight: 600;
}

/* 表格（主角信息等） */
.ai-response details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  margin: 12px 0 4px;
  line-height: 1.7;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  color: #2a2a2a;
}

.ai-response details table th {
  background: #4a3a20;
  color: #faf8f4;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid #333333;
  border-bottom: 3px solid #8a6d3b;
  font-weight: 700;
  white-space: nowrap;
}

.ai-response details table td {
  padding: 9px 12px;
  border: 1px solid #cfc6b8;
  vertical-align: top;
}

.ai-response details table tr:nth-child(even) td {
  background: #f5f1ea;
}

.ai-response details table tr:hover td {
  background: #efe7db;
}

/* 行动推荐特殊样式 */
.ai-response details.action {
  border-left: 6px solid #8a6d3b;
  border-top: 2px solid #4a4a4a;
  border-right: 2px solid #4a4a4a;
  border-bottom: 2px solid #4a4a4a;
  background: #ffffff;
}

.ai-response details.action summary {
  color: #5c3f1c;
}

/* ===== 移动端适配 ===== */
@media (max-width: 640px) {
  .ai-response {
    font-size: 17px;
    line-height: 1.95;
    padding: 16px 10px;
    border: 2px solid #333333;
    box-shadow:
      0 0 0 1px #b08d57,
      0 0 0 4px #faf8f4,
      0 0 0 5px #8a7a5f,
      0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .ai-response details {
    padding: 10px 14px;
    border-radius: 10px;
    margin: 16px 0;
  }

  .ai-response summary {
    font-size: 0.98em;
  }

  .ai-response details table {
    font-size: 0.82em;
  }
}