/* ========================================= */
/* 1. 场景信息区 - 正文前展开显示 */
/* ========================================= */
scene-info {
  display: block;
  background: linear-gradient(135deg, rgba(139, 69, 139, 0.15), rgba(75, 0, 130, 0.15));
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2), inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

scene-info p {
  font-size: 16px;
  line-height: 1.8;
  margin: 8px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

scene-info .time {
  color: #b0d4ff;
  font-weight: 600;
}

scene-info .location {
  color: #dda0ff;
  font-weight: 600;
}

scene-info .characters {
  color: #ffc0e0;
  font-weight: 600;
}

/* ========================================= */
/* 2. 正文区域样式 (text) */
/* ========================================= */
text {
  display: block;
  font-size: 16px;
  line-height: 1.9;
  margin: 20px 0;
  color: #f0f0f0;
}

text p {
  margin-bottom: 16px;
  text-indent: 2em;
}

text .sensory {
  color: #ffb3d9;
  font-style: italic;
}

text .thought {
  color: #b3d9ff;
  font-style: italic;
}

text .dialogue {
  color: #ffd9b3;
  font-weight: 500;
}

text .body-reaction {
  color: #ff99cc;
  font-weight: 600;
}

/* ========================================= */
/* 3. 状态栏通用样式 (details) */
/* ========================================= */
details {
  background: linear-gradient(135deg, rgba(75, 0, 130, 0.12), rgba(139, 0, 139, 0.12));
  border: 2px solid rgba(255, 105, 180, 0.25);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 15px 0;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 12px rgba(255, 105, 180, 0.15);
  transition: all 0.3s ease;
}

details:hover {
  border-color: rgba(255, 105, 180, 0.5);
  box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
}

details[open] {
  background: linear-gradient(135deg, rgba(75, 0, 130, 0.18), rgba(139, 0, 139, 0.18));
  border-color: rgba(255, 105, 180, 0.4);
}

details summary {
  font-size: 17px;
  font-weight: 700;
  color: #ff99cc;
  cursor: pointer;
  padding: 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease;
  list-style: none;
}

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

details summary::before {
  content: '▶ ';
  display: inline-block;
  transition: transform 0.3s ease;
}

details[open] summary::before {
  transform: rotate(90deg);
}

details summary:hover {
  color: #ffb3e6;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

details p {
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0;
  color: #e0e0e0;
}

/* ========================================= */
/* 4. User状态栏 */
/* ========================================= */
.status-user summary {
  color: #99ccff;
}

.status-user .value {
  color: #66ff99;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(102, 255, 153, 0.5);
}

.status-user .value-high {
  color: #ff6699;
  font-weight: 700;
  font-size: 17px;
  text-shadow: 0 0 8px rgba(255, 102, 153, 0.6);
}

.status-user .target {
  color: #ffcc99;
  font-weight: 700;
  font-size: 16px;
}

/* ========================================= */
/* 5. 猎物状态栏 */
/* ========================================= */
.status-target summary {
  color: #ffb3d9;
}

.status-target .npc-name {
  color: #ffd9b3;
  font-weight: 700;
  font-size: 17px;
  text-shadow: 0 0 6px rgba(255, 217, 179, 0.5);
}

.status-target .identity {
  color: #d9b3ff;
  font-weight: 600;
}

.status-target .stage {
  color: #ff99ff;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 0 8px rgba(255, 153, 255, 0.5);
}

.status-target .lust {
  color: #ff6699;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(255, 102, 153, 0.7);
}

.status-target .sanity {
  color: #66ccff;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(102, 204, 255, 0.7);
}

.status-target .sensitivity-title {
  color: #ffb366;
  font-weight: 700;
  margin-top: 15px;
  font-size: 16px;
}

.status-target .sensitivity-data {
  color: #e0e0e0;
  margin-left: 15px;
}

.status-target .dev-value {
  color: #ff9999;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 153, 153, 0.5);
}

.status-target .unlocked {
  color: #ffcc66;
  font-weight: 600;
}

.status-target .mental-title,
.status-target .body-title {
  color: #b3d9ff;
  font-weight: 700;
  margin-top: 15px;
  font-size: 16px;
}

.status-target .mental-desc,
.status-target .body-desc {
  color: #f0d9ff;
  font-style: italic;
  margin-left: 15px;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid rgba(255, 153, 255, 0.4);
}

/* ========================================= */
/* 6. 攻略进度栏 */
/* ========================================= */
.status-progress summary {
  color: #ffd966;
}

.status-progress .npc-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  border-left: 4px solid rgba(255, 153, 204, 0.5);
}

.status-progress .npc-header {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffccff;
}

.status-progress .npc-divider {
  text-align: center;
  color: rgba(255, 105, 180, 0.3);
  margin: 15px 0;
  font-size: 14px;
}

.status-progress .note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-style: italic;
  margin-top: 10px;
}

