think {
    display: none;
}

/* ===== 字体加载 ===== */
@import url('https://chinese-fonts-cdn.deno.dev/packages/lxgwwenkai/dist/LXGWWenKai-Regular/result.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ===== 全局背景：花海光影 ===== */
.chat-container {
    background: 
        linear-gradient(180deg, rgba(248, 245, 232, 0.25) 0%, rgba(220, 225, 200, 0.35) 100%),
        url('https://img.pagehost.cn/autoupload/tbaNrhnFevxxT19cDXDwbtiO_OyvX7mIgxFBfDMDErs/20260628/U5xk/1080X1440/1488bc3a-6a3c-428c-a8ed-7d6da525759a.png') center/cover no-repeat fixed !important;
    font-family: 'LXGW WenKai', '霞鹜文楷', 'KaiTi', serif !important;
}

/* 顶部模型选择栏：雾绿质感 */
.chat-container > div:first-child,
div[class*="sticky"][class*="top-0"] {
    background: linear-gradient(135deg, rgba(107, 142, 107, 0.7), rgba(150, 175, 140, 0.6)) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.45) !important;
    box-shadow: 0 2px 12px rgba(61, 90, 74, 0.15);
}

/* ===== 正文回复卡片（核心容器）===== */
#customized-answer-content,
#ai-chat-answer #customized-answer-content {
    background: linear-gradient(155deg, rgba(250, 246, 232, 0.92), rgba(238, 235, 218, 0.88)) !important;
    border: 1px solid rgba(201, 169, 110, 0.5) !important;
    border-radius: 18px !important;
    box-shadow: 
        0 10px 36px rgba(61, 90, 74, 0.22),
        inset 0 0 0 1px rgba(255, 252, 240, 0.5),
        0 0 28px rgba(184, 147, 90, 0.12);
    backdrop-filter: blur(8px);
    padding: 24px 24px !important;
    position: relative;
    overflow: hidden;
}

#customized-answer-content::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.28), transparent 70%);
    pointer-events: none;
}

#customized-answer-content::after {
    content: '✦';
    position: absolute;
    bottom: 10px;
    right: 18px;
    font-size: 16px;
    color: rgba(184, 147, 90, 0.35);
    pointer-events: none;
}

.markdown-body {
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
    color: #2d3e35 !important;
    line-height: 1.88 !important;
    font-size: 15px !important;
}

/* ===== 顶部状态栏 status-top ===== */
status-top {
    display: block;
    background: linear-gradient(90deg, rgba(107, 142, 107, 0.85), rgba(150, 175, 140, 0.75), rgba(201, 169, 110, 0.7));
    color: #faf6e8;
    padding: 10px 16px;
    border-radius: 24px;
    margin: 8px 0 16px 0;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 14px rgba(61, 90, 74, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    border: 1px solid rgba(255, 248, 220, 0.35);
    text-shadow: 0 1px 2px rgba(45, 62, 53, 0.3);
}

/* ===== 正文 text 标签：信笺纸质感 ===== */
text {
    display: block;
    background: linear-gradient(180deg, rgba(252, 248, 236, 0.78), rgba(244, 240, 222, 0.7));
    border-left: 3px solid #b8935a;
    border-right: 1px solid rgba(107, 142, 107, 0.3);
    padding: 16px 20px;
    margin: 14px 0;
    border-radius: 4px 14px 14px 4px;
    box-shadow: 
        inset 0 0 14px rgba(184, 147, 90, 0.08),
        0 2px 8px rgba(61, 90, 74, 0.06);
    position: relative;
}

text::before {
    content: '✿';
    position: absolute;
    top: -8px;
    left: 14px;
    font-size: 14px;
    color: #b8935a;
    background: #faf6e8;
    padding: 0 6px;
}

text p {
    text-indent: 2em;
    margin: 10px 0;
    color: #2d3e35;
    line-height: 1.9;
}

/* ===== details 折叠卡：花瓣折页 ===== */
.markdown-body details {
    background: linear-gradient(135deg, rgba(245, 242, 226, 0.85), rgba(230, 235, 218, 0.78));
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 14px;
    margin: 14px 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 
        0 4px 14px rgba(61, 90, 74, 0.13),
        inset 0 1px 0 rgba(255, 252, 240, 0.55);
    transition: all 0.35s ease;
}

.markdown-body details:hover {
    box-shadow: 
        0 7px 20px rgba(61, 90, 74, 0.18),
        inset 0 1px 0 rgba(255, 252, 240, 0.6),
        0 0 18px rgba(201, 169, 110, 0.32);
    transform: translateY(-1px);
}

.markdown-body details summary {
    cursor: pointer;
    padding: 11px 18px;
    background: linear-gradient(90deg, rgba(107, 142, 107, 0.28), rgba(201, 169, 110, 0.18));
    color: #3d5a4a;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px dashed rgba(184, 147, 90, 0.45);
    list-style: none;
    position: relative;
    user-select: none;
}

.markdown-body details summary::-webkit-details-marker {
    display: none;
}

.markdown-body details summary::before {
    content: '❀';
    display: inline-block;
    margin-right: 8px;
    color: #b8935a;
    transition: transform 0.4s ease;
}

.markdown-body details[open] summary::before {
    transform: rotate(180deg);
    color: #3d5a4a;
}

.markdown-body details[open] summary {
    background: linear-gradient(90deg, rgba(107, 142, 107, 0.4), rgba(201, 169, 110, 0.25));
}

.markdown-body details > p,
.markdown-body details > ol,
.markdown-body details > ul {
    padding: 6px 18px;
    margin: 4px 0;
    color: #2d3e35;
}

.markdown-body details > p:first-of-type {
    padding-top: 12px;
}

.markdown-body details > p:last-of-type {
    padding-bottom: 12px;
}

.markdown-body details strong {
    color: #6b3e3e;
    font-weight: 600;
}

/* ===== 首轮邀请函装饰 ===== */
invitation {
    display: block;
    background: 
        radial-gradient(ellipse at top, rgba(201, 169, 110, 0.15), transparent 60%),
        linear-gradient(170deg, rgba(252, 248, 236, 0.96), rgba(238, 232, 210, 0.92));
    border: 2px solid rgba(184, 147, 90, 0.55);
    border-radius: 6px;
    padding: 28px 24px 24px;
    margin: 8px 0;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(61, 90, 74, 0.22),
        inset 0 0 0 1px rgba(201, 169, 110, 0.3),
        inset 0 0 60px rgba(245, 232, 200, 0.45);
}

invitation::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(184, 147, 90, 0.5);
    border-radius: 3px;
    pointer-events: none;
}

