ai {
  /* ================== 核心色盘：极寒冰蓝 ================== */
  --bg-void: #01050b; /* 极深邃的宇宙黑底 */
  --bg-panel: #061121; /* 模块暗蓝底色 */
  --cyan-core: #00f0ff; /* 核心高亮冷蓝 */
  --cyan-glow: rgba(0, 240, 255, 0.5); /* 霓虹蓝光晕 */
  --cyan-dim: rgba(0, 240, 255, 0.15); /* 暗蓝边框线 */
  --text-white: #ffffff; /* 纯白高亮字 */
  --text-ice: #d0e8f2; /* 冰蓝正文字体 */
  --text-muted: #5b7692; /* 次要信息 */
  --danger-pink: #ff0055; /* 危险/欲望预警色 */
  
  display: block;
  padding: 24px;
  background-color: var(--bg-void);
  /* 科技感网格底纹 + 顶部幽蓝氛围光 */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  color: var(--text-ice);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  border: 1px solid var(--cyan-dim);
  border-radius: 4px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
  line-height: 1.7;
}

/* ================== 头部信息 (冷蓝黑底 + 纯白大字 + 切角大块) ================== */
ai hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 24px;
  /* 冷蓝黑底渐变大块 */
  background: linear-gradient(135deg, #041229 0%, #01040a 100%);
  border: 1px solid var(--cyan-dim);
  border-left: 6px solid var(--cyan-core);
  color: var(--text-white); /* 白色字体 */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  /* HUD发光投影 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.05);
  /* 高级异形切角 */
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  position: relative;
}

/* 头部背后的隐形水印增强平面感 */
ai hd::after {
  content: 'OVERRIDE';
  position: absolute;
  right: 20px;
  bottom: -8px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.03);
  pointer-events: none;
  font-family: monospace;
}

/* 标签高亮为冷蓝 */
ai f {
  color: var(--cyan-core);
  margin-right: 8px;
  margin-left: 16px;
  text-shadow: 0 0 8px var(--cyan-glow);
  font-family: monospace;
}
ai f:first-child { margin-left: 0; }

/* ================== 正文区域 ================== */
ai article {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.02) 0%, transparent 100%);
  border-left: 2px solid var(--cyan-dim);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px;
}

ai article p {
  margin: 12px 0;
  text-align: justify;
}

/* ================== 心声截获框 (全息通讯质感) ================== */
ai aside[v] {
  display: block;
  /* 扫描线底纹背景 */
  background: repeating-linear-gradient(-45deg, rgba(0, 240, 255, 0.03) 0, rgba(0, 240, 255, 0.03) 2px, transparent 2px, transparent 6px), 
              linear-gradient(135deg, rgba(6, 17, 33, 0.9), rgba(1, 5, 11, 0.9));
  border: 1px solid var(--cyan-dim);
  border-right: 4px solid var(--cyan-core);
  padding: 16px 20px;
  margin: 20px 0;
  /* 左右反向切角 */
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.05);
}

ai aside[v]::before {
  content: '【 DECRYPTING THOUGHTS : ' attr(npc) ' 】';
  display: block;
  color: var(--cyan-core);
  font-family: monospace;
  font-size: 12px;
  margin-bottom: 10px;
  text-shadow: 0 0 5px var(--cyan-core);
  border-bottom: 1px dashed var(--cyan-dim);
  padding-bottom: 6px;
  letter-spacing: 1px;
}

ai aside[v] q {
  display: block;
  font-style: normal;
  color: var(--text-white);
  quotes: none;
  font-size: 15px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* ================== 折叠面板 (档案库) ================== */
ai details {
  background: var(--bg-panel);
  margin-bottom: 16px;
  border: 1px solid var(--cyan-dim);
  position: relative;
  /* 整体框线倒角 */
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

ai details summary {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.1) 0%, transparent 100%);
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--cyan-core);
  user-select: none;
  border-bottom: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
}

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

ai details summary::before {
  content: '>>';
  font-family: monospace;
  font-size: 14px;
  margin-right: 12px;
  transition: transform 0.3s;
}

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

/* ================== 档案卡片 (内部排版) ================== */
ai section {
  padding: 20px;
  border-bottom: 1px dashed var(--cyan-dim);
}
ai section:last-child { border-bottom: none; }

ai section h3 {
  font-size: 16px;
  color: var(--text-white);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
}

ai section.c h3 { border-bottom-color: var(--cyan-core); box-shadow: 0 1px 10px var(--cyan-dim); }
ai section.n h3 { border-bottom-color: var(--danger-pink); box-shadow: 0 1px 10px rgba(255, 0, 85, 0.15); }

