/* --- Gundam NT-D: Psycho-Frame MAX Resonance --- */

/* ================= 1. 系统初始化 ================= */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* ================= 2. 武器管制：战术光标 ================= */
html, body, div, span, textarea, button {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 2 L16 8 M16 24 L16 30 M2 16 L8 16 M24 16 L30 16' stroke='%23FF0033' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='8' fill='none' stroke='%23FF0033' stroke-width='1'/%3E%3Ccircle cx='16' cy='16' r='2' fill='%23FF0033'/%3E%3C/svg%3E") 16 16, auto !important;
}

button:active, [role="button"]:active, a:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='10' fill='none' stroke='%2339FF14' stroke-width='2' stroke-dasharray='4,2'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 16 16' to='360 16 16' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Cpath d='M16 6 L16 26 M6 16 L26 16' stroke='%2339FF14' stroke-width='1'/%3E%3C/svg%3E") 16 16, auto !important;
}

/* ================= 3. 精神感应框架：高亮觉醒模式 ================= */
.bg-gray-100\/90.relative.inline-block {
    /* 背景保持深色以衬托亮光 */
    background-color: rgba(0, 10, 0, 0.95) !important;
    
    /* 红色拘束外框 */
    border: 2px solid #FF0033 !important;
    border-radius: 4px !important;
    
    /* 【核心修改】极致增强的绿色辉光 */
    box-shadow: 
        0 0 0 1px #000, /* 黑色内衬 */
        0 0 25px rgba(57, 255, 20, 0.8), /* 核心高亮层 */
        0 0 50px rgba(57, 255, 20, 0.4), /* 外部扩散层 */
        inset 0 0 40px rgba(57, 255, 20, 0.25) !important; /* 内部环境光 */
        
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    padding: 24px !important;
    color: #39FF14 !important;
}

/* --- 动态流体层：浓度提升 --- */
.bg-gray-100\/90.relative.inline-block::before {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    z-index: -1 !important;
    opacity: 0.55 !important; /* 提升了可见度 (原0.3) */
    
    background: 
        radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.25) 0%, transparent 60%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(57, 255, 20, 0.15) 3px);
    background-size: 50% 50%, 100% 4px !important;
    
    animation: psycho-flow 8s linear infinite !important; /* 加快了流动速度 */
    pointer-events: none !important;
}

@keyframes psycho-flow {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(30px); }
    100% { transform: rotate(360deg) translateY(0); }
}

/* 装饰性文字 */
.bg-gray-100\/90.relative.inline-block::after {
    content: "PSYCHO-FRAME: MAX OUTPUT" !important; /* 更改为最大出力 */
    position: absolute !important;
    bottom: 2px !important;
    right: 5px !important;
    font-size: 9px !important;
    font-family: "Orbitron", "Consolas", monospace !important;
    color: #39FF14 !important; /* 文字也变绿 */
    text-shadow: 0 0 5px #39FF14 !important;
    opacity: 0.9 !important;
    letter-spacing: 1px !important;
    pointer-events: none !important;
}

/* ================= 4. 输入终端 ================= */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background-color: #000500 !important;
    border: 1px solid #39FF14 !important;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5) !important; /* 输入框也增加了辉光 */
}

/* ================= 5. 数据显示 ================= */
.markdown-body {
    position: relative !important;
    z-index: 1 !important;
    color: #E0F2F1 !important;
    font-family: "Consolas", "Monaco", "Courier New", monospace !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-shadow: 0 0 3px rgba(57, 255, 20, 0.4) !important; /* 增加文字光晕 */
}

.markdown-body strong {
    color: #39FF14 !important;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.9) !important;
}

/* 代码块日志 */
.markdown-body pre {
    background: #020802 !important;
    border: 1px solid #39FF14 !important;
    border-left: 4px solid #FF0033 !important;
    border-radius: 0 !important;
    box-shadow: inset 0 0 20px rgba(0, 20, 0, 1) !important;
    position: relative !important;
    padding-top: 25px !important;
}

.markdown-body pre::before {
    content: "/// RESONANCE DATA ///" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 20px !important;
    background: rgba(57, 255, 20, 0.15) !important;
    color: #39FF14 !important;
    font-size: 10px !important;
    line-height: 20px !important;
    padding-left: 10px !important;
    border-bottom: 1px solid rgba(57, 255, 20, 0.4) !important;
}

.markdown-body code {
    font-family: "Consolas", monospace !important;
    color: #A5D6A7 !important;
    text-shadow: 0 0 2px rgba(57, 255, 20, 0.3) !important;
}

/* ================= 6. 底部状态栏 ================= */
.MuiButtonBase-root.MuiButton-root, 
.text-orange-500,
.MuiTypography-root {
    color: #FF0033 !important;
    font-family: "Orbitron", sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 5px rgba(255, 0, 51, 0.5) !important;
}

/* ================= 7. 加载动画 ================= */
.style_dot-flashing__8L91Q.style_text__zGhNq { display: none !important; }

.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
}

.flex.items-center.justify-center.w-6.h-5::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' width='40' height='40'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%2339FF14' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='25' cy='25' r='10' fill='none' stroke='%2339FF14' stroke-width='1' opacity='0.5'/%3E%3Cline x1='25' y1='25' x2='25' y2='5' stroke='%2339FF14' stroke-width='2.5'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/line%3E%3Cpath d='M25 5 A20 20 0 0 1 45 25' fill='none' stroke='%23FF0033' stroke-width='3' stroke-dasharray='5,5'%3E%3CanimateTransform attributeName='transform' type='rotate' from='360 25 25' to='0 25 25' dur='2s' repeatCount='indefinite'/%3E%3C/path%3E%3Ctext x='18' y='48' fill='%2339FF14' font-family='monospace' font-size='6' font-weight='bold'%3ESCANNING%3C/text%3E%3C/svg%3E") !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
}