invitation::after {
    content: '◆ V I C T O R I A ◆';
    position: absolute;
    bottom: 14px;
    right: 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(184, 147, 90, 0.55);
    font-style: italic;
}

deco-star {
    display: block;
    text-align: center;
    font-family: 'Cormorant Garamond', 'LXGW WenKai', serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #b8935a;
    margin: 6px 0 4px;
    text-shadow: 0 1px 2px rgba(201, 169, 110, 0.4);
}

deco-title {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #3d5a4a;
    margin: 8px 0 22px;
    padding-bottom: 14px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 252, 240, 0.6);
}

deco-title::after {
    content: '❀ ❀ ❀';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #b8935a;
    letter-spacing: 8px;
}

greet {
    display: block;
    font-size: 15.5px;
    color: #3d5a4a;
    margin: 16px 0 10px;
    font-weight: 500;
}

name {
    display: inline-block;
    min-width: 100px;
    padding: 0 8px;
    border-bottom: 1.5px solid #b8935a;
    color: #6b3e3e;
    font-style: italic;
    letter-spacing: 2px;
    text-align: center;
}

invitation p {
    color: #2d3e35;
    line-height: 1.92;
    margin: 10px 0;
    text-indent: 2em;
    font-size: 14.5px;
}

sys-note {
    display: block;
    background: linear-gradient(135deg, rgba(245, 220, 200, 0.5), rgba(232, 200, 175, 0.4));
    border-left: 3px solid #b8935a;
    border-radius: 4px 10px 10px 4px;
    padding: 12px 16px;
    margin: 18px 0;
    font-size: 13.5px;
    color: #6b4a3a;
    line-height: 1.8;
    font-style: italic;
    box-shadow: inset 0 0 12px rgba(184, 147, 90, 0.1);
    position: relative;
}

sys-note::before {
    content: '⚠';
    position: absolute;
    top: -8px;
    left: 12px;
    background: #faf6e8;
    color: #b8935a;
    padding: 0 6px;
    font-size: 12px;
}

form-title {
    display: block;
    text-align: center;
    color: #3d5a4a;
    font-size: 15px;
    font-weight: 600;
    margin: 18px 0 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(184, 147, 90, 0.4);
    border-bottom: 1px solid rgba(184, 147, 90, 0.4);
    letter-spacing: 1px;
}

