css
#hidden-think {
  display: none !important;
  height: 0;
  overflow: hidden;
}
css
/* --- 温顺禁锢：家庭生活手册主题方案 --- */

/* 1. 顶部栏美化：玫瑰金丝绸质感 */
.sticky.w-full.top-0.flex.items-center {
    background: linear-gradient(to right, #fff1f2, #ffe4e6) !important;
    border-bottom: 2px solid #fecdd3 !important;
    box-shadow: 0 2px 10px rgba(244, 114, 182, 0.1) !important;
}

/* 模型选择器：胶囊式设计 */
#ai-model-selector .group.flex.items-center {
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    padding: 2px 12px !important;
    border: 1px solid #fda4af !important;
    transition: all 0.3s ease !important;
}

#ai-model-selector .truncate.text-\[13px\] {
    color: #be123b !important;
    font-weight: 600 !important;
    font-family: "Segoe UI", "PingFang SC", sans-serif !important;
}

/* 图标颜色统一 */
.sticky.w-full.top-0 svg, 
#header-setting-button svg {
    color: #fb7185 !important;
}

/* 2. 开场白选择器：手册条目风格 */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
    background-color: #fff1f2 !important;
    border: 1px dashed #f472b6 !important;
    border-radius: 8px !important;
}

/* 3. 按钮栏：柔和的交互反馈 */
#ai-mod-button2 button.MuiButton-root {
    background: #fb7185 !important;
    color: white !important;
    border-radius: 18px !important;
    text-transform: none !important;
    font-weight: bold !important;
    box-shadow: 0 4px 6px rgba(251, 113, 133, 0.2) !important;
    transition: transform 0.2s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
    transform: translateY(-2px) !important;
    background: #f43f5e !important;
}

/* 4. 底部栏：系统输入界面 */
.bg-gradient-to-t {
    background: linear-gradient(to top, #fff1f2, transparent) !important;
}

#ai-chat-bottom-input {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #fecdd3 !important;
    border-radius: 16px !important;
    padding: 4px !important;
}

#ai-chat-input {
    color: #4c0519 !important;
    font-family: "Segoe UI", sans-serif !important;
}

#ai-chat-input::placeholder {
    color: #fda4af !important;
    font-style: italic !important;
}

/* 5. 分页栏：极简肉粉色 */
.MuiPaginationItem-root {
    color: #fb7185 !important;
}

.MuiPaginationItem-root.Mui-selected {
    background-color: #fb7185 !important;
    color: white !important;
}

/* 6. 评论区：私密交流空间 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background-color: #fffafb !important;
    border-top: 1px solid #fecdd3 !important;
}

/* 评论项卡片化 */
div.group.ml-0 {
    background: white !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin-bottom: 8px !important;
    border: 1px solid #fff1f2 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

/* 评分星星：琥珀色光芒 */
span.MuiRating-iconFilled svg {
    color: #fb7185 !important;
}

/* 用户名与内容 */
div.text-sm.text-grey-600 span.font-bold {
    color: #be123b !important;
}

div.break-all {
    color: #4c0519 !important;
    line-height: 1.6 !important;
}

/* 发送按钮：呼吸效果 */
div.cursor-pointer.group.flex.items-center.justify-center {
    background-color: #fb7185 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    animation: heartbeat 2s infinite !important;
}

@keyframes heartbeat {
    0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(251, 113, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
}

/* 排序按钮 */
button.MuiButton-containedPrimary {
    background-color: #fb7185 !important;
}

button.MuiButton-outlinedPrimary {
    border-color: #fb7185 !important;
    color: #fb7185 !important;
}

/* --- 自定义加载动画（替换默认三个点） --- */
/* 1. 隐藏默认加载元素 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 2. 在父容器创建自定义加载动画 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 40px !important; /* 扩大容器确保动画可见 */
    height: 24px !important;
}

/* 温柔心跳加载动画（SMIL SVG实现） */
.flex.items-center.justify-center.w-6.h-5::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffb6c1' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'%3E%3Canimate attributeName='opacity' values='0.3;1;0.3' dur='1.5s' repeatCount='indefinite'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0.9;1.1;0.9' dur='1.5s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    animation: heartbeat 1.5s ease-in-out infinite !important;
}

/* CSS关键帧增强 */
@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* --- 移动端适配 --- */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block,
    .chat-answer-container .bg-gray-100\/90.relative.inline-block {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 10px !important;
    }
    
    .chat-answer-container .markdown-body {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }
    
    .flex.items-center.justify-center.w-6.h-5 {
        width: 36px !important;
        height: 22px !important;
    }
}