/* 数据展示行 */
ai d {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-ice);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 隐私情报 (彻底去除模糊，改成高级黑客高亮质感) */
ai d[x] {
  filter: none; 
  background: rgba(0, 240, 255, 0.05);
  border-left: 2px solid var(--cyan-core);
  padding: 8px 12px;
  margin: 6px 0;
  color: var(--text-white);
}

/* 身体状态 (带警告红光) */
ai d[s] {
  background: linear-gradient(90deg, rgba(255, 0, 85, 0.08) 0%, transparent 100%);
  border-left: 2px solid var(--danger-pink);
  padding: 8px 12px;
  margin: 6px 0;
}

/* 动态状态 (黄光) */
ai d[st] {
  background: linear-gradient(90deg, rgba(255, 191, 0, 0.08) 0%, transparent 100%);
  border-left: 2px solid #ffbf00;
  padding: 8px 12px;
  margin: 6px 0;
  color: #fff;
}

/* ================== 进度条 (细长激光剑风) ================== */
ai meter {
  width: 140px;
  height: 4px;
  vertical-align: middle;
  margin: 0 12px 0 0;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0;
}

ai meter::-webkit-meter-bar { background: rgba(255, 255, 255, 0.05); border: none; border-radius: 0; }

/* 蓝光进度条 */
ai meter::-webkit-meter-optimum-value {
  background: var(--cyan-core);
  box-shadow: 0 0 10px var(--cyan-core);
}

/* 红光进度条 (针对欲望值 class="d") */
ai meter.d::-webkit-meter-optimum-value {
  background: var(--danger-pink);
  box-shadow: 0 0 10px var(--danger-pink);
}

ai meter + span {
  font-size: 12px;
  color: var(--cyan-core);
  font-family: monospace;
  font-weight: bold;
}

/* ================== 记忆区表格 (全息蓝图质感) ================== */
ai h4 {
  font-size: 14px;
  color: var(--text-white);
  margin: 20px 20px 10px 20px;
  padding-left: 10px;
  border-left: 4px solid var(--cyan-core);
  text-transform: uppercase;
}

ai table {
  width: calc(100% - 40px);
  border-collapse: collapse;
  margin: 0 20px 20px 20px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--cyan-dim);
}

ai table thead { background: rgba(0, 240, 255, 0.08); }

ai table th {
  padding: 10px 8px;
  text-align: left;
  color: var(--cyan-core);
  border-bottom: 1px solid var(--cyan-dim);
}

ai table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-ice);
}

/* ================== 选项列表 (终端命令框) ================== */
ai ol {
  list-style: none;
  counter-reset: cmd-counter;
  padding: 0 20px 20px 20px;
  margin: 0;
}

ai ol li {
  counter-increment: cmd-counter;
  padding: 10px 12px 10px 40px;
  margin: 8px 0;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid var(--cyan-dim);
  position: relative;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  color: var(--text-white);
  cursor: pointer;
}

ai ol li::before {
  content: '0' counter(cmd-counter);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: var(--cyan-dim);
  color: var(--cyan-core);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: monospace;
  font-weight: bold;
  border-right: 1px solid var(--cyan-dim);
}

ai ol li:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 15px var(--cyan-dim);
}

/* ===== 底部输入栏 (冰蓝亮底 + 纯黑字 + 冷蓝描边) ===== */
.bg-gradient-to-t {
  background: linear-gradient(to top, rgba(2, 4, 10, 0.95) 0%, transparent 100%) !important;
}

#ai-chat-bottom-input {
  /* 背景改为偏白/冰蓝的亮色微透底，以凸显黑色字体 */
  background: rgba(235, 250, 255, 0.9) !important; 
  backdrop-filter: blur(10px);
  border: 1px solid #00e5ff !important; 
  border-radius: 4px !important; /* 赛博硬朗直角 */
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 15px rgba(0, 229, 255, 0.2) !important;
  transition: all .3s !important;
}

#ai-chat-bottom-input:focus-within {
  background: #ffffff !important; /* 聚焦打字时变成纯白底，最清晰 */
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5), inset 0 0 10px rgba(0, 229, 255, 0.1) !important;
}

#ai-chat-input {
  color: #000000 !important; /* 纯黑字体 */
  font-family: 'Courier New', Courier, monospace, -apple-system, sans-serif !important;
  font-size: 15px !important;
  font-weight: bold !important; /* 适当加粗，让黑色在科技风中更扎实 */
  line-height: 1.65 !important;
  text-shadow: none !important; /* 移除字体发光，保证黑色边缘锐利不糊 */
}

