/* ================= 🚫 加载动画彻底抹除 ================= */
#customized-answer-content [class*="dot-flashing"],
#customized-answer-content [class*="text"],
#customized-answer-content .flex.items-center.justify-center.w-6.h-5 {
    display: none !important;
}

/* ================= 💬 消息气泡美化 ================= */
/* 玩家气泡：夏日海风蓝 */
#customized-question-content {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%) !important;
    border-radius: 24px 24px 4px 24px !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15) !important;
    border: 2px solid #FFFFFF !important;
    padding: 16px 22px !important;
}
#customized-question-content .text-gray-900,
#customized-question-content .markdown-body {
    color: #0C4A6E !important; 
    font-weight: 500 !important;
}

/* AI气泡：甜蜜女友粉 */
#customized-answer-content {
    background: linear-gradient(135deg, #FFF1F2 0%, #FCE7F3 100%) !important;
    border-radius: 24px 24px 24px 4px !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.15) !important;
    border: 2px solid #FFFFFF !important;
    padding: 16px 22px !important;
}
#customized-answer-content .text-gray-900,
#customized-answer-content .markdown-body {
    color: #500724 !important; 
}

/* 隐藏原有生硬的装饰条（通用匹配） */
#customized-question-content [class*="bg-"][class*="c9e1e9"],
#customized-answer-content [class*="bg-"][class*="c9e1e9"],
#customized-question-content [class*="bg-"][class*="F1CBCB"],
#customized-answer-content [class*="bg-"][class*="F1CBCB"] {
    display: none !important;
}

/* 头像圆润化与悬浮感 */
#customized-question-avatar,
#customized-answer-avatar {
    border-radius: 50% !important;
    border: 3px solid #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transform: scale(1.1) !important;
}

/* ================= 🎮 界面控制区 ================= */
/* 顶部控制栏：清透毛玻璃（带兼容前缀） */
.sticky.top-0 {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 2px dashed #FBCFE8 !important;
}

/* 底部输入框：圆润果冻质感 */
.bg-white.border-\[1\.5px\] {
    border-radius: 30px !important;
    border: 2px solid #FBCFE8 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bg-white.border-\[1\.5px\]:focus-within {
    border-color: #38BDF8 !important;
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.2) !important;
}

/* 快捷按钮：糖果色药丸 */
#ai-mod-button2 .MuiButton-outlinedPrimary {
    border-radius: 20px !important;
    border: 1px solid #FBCFE8 !important;
    background: #FFF1F2 !important;
    color: #BE185D !important;
    font-weight: 700 !important;
    transition: all 0.2s !important;
}
#ai-mod-button2 .MuiButton-outlinedPrimary:hover {
    background: #FCE7F3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25) !important;
}

/* ================= 📝 评论区美化 ================= */
.absolute.bottom-0.z-20.inset-x-0.bg-white {
    background: linear-gradient(to bottom, #FFFFFF, #F0F9FF) !important;
    border-top-left-radius: 32px !important;
    border-top-right-radius: 32px !important;
    box-shadow: 0 -10px 40px rgba(14, 165, 233, 0.12) !important;
}

/* ================= 📊 状态栏专属美化 (HTML联动) ================= */
details {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 2px solid #FCE7F3 !important;
    border-radius: 16px !important;
    margin: 12px 0 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.05) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}
details[open] {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #BAE6FD !important;
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.15) !important;
}
summary {
    background: linear-gradient(90deg, #FFF1F2 0%, #E0F2FE 100%) !important;
    padding: 12px 16px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    cursor: pointer !important;
    list-style: none !important;
    user-select: none !important;
    border-bottom: 1px solid transparent !important;
}
details[open] summary {
    border-bottom: 2px dashed #FBCFE8 !important;
}
summary::-webkit-details-marker {
    display: none !important;
}
/* 表格美化 */
table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 10px 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}
th {
    background: #FCE7F3 !important;
    color: #9D174D !important;
    padding: 10px !important;
}
td {
    background: rgba(255, 255, 255, 0.7) !important;
    padding: 10px !important;
    border-bottom: 1px solid #F3F4F6 !important;
}