/* --- 减少动效偏好设置 --- */
@media (prefers-reduced-motion: reduce) {
    .chat-answer-container .bg-gray-100\/90.relative.inline-block::before,
    .chat-answer-container .bg-gray-100\/90.relative.inline-block::after,
    .flex.items-center.justify-center.w-6.h-5::before {
        animation-duration: 0.1s !important;
        animation-iteration-count: 1 !important;
    }
    
    @keyframes gentleFlow { 
        0%, 100% { background-position: 0% 50%; }
    }
    
    @keyframes twinkle { 
        0%, 100% { opacity: 0.12; }
    }
    
    @keyframes heartbeat {
        0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    }
}

css
ai{
  display:block;
  font-family:"Songti SC","STSong","SimSun",serif;
  font-size:15px;
  line-height:1.85;
  color:#2a1f1a;
  background:#fbf6ee url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.68  0 0 0 0 0.55  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  padding:18px 14px 22px;
  border-radius:14px;
  border:1px solid #e6d5bf;
  box-shadow:0 2px 8px rgba(140,90,60,.08),inset 0 0 0 3px #fffaf3,inset 0 0 0 4px #d9b88a;
  position:relative;
  max-width:100%;
  margin:6px 0;
}
ai::before,ai::after{
  content:"";position:absolute;width:46px;height:46px;pointer-events:none;
  background:no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='none' stroke='%23b8895a' stroke-width='1.2'><path d='M4 4 L28 4 M4 4 L4 28'/><path d='M4 18 Q14 14 18 4'/><circle cx='12' cy='12' r='3' fill='%23c44f6a' stroke='none'/><circle cx='20' cy='8' r='1.4' fill='%23c44f6a' stroke='none'/><circle cx='8' cy='20' r='1.4' fill='%23c44f6a' stroke='none'/></g></svg>");
}
ai::before{top:6px;left:6px}
ai::after{bottom:6px;right:6px;transform:rotate(180deg)}

/* ========== details 卡片 ========== */
ai details{
  margin:10px 0;
  background:#fffaf3;
  border:1px solid #e3cdaa;
  border-radius:10px;
  padding:0 12px;
  position:relative;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(160,110,70,.06);
}
ai details::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(180deg,#c44f6a,#b8895a 60%,#d9b88a);
}
ai details[open]{padding-bottom:8px}
ai summary{
  cursor:pointer;
  list-style:none;
  font-family:"Songti SC",serif;
  font-weight:700;
  font-size:15px;
  color:#7a2c3e;
  padding:9px 4px 9px 10px;
  margin:0 -12px 0 0;
  border-bottom:1px dashed #e3cdaa;
  letter-spacing:.5px;
  transition:background .3s;
}
ai summary::-webkit-details-marker{display:none}
ai summary::after{
  content:"❀";float:right;color:#c44f6a;
  transition:transform .4s;
  font-size:13px;
}
ai details[open] summary::after{transform:rotate(180deg)}
ai summary:hover{background:linear-gradient(90deg,rgba(196,79,106,.08),transparent)}