#ai-chat-input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important; /* 占位符改为深灰色 */
  font-weight: normal !important;
}

#ai-chat-input::selection {
  background: #00e5ff !important; /* 选中文本时的背景光 */
  color: #000 !important;
}

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

/* 统一聊天框 - 赛博朋克数据监控仪表盘 */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, 
        rgba(10, 25, 47, 0.92) 0%, 
        rgba(16, 35, 58, 0.88) 50%, 
        rgba(10, 25, 47, 0.92) 100%) !important;
    border: 2px solid rgba(0, 242, 254, 0.6) !important;
    border-radius: 8px !important;
    box-shadow: 
        0 0 20px rgba(0, 242, 254, 0.3),
        0 0 40px rgba(0, 242, 254, 0.15),
        inset 0 0 60px rgba(0, 242, 254, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

/* 扫描线动画效果 (SMIL内联SVG方案) */
.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><defs><linearGradient id="scan" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:rgba(0,242,254,0);stop-opacity:0"/><stop offset="50%" style="stop-color:rgba(0,242,254,0.15);stop-opacity:1"/><stop offset="100%" style="stop-color:rgba(0,242,254,0);stop-opacity:0"/></linearGradient></defs><rect width="100%" height="3" fill="url(%23scan)"><animate attributeName="y" from="-3" to="100%" dur="3s" repeatCount="indefinite"/></rect></svg>') !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* 角标装饰 */
.bg-gray-100\/90.relative.inline-block::after {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 6px !important;
    height: 6px !important;
    background: rgba(0, 242, 254, 0.8) !important;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: pulse-glow 2s ease-in-out infinite !important;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* 主文本内容 - 高对比白色 */
.markdown-body {
    color: #FFFFFF !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

/* 底部操作按钮 - 科技面板质感 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #00F2FE !important;
    background: rgba(0, 242, 254, 0.08) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    border-radius: 4px !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
    font-size: 12px !important;
    padding: 4px 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2) !important;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: rgba(0, 242, 254, 0.15) !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* 模型名称文本 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #00F2FE !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5) !important;
}

/* Token消耗文本 */
.text-orange-500 {
    color: #FF6B35 !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5) !important;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        border-width: 1.5px !important;
    }
    
    .MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }
}

/* 低动效偏好适配 */
@media (prefers-reduced-motion: reduce) {
    .bg-gray-100\/90.relative.inline-block::after {
        animation-duration: 4s !important;
    }
}

/* ========== 顶部栏赛博朋克化 ========== */
.sticky.w-full.top-0.flex.items-center {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 40, 0.92) 100%) !important;
  border-bottom: 2px solid rgba(0, 255, 255, 0.4) !important;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3), inset 0 1px 0 rgba(0, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

/* 模型选择器 - 缺角设计 */
#ai-model-selector .group.flex.items-center {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.6), rgba(0, 20, 40, 0.8)) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}

#ai-model-selector .group.flex.items-center:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.4), rgba(0, 100, 255, 0.4)) !important;
  border-color: rgba(255, 0, 255, 0.8) !important;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.6), inset 0 0 15px rgba(255, 0, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

#ai-model-selector .truncate.text-\[13px\] {
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
  font-weight: 600 !important;
}

#ai-model-selector .shrink-0.flex.items-center svg {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.8)) !important;
  color: rgba(0, 255, 255, 0.9) !important;
}

/* 顶部栏图标统一荧光效果 */
.sticky.w-full.top-0 svg.lucide-clock-8,
.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]) {
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.7)) !important;
  color: rgba(0, 255, 255, 0.9) !important;
  transition: all 0.3s ease !important;
}

.sticky.w-full.top-0 svg.lucide-clock-8:hover,
.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]):hover {
  filter: drop-shadow(0 0 15px rgba(255, 0, 150, 0.9)) !important;
  color: rgba(255, 0, 150, 1) !important;
  transform: scale(1.1) !important;
}

/* 设置按钮 - 缺角设计 */
#header-setting-button {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.6), rgba(0, 20, 40, 0.8)) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4) !important;
  transition: all 0.3s ease !important;
}

#header-setting-button:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.5), rgba(0, 100, 255, 0.5)) !important;
  border-color: rgba(255, 0, 255, 0.8) !important;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.7) !important;
}