/* ========================================= */
/* 7. 记忆回廊 */
/* ========================================= */
.status-memory summary {
  color: #d9b3ff;
}

.status-memory .memory-section-title {
  color: #b3d9ff;
  font-weight: 700;
  font-size: 16px;
  margin: 15px 0 10px 0;
  text-shadow: 0 0 6px rgba(179, 217, 255, 0.5);
}

.status-memory .memory-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 6px;
  border-left: 3px solid rgba(179, 217, 255, 0.4);
  line-height: 1.7;
}

.status-memory .mem-time {
  color: #99ccff;
  font-weight: 600;
}

.status-memory .mem-loc {
  color: #cc99ff;
  font-weight: 600;
}

.status-memory .mem-char {
  color: #ffcc99;
  font-weight: 600;
}

.status-memory .memory-divider {
  text-align: center;
  color: rgba(179, 217, 255, 0.3);
  margin: 15px 0;
  font-size: 14px;
}

.status-memory .memory-long {
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 6px;
  border-left: 3px solid rgba(217, 179, 255, 0.4);
  line-height: 1.8;
}

.status-memory .mem-period {
  color: #d9b3ff;
  font-weight: 700;
}

.status-memory .note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-style: italic;
  margin-top: 10px;
}

/* ========================================= */
/* 8. 全局背景与滚动条 */
/* ========================================= */
body {
  background: linear-gradient(135deg, #0f0c1f 0%, #1a0f2e 50%, #0f0c1f 100%) !important;
}

/* 滚动条全局美化 */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 157, 0.3) transparent;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgba(30, 20, 50, 0.5);
  border-radius: 4px;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(255, 107, 157, 0.5) 100%);
  border-radius: 4px;
  transition: all 0.3s ease;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(255, 107, 157, 0.8) 100%);
}

/* 选中文本美化 */
::selection {
  background: rgba(255, 107, 157, 0.4) !important;
  color: #FFFFFF !important;
}
::-moz-selection {
  background: rgba(255, 107, 157, 0.4) !important;
  color: #FFFFFF !important;
}

/* ========================================= */
/* 9. 聊天框容器美化 (AI回复) */
/* ========================================= */
.bg-gray-100\/90.relative.inline-block {
  background: linear-gradient(135deg, rgba(30, 20, 50, 0.95) 0%, rgba(60, 30, 80, 0.95) 100%) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(245, 87, 108, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bg-gray-100\/90.relative.inline-block:hover {
  box-shadow: 0 12px 48px rgba(245, 87, 108, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 107, 157, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* 聊天框内文本 */
.markdown-body {
  color: #F0F0F0 !important;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  letter-spacing: 0.5px !important;
}

/* 隐藏顶部颜色条 */
[class*="bg-[#F1CBCB]"],
[class*="bg-[#c9e1e9]"] {
  display: none !important;
}

/* ========================================= */
/* 10. 加载动画美化 */
/* ========================================= */
.style_dot-flashing__8L91Q.style_text__zGhNq {
  display: none !important;
}
.flex.items-center.justify-center.w-6.h-5 {
  position: relative !important;
  width: 40px !important;
  height: 20px !important;
}
.flex.items-center.justify-center.w-6.h-5::before,
.flex.items-center.justify-center.w-6.h-5::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: loadingBounce 1.4s infinite ease-in-out;
}
.flex.items-center.justify-center.w-6.h-5::before {
  background: radial-gradient(circle, #ff6b9d 0%, #f5576c 100%);
  left: 0;
  box-shadow: 0 0 12px rgba(245, 87, 108, 0.6);
}
.flex.items-center.justify-center.w-6.h-5::after {
  background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
  right: 0;
  animation-delay: 0.2s;
  box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
}
@keyframes loadingBounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ========================================= */
/* 11. 底部按钮与模型信息 */
/* ========================================= */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
  color: #EAEAEA !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
  color: #ff6b9d !important;
  background: rgba(255, 107, 157, 0.1) !important;
  transform: scale(1.1) !important;
}
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
  color: #EAEAEA !important;
  font-weight: 500 !important;
}
.text-orange-500 {
  color: #ff9500 !important;
  font-weight: 600 !important;
}

/* ========================================= */
/* 12. 顶部栏美化 */
/* ========================================= */
.sticky.w-full.top-0.flex.items-center {
  background: linear-gradient(90deg, rgba(30, 20, 50, 0.9) 0%, rgba(60, 30, 80, 0.9) 100%) !important;
  border-bottom: 1px solid rgba(255, 107, 157, 0.2) !important;
  backdrop-filter: blur(15px) !important;
  box-shadow: 0 4px 20px rgba(245, 87, 108, 0.15) !important;
}

/* 模型选择器 */
#ai-model-selector .group.flex.items-center {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 107, 157, 0.2) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  transition: all 0.3s ease !important;
}
#ai-model-selector .group.flex.items-center:hover {
  background: rgba(255, 107, 157, 0.1) !important;
  border-color: rgba(255, 107, 157, 0.5) !important;
  box-shadow: 0 0 16px rgba(255, 107, 157, 0.2) !important;
}
#ai-model-selector .truncate.text-\[13px\] {
  color: #F0F0F0 !important;
  font-weight: 500 !important;
}
#ai-model-selector .shrink-0.flex.items-center svg {
  color: #ff6b9d !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: #667eea !important;
  transition: all 0.3s ease !important;
}
.sticky.w-full.top-0 svg.lucide-clock-8:hover {
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6)) !important;
  transform: scale(1.1) !important;
}

