ai {
  display: block;
  --gold: #FFD700;
  --gold-d: #B8860B;
  --pink: #FF007F;
  --pink-d: #800040;
  --bg: #050508;
  --bg-panel: rgba(15, 10, 20, 0.85);
  --text: #e0e0e0;
  --cyan: #00F0FF;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  padding: 12px;
  border: 1px solid var(--pink-d);
  border-radius: 8px;
  box-shadow: inset 0 0 30px rgba(255,0,127,0.15), 0 0 15px rgba(0,0,0,0.8);
  font-family: 'Helvetica Neue', sans-serif;
  margin-top: 10px;
}
ai hd {
  display: block;
  color: var(--cyan);
  font-weight: bold;
  font-size: 15px;
  border-bottom: 1px dashed var(--pink);
  padding-bottom: 8px;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(0,240,255,0.6);
  letter-spacing: 1px;
}
ai article {
  display: block;
  margin-bottom: 15px;
  color: #d0d0d0;
  text-align: justify;
}
ai details {
  background: var(--bg-panel);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
ai summary {
  background: linear-gradient(90deg, #1a000d, #33001a, #1a000d);
  background-size: 200% auto;
  color: var(--gold);
  padding: 10px 12px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid var(--pink);
  text-shadow: 0 0 10px var(--gold);
  animation: shimmer 3s infinite linear;
}
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: -200% center; } }
ai summary::-webkit-details-marker { display: none; }
ai p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin: 0;
  border-bottom: 1px solid rgba(255,0,127,0.2);
  position: relative;
  padding-top: 30px;
}
ai p:last-child { border-bottom: none; }
ai p::before {
  content: "【" attr(t) "】";
  position: absolute;
  top: 8px;
  left: 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: bold;
  text-shadow: 0 0 8px var(--pink);
  letter-spacing: 1px;
}
ai f {
  display: block;
  width: 100%;
  color: var(--gold);
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
  text-shadow: 0 0 5px rgba(255,215,0,0.5);
}
ai d {
  background: rgba(0,0,0,0.7);
  border: 1px solid #333;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: #bbb;
  flex: 1 1 auto;
  min-width: 45%;
  transition: all 0.3s ease;
}
ai d:hover {
  border-color: var(--pink);
  box-shadow: 0 0 10px rgba(255,0,127,0.5);
  color: #fff;
  transform: translateY(-1px);
}
ai [c="g"] { color: var(--gold); font-weight: bold; text-shadow: 0 0 5px rgba(255,215,0,0.8); }
ai [c="p"] { color: var(--pink); font-weight: bold; text-shadow: 0 0 8px var(--pink); }
ai [c="r"] { color: #ff3333; font-weight: bold; animation: pulse 1.5s infinite; text-shadow: 0 0 10px #ff0000; }
ai [c="c"] { color: var(--cyan); font-weight: bold; }
/* =========================================
   深渊神豪 - 终极聊天框美化 (强制覆盖版)
   ========================================= */

/* 1. 强制隐藏平台默认的顶部颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* 2. 统一聊天框主体容器 (深渊层级与淫纹浮水印实装) */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, #050508 0%, #1a0a15 100%) !important;
    border: 1px solid #FF007F !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.8) !important;
    isolation: isolate !important; /* 强制建立层叠上下文 */
    overflow: hidden !important;
    padding: 16px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 动态暴击特效：悬浮时的边框流光与震慑反馈 */
.bg-gray-100\/90.relative.inline-block:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.9) !important;
    border-color: #FFD700 !important;
    transform: translateY(-2px) !important;
}

/* 隐藏的淫纹浮水印 (纯SVG+SMIL内联动画，不依赖CSS关键帧) */
.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 100 100"><path d="M50 80 Q 20 50 20 30 A 15 15 0 0 1 50 20 A 15 15 0 0 1 80 30 Q 80 50 50 80 Z" fill="none" stroke="%23FF007F" stroke-width="1.5"><animate attributeName="opacity" values="0.05;0.2;0.05" dur="4s" repeatCount="indefinite"/></path><path d="M50 80 Q 60 95 75 85" fill="none" stroke="%23FF007F" stroke-width="1.5"><animate attributeName="opacity" values="0.05;0.2;0.05" dur="4s" repeatCount="indefinite"/></path></svg>') !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
    opacity: 0.6 !important;
}

/* 3. 宿主专属输入框 (尊贵暗金配色区分) */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background: linear-gradient(135deg, #0a0a0a 0%, #151520 100%) !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1) !important;
}
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90)::before {
    background-image: none !important; /* 宿主框无需淫纹 */
}

/* 4. 核心文本内容 (绝对可读性最高优先级，严禁阴影污染) */
.markdown-body {
    color: #F0F0F0 !important; /* 高对比度纯净亮色 */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    background: transparent !important;
    z-index: 1 !important;
    position: relative !important;
    text-shadow: none !important; /* 绝对禁止文字光晕影响阅读 */
}