#header-setting-button svg {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.8)) !important;
  color: rgba(0, 255, 255, 0.95) !important;
}

/* ========== 开场白选择器 ========== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"] {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.5), rgba(0, 20, 40, 0.7)) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

div.flex.items-center.h-9.cursor-pointer.group:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.4), rgba(0, 100, 255, 0.4)) !important;
  border-color: rgba(255, 0, 255, 0.7) !important;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.6) !important;
}

div.flex.items-center.h-9.cursor-pointer.group svg {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.7)) !important;
  color: rgba(0, 255, 255, 0.9) !important;
}

/* ========== 按钮栏赛博朋克化 ========== */
#ai-mod-button2 button.MuiButton-root {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.7), rgba(0, 20, 40, 0.85)) !important;
  border: 1px solid rgba(0, 255, 255, 0.6) !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
}

#ai-mod-button2 button.MuiButton-root:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.6), rgba(0, 100, 255, 0.6)) !important;
  border-color: rgba(255, 0, 255, 0.9) !important;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.7), inset 0 0 15px rgba(255, 0, 255, 0.3) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

#ai-mod-button2 button.MuiButton-root svg {
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8)) !important;
}

/* ========== 底部栏赛博朋克化 ========== */
.bg-gradient-to-t {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 40, 0.85) 100%) !important;
  border-top: 2px solid rgba(0, 255, 255, 0.4) !important;
}

#ai-chat-bottom-input {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.6), rgba(0, 20, 40, 0.8)) !important;
  border: 2px solid rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), inset 0 0 15px rgba(0, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}

#ai-chat-bottom-input:focus-within {
  border-color: rgba(255, 0, 255, 0.8) !important;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.6), inset 0 0 20px rgba(255, 0, 255, 0.2) !important;
}

#ai-chat-input {
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif !important;
}

#ai-chat-input::placeholder {
  color: rgba(0, 255, 255, 0.5) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.2) !important;
}

#ai-chat-input::selection {
  background: rgba(0, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* ========== 分页栏赛博朋克化 ========== */
.MuiPaginationItem-root {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.6), rgba(0, 20, 40, 0.8)) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
  color: rgba(0, 255, 255, 0.9) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4) !important;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.MuiPaginationItem-root:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.5), rgba(0, 100, 255, 0.5)) !important;
  border-color: rgba(255, 0, 255, 0.8) !important;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.6) !important;
}

.MuiPaginationItem-root.Mui-selected {
  background: linear-gradient(135deg, rgba(255, 0, 150, 0.6), rgba(0, 150, 255, 0.6)) !important;
  border-color: rgba(255, 0, 255, 0.9) !important;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.8) !important;
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 700 !important;
}

.MuiPaginationItem-root.Mui-disabled {
  background: rgba(0, 20, 40, 0.4) !important;
  border-color: rgba(0, 255, 255, 0.2) !important;
  color: rgba(0, 255, 255, 0.3) !important;
  box-shadow: none !important;
}

.MuiPaginationItem-icon {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.7)) !important;
  color: rgba(0, 255, 255, 0.9) !important;
}

.MuiStack-root.css-1uwir8f {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.5), rgba(0, 20, 40, 0.7)) !important;
  border: 1px solid rgba(0, 255, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3) !important;
}

.MuiStack-root.css-1uwir8f .MuiBox-root {
  color: rgba(0, 255, 255, 0.9) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4) !important;
}

.MuiInputBase-input {
  background: rgba(0, 30, 50, 0.7) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3) !important;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2) !important;
}

/* ========== 评论区赛博朋克化 ========== */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 20, 40, 0.95) 100%) !important;
  border-top: 2px solid rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 -4px 30px rgba(0, 255, 255, 0.3) !important;
}

div.text-lg.font-bold {
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6) !important;
  font-weight: 700 !important;
}

p.MuiTypography-body1.text-grey-600 {
  color: rgba(0, 255, 255, 0.8) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4) !important;
}

span.MuiRating-iconEmpty svg {
  filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.3)) !important;
  color: rgba(0, 255, 255, 0.4) !important;
}

span.MuiRating-iconFilled svg {
  filter: drop-shadow(0 0 8px rgba(255, 180, 0, 0.8)) !important;
  color: rgba(255, 200, 0, 1) !important;
}

span.text-orange-500 {
  color: rgba(0, 255, 255, 0.9) !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5) !important;
}

div.flex.flex-col.border-gray-200 {
  background: rgba(0, 30, 50, 0.6) !important;
  border: 1px solid rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1) !important;
}

