@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Cinzel:wght@400;600&display=swap');

/* === 全局基调：奶油米色 + 古金 + 深绛 === */
body, html {
  background: #ede2cf !important;
}

::-webkit-scrollbar { width: 8px !important; height: 6px !important; }
::-webkit-scrollbar-track { background: #e8dcc4 !important; border-radius: 4px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b89968, #8f7143) !important;
  border-radius: 4px;
  border: 1px solid #d4b986 !important;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c9aa79, #a08355) !important;
}
::-webkit-scrollbar:horizontal { display: none !important; }

/* === 顶部栏：门第牌匾感 === */
.sticky.w-full.top-0.flex.items-center.px-2.h-16.bg-white\/80,
.sticky.w-full.flex.items-center.text-base.text-gray-900.border-b-gray-100.backdrop-blur-md {
  height: 3.4rem !important;
  background: linear-gradient(180deg, #f5ead2 0%, #e6d5b0 100%) !important;
  background-color: #f5ead2 !important;
  border-bottom: 2px solid #b89968 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,250,240,0.8),
    inset 0 -1px 0 rgba(139,113,67,0.25),
    0 2px 8px rgba(120,90,50,0.15) !important;
  position: relative;
}
.sticky.w-full.top-0.flex.items-center.px-2.h-16.bg-white\/80::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, #b89968 15%, #d4b986 50%, #b89968 85%, transparent 100%);
  pointer-events: none;
}

