/* ==========================================================
   【高级 · 古册金笺】质感升级版
   保留了原有配色，提升了光影、圆角与纸张厚重度
   ========================================================== */

ai {
  display: block;
  position: relative;
  max-width: 780px;
  margin: 20px auto;
  padding: 32px 26px 28px;
  font-family: "STKaiti", "KaiTi", "STSong", "SimSun", serif;
  color: #2a1810;
  background:
    radial-gradient(ellipse at top left, rgba(139, 38, 53, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(166, 124, 0, 0.10), transparent 50%),
    radial-gradient(ellipse at center, #f4ecd8 0%, #ede0c4 100%);
  background-color: #f4ecd8;
  
  /* 升级：让边框更有层次，圆角更圆润，不再廉价 */
  border: 1px solid #8b6f47;
  border-radius: 12px;
  box-shadow:
    0 0 0 5px #f4ecd8,
    0 0 0 6px rgba(166, 124, 0, 0.25),
    inset 0 0 40px rgba(139, 111, 71, 0.10),
    0 12px 40px rgba(42, 24, 16, 0.15);
  overflow: hidden;
  line-height: 1.9;
  font-size: 15px;
}

/* 宣纸纤维纹理（提亮，去除浑浊感） */
ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* 四角装订孔升级为更精致的红金描边 */
ai::after {
  content: "";
  position: absolute;
  inset: 16px;
  background-image:
    radial-gradient(circle at 0 0, #8b2635 2.5px, transparent 4px),
    radial-gradient(circle at 100% 0, #8b2635 2.5px, transparent 4px),
    radial-gradient(circle at 0 100%, #8b2635 2.5px, transparent 4px),
    radial-gradient(circle at 100% 100%, #8b2635 2.5px, transparent 4px);
  background-size: 0 0;
  pointer-events: none;
  z-index: 1;
}

ai > * { position: relative; z-index: 2; }

/* 去掉廉价飘花，改为极淡的朱砂飞燕/水墨元素 */
ai {
  background-image:
    radial-gradient(ellipse at top left, rgba(139, 38, 53, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(166, 124, 0, 0.10), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600'><g opacity='0.12'><path d='M680 100 Q720 60 740 120 T800 150' fill='none' stroke='%238b2635' stroke-width='1.2'/><circle cx='680' cy='100' r='3' fill='%238b2635'/><path d='M50 500 Q100 450 140 480 T200 460' fill='none' stroke='%23a67c00' stroke-width='0.8'/></g></svg>"),
    radial-gradient(ellipse at center, #f4ecd8 0%, #ede0c4 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, 100% 100%, auto;
}

/* 抬头：时地天候 */
ai hd {
  display: block;
  text-align: center;
  padding: 12px 20px;
  margin-bottom: 22px;
  font-family: "STKaiti", "楷体", serif;
  font-size: 16px;
  font-weight: bold;
  color: #6b1e2c;
  letter-spacing: 3px;
  background: linear-gradient(180deg, rgba(139, 38, 53, 0.06), rgba(166, 124, 0, 0.04));
  border-top: 2px solid #8b2635;
  border-bottom: 2px solid #8b2635;
  box-shadow: inset 0 0 0 1px #a67c00, 0 2px 8px rgba(139, 38, 53, 0.08);
  position: relative;
}

ai hd::before, ai hd::after {
  content: "❖";
  color: #a67c00;
  margin: 0 12px;
  font-size: 14px;
  vertical-align: 1px;
}

/* 正文：增加了外发光感，圆角更润 */
ai txt {
  display: block;
  margin: 18px 4px 24px;
  padding: 18px 22px;
  background: rgba(255, 250, 235, 0.5);
  border-left: 3px double #8b2635;
  border-right: 3px double #8b2635;
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(166, 124, 0, 0.04);
}

ai txt p {
  margin: 0 0 14px;
  text-indent: 2em;
  line-height: 2.1;
  font-size: 15.5px;
  color: #2a1810;
  font-family: "STKaiti", "楷体", "KaiTi", serif;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

ai txt p:last-child { margin-bottom: 0; }

ai txt p + p {
  position: relative;
  padding-top: 6px;
}

ai txt p + p::before {
  content: "❦";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: #8b2635;
  font-size: 12px;
  opacity: 0.4;
}

/* details 卷轴 - 升级为浮墨卡纸 */
ai details {
  margin: 14px 0;
  border: 1px solid rgba(139, 111, 71, 0.3);
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.8), rgba(244, 236, 216, 0.4));
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.3s;
}

ai details:hover { transform: translateY(-2px); }

ai details[open] {
  box-shadow: 0 4px 16px rgba(139, 38, 53, 0.08), inset 0 0 40px rgba(166, 124, 0, 0.04);
}

ai summary {
  padding: 10px 16px 10px 46px;
  cursor: pointer;
  font-family: "STKaiti", "楷体", serif;
  font-size: 15px;
  font-weight: bold;
  color: #fff5e1;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #8b2635 0%, #7a222f 40%, #6b1e2c 100%);
  border-bottom: 1px solid #a67c00;
  position: relative;
  list-style: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  border-radius: 8px 8px 0 0;
}

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

/* 印章装饰 */
ai summary::before {
  content: "印";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #a02040;
  border: 1.5px solid rgba(255, 245, 225, 0.3);
  border-radius: 4px;
  color: #f4ecd8;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  font-family: "STKaiti", serif;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

ai summary:hover::before { transform: translateY(-50%) rotate(360deg) scale(1.05); }

ai summary::after {
  content: "▼";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #d4af37;
  transition: transform 0.3s;
}

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

ai summary:hover {
  background: linear-gradient(135deg, #a02040 0%, #8b2635 40%, #7a222f 100%);
}

/* details 内部内容区 */
ai details > *:not(summary) {
  padding: 4px 18px;
  animation: unfold 0.5s ease-out;
}

ai details > d:first-of-type,
ai details > t:first-of-type { padding-top: 14px; }

ai details > d:last-of-type,
ai details > *:last-child { padding-bottom: 14px; }

@keyframes unfold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 分组小标题 */
ai t {
  display: block;
  margin: 12px 0 6px;
  padding: 4px 10px 5px;
  font-family: "STKaiti", "楷体", serif;
  font-size: 14.5px;
  font-weight: bold;
  color: #a67c00;
  letter-spacing: 2px;
  border-bottom: 1px dashed #a67c00;
  background: linear-gradient(90deg, rgba(166, 124, 0, 0.08), transparent);
  position: relative;
}

ai t::before { content: "◇ "; color: #8b2635; margin-right: 4px; }

/* 数据行 */
ai d {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 6px 8px;
  margin: 2px 0;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px dotted rgba(139, 111, 71, 0.15);
  transition: background 0.2s;
}

ai d:hover { background: rgba(166, 124, 0, 0.05); }

ai d:last-child { border-bottom: none; }

/* 字段名 - 质感升级为“玉印” */
ai f {
  display: inline-block;
  min-width: 3.5em;
  padding: 2px 10px;
  font-family: "STKaiti", "楷体", serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff5e1;
  background: linear-gradient(135deg, #8b2635 0%, #5a1420 100%);
  border-radius: 6px;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(255, 215, 0, 0.1), 0 2px 4px rgba(0,0,0,0.2);
  font-style: normal;
}

/* 字段值 */
ai v {
  color: #2a1810;
  font-family: "STKaiti", "楷体", serif;
  flex: 1;
  min-width: 0;
  padding-right: 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* NPC 情色字段特殊强调 */
ai d:has(f:is(:contains("酥胸"))),
ai details:nth-of-type(3) d:nth-of-type(n+5):nth-of-type(-n+9) {
  background: linear-gradient(90deg, rgba(139, 38, 53, 0.05), transparent);
  border-left: 2px solid #8b2635;
  padding-left: 10px;
  border-radius: 4px;
}

/* 记忆区适配 */
ai m {
  display: block;
  padding: 6px 10px;
  margin: 4px 0;
  font-size: 13.5px;
  color: #2a1810;
  background: rgba(255, 250, 235, 0.5);
  border-left: 3px solid #a67c00;
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


/* ==========================================================
   ★ 【核心升级】行动选项 - 仿古琉璃/毛玻璃质感 ★
   ========================================================== */
ai opt {
  display: block;
  margin: 10px 4px;
  padding: 12px 48px 12px 20px;
  font-family: "STKaiti", "楷体", serif;
  font-size: 14.5px;
  color: #3a2418;
  /* ★ 半透玻璃底：保留竹简纹路，但透出底层光影 */
  background:
    repeating-linear-gradient(90deg,
      rgba(166, 124, 0, 0.05) 0,
      rgba(166, 124, 0, 0.05) 1px,
      transparent 1px,
      transparent 8px),
    linear-gradient(135deg,
      rgba(255, 245, 225, 0.75) 0%,
      rgba(232, 212, 168, 0.5) 50%,
      rgba(201, 168, 96, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  /* ★ 多重复合阴影模拟玻璃厚度：内高光 + 内暗边 + 底部托影 */
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.6),   /* 玻璃顶部高光 */
    inset 0 -2px 6px rgba(139, 111, 71, 0.1),  /* 底部边缘折射 */
    0 2px 8px rgba(0, 0, 0, 0.03),             /* 悬浮底座 */
    inset 0 0 0 1px rgba(139, 111, 71, 0.15);  /* 界面边缘线 */
  cursor: pointer;
  position: relative;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 1px;
}

/* ★ 左侧“朱砂琉璃嵌线”（不再是实体色块，而是透过玻璃的彩线） */
ai opt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: linear-gradient(180deg, rgba(139, 38, 53, 0.7), rgba(106, 30, 44, 0.4));
  border-radius: 4px 0 0 4px;
  box-shadow: inset 0 0 6px rgba(139, 38, 53, 0.3);
}

/* ★ 右侧“择”字印章（半透明琉璃质感） */
ai opt::after {
  content: "择";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0.5);
  opacity: 0;
  width: 26px;
  height: 26px;
  background: rgba(160, 32, 64, 0.85);
  color: #f4ecd8;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  border: 1.5px solid rgba(255, 245, 225, 0.4);
  border-radius: 4px;
  font-family: "STKaiti", serif;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ★ 悬停时：玻璃透光度增加，泛起朱砂光泽 */
ai opt:hover {
  transform: translateX(4px);
  background:
    repeating-linear-gradient(90deg,
      rgba(166, 124, 0, 0.08) 0,
      rgba(166, 124, 0, 0.08) 1px,
      transparent 1px,
      transparent 8px),
    linear-gradient(135deg,
      rgba(255, 245, 225, 0.95) 0%,
      rgba(232, 212, 168, 0.7) 50%,
      rgba(201, 168, 96, 0.5) 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.7),
    inset 0 -2px 6px rgba(139, 111, 71, 0.2),
    0 4px 16px rgba(139, 38, 53, 0.12),
    inset 0 0 0 1px rgba(139, 111, 71, 0.3);
  color: #5a1818;
}

ai opt:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.05) rotate(360deg);
  box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.3), 0 4px 12px rgba(139, 38, 53, 0.3);
}


/* 移动端适配 */
@media (max-width: 600px) {
  ai {
    margin: 10px 6px;
    padding: 22px 14px 18px;
    font-size: 14px;
  }
  ai hd {
    font-size: 14px;
    letter-spacing: 1.5px;
    padding: 10px 8px;
  }
  ai txt {
    padding: 12px 14px;
    margin: 12px 2px 18px;
  }
  ai txt p { font-size: 14.5px; line-height: 2; }
  ai summary {
    font-size: 14px;
    padding: 9px 34px 9px 40px;
    letter-spacing: 1px;
  }
  ai d {
    font-size: 13px;
    padding: 4px 4px;
  }
  ai f {
    font-size: 12px;
    min-width: 3em;
    padding: 2px 6px;
  }
  ai opt {
    font-size: 14px;
    padding: 9px 40px 9px 14px;
    border-radius: 6px;
  }
  ai opt::after {
    width: 22px;
    height: 22px;
    line-height: 20px;
    font-size: 11px;
    right: 10px;
  }
}

/* 【核心】隐藏思维链 */
ai details.cot {
  display: none !important;
}
css
/* ===== 一、顶部栏 ===== */
.sticky.w-full.top-0.flex.items-center {
  background: linear-gradient(135deg, #1a1410 0%, #2a2118 50%, #1a1410 100%) !important;
  border-bottom: 1px solid rgba(191, 155, 86, 0.3) !important;
  box-shadow: 0 2px 12px rgba(191, 155, 86, 0.08) !important;
}

#ai-model-selector .group.flex.items-center {
  background: rgba(191, 155, 86, 0.08) !important;
  border: 1px solid rgba(191, 155, 86, 0.25) !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  transition: all 0.3s ease !important;
}

#ai-model-selector .group.flex.items-center:hover {
  background: rgba(191, 155, 86, 0.15) !important;
  border-color: rgba(191, 155, 86, 0.5) !important;
  box-shadow: 0 0 8px rgba(191, 155, 86, 0.15) !important;
}

#ai-model-selector .truncate.text-\[13px\] {
  color: #d4b872 !important;
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  letter-spacing: 0.5px !important;
}

#ai-model-selector .shrink-0.flex.items-center svg {
  color: #bf9b56 !important;
  transition: transform 0.3s ease !important;
}

#ai-model-selector .group.flex.items-center:hover svg {
  transform: rotate(180deg) !important;
}

.sticky.w-full.top-0 svg.lucide-clock-8 {
  color: #bf9b56 !important;
  transition: color 0.3s ease !important;
}

.sticky.w-full.top-0 svg.lucide-clock-8:hover {
  color: #e8d5a3 !important;
}

#header-setting-button {
  color: #bf9b56 !important;
  transition: all 0.3s ease !important;
}

#header-setting-button:hover {
  color: #e8d5a3 !important;
}

#header-setting-button svg {
  transition: transform 0.4s ease !important;
}

#header-setting-button:hover svg {
  transform: rotate(90deg) !important;
}

/* ===== 二、开场白选择器 ===== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: linear-gradient(135deg, #1f1a14 0%, #2a2118 100%) !important;
  border: 1px solid rgba(191, 155, 86, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"]:hover {
  border-color: rgba(191, 155, 86, 0.6) !important;
  box-shadow: 0 2px 12px rgba(191, 155, 86, 0.12) !important;
}

div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"] {
  color: #bf9b56 !important;
}

div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
  color: #bf9b56 !important;
  transition: transform 0.3s ease !important;
}

/* ===== 三、按钮栏 ===== */
#ai-mod-button2 button.MuiButton-root {
  background: rgba(191, 155, 86, 0.08) !important;
  border: 1px solid rgba(191, 155, 86, 0.3) !important;
  border-radius: 20px !important;
  color: #d4b872 !important;
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

#ai-mod-button2 button.MuiButton-root::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(191, 155, 86, 0.1), transparent) !important;
  transition: left 0.5s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover::before {
  left: 100% !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
  background: rgba(191, 155, 86, 0.15) !important;
  border-color: rgba(191, 155, 86, 0.6) !important;
  box-shadow: 0 0 12px rgba(191, 155, 86, 0.15) !important;
  transform: translateY(-1px) !important;
}

#ai-mod-button2 button.MuiButton-root svg {
  color: #bf9b56 !important;
}

/* ===== 四、底部栏 ===== */
.bg-gradient-to-t {
  background: linear-gradient(to top, #1a1410 0%, rgba(26, 20, 16, 0.95) 70%, transparent 100%) !important;
}

#ai-chat-bottom-input {
  background: linear-gradient(135deg, #1f1a14 0%, #2a2118 100%) !important;
  border: 1px solid rgba(191, 155, 86, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(191, 155, 86, 0.1) !important;
  transition: all 0.3s ease !important;
}

#ai-chat-bottom-input:focus-within {
  border-color: rgba(191, 155, 86, 0.6) !important;
  box-shadow: 0 0 16px rgba(191, 155, 86, 0.1), inset 0 1px 0 rgba(191, 155, 86, 0.15) !important;
}

#ai-chat-input {
  color: #e8dcc8 !important;
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  font-size: 14px !important;
}

#ai-chat-input::placeholder {
  color: rgba(191, 155, 86, 0.4) !important;
  font-style: italic !important;
}

#ai-chat-input::selection {
  background: rgba(191, 155, 86, 0.3) !important;
  color: #fff !important;
}