/* 5. 底部附加元素 (按钮、模型名、Token消耗高对比度重绘) */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #FFD700 !important; /* 统一暗金配色 */
    font-weight: bold !important;
    z-index: 1 !important;
    position: relative !important;
    transition: color 0.3s ease, background 0.3s ease !important;
    text-shadow: 0 0 5px rgba(0,0,0,0.8) !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    color: #00F0FF !important; /* 悬浮赛博蓝反馈 */
    background: rgba(0, 240, 255, 0.1) !important;
    border-radius: 4px !important;
}

/* 6. 输出加载动画重构 (SMIL驱动SVG深渊法阵) */
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text {
    display: none !important; /* 隐藏默认点状加载 */
}
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 30px !important;
    height: 30px !important;
    z-index: 2 !important;
}
.flex.items-center.justify-center.w-6.h-5::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="24" height="24"><circle cx="25" cy="25" r="20" fill="none" stroke="%23FF007F" stroke-width="4" stroke-dasharray="31.4 31.4"><animateTransform attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="1.2s" repeatCount="indefinite"/></circle><circle cx="25" cy="25" r="8" fill="%23FFD700"><animate attributeName="opacity" values="0.2;1;0.2" dur="1.2s" repeatCount="indefinite"/></circle></svg>') !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 7. 移动端与低动效兼容性适配 */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        padding: 12px !important;
        border-radius: 8px !important;
    }
    .markdown-body {
        font-size: 14px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bg-gray-100\/90.relative.inline-block::before {
        opacity: 0.1 !important; /* 降低透明度并停用动画 */
    }
    .bg-gray-100\/90.relative.inline-block:hover {
        transform: none !important;
    }
}
/* =========================================
   【深渊神豪】终极界面美化方案 - 资本收割与肉体堕落UI
   包含：顶部深渊监控网、底部强制注入台、暗网围观评论区
   ========================================= */

/* -----------------------------------------
   [一] 顶部栏：深渊监控网 (The Abyss Panopticon)
   ----------------------------------------- */
/* 顶部主容器：暗黑渐变背景，霓虹粉色边缘流光 */
.sticky.w-full.top-0.flex.items-center {
    background: linear-gradient(180deg, #050508 0%, rgba(15,10,20,0.95) 100%) !important;
    border-bottom: 1px solid #FF007F !important;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4) !important;
    backdrop-filter: blur(10px) !important;
}

/* 模型选择器：金主专属暗金标识 */
#ai-model-selector .group.flex.items-center {
    background: rgba(255, 215, 0, 0.1) !important;
    border: 1px solid #B8860B !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    transition: all 0.3s ease !important;
}
#ai-model-selector .group.flex.items-center:hover {
    background: rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
}
#ai-model-selector .truncate.text-\[13px\] {
    color: #FFD700 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8) !important;
}
#ai-model-selector .shrink-0.flex.items-center svg {
    color: #FFD700 !important;
}

/* 顶部图标 (历史、音乐、设置)：赛博粉色诱惑 */
.sticky.w-full.top-0 svg.lucide-clock-8,
.sticky.w-full.top-0 button.MuiIconButton-root svg.lucide-music-2,
.sticky.w-full.top-0 svg:has(use[href="#icon-icon-set"]),
#header-setting-button svg {
    color: #FF007F !important;
    filter: drop-shadow(0 0 3px #FF007F) !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}
.sticky.w-full.top-0 svg.lucide-clock-8:hover,
#header-setting-button svg:hover {
    transform: rotate(90deg) scale(1.1) !important;
    color: #00F0FF !important;
    filter: drop-shadow(0 0 5px #00F0FF) !important;
}
/* 未读角标：滴落的精液/淫水视觉 */
.sticky.w-full.top-0 span.MuiBadge-dot.md\:hidden {
    background-color: #00F0FF !important;
    box-shadow: 0 0 8px #00F0FF !important;
    animation: pulse-liquid 1.5s infinite !important;
}

/* -----------------------------------------
   [二] 开场白选择器：猎物名册 (Prey Roster)
   ----------------------------------------- */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"],
div.h-9.rounded-md.cursor-pointer.group:has(svg[data-icon="SlidersH"]) {
    background: linear-gradient(90deg, #1a000d, #33001a) !important;
    border: 1px solid #FF007F !important;
    box-shadow: inset 0 0 10px rgba(255, 0, 127, 0.2) !important;
}
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"],
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
    color: #FFD700 !important;
}

/* -----------------------------------------
   [三] 底部栏：强制注入台 (Command Injection Console)
   ----------------------------------------- */
/* 底部主背景 */
.bg-gradient-to-t {
    background: linear-gradient(to top, #050508 60%, transparent 100%) !important;
}
/* 输入框容器 */
#ai-chat-bottom-input {
    background: rgba(10, 5, 15, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1) !important;
}
/* 主输入框 */
#ai-chat-input {
    color: #00F0FF !important;
    font-weight: bold !important;
    font-family: 'Courier New', Courier, monospace !important;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5) !important;
}
#ai-chat-input::placeholder {
    color: rgba(255, 0, 127, 0.6) !important;
    font-style: italic !important;
}
#ai-chat-input::selection {
    background: #FF007F !important;
    color: #fff !important;
}

