think {
    display: none !important;
}

/* ===== <scene> 主容器：月相卡 ===== */
scene {
  display: block;
  position: relative;
  padding: 28px 22px 22px;
  margin: 18px 0;
  background-image:
    linear-gradient(135deg, rgba(20, 28, 50, 0.86) 0%, rgba(38, 52, 80, 0.82) 50%, rgba(28, 38, 60, 0.88) 100%),
    url('你的月相图URL');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  border: 1px solid rgba(212, 169, 106, 0.45);
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(212, 169, 106, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  color: #ede2c9;
  font-family: 'Noto Serif SC', 'Source Han Serif', '楷体', serif;
  line-height: 1.85;
}

/* 右上角月相小点缀 */
scene::before {
  content: '☾';
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 20px;
  color: #d4a96a;
  opacity: 0.7;
  text-shadow: 0 0 12px rgba(212, 169, 106, 0.6);
}

/* 左下角细丝点缀 */
scene::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 22px;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #d4a96a, transparent);
  opacity: 0.5;
}

/* ===== 正文 <text> ===== */
scene text {
  display: block;
  padding: 14px 6px 18px;
  color: #ede2c9;
  font-size: 15px;
  letter-spacing: 0.4px;
}

scene text p {
  margin: 0 0 14px 0;
  text-indent: 2em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* ===== <details> 折叠面板 ===== */
scene details {
  margin: 12px 0;
  background: linear-gradient(145deg, rgba(15, 22, 38, 0.78), rgba(30, 42, 64, 0.7));
  border: 1px solid rgba(212, 169, 106, 0.32);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

scene details:hover {
  border-color: rgba(212, 169, 106, 0.65);
  box-shadow: 0 0 18px rgba(212, 169, 106, 0.18);
}

scene details summary {
  cursor: pointer;
  padding: 11px 18px;
  background: linear-gradient(90deg, rgba(212, 169, 106, 0.22), rgba(212, 169, 106, 0.04));
  color: #d4a96a;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.2px;
  list-style: none;
  position: relative;
  user-select: none;
  transition: background 0.25s ease;
}

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

scene details summary::after {
  content: '▾';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: #b8860b;
  font-size: 12px;
}

scene details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

scene details[open] summary {
  background: linear-gradient(90deg, rgba(212, 169, 106, 0.3), rgba(212, 169, 106, 0.08));
  border-bottom: 1px solid rgba(212, 169, 106, 0.2);
}

scene details p {
  margin: 7px 16px;
  color: #c8cbd4;
  font-size: 13.5px;
  line-height: 1.75;
}

scene details p:first-of-type { margin-top: 12px; }
scene details p:last-of-type { margin-bottom: 12px; }

scene details strong {
  color: #d4a96a;
  letter-spacing: 0.5px;
  margin-right: 6px;
  font-weight: 600;
}

/* 记忆区列表 */
scene details ol,
scene details ul {
  margin: 10px 18px;
  padding-left: 18px;
  color: #c8cbd4;
  font-size: 13px;
}

scene details li {
  margin: 6px 0;
  line-height: 1.7;
}

scene details li::marker { color: #d4a96a; }

/* 行动推荐特化 */
scene details:last-of-type ul li {
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

scene details:last-of-type ul li:hover {
  background: rgba(212, 169, 106, 0.1);
  color: #ede2c9;
}

/* ===== 用户输入框（你的原版保留，仅微调整合） ===== */
#ai-chat-input {
  background: rgba(255, 248, 235, 0.85);
  color: #5c4033;
  border: none;
  font-size: 14px;
}

#ai-chat-input::placeholder { color: #c4a882; }

#ai-chat-input-container,
div:has(> #ai-chat-input) {
  background: rgba(255, 250, 240, 0.7);
  border: 1.5px solid #d4a96a !important;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

div:has(> #ai-chat-input):focus-within {
  border-color: #b8860b !important;
  box-shadow: 0 0 8px rgba(184, 134, 11, 0.3);
}

#ai-send-button {
  background: linear-gradient(135deg, #d4a96a, #b8860b) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
}

#ai-send-button:hover {
  background: linear-gradient(135deg, #e6c07a, #c9960c) !important;
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.5);
  transform: scale(1.05);
}

#ai-send-button svg {
  color: #fff !important;
  fill: #fff !important;
}

.MuiButton-textPrimary {
  color: #8b6914 !important;
  transition: all 0.25s ease;
}

.MuiButton-textPrimary:hover {
  background: rgba(212, 169, 106, 0.15) !important;
  color: #b8860b !important;
}

.MuiButton-outlinedPrimary {
  border-color: #d4a96a !important;
  color: #8b6914 !important;
  transition: all 0.25s ease;
}

.MuiButton-outlinedPrimary:hover {
  background: rgba(212, 169, 106, 0.12) !important;
  border-color: #b8860b !important;
  color: #b8860b !important;
}

.MuiPaginationItem-root { color: #8b6914 !important; }

.MuiPaginationItem-root.Mui-selected {
  background: rgba(212, 169, 106, 0.25) !important;
  color: #b8860b !important;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  scene {
    padding: 20px 14px 16px;
    margin: 12px 0;
    border-radius: 12px;
  }
  scene::before { font-size: 16px; top: 10px; right: 14px; }
  scene text { font-size: 14px; padding: 10px 2px 14px; }
  scene text > p:first-child::first-letter { font-size: 2.2em; }
  scene details summary { font-size: 13px; padding: 10px 14px; letter-spacing: 0.8px; }
  scene details p { font-size: 12.5px; margin: 6px 12px; }
  scene details ol, scene details ul { font-size: 12px; margin: 8px 14px; }
}