/* ===== 五、分页栏 ===== */
.MuiPaginationItem-root {
  color: #bf9b56 !important;
  border-color: rgba(191, 155, 86, 0.3) !important;
  background: rgba(191, 155, 86, 0.05) !important;
  transition: all 0.3s ease !important;
}

.MuiPaginationItem-root:hover {
  background: rgba(191, 155, 86, 0.15) !important;
  border-color: rgba(191, 155, 86, 0.5) !important;
}

.MuiPaginationItem-root.Mui-selected {
  background: linear-gradient(135deg, #bf9b56 0%, #8a6d3b 100%) !important;
  color: #1a1410 !important;
  font-weight: bold !important;
  border-color: #bf9b56 !important;
  box-shadow: 0 0 8px rgba(191, 155, 86, 0.3) !important;
}

.MuiPaginationItem-root.Mui-disabled {
  color: rgba(191, 155, 86, 0.25) !important;
  border-color: rgba(191, 155, 86, 0.1) !important;
}

.MuiPaginationItem-icon {
  color: #bf9b56 !important;
}

.MuiStack-root.css-1uwir8f .MuiBox-root {
  color: #bf9b56 !important;
}

.MuiInputBase-input {
  color: #d4b872 !important;
  border-color: rgba(191, 155, 86, 0.3) !important;
}

/* ===== 六、评论区 ===== */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
  background: linear-gradient(180deg, #1a1410 0%, #211c15 100%) !important;
}

div.text-lg.font-bold {
  color: #e8d5a3 !important;
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  letter-spacing: 1px !important;
}

p.MuiTypography-body1.text-grey-600 {
  color: rgba(191, 155, 86, 0.7) !important;
}

span.MuiRating-iconEmpty svg {
  color: rgba(191, 155, 86, 0.3) !important;
}

span.MuiRating-iconFilled svg {
  color: #d4a843 !important;
}

span.text-orange-500 {
  color: #d4b872 !important;
}

div.flex.flex-col.border-gray-200 {
  border-color: rgba(191, 155, 86, 0.25) !important;
}

textarea.rc-textarea {
  background: rgba(191, 155, 86, 0.05) !important;
  color: #e8dcc8 !important;
  border: 1px solid rgba(191, 155, 86, 0.2) !important;
  border-radius: 8px !important;
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  transition: all 0.3s ease !important;
}

textarea.rc-textarea:focus {
  border-color: rgba(191, 155, 86, 0.5) !important;
  box-shadow: 0 0 8px rgba(191, 155, 86, 0.1) !important;
}

div.bg-gray-100.text-gray-500 {
  background: rgba(191, 155, 86, 0.08) !important;
  color: rgba(191, 155, 86, 0.5) !important;
}

div.cursor-pointer.group.flex.items-center.justify-center {
  transition: all 0.3s ease !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
  transform: scale(1.1) !important;
}

div[data-state="closed"] svg[data-icon="Send03"] {
  color: #bf9b56 !important;
  transition: color 0.3s ease !important;
}

div.style_divider__mW0YX {
  background: linear-gradient(90deg, transparent, rgba(191, 155, 86, 0.3), transparent) !important;
}

button.MuiButton-containedPrimary {
  background: linear-gradient(135deg, #bf9b56 0%, #8a6d3b 100%) !important;
  color: #1a1410 !important;
  font-weight: bold !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(191, 155, 86, 0.2) !important;
}

button.MuiButton-outlinedPrimary {
  color: #bf9b56 !important;
  border-color: rgba(191, 155, 86, 0.4) !important;
  border-radius: 16px !important;
  background: transparent !important;
}

button.MuiButton-outlinedPrimary:hover {
  background: rgba(191, 155, 86, 0.1) !important;
  border-color: rgba(191, 155, 86, 0.7) !important;
}

div.p-3.overflow-y-auto {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(191, 155, 86, 0.3) transparent !important;
}

div.group.ml-0 {
  border-bottom: 1px solid rgba(191, 155, 86, 0.1) !important;
  transition: background 0.3s ease !important;
}

div.group.ml-0:hover {
  background: rgba(191, 155, 86, 0.03) !important;
}

div.text-sm.text-grey-600 span.font-bold {
  color: #d4b872 !important;
}

span.text-\[10px\] {
  color: rgba(191, 155, 86, 0.5) !important;
}

div.break-all {
  color: #e0d5c0 !important;
  line-height: 1.7 !important;
}

div.text-xs.text-grey-600 {
  color: rgba(191, 155, 86, 0.45) !important;
}

button.text-gray-400 {
  color: rgba(191, 155, 86, 0.4) !important;
  transition: all 0.3s ease !important;
}

button.text-gray-400:hover {
  color: #d4b872 !important;
  transform: scale(1.15) !important;
}

span.cursor-pointer {
  color: rgba(191, 155, 86, 0.6) !important;
  transition: color 0.3s ease !important;
}

span.cursor-pointer:hover {
  color: #e8d5a3 !important;
}

div.ml-8.border-l {
  border-color: rgba(191, 155, 86, 0.2) !important;
}
#ai-chat-input {
  color: #000000 !important;   /* 纯黑 */
  /* 或者 #111111 等深色 */
  font-family: "Noto Serif SC", "Source Han Serif CN", serif !important;
  font-size: 14px !important;
}

/* 同时建议把占位符也调深一点，不然看不清 */
#ai-chat-input::placeholder {
  color: rgba(0, 0, 0, 0.35) !important;   /* 之前的金色占位符 */
  font-style: italic !important;
}