/* 设置按钮 */
#header-setting-button {
  background: rgba(255, 107, 157, 0.1) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}
#header-setting-button:hover {
  background: rgba(255, 107, 157, 0.2) !important;
  box-shadow: 0 0 16px rgba(255, 107, 157, 0.3) !important;
}
#header-setting-button svg {
  color: #ff6b9d !important;
}

/* ========================================= */
/* 13. 开场白美化 */
/* ========================================= */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"]:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%) !important;
  border-color: rgba(255, 107, 157, 0.6) !important;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.2) !important;
}
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"] {
  color: #667eea !important;
}
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
  color: #ff6b9d !important;
}

/* ========================================= */
/* 14. 按钮栏美化 */
/* ========================================= */
#ai-mod-button2 button.MuiButton-root {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  color: #F0F0F0 !important;
  border-radius: 8px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 500 !important;
}
#ai-mod-button2 button.MuiButton-root:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(255, 107, 157, 0.4) 100%) !important;
  border-color: rgba(255, 107, 157, 0.6) !important;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3) !important;
  transform: translateY(-2px) !important;
}
#ai-mod-button2 button.MuiButton-root svg {
  color: #ff6b9d !important;
}

/* ========================================= */
/* 15. 底部输入栏美化 */
/* ========================================= */
.bg-gradient-to-t {
  background: linear-gradient(to top, rgba(30, 20, 50, 0.95), transparent) !important;
}
#ai-chat-bottom-input {
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid rgba(255, 107, 157, 0.2) !important;
}
#ai-chat-input {
  background: linear-gradient(135deg, rgba(60, 30, 80, 0.5) 0%, rgba(30, 20, 50, 0.5) 100%) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  color: #F0F0F0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
#ai-chat-input:focus {
  border-color: rgba(255, 107, 157, 0.6) !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 157, 0.3) !important;
  background: linear-gradient(135deg, rgba(60, 30, 80, 0.7) 0%, rgba(30, 20, 50, 0.7) 100%) !important;
}
#ai-chat-input::placeholder {
  color: rgba(240, 240, 240, 0.4) !important;
  font-style: italic !important;
}
#ai-chat-input::selection {
  background: rgba(255, 107, 157, 0.4) !important;
  color: #F0F0F0 !important;
}

/* ========================================= */
/* 16. 分页栏美化 */
/* ========================================= */
.MuiPaginationItem-root {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 107, 157, 0.2) !important;
  color: #EAEAEA !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}
.MuiPaginationItem-root:hover {
  background: rgba(255, 107, 157, 0.2) !important;
  border-color: rgba(255, 107, 157, 0.5) !important;
}
.MuiPaginationItem-root.Mui-selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-color: rgba(255, 107, 157, 0.6) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}
.MuiPaginationItem-root.Mui-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
.MuiPaginationItem-icon {
  color: #ff6b9d !important;
}

/* ========================================= */
/* 17. 评论区美化 */
/* ========================================= */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
  background: linear-gradient(135deg, rgba(30, 20, 50, 0.95) 0%, rgba(60, 30, 80, 0.95) 100%) !important;
  border-top: 1px solid rgba(255, 107, 157, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}
div.text-lg.font-bold {
  color: #F0F0F0 !important;
  font-weight: 700 !important;
}
p.MuiTypography-body1.text-grey-600 {
  color: #EAEAEA !important;
}

/* 评分星星 */
span.MuiRating-iconEmpty svg {
  color: rgba(255, 107, 157, 0.3) !important;
  transition: all 0.2s ease !important;
}
span.MuiRating-iconFilled svg {
  color: #ff6b9d !important;
  filter: drop-shadow(0 0 4px rgba(255, 107, 157, 0.6)) !important;
}
span.text-orange-500 {
  color: #ff9500 !important;
  font-weight: 600 !important;
}