/* 顶部当前情况：略深 */
ai details.top{background:linear-gradient(135deg,#fff5f0,#fffaf3)}
ai details.top summary{color:#5a1f2d}

/* ========== 正文 article ========== */
ai article{
  background:#fffdf8;
  border:1px solid #e3cdaa;
  border-radius:10px;
  padding:16px 18px 14px;
  margin:14px 0;
  position:relative;
  background-image:
    repeating-linear-gradient(180deg,transparent 0 28px,rgba(196,79,106,.06) 28px 29px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><circle cx='50' cy='50' r='40' fill='none' stroke='%23f0d8c0' stroke-width='.4'/></svg>");
  box-shadow:0 2px 6px rgba(160,110,70,.07),inset 0 0 0 1px #fffaf3;
}
ai article::before{
  content:"";position:absolute;left:14px;top:0;bottom:0;width:1px;
  background:linear-gradient(180deg,transparent,#e6b8b8 20%,#e6b8b8 80%,transparent);
}
ai article p{
  margin:.55em 0;
  color:#2a1f1a;
  text-indent:2em;
  font-family:"Songti SC","STSong","SimSun",serif;
}
ai article p:first-child::first-letter{
  font-size:1.7em;color:#c44f6a;font-weight:700;margin-right:2px;
}

/* 他的话 */
ai article q,ai q{
  display:block;
  background:linear-gradient(135deg,#fdeef2,#f7e3e8);
  border-left:3px solid #c44f6a;
  border-radius:0 12px 12px 12px;
  padding:10px 14px 10px 18px;
  margin:10px 4px 10px 24px;
  color:#5a1f2d;
  font-family:"Songti SC",serif;
  position:relative;
  quotes:"「" "」";
  box-shadow:0 2px 5px rgba(196,79,106,.1);
}
ai q::before{content:open-quote;color:#c44f6a;font-size:1.3em;font-weight:700;margin-right:2px}
ai q::after{content:close-quote;color:#c44f6a;font-size:1.3em;font-weight:700;margin-left:2px}

/* 他的心理想法 / 独白 */
ai article i,ai details i{
  display:block;
  background:linear-gradient(135deg,#fef6dd,#fef3d8);
  border:1px dashed #c9a06a;
  border-radius:8px;
  padding:9px 14px 9px 32px;
  margin:10px 4px 10px 12px;
  color:#6a4a2a;
  font-style:italic;
  font-family:"Songti SC",serif;
  position:relative;
  box-shadow:inset 0 0 0 4px #fffaef;
}
ai article i::before,ai details i::before{
  content:"✎";position:absolute;left:11px;top:8px;
  color:#b8895a;font-style:normal;font-size:1.1em;
}

/* ========== details 内容 ========== */
ai details p{
  margin:4px 0;
  font-size:14px;
  line-height:1.75;
  color:#2a1f1a;
  text-indent:0;
}
ai details h3{
  font-size:14px;
  color:#7a2c3e;
  margin:10px 0 4px;
  padding-bottom:3px;
  border-bottom:1px dashed #e0b8a0;
  font-weight:700;
}
ai details h3::before{content:"❀ ";color:#c44f6a}

ai b{
  display:inline-block;
  background:linear-gradient(135deg,#c44f6a,#a83a55);
  color:#fffaf3;
  font-weight:500;
  font-size:12.5px;
  padding:1px 8px;
  border-radius:3px;
  margin-right:6px;
  font-family:"Songti SC",serif;
  letter-spacing:.5px;
  box-shadow:0 1px 2px rgba(196,79,106,.25);
}

/* 模式胶囊 */
ai m{
  display:inline-block;
  padding:1px 10px;
  border-radius:10px;
  font-size:13px;
  background:linear-gradient(135deg,#f7c8d4,#e89bb0);
  color:#5a1f2d;
  border:1px solid #c44f6a;
  font-weight:700;
  letter-spacing:1px;
}

/* 条目印章编号 */
ai n{
  display:inline-block;
  min-width:26px;height:26px;line-height:24px;
  text-align:center;
  border:1.5px solid #c44f6a;
  border-radius:50%;
  color:#c44f6a;
  font-size:11px;
  font-weight:700;
  font-family:"Songti SC",serif;
  background:radial-gradient(circle,#fff5f0,#fde6ea);
  margin-right:8px;
  transform:rotate(-6deg);
  box-shadow:inset 0 0 0 1px #fffaf3;
  vertical-align:middle;
}

/* 已修改条目 */
ai details p.m{
  background:linear-gradient(90deg,#fde6ea,transparent);
  padding:4px 8px;
  border-radius:5px;
  margin-top:8px;
  position:relative;
}
ai details p.m::after{
  content:"已篡改";
  position:absolute;right:6px;top:50%;transform:translateY(-50%) rotate(-8deg);
  color:#c44f6a;
  border:1.5px solid #c44f6a;
  padding:0 6px;
  font-size:10px;
  border-radius:3px;
  opacity:.65;
  letter-spacing:1px;
}

/* ========== 记忆区表格（保持原状，仅微调） ========== */
ai table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  margin:6px 0 12px;
  font-family:"Songti SC",serif;
}
ai table th{
  background:linear-gradient(180deg,#f3dcc4,#e9c9a8);
  color:#5a3220;
  border:1px solid #c9a06a;
  padding:5px 6px;
  font-weight:700;
}
ai table td{
  border:1px solid #e3cdaa;
  padding:5px 6px;
  background:#fffdf8;
  color:#2a1f1a;
  vertical-align:top;
}
ai table tr:nth-child(even) td{background:#fdf6ec}
ai details strong{color:#7a2c3e;font-weight:700}

/* 列表样式 */
ai ul,ai ol{margin:6px 0;padding-left:22px}
ai li{margin:3px 0;font-size:14px}

/* 链接/分隔 */
ai hr{
  border:none;height:1px;
  background:linear-gradient(90deg,transparent,#c44f6a,transparent);
  margin:10px 0;
}