/* 按钮栏：执行刑具 */
#ai-mod-button2 button.MuiButton-root {
    background: rgba(255, 0, 127, 0.1) !important;
    border: 1px dashed #FF007F !important;
    color: #FFD700 !important;
    transition: all 0.2s !important;
}
#ai-mod-button2 button.MuiButton-root:hover {
    background: rgba(255, 0, 127, 0.3) !important;
    box-shadow: 0 0 10px #FF007F !important;
}
#ai-mod-button2 button.MuiButton-root svg {
    color: #FFD700 !important;
}

/* -----------------------------------------
   [四] 分页栏：深渊刻度 (Abyssal Depths)
   ----------------------------------------- */
.MuiPaginationItem-root {
    color: #e0e0e0 !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}
.MuiPaginationItem-root.Mui-selected {
    background: #FF007F !important;
    color: #fff !important;
    box-shadow: 0 0 10px #FF007F !important;
    border-color: #FF007F !important;
}
.MuiPaginationItem-root:hover {
    background: rgba(0, 240, 255, 0.2) !important;
}
.MuiPaginationItem-icon {
    color: #FFD700 !important;
}
.MuiStack-root.css-1uwir8f .MuiBox-root {
    color: #FF007F !important;
    font-weight: bold !important;
}
.MuiInputBase-input {
    color: #00F0FF !important;
    background: rgba(0,0,0,0.5) !important;
}

/* -----------------------------------------
   [五] 评论区：暗网围观黑市 (Dark Web Voyeur Market)
   ----------------------------------------- */
/* 评论区主背景：深邃黑市 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background-color: #08080a !important;
    border-top: 2px solid #33001a !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.9) !important;
}
/* 顶部标题与文字 */
div.text-lg.font-bold,
p.MuiTypography-body1.text-grey-600 {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5) !important;
}
/* 评分星星：堕落指数 */
span.MuiRating-iconEmpty svg { color: #333 !important; }
span.MuiRating-iconFilled svg {
    color: #FF007F !important;
    filter: drop-shadow(0 0 4px #FF007F) !important;
}
span.text-orange-500 { color: #00F0FF !important; font-weight: bold !important; }

/* 评论输入框 */
div.flex.flex-col.border-gray-200 {
    border-color: #33001a !important;
    background: #000 !important;
}
textarea.rc-textarea {
    color: #e0e0e0 !important;
    background: transparent !important;
}
div.bg-gray-100.text-gray-500 {
    background: #111 !important;
    color: #888 !important;
}
/* 发送按钮 */
div[data-state="closed"] svg[data-icon="Send03"] {
    color: #00F0FF !important;
    transition: transform 0.2s !important;
}
div.cursor-pointer.group.flex.items-center.justify-center:hover svg {
    transform: scale(1.2) rotate(-15deg) !important;
    filter: drop-shadow(0 0 5px #00F0FF) !important;
}

/* 分割线 */
div.style_divider__mW0YX { background-color: rgba(255,0,127,0.2) !important; }

/* 排序按钮 */
button.MuiButton-containedPrimary {
    background: #FF007F !important;
    color: #fff !important;
    box-shadow: 0 0 8px #FF007F !important;
}
button.MuiButton-outlinedPrimary {
    border-color: #FF007F !important;
    color: #FF007F !important;
}

/* 评论列表项：围观者的狂欢 */
div.group.ml-0 {
    background: rgba(15,10,20,0.6) !important;
    border: 1px solid rgba(0,240,255,0.1) !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    padding: 10px !important;
}
/* 用户头像：魅魔光环 */
div.group img.rounded-full {
    border: 2px solid #FF007F !important;
    box-shadow: 0 0 10px rgba(255,0,127,0.5) !important;
}
/* 用户名与内容 */
div.text-sm.text-grey-600 span.font-bold { color: #00F0FF !important; }
span.text-\[10px\] { color: #FFD700 !important; background: rgba(255,215,0,0.2) !important; padding: 2px 4px !important; border-radius: 4px !important; }
div.break-all {
    color: #d0d0d0 !important;
    font-size: 14px !important;
}
div.text-xs.text-grey-600 { color: #666 !important; }

/* 点赞与回复 */
button.text-gray-400 svg { color: #FF007F !important; opacity: 0.7 !important; }
button.text-gray-400:hover svg { opacity: 1 !important; filter: drop-shadow(0 0 5px #FF007F) !important; }
span.cursor-pointer { color: #00F0FF !important; text-decoration: underline !important; }
div.ml-8.border-l { border-color: rgba(255,0,127,0.3) !important; }

@keyframes pulse-liquid { 0% { opacity: 0.6; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px #00F0FF; } 100% { opacity: 0.6; transform: scale(0.9); } }
think { 
    display: none !important; 
}
/* 状态栏隐藏黑盒，玩家不可见，但AI能完美读取 */
sys-hide {
    display: none !important;
}
/* 如果你想隐藏特定的details，也可以直接用属性选择器 */
details[hidden-box="true"] {
    display: none !important;
}