textarea.rc-textarea {
  background: rgba(0, 20, 40, 0.7) !important;
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.2) !important;
  border: 1px solid rgba(0, 255, 255, 0.4) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif !important;
}

textarea.rc-textarea::placeholder {
  color: rgba(0, 255, 255, 0.5) !important;
}

div.bg-gray-100.text-gray-500 {
  background: rgba(0, 30, 50, 0.6) !important;
  color: rgba(0, 255, 255, 0.7) !important;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3) !important;
}

/* 发送按钮 - 保持圆形，特殊荧光效果 */
div.cursor-pointer.group.flex.items-center.justify-center {
  background: radial-gradient(circle, rgba(0, 100, 255, 0.6), rgba(255, 0, 150, 0.6)) !important;
  border: 2px solid rgba(0, 255, 255, 0.7) !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(255, 0, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
  background: radial-gradient(circle, rgba(255, 0, 150, 0.8), rgba(0, 150, 255, 0.8)) !important;
  box-shadow: 0 0 35px rgba(255, 0, 255, 0.9), inset 0 0 20px rgba(255, 0, 255, 0.5) !important;
  transform: scale(1.1) rotate(15deg) !important;
}

div[data-state="closed"] svg[data-icon="Send03"] {
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 1)) !important;
  color: rgba(255, 255, 255, 1) !important;
}

div.style_divider__mW0YX {
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.6), transparent) !important;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4) !important;
}

/* 排序按钮 - 缺角设计 */
button.MuiButton-containedPrimary,
button.MuiButton-outlinedPrimary {
  background: linear-gradient(135deg, rgba(0, 40, 60, 0.7), rgba(0, 20, 40, 0.85)) !important;
  border: 1px solid rgba(0, 255, 255, 0.6) !important;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4) !important;
  transition: all 0.3s ease !important;
}

button.MuiButton-containedPrimary:hover,
button.MuiButton-outlinedPrimary:hover {
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.6), rgba(0, 100, 255, 0.6)) !important;
  border-color: rgba(255, 0, 255, 0.9) !important;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.7) !important;
}

button.MuiButton-containedPrimary {
  background: linear-gradient(135deg, rgba(255, 0, 150, 0.6), rgba(0, 150, 255, 0.6)) !important;
  border-color: rgba(255, 0, 255, 0.8) !important;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.6) !important;
}

div.p-3.overflow-y-auto {
  background: rgba(0, 10, 20, 0.5) !important;
}

/* 评论项 */
div.group.ml-0 {
  background: rgba(0, 30, 50, 0.4) !important;
  border: 1px solid rgba(0, 255, 255, 0.3) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

div.group.ml-0:hover {
  background: rgba(0, 40, 60, 0.6) !important;
  border-color: rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4) !important;
}

div.group img.rounded-full {
  border: 2px solid rgba(0, 255, 255, 0.6) !important;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5) !important;
}

div.text-sm.text-grey-600 span.font-bold {
  color: rgba(0, 255, 255, 0.95) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4) !important;
}

span.text-\[10px\] {
  color: rgba(255, 0, 150, 0.9) !important;
  text-shadow: 0 0 6px rgba(255, 0, 150, 0.5) !important;
}

div.break-all {
  color: rgba(200, 240, 255, 0.95) !important;
  text-shadow: 0 0 3px rgba(0, 255, 255, 0.2) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif !important;
}

div.text-xs.text-grey-600 {
  color: rgba(0, 255, 255, 0.6) !important;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3) !important;
}

button.text-gray-400 {
  color: rgba(0, 255, 255, 0.7) !important;
  transition: all 0.3s ease !important;
}

button.text-gray-400:hover {
  color: rgba(255, 0, 150, 1) !important;
  transform: scale(1.15) !important;
}

button.text-gray-400 svg {
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.5)) !important;
}

button.text-gray-400:hover svg {
  filter: drop-shadow(0 0 12px rgba(255, 0, 150, 0.8)) !important;
}

span.cursor-pointer {
  color: rgba(0, 255, 255, 0.85) !important;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4) !important;
  transition: all 0.3s ease !important;
}

span.cursor-pointer:hover {
  color: rgba(255, 0, 150, 1) !important;
  text-shadow: 0 0 10px rgba(255, 0, 150, 0.7) !important;
}

div.ml-8.border-l {
  border-left-color: rgba(0, 255, 255, 0.4) !important;
  border-left-width: 2px !important;
  box-shadow: -2px 0 8px rgba(0, 255, 255, 0.3) !important;
}