/* === 模型选择框 === */
#ai-model-selector [data-state="closed"] .group.flex.items-center.justify-between.cursor-pointer,
.group.flex.items-center.px-2.h-8.rounded-lg.bg-gray-100.justify-between.hover\:bg-gray-200.cursor-pointer {
  background: linear-gradient(135deg, #faf3e0 0%, #e8d7b2 100%) !important;
  color: #3d2f1e !important;
  border: 1px solid #b89968 !important;
  border-radius: 4px !important;
  font-family: 'Cormorant Garamond','Noto Serif SC',serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(139,113,67,0.15),
    0 1px 3px rgba(120,90,50,0.2) !important;
  transition: all 0.3s ease !important;
  outline: none !important;
}
#ai-model-selector [data-state="open"] .group.flex.items-center.justify-between.cursor-pointer,
.group.flex.items-center.px-2.h-8.rounded-lg.bg-gray-100.justify-between.hover\:bg-gray-200.cursor-pointer.\!bg-gray-200 {
  background: linear-gradient(135deg, #d4b986 0%, #b89968 100%) !important;
  color: #2a1f10 !important;
  border-color: #8f7143 !important;
  box-shadow:
    inset 0 2px 4px rgba(120,90,50,0.4),
    0 0 8px rgba(212,185,134,0.5) !important;
}
#ai-model-selector .group.flex.items-center.px-2.h-8 * {
  color: inherit !important;
}

/* === 设置弹窗 === */
.absolute.z-40.text-gray-700.right-0.mt-6.w-48.bg-white.border.border-gray-200.rounded-lg.shadow-lg.py-2 {
  background: linear-gradient(180deg, #faf5ea 0%, #f0e4c8 100%) !important;
  color: #3d2f1e !important;
  border: 1px solid #b89968 !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 16px rgba(80,50,20,0.25) !important;
}
.px-4.py-2.hover\:bg-indigo-100.cursor-pointer.font-normal.text-sm:hover {
  background: linear-gradient(90deg, #e8d7b2, #d4b986) !important;
  color: #2a1f10 !important;
}

/* 底部背景遮罩 */
.bg-gradient-to-t.from-white.via-white.to-transparent.absolute.w-full.bottom-0.left-0.right-0.pb-4 {
  background: linear-gradient(180deg, transparent 0%, #ede2cf 40%, #ede2cf 100%) !important;
  border-top: none !important;
  padding-bottom: 0 !important;
  z-index: 6;
}
.w-full.h-auto.absolute.top-1\/2.left-0.transform.-translate-y-1\/2.object-cover,
.translate-y-full.opacity-0.w-full.h-full.absolute.bottom-0.z-20.inset-x-0.bg-white.mx-auto,
.flex.h-full.items-center.flex-col.gap-2.w-full {
  background: #ede2cf !important;
}

/* === 用户提问气泡：贵族手谕卡片 === */
.inline-block.bg-gray-100\/90:not(.chat-answer-container .bg-gray-100\/90) {
  display: block;
  padding: 22px 20px 16px 20px !important;
  background:
    linear-gradient(135deg, #faf3e0 0%, #f0e0bf 100%) !important;
  border: 1px solid #b89968 !important;
  border-radius: 3px !important;
  position: relative;
  color: #3d2f1e !important;
  font-family: 'Noto Serif SC','Cormorant Garamond',serif !important;
  font-weight: 500;
  line-height: 1.75;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(139,113,67,0.2),
    0 3px 12px rgba(80,50,20,0.15),
    2px 2px 0 0 #b89968 !important;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%),
    repeating-linear-gradient(45deg,
      transparent, transparent 8px,
      rgba(184,153,104,0.03) 8px, rgba(184,153,104,0.03) 9px);
}
.inline-block.bg-gray-100\/90:not(.chat-answer-container .bg-gray-100\/90)::before {
  content: "手 · 谕";
  position: absolute;
  top: -12px;
  left: 16px;
  background: linear-gradient(180deg, #6d3541 0%, #4a2029 100%);
  color: #f5e6c8;
  font-family: 'Ma Shan Zheng','Noto Serif SC',serif;
  font-size: 12px;
  padding: 3px 12px;
  letter-spacing: 4px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(80,20,30,0.3);
  z-index: 2;
}
.inline-block.bg-gray-100\/90:not(.chat-answer-container .bg-gray-100\/90)::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 10px;
  width: 22px; height: 22px;
  background: radial-gradient(circle at 40% 40%, #a83c4a 0%, #6d1f2b 50%, #4a1420 100%);
  border-radius: 50%;
  box-shadow:
    inset -2px -2px 4px rgba(0,0,0,0.4),
    inset 2px 2px 3px rgba(255,180,190,0.3),
    0 2px 4px rgba(80,20,30,0.4);
  z-index: 2;
}

/* AI 回复容器：透明化让内部模块承担样式 */
.chat-answer-container .bg-gray-100\/90 {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.mb-2 .shrink-0.rounded-full.block { display: none; }
.mr-2 { margin-right: 0; }
.ml-4 { margin-left: 0; margin-top: 0; margin-bottom: 1rem; }
.group .px-4 { padding-left: 0; padding-right: 0; }
.chat-answer-container .px-4 { padding-left: 0.15rem; padding-right: 0.15rem; }
.group.relative.ml-2.md\:ml-4.mr-4.md\:mr-0 { margin-right: 0.25rem; margin-left: 0.25rem; }
.rounded-b-2xl, .rounded-tr-2xl {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  border-top-right-radius: 0; border-top-left-radius: 0;
}
#Rectangle\ 1,
.absolute.flex.justify-end.gap-1.-top-3\.5.-right-3\.5,
.group .clip-path-triangle-right { display: none; }
.border-t-2.border-\[\#F1CBCB\].border-r-0.border-b-0.border-l-0,
.border-t-2.border-\[\#C9E1E9\].border-r-0.border-b-0,
.group .border-t-2 { border: none; }

.chat-answer-container .flex.justify-start.flex-wrap.gap-2.MuiBox-root.css-0 button:nth-last-child(1) {
  display: none;
}
.MuiStack-root.css-1ajg1ui:not(.chat-answer-container) button {
  color: #6d3541cc;
}
.chat-answer-container .MuiButtonBase-root.MuiButton-root {
  color: #8b6f47cc !important;
}

/* === 状态栏：门第请柬 === */
.sh {
  position: relative;
  margin: 0 0 14px 0;
  padding: 0;
  background:
    linear-gradient(180deg, #fbf3e0 0%, #f2e4c4 100%);
  border: 1px solid #b89968;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 0 40px rgba(139,113,67,0.06),
    0 3px 10px rgba(80,50,20,0.15),
    0 0 0 4px #ede2cf,
    0 0 0 5px #b89968;
  overflow: hidden;
  font-family: 'Noto Serif SC','Cormorant Garamond',serif;
  color: #3d2f1e;
}
.sh::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid rgba(139,113,67,0.35);
  pointer-events: none;
  border-radius: 2px;
}
.sh::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background:
    radial-gradient(circle at 70% 30%, rgba(168,60,74,0.15) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(184,153,104,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.sh-c {
  padding: 14px 20px 12px 20px;
  position: relative;
  z-index: 1;
}
.sh-r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.sh-rt {
  border-bottom: 1px dashed rgba(139,113,67,0.4);
  padding-bottom: 6px;
  margin-bottom: 4px;
}
.sh-w {
  color: #6d3541;
  font-weight: 600;
  padding: 2px 10px;
  background: linear-gradient(180deg, #f5e6c8 0%, #e8d4a8 100%);
  border: 1px solid rgba(184,153,104,0.5);
  border-radius: 2px;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.sh-d {
  color: #5c4a35;
  font-style: italic;
  font-family: 'Cormorant Garamond','Noto Serif SC',serif;
}
.sh-s, .sh-t {
  color: #4a3a26;
  font-weight: 500;
}
.sh-l {
  text-align: center;
  padding: 8px 12px 6px 12px;
  margin: 6px 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #4a2029;
  background: linear-gradient(90deg,
    transparent 0%, rgba(212,185,134,0.3) 20%,
    rgba(212,185,134,0.5) 50%,
    rgba(212,185,134,0.3) 80%, transparent 100%);
  border-top: 1px solid rgba(139,113,67,0.3);
  border-bottom: 1px solid rgba(139,113,67,0.3);
  letter-spacing: 1px;
}
.sh-i {
  text-align: center;
  font-size: 12.5px;
  color: #6d3541;
  font-style: italic;
  margin-top: 6px;
  padding: 4px 8px;
  font-family: 'Ma Shan Zheng','Noto Serif SC',serif;
  letter-spacing: 2px;
  opacity: 0.85;
}

/* === 叙事正文：贵族日记纸页 === */
.zx {
  position: relative;
  margin: 14px 0.5rem;
  padding: 26px 22px 22px 26px;
  background:
    linear-gradient(180deg, #fdf6e4 0%, #f7ecd1 100%);
  background-image:
    linear-gradient(180deg, #fdf6e4 0%, #f7ecd1 100%),
    repeating-linear-gradient(180deg,
      transparent 0px, transparent 33px,
      rgba(184,153,104,0.08) 33px, rgba(184,153,104,0.08) 34px);
  background-blend-mode: normal;
  border: 1px solid #c9aa79;
  border-left: 4px solid #6d3541;
  border-radius: 2px 4px 4px 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 24px 0 20px -20px rgba(109,53,65,0.15),
    0 4px 14px rgba(80,50,20,0.15);
  font-family: 'Noto Serif SC', 'Cormorant Garamond', 'Songti SC', serif;
  font-size: 19.5px;
  line-height: 1.95;
  color: #2f2418;
  text-align: justify;
  letter-spacing: 0.3px;
}
.zx::before {
  content: '';
  position: absolute;
  top: 10px; left: -4px; width: 4px; height: 40px;
  background: linear-gradient(180deg, #a83c4a 0%, #6d1f2b 100%);
  box-shadow: 0 2px 3px rgba(80,20,30,0.3);
}
.zx::after {
  content: '❦';
  position: absolute;
  bottom: 8px; right: 14px;
  color: rgba(109,53,65,0.35);
  font-size: 18px;
  pointer-events: none;
}
.zx p, .zx > * {
  text-indent: 2em;
  margin: 0 0 0.5em 0;
}
.zx div[style*="text-align:center"],
.zx div[align="center"],
.zx [style*="text-align: center"] {
  text-indent: 0 !important;
}
.zx div[style] {
  margin: 11px auto !important;
  position: relative;
  text-indent: 0 !important;
}
.zx strong, .zx b {
  color: #6d3541;
  font-weight: 600;
}
.zx em, .zx i {
  color: #7a5533;
  font-style: italic;
}
.zx a {
  color: #6d3541;
  border-bottom: 1px dashed #b89968;
  text-decoration: none;
}

/* === 数据存储主容器 === */
.jq, .pi, .np {
  margin: 12px 0.5rem;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  color: #3d2f1e;
}

/* 通用 details 折叠样式 */
.jq details, .pi details, .np details {
  margin: 0;
  border: 1px solid #b89968;
  border-radius: 3px;
  background: linear-gradient(180deg, #faf3e0 0%, #f2e4c4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 6px rgba(80,50,20,0.1);
}
.jq details summary, .pi details summary, .np details summary {
  padding: 9px 14px 9px 34px;
  cursor: pointer;
  font-weight: 600;
  color: #4a2029;
  letter-spacing: 0.5px;
  font-size: 14px;
  list-style: none;
  position: relative;
  background: linear-gradient(180deg, #f0e0bf 0%, #e0cca0 100%);
  border-radius: 2px 2px 0 0;
  border-bottom: 1px solid #b89968;
  user-select: none;
  transition: background 0.25s ease;
}
.jq details summary::-webkit-details-marker,
.pi details summary::-webkit-details-marker,
.np details summary::-webkit-details-marker { display: none; }
.jq details summary::before,
.pi details summary::before,
.np details summary::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 0; height: 0;
  border-left: 6px solid #6d3541;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.25s ease;
}
.jq details[open] > summary::before,
.pi details[open] > summary::before,
.np details[open] > summary::before {
  transform: translateY(-50%) rotate(90deg);
}
.jq details summary:hover,
.pi details summary:hover,
.np details summary:hover {
  background: linear-gradient(180deg, #e8d4a8 0%, #d4b986 100%);
}
.jq details[open] > summary,
.pi details[open] > summary,
.np details[open] > summary {
  border-bottom: 1px solid #b89968;
}

/* === 记忆区总容器 === */
.jq-s {
  position: relative;
}
.jq-s > summary::after {
  content: '· 门第档案 ·';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Ma Shan Zheng', serif;
  font-size: 11px;
  color: rgba(109,53,65,0.55);
  letter-spacing: 3px;
}

/* === 未合并 / 合并记忆：卷轴表格 === */
.jq-b {
  margin: 10px 12px !important;
  border-color: rgba(184,153,104,0.6) !important;
}
.jq-bu > summary {
  background: linear-gradient(180deg, #f5e8c8 0%, #e6d3a0 100%) !important;
}
.jq-bm > summary {
  background: linear-gradient(180deg, #e8d7b2 0%, #d4bd85 100%) !important;
  color: #3d2418 !important;
}
.jq-bm > summary::after {
  content: '尘封';
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: rgba(74,32,41,0.6);
  letter-spacing: 2px;
  border: 1px solid rgba(139,113,67,0.4);
  padding: 1px 6px;
  border-radius: 2px;
}

.jq-b table, .pi table, .np table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 12.5px;
  background: #fdf7e6;
  color: #2f2418;
  font-family: 'Noto Serif SC', serif;
}
.jq-b table th, .pi table th, .np table th {
  background: linear-gradient(180deg, #6d3541 0%, #4a2029 100%);
  color: #f5e6c8;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #b89968;
  text-align: center;
  white-space: nowrap;
}
.jq-b table th:first-child, .pi table th:first-child, .np table th:first-child {
  border-top-left-radius: 0;
}
.jq-b table th:last-child, .pi table th:last-child, .np table th:last-child {
  border-top-right-radius: 0;
}
.jq-b table td, .pi table td, .np table td {
  padding: 7px 10px;
  border-bottom: 1px dashed rgba(184,153,104,0.5);
  vertical-align: top;
  line-height: 1.6;
  background: #fdf7e6;
}
.jq-b table tr:nth-child(even) td,
.pi table tr:nth-child(even) td,
.np table tr:nth-child(even) td {
  background: #f7ecd1;
}
.jq-b table tr:hover td,
.pi table tr:hover td,
.np table tr:hover td {
  background: #f0e0bf;
  transition: background 0.2s ease;
}
.jq-b table tr:last-child td,
.pi table tr:last-child td,
.np table tr:last-child td {
  border-bottom: none;
}

/* 表格容器：滚动条 */
.jq-b, .pi-l, .pi-d, .np-s {
  overflow-x: auto;
}
.jq-b table, .pi-l table, .pi-d table, .np-s table {
  min-width: 100%;
}

/* === 关键转变：角色卷宗 === */
.np-u {
  margin: 10px 12px !important;
}
.np-u > summary {
  background: linear-gradient(180deg, #ecdfc6 0%, #dcc99e 100%) !important;
}
.np-un {
  margin: 8px 12px !important;
  border: 1px solid rgba(184,153,104,0.5) !important;
  background: #fbf5e6 !important;
}
.np-un > summary {
  background: linear-gradient(90deg, rgba(109,53,65,0.12) 0%, transparent 100%) !important;
  color: #4a2029 !important;
  font-size: 13px !important;
  padding: 6px 12px 6px 30px !important;
  border-bottom: 1px dashed rgba(184,153,104,0.5) !important;
}
.np-un > summary::before {
  border-left-color: #a83c4a !important;
  left: 12px !important;
}
.np-lu, .np-lm {
  list-style: none;
  padding: 8px 14px 8px 22px;
  margin: 0;
  background: #fdf7e6;
}
.np-lu li, .np-lm li {
  position: relative;
  padding: 5px 0 5px 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #3d2f1e;
  border-bottom: 1px dashed rgba(184,153,104,0.3);
}
.np-lu li:last-child, .np-lm li:last-child { border-bottom: none; }
.np-lu li::before {
  content: '❖';
  position: absolute;
  left: 0; top: 5px;
  color: #a83c4a;
  font-size: 10px;
}
.np-lu li strong {
  color: #6d3541;
  background: linear-gradient(180deg, transparent 60%, rgba(212,185,134,0.5) 60%);
  padding: 0 2px;
}

/* === 锚点池：便签簿 === */
.np-m {
  margin: 10px 12px !important;
}
.np-m > summary {
  background: linear-gradient(180deg, #f0e4c8 0%, #ddc99e 100%) !important;
}
.np-mn {
  margin: 8px 12px !important;
  border: 1px solid rgba(184,153,104,0.5) !important;
  background: #fbf5e6 !important;
  position: relative;
}
.np-mn::before {
  content: '';
  position: absolute;
  top: -1px; right: 8px;
  width: 20px; height: 8px;
  background: rgba(168,60,74,0.35);
  box-shadow: 0 1px 2px rgba(80,20,30,0.3);
}
.np-mn > summary {
  background: linear-gradient(90deg, rgba(139,113,67,0.15) 0%, transparent 100%) !important;
  font-size: 13px !important;
  padding: 6px 12px 6px 30px !important;
  color: #4a3a26 !important;
  border-bottom: 1px dashed rgba(184,153,104,0.5) !important;
}
.np-mn > summary::before {
  border-left-color: #8b6f47 !important;
  left: 12px !important;
}
.np-lm li::before {
  content: '◈';
  position: absolute;
  left: 0; top: 5px;
  color: #8b6f47;
  font-size: 10px;
}

/* === 角色信息 === */
.pi-s {
  position: relative;
}
.pi-s > summary {
  background: linear-gradient(180deg, #e8d4a8 0%, #c9aa79 100%) !important;
  color: #3d2418 !important;
  padding-right: 100px !important;
}
.pi-s > summary::after {
  content: '· 核 心 角 色 ·';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Ma Shan Zheng', serif;
  font-size: 11px;
  color: rgba(74,32,41,0.7);
  letter-spacing: 3px;
}

/* 固定设定：封蜡印记 */
.pi-l {
  margin: 10px 12px !important;
  position: relative;
  border-color: rgba(139,113,67,0.7) !important;
}
.pi-l > summary {
  background: linear-gradient(180deg, #f5e6c8 0%, #e0c990 100%) !important;
  padding-right: 44px !important;
}
.pi-l > summary::after {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background:
    radial-gradient(circle at 40% 40%, #b8434f 0%, #6d1f2b 55%, #4a1420 100%);
  border-radius: 50%;
  box-shadow:
    inset -3px -3px 4px rgba(0,0,0,0.4),
    inset 2px 2px 3px rgba(255,180,190,0.35),
    0 1px 3px rgba(80,20,30,0.4);
}
.pi-l > summary::before {
  border-left-color: #6d1f2b !important;
}

/* 动态信息：呼吸感 */
.pi-d {
  margin: 10px 12px !important;
  border-color: rgba(139,113,67,0.6) !important;
}
.pi-d > summary {
  background: linear-gradient(180deg, #f0e4c8 0%, #d9c390 100%) !important;
  padding-right: 60px !important;
  position: relative;
}
.pi-d > summary::after {
  content: '● 实时';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #6d3541;
  letter-spacing: 1px;
  padding: 2px 6px;
  background: rgba(253,247,230,0.7);
  border: 1px solid rgba(184,153,104,0.5);
  border-radius: 8px;
  animation: piPulse 2.4s ease-in-out infinite;
}
@keyframes piPulse {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(168,60,74,0.4); }
  50% { opacity: 1; box-shadow: 0 0 0 4px rgba(168,60,74,0); }
}

/* 固定设定表格：更庄重 */
.pi-l table th {
  background: linear-gradient(180deg, #4a2029 0%, #2d1219 100%) !important;
  color: #f0d99b !important;
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif !important;
  letter-spacing: 1px !important;
}
.pi-l table td {
  font-size: 12px;
}

/* 动态信息表格：更明快 */
.pi-d table th {
  background: linear-gradient(180deg, #8b6f47 0%, #5c4a35 100%) !important;
}

.np-s {
  border-color: rgba(139,113,67,0.55) !important;
}
.np-s > summary {
  background: linear-gradient(180deg, #ecdfc0 0%, #d4bd85 100%) !important;
  color: #4a3a26 !important;
  padding-right: 110px !important;
  position: relative;
}
.np-s > summary::after {
  content: '· 配 角 路 人 ·';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Ma Shan Zheng', serif;
  font-size: 11px;
  color: rgba(74,58,38,0.7);
  letter-spacing: 3px;
}
.np-s > summary::before {
  border-left-color: #7a5533 !important;
}
.np-s table th {
  background: linear-gradient(180deg, #7a5533 0%, #5c3f22 100%) !important;
  color: #f0d99b !important;
  font-size: 12px !important;
}
.np-s table td {
  font-size: 12px;
  color: #4a3a26;
}

/* === 下一步：三色选择卡片 === */
.xt {
  margin: 18px 0.5rem 12px 0.5rem;
  padding: 14px 12px 10px 12px;
  background: linear-gradient(180deg, #f5ead2 0%, #e8d7b2 100%);
  border: 1px solid #b89968;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 3px 10px rgba(80,50,20,0.15);
  position: relative;
  overflow: visible !important;
  height: auto !important;
}
.xt::before, .xt::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, #8b6f47, transparent);
}
.xt::before { left: 8px; }
.xt::after { right: 8px; }

.xt-h {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #4a2029;
  padding-bottom: 10px;
  margin-bottom: 12px;
  letter-spacing: 4px;
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  border-bottom: 1px dashed rgba(139,113,67,0.5);
  position: relative;
}

/* 三张卡片通用 */
.xt pre {
position: relative;
margin: 10px 0 !important;
padding: 14px 40px 14px 44px !important;
border-radius: 3px !important;
font-family: 'Noto Serif SC', serif !important;
font-size: 14px !important;
line-height: 1.7 !important;
background: transparent !important;
  height: auto !important;
  min-height: 60px;
  display: block;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
  
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: default;
}
.xt pre:hover {
  transform: translateY(-2px);
}
.xt pre code {
  background: transparent !important;
  color: #311520 !important;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  padding: 0 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  display: block;
  width: 100%;
}
.xt pre::before {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Ma Shan Zheng', serif;
  font-size: 14px;
  border-radius: 50%;
  z-index: 1;
}
.xt pre::after {
  position: absolute;
  right: 6px;
  top: -10px;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 1px 5px;
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}

/* 卡片 A：日常/探索 · 沉香青苔 */
.xt pre.language-A,
.xt pre:has(code.language-A) {
  background:
    linear-gradient(135deg, #eae5d0 0%, #d5cfb2 100%) !important;
  border: 1px solid #8a9670 !important;
  border-left: 4px solid #5a6b3f !important;
  color: #2d3a1e !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 6px rgba(60,80,40,0.2) !important;
}
.xt pre.language-A::before,
.xt pre:has(code.language-A)::before {
  content: '☀';
  background: linear-gradient(135deg, #8a9670 0%, #5a6b3f 100%);
  color: #f5f0dc;
}
.xt pre.language-A::after,
.xt pre:has(code.language-A)::after {
  content: '日常 · 探索';
  color: #4a5a2f;
  background: rgba(245,240,220,0.7);
  border: 1px solid rgba(90,107,63,0.4);
}
.xt pre.language-A:hover,
.xt pre:has(code.language-A):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(60,80,40,0.35) !important;
}

/* 卡片 B：调教/玩弄 · 深绛帐幔 */
.xt pre.language-B,
.xt pre:has(code.language-B) {
  background:
    linear-gradient(135deg, #e9d5d5 0%, #d4a8a8 100%) !important;
  border: 1px solid #a83c4a !important;
  border-left: 4px solid #6d1f2b !important;
  color: #3d1420 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 6px rgba(120,30,40,0.2) !important;
}
.xt pre.language-B::before,
.xt pre:has(code.language-B)::before {
  content: '☽';
  background: linear-gradient(135deg, #a83c4a 0%, #6d1f2b 100%);
  color: #f5e6c8;
}
.xt pre.language-B::after,
.xt pre:has(code.language-B)::after {
  content: '调教 · 玩弄';
  color: #6d1f2b;
  background: rgba(253,240,240,0.75);
  border: 1px solid rgba(168,60,74,0.4);
}
.xt pre.language-B:hover,
.xt pre:has(code.language-B):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(120,30,40,0.35) !important;
}

/* 卡片 C：恋爱/救赎 · 缃色暖玉 */
.xt pre.language-C,
.xt pre:has(code.language-C) {
  background:
    linear-gradient(135deg, #f5e0d5 0%, #e8c5b0 100%) !important;
  border: 1px solid #c8886a !important;
  border-left: 4px solid #8b4a2f !important;
  color: #4a2618 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 6px rgba(140,80,50,0.2) !important;
}
.xt pre.language-C::before,
.xt pre:has(code.language-C)::before {
  content: '♥';
  background: linear-gradient(135deg, #c8886a 0%, #8b4a2f 100%);
  color: #fff2e0;
}
.xt pre.language-C::after,
.xt pre:has(code.language-C)::after {
  content: '恋爱 · 救赎';
  color: #8b4a2f;
  background: rgba(253,240,235,0.75);
  border: 1px solid rgba(200,136,106,0.4);
}
.xt pre.language-C:hover,
.xt pre:has(code.language-C):hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(140,80,50,0.35) !important;
}

/* pre 复制按钮保留但样式协调 */
.xt pre .relative,
.xt pre button {
  background: transparent !important;
}

/* === 底部整体贴底 === */
.mx-auto .bg-white.border-\[1\.5px\].border-gray-200.rounded-xl.mb-2,
.p-\[5\.5px\].max-h-\[150px\].bg-white.border-\[1\.5px\].border-gray-200.rounded-xl.overflow-y-auto.mb-2 {
  padding: 4px !important;
  max-height: 160px !important;
  background: linear-gradient(180deg, #fbf3e0 0%, #f2e4c4 100%) !important;
  border: 1.5px solid #b89968 !important;
  border-radius: 4px !important;
  margin-bottom: 0.3rem !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(139,113,67,0.2),
    0 -2px 8px rgba(80,50,20,0.1) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.p-\[5\.5px\].max-h-\[150px\].bg-white.border-\[1\.5px\].border-gray-200.rounded-xl.overflow-y-auto.mb-2:hover,
.mx-auto .bg-white.border-\[1\.5px\].border-gray-200.rounded-xl.mb-2:hover {
  border-color: #8f7143 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 0 12px rgba(184,153,104,0.15),
    0 -3px 12px rgba(80,50,20,0.18) !important;
}

/* 输入框本体 */
.rc-textarea.appearance-none.resize-none[id="ai-chat-input"],
.rc-textarea.block.w-full.px-2.py-\[7px\].leading-5.max-h-none.text-sm.text-gray-700.outline-none.appearance-none.resize-none {
  width: 100% !important;
  padding: 8px 10px !important;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #3d2f1e !important;
  background: transparent !important;
  outline: none !important;
}
.rc-textarea::placeholder { color: rgba(139,113,67,0.55) !important; font-style: italic; }

/* 输入框工具栏容器 */
.absolute.backdrop-blur-sm.flex.items-center.bg-white\/80.rounded-lg:not(.cursor-pointer) {
  background: transparent !important;
  backdrop-filter: none !important;
  height: 2rem !important;
  bottom: 7px !important;
}
.absolute.bottom-\[7px\].right-2.flex.items-center.h-8 {
  bottom: 7px !important; right: 0.5rem !important;
}

/* 字数统计 */
.flex.items-center.px-1.h-5.rounded-md.bg-gray-100.text-xs.font-medium.text-gray-500 {
  padding: 0 8px !important;
  background: rgba(232,215,178,0.7) !important;
  color: #6d3541 !important;
  border: 1px solid rgba(139,113,67,0.4) !important;
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif !important;
  font-weight: 600 !important;
  border-radius: 2px !important;
}
.mx-1.w-\[1px\].h-4.bg-black.opacity-5 {
  width: 1px; height: 1rem;
  background: #b89968 !important; opacity: 0.4 !important;
}

/* 发送按钮 - 静止态 */
div[data-state="closed"] .group.flex.items-center.cursor-pointer[id="ai-send-button"],
div[data-state="open"] .group.flex.items-center.cursor-pointer[id="ai-send-button"] {
  background: linear-gradient(135deg, #b89968 0%, #8f7143 50%, #6d3541 100%) !important;
  border: 1px solid #4a2029 !important;
  border-radius: 3px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(74,32,41,0.5),
    0 2px 4px rgba(80,50,20,0.35) !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}
div[data-state="open"] .group.flex.items-center.cursor-pointer[id="ai-send-button"]:hover {
  background: linear-gradient(135deg, #c9aa79 0%, #a08355 50%, #7d3f4b 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 3px 8px rgba(80,50,20,0.4),
    0 0 10px rgba(212,185,134,0.3) !important;
}

.cursor-pointer.group.flex.items-center.justify-center.w-8.h-8.rounded-lg.hover\:bg-\[#EBF5FF\] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.w-5.h-5.text-gray-300.group-hover\:text-primary-600 {
  color: #f5e6c8 !important;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3));
}
.group:hover .w-5.h-5.text-gray-300.group-hover\:text-primary-600 {
  color: #ffffff !important;
}

/* 快捷指令按钮栏 */
.flex.items-center.gap-2.pb-2 { padding-bottom: 0.25rem !important; }
.flex.items-center.gap-2.pb-2.overflow-x-auto button:nth-child(n) {
  background: linear-gradient(135deg, #faf3e0 0%, #e8d7b2 100%) !important;
  color: #4a2029 !important;
  border: 1px solid #b89968 !important;
  border-radius: 3px !important;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  letter-spacing: 0.5px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 1px 3px rgba(80,50,20,0.2) !important;
  transition: all 0.25s ease !important;
}
.flex.items-center.gap-2.pb-2.overflow-x-auto button:nth-child(n):hover {
  background: linear-gradient(135deg, #e8d7b2 0%, #c9aa79 100%) !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 3px 8px rgba(80,50,20,0.3) !important;
}

/* === 分页栏 === */
.py-0.w-full.flex.justify-center.items-center.MuiBox-root.css-0,
.relative.bg-red .w-full.flex.justify-center.items-center.MuiBox-root.css-0 {
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(184,153,104,0.3) 20%,
      rgba(184,153,104,0.6) 50%,
      rgba(184,153,104,0.3) 80%,
      transparent 100%) !important;
  padding: 3px 0 !important;
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  color: #4a2029;
}
.MuiButtonBase-root.MuiPaginationItem-root.MuiPaginationItem-page,
button[aria-label="Go to previous page"],
button[aria-label="Go to next page"] {
  background: linear-gradient(180deg, #faf3e0 0%, #e8d7b2 100%) !important;
  border: 1px solid #b89968 !important;
  color: #4a2029 !important;
  font-family: 'Cormorant Garamond', serif !important;
  transition: all 0.25s ease;
}
.MuiButtonBase-root.MuiPaginationItem-root.MuiPaginationItem-page:hover,
button[aria-label="Go to previous page"]:hover,
button[aria-label="Go to next page"]:hover {
  background: linear-gradient(180deg, #e8d7b2 0%, #c9aa79 100%) !important;
  border-color: #8f7143 !important;
}
.MuiPaginationItem-page.Mui-selected {
  background: linear-gradient(180deg, #6d3541 0%, #4a2029 100%) !important;
  color: #f5e6c8 !important;
  border-color: #4a2029 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 3px rgba(80,20,30,0.35) !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-default.MuiButton-defaultPrimary {
  background: linear-gradient(180deg, #faf3e0 0%, #e8d7b2 100%) !important;
  color: #4a2029 !important;
  border: 1px solid #b89968 !important;
  font-family: 'Cormorant Garamond','Noto Serif SC',serif !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5) !important;
}

/* === AI 生成中动画：羽毛笔书写 === */
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text {
  position: relative;
  width: 60px;
  height: 32px;
  background: none !important;
  animation: none !important;
}
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 32px; height: 16px;
  background-image: linear-gradient(90deg,
    #6d3541 0%, #6d3541 100%);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 bottom;
  animation: penWriting 1.8s ease-in-out infinite;
}
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text::after {
  content: '✒';
  position: absolute;
  left: 0; top: 0;
  font-size: 20px;
  color: #6d3541;
  animation: penMove 1.8s ease-in-out infinite;
  transform-origin: bottom left;
  filter: drop-shadow(0 1px 1px rgba(74,32,41,0.4));
}
@keyframes penMove {
  0% { left: 0; transform: rotate(-15deg); }
  45% { left: 26px; transform: rotate(-15deg); }
  50% { left: 26px; transform: rotate(-20deg); }
  55% { left: 0; transform: rotate(-15deg); opacity: 0; }
  60% { left: 0; opacity: 1; }
  100% { left: 0; transform: rotate(-15deg); }
}
@keyframes penWriting {
  0% { background-size: 0% 2px; }
  45% { background-size: 100% 2px; }
  55% { background-size: 100% 2px; opacity: 1; }
  56% { opacity: 0; }
  100% { background-size: 0% 2px; opacity: 1; }
}

/* === 消耗信息 === */
.text-orange-500.text-xs.my-3 {
  font-size: 11px !important;
  color: #8f7143 !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.text-purple-500 {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif !important;
  font-size: 11px !important;
  color: #6d3541 !important;
  margin-top: 0.4rem !important;
  margin-bottom: 0.75rem !important;
  visibility: hidden;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
:not(.flex.items-center.justify-center.w-6.h-5) .text-purple-500::before {
  content: "◈ 查看消耗";
  position: absolute;
  width: 100%; height: 100%;
  color: #8f7143;
  visibility: visible;
  font-size: 11px;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}
:has(.flex.items-center.justify-center.w-6.h-5) .text-purple-500::before {
  content: "";
}
.text-purple-500:hover {
  visibility: visible;
  color: #4a2029 !important;
}
.text-purple-500:hover::before { opacity: 0; visibility: hidden; }
.flex.items-center.gap-2.text-purple-500.my-3.text-xs { margin-bottom: 0 !important; }

/* === 总结区（pre/复制块） === */
pre { background: transparent !important; overflow: visible; }
pre div[node="[object Object]"] {
  display: contents !important;  
}
pre .flex.justify-between.items-center.border-b .font-normal,
pre .react-tooltip { 
  display: none !important; 
}
pre .flex.justify-between.items-center.border-b div[style="display: flex;"] {
  display: block !important;
  position: sticky;
  left: 5%;
  top: 100%;
  width: auto;
}
.tooltip-container { background: transparent; overflow: visible; }

.box-border.p-0\.5.flex.items-center.justify-center.rounded-md.bg-white.cursor-pointer {
  justify-content: flex-start;
  border-radius: 0 0 4px 4px !important;
  background: linear-gradient(180deg, #f0e0bf 0%, #d4b986 100%) !important;
  border: 1px solid #b89968 !important;
  border-top: none !important;
  padding: 4px 10px !important;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.box-border.p-0\.5.flex.items-center.justify-center.rounded-md.bg-white.cursor-pointer::before {
  content: '复制';
  color: #4a2029;
  font-family: 'Noto Serif SC', serif;
  font-size: 11.5px;
  letter-spacing: 1px;
}
.box-border.p-0\.5.flex.items-center.justify-center.rounded-md.bg-white.cursor-pointer:hover {
  background: linear-gradient(180deg, #e8d4a8 0%, #c9aa79 100%) !important;
}

/* === 移动端适配 === */
@media only screen and (max-width: 652px) {
  .zx {
    margin: 12px 0.25rem;
    padding: 20px 14px 18px 18px;
    font-size: 14.5px;
    line-height: 1.85;
  }
  .zx p, .zx > * { text-indent: 2em; }

  .sh { margin: 0 0 10px 0; }
  .sh-c { padding: 10px 14px 8px 14px; }
  .sh-r { font-size: 11.5px; gap: 6px; flex-wrap: wrap; }
  .sh-w { font-size: 11px; padding: 1px 6px; }
  .sh-l { font-size: 12.5px; padding: 6px 8px 4px 8px; letter-spacing: 0.5px; }
  .sh-i { font-size: 11.5px; letter-spacing: 1px; }

  .jq, .pi, .np { margin: 10px 0.25rem; }
  .jq details summary, .pi details summary, .np details summary {
    font-size: 13px;
    padding: 7px 10px 7px 28px;
  }
  .jq details summary::before, .pi details summary::before, .np details summary::before {
    left: 10px;
  }
  .jq-b, .np-u, .np-m, .pi-l, .pi-d {
    margin: 8px 6px !important;
  }
  .jq-b table, .pi table, .np table {
    font-size: 11.5px;
  }
  .jq-b table th, .pi table th, .np table th {
    padding: 6px 6px;
    font-size: 11.5px;
  }
  .jq-b table td, .pi table td, .np table td {
    padding: 5px 7px;
  }
  .np-lu, .np-lm { padding: 6px 10px 6px 18px; }
  .np-lu li, .np-lm li { font-size: 12px; padding: 4px 0 4px 12px; }

  .xt { margin: 14px 0.25rem 10px 0.25rem; padding: 10px 8px 8px 8px; }
  .xt-h { font-size: 14px; letter-spacing: 3px; }
  .xt pre { padding: 12px 34px 12px 38px !important; font-size: 13px !important; }
  .xt pre::before { width: 20px; height: 20px; font-size: 12px; left: 10px; }
  .xt pre::after { font-size: 9.5px; right: 8px; }

  .inline-block.bg-gray-100\/90:not(.chat-answer-container .bg-gray-100\/90) {
    padding: 20px 16px 14px 16px !important;
    font-size: 14px;
  }
  .inline-block.bg-gray-100\/90:not(.chat-answer-container .bg-gray-100\/90)::before {
    font-size: 11px; left: 12px; padding: 2px 9px;
  }

  ::-webkit-scrollbar { width: 4px !important; height: 4px !important; }
}

/* === 长期目标：志向卷轴 · 星辰砺途 === */
.np-b {
  margin: 10px 12px !important;
}
.np-b > summary {
  background: linear-gradient(180deg, #ecdcb4 0%, #d4b982 100%) !important;
  padding-right: 100px !important;
  position: relative;
}
.np-b > summary::after {
  content: '· 志 之 所 向 ·';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Ma Shan Zheng', serif;
  font-size: 11px;
  color: rgba(74,32,41,0.7);
  letter-spacing: 3px;
}
.np-b > summary::before {
  border-left-color: #6d1f2b !important;
}

/* 角色志向卷宗 */
.np-bn {
  margin: 8px 12px !important;
  border: 1px solid rgba(184,153,104,0.55) !important;
  background:
    linear-gradient(180deg, #fbf5e6 0%, #f5ead2 100%) !important;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 1px 4px rgba(80,50,20,0.08);
}
/* 顶部丝带（区别于锚点池的封条） */
.np-bn::before {
  content: '';
  position: absolute;
  top: -2px; left: 12px;
  width: 20px; height: 12px;
  background: linear-gradient(180deg, #a83c4a 0%, #6d1f2b 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 65%, 0 100%);
  box-shadow: 0 1px 2px rgba(80,20,30,0.35);
  z-index: 1;
}
/* 尾端一枚小星（呼应"星辰"） */
.np-bn::after {
  content: '✦';
  position: absolute;
  top: 3px; right: 10px;
  color: rgba(168,60,74,0.35);
  font-size: 11px;
  pointer-events: none;
}
.np-bn > summary {
  background: linear-gradient(90deg, rgba(168,60,74,0.12) 0%, transparent 65%) !important;
  font-size: 13px !important;
  padding: 6px 12px 6px 42px !important;
  color: #4a2029 !important;
  border-bottom: 1px dashed rgba(184,153,104,0.5) !important;
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  letter-spacing: 1px;
}
.np-bn > summary::before {
  border-left-color: #a83c4a !important;
  left: 24px !important;
}

/* 目标条目：横向路径 + 星标 */
.np-lb {
  list-style: none;
  padding: 10px 14px 10px 22px;
  margin: 0;
  background:
    linear-gradient(180deg, #fdf7e6 0%, #f9f0d5 100%);
  background-image:
    linear-gradient(180deg, #fdf7e6 0%, #f9f0d5 100%),
    repeating-linear-gradient(90deg,
      transparent 0, transparent 6px,
      rgba(184,153,104,0.06) 6px, rgba(184,153,104,0.06) 7px);
  background-blend-mode: normal;
}
.np-lb li {
  position: relative;
  padding: 8px 4px 8px 20px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #3d2f1e;
  border-bottom: 1px dashed rgba(184,153,104,0.35);
  text-align: justify;
  letter-spacing: 0.2px;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
}
.np-lb li:last-child { border-bottom: none; }
.np-lb li::before {
  content: '✦';
  position: absolute;
  left: 2px; top: 7px;
  color: #a83c4a;
  font-size: 12px;
  text-shadow: 0 0 4px rgba(168,60,74,0.35);
}
/* 悬停时星标微亮 */
.np-lb li:hover::before {
  color: #6d1f2b;
  text-shadow: 0 0 6px rgba(168,60,74,0.55);
  transition: all 0.25s ease;
}
/* 用尾端渐隐点缀"未来感" */
.np-lb li:last-child::after {
  content: '⋯';
  position: absolute;
  right: 4px; bottom: 6px;
  color: rgba(139,113,67,0.5);
  font-size: 13px;
  letter-spacing: 2px;
}

/* === 移动端适配 === */
@media only screen and (max-width: 652px) {
  .np-b { margin: 8px 6px !important; }
  .np-bn { margin: 6px 8px !important; }
  .np-bn::before { width: 16px; height: 10px; left: 10px; }
  .np-bn > summary {
    font-size: 12.5px !important;
    padding: 6px 10px 6px 36px !important;
  }
  .np-bn > summary::before { left: 20px !important; }
  .np-lb { padding: 8px 10px 8px 18px; }
  .np-lb li {
    font-size: 12px;
    padding: 6px 2px 6px 16px;
    line-height: 1.85;
  }
  .np-lb li::before { top: 6px; font-size: 11px; }
}

/* === 隐藏平台冗余按钮 === */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textInfo.MuiButton-sizeSmall {
  color: #8b6f47cc !important;
  text-shadow: none;
}

/* === 生图/语音/头像等按钮点缀 === */
#customized-question-avatar, #customized-answer-avatar {
  filter: sepia(0.3) hue-rotate(-15deg) saturate(0.85) brightness(1.05);
}

/* 顶部按钮 hover */
.cursor-pointer.flex.items-center .text-gray-600 {
  background: transparent;
  color: #6d3541 !important;
}