form-block {
    display: block;
    white-space: pre-line;
    background: linear-gradient(180deg, rgba(255, 252, 240, 0.7), rgba(245, 240, 220, 0.55));
    border: 1px solid rgba(184, 147, 90, 0.35);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 12px 0;
    color: #3d3a30;
    font-size: 14px;
    line-height: 2;
    box-shadow: inset 0 0 14px rgba(201, 169, 110, 0.08);
    letter-spacing: 0.3px;
}

foot-note {
    display: block;
    text-align: center;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px dashed rgba(184, 147, 90, 0.45);
    color: #6b3e3e;
    font-size: 13.5px;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ===== 用户输入气泡：墨绿苔色 ===== */
#ai-chat-question,
[id*="user-message"] {
    background: linear-gradient(135deg, rgba(61, 90, 74, 0.88), rgba(85, 115, 90, 0.8)) !important;
    color: #faf6e8 !important;
    border: 1px solid rgba(201, 169, 110, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(45, 62, 53, 0.32);
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

/* ===== 底部渐变遮罩 ===== */
.bg-gradient-to-t.from-white.via-white.to-transparent {
    background: linear-gradient(
        to top,
        rgba(220, 225, 200, 0.85) 0%,
        rgba(232, 235, 215, 0.5) 50%,
        transparent 100%
    ) !important;
}

/* ===== 输入框 ===== */
#ai-chat-input {
    background: rgba(252, 248, 236, 0.92) !important;
    color: #2d3e35 !important;
    border: none;
    font-size: 14px;
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

#ai-chat-input::placeholder {
    color: #8aa580;
}

#ai-chat-input-container,
div:has(> #ai-chat-input) {
    background: rgba(245, 242, 226, 0.78) !important;
    border: 1.5px solid #b8935a !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 18px rgba(61, 90, 74, 0.22),
        inset 0 1px 0 rgba(255, 252, 240, 0.4);
    transition: all 0.3s ease;
}

div:has(> #ai-chat-input):focus-within {
    border-color: #6b3e3e !important;
    box-shadow: 
        0 0 16px rgba(184, 147, 90, 0.5), 
        0 4px 18px rgba(61, 90, 74, 0.25);
}

/* ===== 发送按钮 ===== */
#ai-send-button {
    background: linear-gradient(135deg, #c9a96e, #b8935a) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 10px rgba(184, 147, 90, 0.5),
        inset 0 1px 0 rgba(255, 252, 240, 0.4);
}

#ai-send-button:hover {
    background: linear-gradient(135deg, #d4b87e, #c9a96e) !important;
    box-shadow: 0 0 18px rgba(201, 169, 110, 0.65);
    transform: scale(1.06);
}

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

/* ===== 第一排工具栏 ===== */
.MuiButton-textPrimary {
    color: #6b8e6b !important;
    transition: all 0.25s ease;
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

.MuiButton-textPrimary:hover {
    background: rgba(107, 142, 107, 0.2) !important;
    color: #3d5a4a !important;
}

/* ===== 第二排工具栏 ===== */
.MuiButton-outlinedPrimary {
    border-color: rgba(184, 147, 90, 0.6) !important;
    color: #6b3e3e !important;
    background: rgba(252, 248, 236, 0.55) !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

.MuiButton-outlinedPrimary:hover {
    background: rgba(201, 169, 110, 0.22) !important;
    border-color: #b8935a !important;
    color: #3d3a30 !important;
    box-shadow: 0 0 14px rgba(201, 169, 110, 0.4);
}

/* ===== 翻页 ===== */
.MuiPaginationItem-root {
    color: #3d5a4a !important;
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

.MuiPaginationItem-root:hover {
    background: rgba(184, 147, 90, 0.2) !important;
}

.MuiPaginationItem-root.Mui-selected {
    background: linear-gradient(135deg, rgba(184, 147, 90, 0.6), rgba(107, 142, 107, 0.5)) !important;
    color: #faf6e8 !important;
    border: 1px solid rgba(201, 169, 110, 0.65);
}

/* ===== 评论/置顶置底等按钮统一字体 ===== */
button[class*="MuiButton"] {
    font-family: 'LXGW WenKai', '霞鹜文楷', serif !important;
}

/* ===== 滚动条 ===== */
.chat-container ::-webkit-scrollbar {
    width: 8px;
}

.chat-container ::-webkit-scrollbar-track {
    background: rgba(220, 225, 200, 0.32);
    border-radius: 4px;
}

.chat-container ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b8935a, #6b8e6b);
    border-radius: 4px;
}

.chat-container ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c9a96e, #7a9c7a);
}