/* 评论输入框 */
textarea.rc-textarea {
  background: rgba(60, 30, 80, 0.5) !important;
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  color: #F0F0F0 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}
textarea.rc-textarea:focus {
  border-color: rgba(255, 107, 157, 0.6) !important;
  box-shadow: 0 0 16px rgba(255, 107, 157, 0.2) !important;
}
div.bg-gray-100.text-gray-500 {
  background: rgba(255, 107, 157, 0.1) !important;
  color: #EAEAEA !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: #ff6b9d !important;
  transition: all 0.3s ease !important;
  filter: drop-shadow(0 0 4px rgba(255, 107, 157, 0.4)) !important;
}
div.cursor-pointer.group:hover svg[data-icon="Send03"] {
  color: #ff9500 !important;
  filter: drop-shadow(0 0 8px rgba(255, 150, 0, 0.6)) !important;
}

/* 分割线 */
div.style_divider__mW0YX {
  background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.3), transparent) !important;
}

/* 排序按钮 */
button.MuiButton-containedPrimary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}
button.MuiButton-outlinedPrimary {
  border: 1px solid rgba(255, 107, 157, 0.3) !important;
  color: #EAEAEA !important;
  background: rgba(255, 107, 157, 0.05) !important;
}
button.MuiButton-outlinedPrimary:hover {
  background: rgba(255, 107, 157, 0.15) !important;
  border-color: rgba(255, 107, 157, 0.6) !important;
}

/* 评论列表滚动条 */
div.p-3.overflow-y-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 157, 0.3) transparent;
}
div.p-3.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}
div.p-3.overflow-y-auto::-webkit-scrollbar-track {
  background: transparent;
}
div.p-3.overflow-y-auto::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 157, 0.3);
  border-radius: 3px;
}
div.p-3.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 157, 0.6);
}

/* 评论项 */
div.group.ml-0 {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 107, 157, 0.1) !important;
  border-radius: 8px !important;
  padding: 12px !important;
  margin-bottom: 8px !important;
  transition: all 0.3s ease !important;
}
div.group.ml-0:hover {
  background: rgba(255, 107, 157, 0.08) !important;
  border-color: rgba(255, 107, 157, 0.3) !important;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.15) !important;
  transform: translateX(4px) !important;
}

/* 用户头像 */
div.group img.rounded-full {
  border: 2px solid rgba(255, 107, 157, 0.3) !important;
  box-shadow: 0 0 12px rgba(255, 107, 157, 0.2) !important;
  transition: all 0.3s ease !important;
}
div.group:hover img.rounded-full {
  border-color: rgba(255, 107, 157, 0.6) !important;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.4) !important;
}

/* 用户名 */
div.text-sm.text-grey-600 span.font-bold {
  color: #ff6b9d !important;
  font-weight: 600 !important;
}
span.text-\[10px\] {
  color: #667eea !important;
  background: rgba(102, 126, 234, 0.2) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
}

/* 评论内容 */
div.break-all {
  color: #EAEAEA !important;
  line-height: 1.6 !important;
}
div.text-xs.text-grey-600 {
  color: rgba(240, 240, 240, 0.5) !important;
  font-style: italic !important;
}

/* 点赞按钮 */
button.text-gray-400 {
  color: rgba(240, 240, 240, 0.4) !important;
  transition: all 0.3s ease !important;
}
button.text-gray-400:hover {
  color: #ff6b9d !important;
  transform: scale(1.2) !important;
}
button.text-gray-400 svg {
  transition: all 0.3s ease !important;
}
button.text-gray-400:hover svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 157, 0.6)) !important;
}

/* 回复按钮 */
span.cursor-pointer {
  color: #667eea !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}
span.cursor-pointer:hover {
  color: #ff6b9d !important;
  text-decoration: underline !important;
}

/* 回复区域边框 */
div.ml-8.border-l {
  border-left: 2px solid rgba(255, 107, 157, 0.2) !important;
  padding-left: 12px !important;
}

/* ========================================= */
/* 18. 响应式优化 */
/* ========================================= */
@media (max-width: 768px) {
  .sticky.w-full.top-0.flex.items-center {
    padding: 8px 12px !important;
  }
  #ai-chat-input {
    font-size: 13px !important;
  }
  div.group.ml-0 {
    padding: 8px !important;
  }
}
@media (max-width: 480px) {
  .markdown-body {
    font-size: 14px !important;
  }
  details > summary {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }
  details > p {
    font-size: 12px !important;
  }
  .bg-gray-100\/90.relative.inline-block {
    border-radius: 12px !important;
  }
}

/* ========================================= */
/* 19. 低动效模式 */
/* ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  @keyframes loadingBounce {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
  }
  .bg-gray-100\/90.relative.inline-block,
  .MuiButtonBase-root.MuiButton-root {
    transition: none !important;
  }
}