        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Global overrides for Layui Layer rounded corners */
        .layui-layer {
            border-radius: 5px !important;
            overflow: hidden;
        }
        .layui-layer-title {
            border-radius: 5px 5px 0 0 !important;
        }
        .layui-layer-btn {
            border-radius: 0 0 5px 5px !important;
        }
        .layui-layer-iframe {
            border-radius: 5px !important;
        }

        /* Layui confirm primary button: WeChat green style */
        .layui-layer-btn .layui-layer-btn0 {
            background-color: #07C160 !important;
            border-color: #07C160 !important;
            color: #fff !important;
        }

        .layui-layer-btn .layui-layer-btn0:hover {
            background-color: #06ad56 !important;
            border-color: #06ad56 !important;
        }
        
        :root {
            --brand-3: #a7ea77;/*右侧气泡背景*/
            --color-fill-1: #ffffff;/*左侧对话气泡背景*/
            --color-fill-2: #f2f2f2;/*聊天背景*/
        }
        
        html, body {
            width: 100%;
            height: 100%;
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background: #f5f5f7;
        }
        
		.Navbar {
		  background-color: #ededed;
		}

		
        #root {
            width: 100%;
            height: 100%;
        }

        .app-shell {
            width: 100%;
            height: 100%;
            display: flex;
            background: #0f1115;
        }

        .app-sidebar {
            width: 15%;
            min-width: 200px;
            background: #111827;
            color: #fff;
            display: none;
            flex-direction: column;
            border-right: 1px solid rgba(255, 255, 255, 0.05);
        }

        .app-sidebar.active {
            display: flex;
        }

        .app-sidebar.collapsed {
            width: 72px;
            min-width: 72px;
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            height:93px;
        }

        .sidebar-logo {
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .app-sidebar.collapsed .sidebar-logo span {
            display: none;
        }

        .collapse-btn {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            cursor: pointer;
            font-family: "iconfont" !important;
            font-size: 12px;
            font-style: normal;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .collapse-btn i {
            font-size: 10px;
        }

        .sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 12px 0;
        }

        .sidebar-section-title {
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.6);
            padding: 0 16px 8px;
        }

        .ai-list {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .ai-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.8);
            transition: background 0.2s ease;
        }

        .ai-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .ai-item.active {
            background: rgba(59, 130, 246, 0.15);
            color: #fff;
        }

        .ai-avatar {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .ai-info {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .ai-name {
            font-size: 14px;
            font-weight: 500;
            color: #fff;
        }

        .ai-preview {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .app-sidebar.collapsed .ai-info {
            display: none;
        }

        .ai-empty {
            padding: 16px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
        }

        .sidebar-footer {
            padding: 16px 16px 16px 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: #0d1320;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            object-fit: cover;
        }

        .user-name {
            font-size: 14px;
            color: #fff;
            flex: 1;
        }

        .app-sidebar.collapsed .user-name {
            display: none;
        }

        .user-more-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: none;
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            cursor: pointer;
            font-family: "iconfont" !important;
            font-size: 16px;
            font-style: normal;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .app-sidebar.collapsed .user-more-btn {
            display: none;
        }

        .user-more-btn i {
            font-size: 12px;
        }

        .sidebar-wallet {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .wallet-balance-label {
            font-size: 12px;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
        }

        .wallet-balance-value {
            font-size: 20px;
            font-weight: 600;
            color: #fff;
            display: flex;
            align-items: flex-end;
            gap: 4px;
        }

        .wealth-main {
            font-size: 27px;
            font-weight:800;
            line-height: 1;
            letter-spacing: 0.5px;
        }

        .wealth-unit {
            font-size: 14px;
            font-weight: 400;
            opacity: 0.8;
            line-height: 1.2;
        }

        .wallet-actions {
            display: flex;
            gap: 6px;
        }

        .wallet-action-button {
            flex: 1;
            border: none;
            border-radius: 8px;
            padding: 8px 6px;
            font-size: 13px;
            cursor: pointer;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            transition: background 0.2s ease;
            white-space: nowrap;
        }

        .wallet-action-button.primary,
        .wallet-action-button.is-green {
            background-color: #07C160;
            background-image: none;
            border: 1px solid #07C160;
            box-shadow: 0 8px 18px rgba(7, 193, 96, 0.35);
        }
        

        .wallet-action-button:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        .wallet-action-button.primary:hover,
        .wallet-action-button.is-green:hover {
            background-color: #059447;
            border-color: #059447;
        }

        .app-sidebar.collapsed .sidebar-wallet,
        .app-sidebar.collapsed .wallet-actions {
            display: none;
        }

        .middle-panel {
            flex: 1;
            min-width: 0;
            background: #0c0f17;
            color: rgba(255, 255, 255, 0.8);
            display: none;
            flex-direction: column;
            border-right: 1px solid rgba(255, 255, 255, 0.05);
        }

        .middle-panel-layout {
            display: flex;
            flex-direction: column;
            height: 100%;
            margin-bottom: 9px;
        }

        .middle-panel-body {
            flex: 1;
            overflow: auto;
            padding: 20px 20px 0 20px;
        }

        .middle-panel.active {
            display: flex;
        }

            .middle-panel-header {
                padding: 16px 20px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                display: flex;
                align-items: center;
                gap: 10px;
            }

        .middle-panel.is-thinking .middle-panel-header {
            color: #a78bfa;
            text-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
        }

        .ai-brain-panel {
            display: grid;
            grid-template-columns: minmax(260px, 320px) 1fr;
            gap: 24px;
            align-items: stretch;
        }

        .ai-brain-visual {
            position: relative;
            background: radial-gradient(circle at top, rgba(79, 70, 229, 0.25), rgba(15, 23, 42, 0.4));
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 20px;
            padding: 32px 24px 48px;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .brain-halo {
            position: absolute;
            width: 240px;
            height: 240px;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.25), rgba(59,130,246,0.05) 70%, transparent);
            filter: blur(4px);
            animation: haloPulse 6s ease-in-out infinite;
        }

        .brain-halo.thinking {
            animation-duration: 3s;
        }

        .ai-brain-shape {
            position: absolute;
            width: 220px;
            height: 220px;
            top: 60px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
            background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.8), rgba(129,140,248,0.3));
            box-shadow: 0 0 60px rgba(59, 130, 246, 0.4), inset 0 0 40px rgba(129, 140, 248, 0.3);
            backdrop-filter: blur(8px);
            animation: brainFloat 10s ease-in-out infinite;
        }

        .ai-brain-shape.thinking {
            animation-duration: 5s;
            box-shadow: 0 0 80px rgba(59, 130, 246, 0.6), inset 0 0 60px rgba(168, 85, 247, 0.4);
        }

        .brain-node {
            position: absolute;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
        }

        .brain-node::after {
            content: '';
            position: absolute;
            top: -6px;
            left: -6px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .brain-node.node-1 {
            top: 28%;
            left: 22%;
            animation: nodePulse 4s ease-in-out infinite;
        }

        .brain-node.node-2 {
            top: 18%;
            right: 18%;
            animation: nodePulse 5s ease-in-out infinite 0.6s;
        }

        .brain-node.node-3 {
            bottom: 22%;
            left: 50%;
            transform: translateX(-50%);
            animation: nodePulse 6s ease-in-out infinite 1.2s;
        }

        .brain-core {
            position: absolute;
            width: 110px;
            height: 110px;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.85), rgba(59, 130, 246, 0.4));
            box-shadow: 0 0 40px rgba(236, 72, 153, 0.6), inset 0 0 30px rgba(99, 102, 241, 0.6);
            animation: brainCorePulse 5s ease-in-out infinite;
        }

        .ai-brain-shape.thinking .brain-core {
            animation-duration: 2.4s;
            box-shadow: 0 0 60px rgba(236, 72, 153, 0.8), inset 0 0 40px rgba(129, 140, 248, 0.7);
        }

        .brain-status {
            position: absolute;
            bottom: 40px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(59, 130, 246, 0.6);
            z-index: 20;
            pointer-events: none;
        }

        .brain-status-sub {
            position: absolute;
            bottom: 15px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.75);
            letter-spacing: 0.5px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
            z-index: 20;
            pointer-events: none;
        }

        .ai-brain-details {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .brain-card {
            border-radius: 16px;
            padding: 20px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(10px);
        }

        .brain-card.futuristic {
            border-color: rgba(14, 165, 233, 0.3);
            box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1);
        }

        .brain-card.neon {
            border-color: rgba(168, 85, 247, 0.35);
            box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15);
        }

        .ai-brain-wrapper {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-height: 100%;
        }

        .brain-footer {
            margin-top: auto;
            padding: 8px 16px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.03);
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.65);
        }

        .brain-footer-link {
            color: #93c5fd;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .brain-footer-link:hover {
            color: #bfdbfe;
        }

        .brain-footer-divider {
            color: rgba(255, 255, 255, 0.3);
        }

        .brain-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(59, 130, 246, 0.08), rgba(236, 72, 153, 0.08));
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .brain-card:hover::before {
            opacity: 1;
        }

        .card-title {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.6);
            letter-spacing: 0.4px;
        }

        .card-value {
            font-size: 30px;
            font-weight: 700;
            margin: 12px 0 6px;
            color: rgba(255, 255, 255, 0.95);
        }

        .brain-card.neon .card-value {
            font-size: 16px;
            font-weight: 500;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.85);
            white-space: pre-wrap;
            word-break: break-word;
        }

        .card-sub {
            font-size: 12px;
            color: rgba(248, 250, 252, 0.75);
        }

        .card-sub.muted {
            color: rgba(148, 163, 184, 0.7);
        }

        .card-meta {
            margin-top: 14px;
            font-size: 12px;
            color: rgba(94, 234, 212, 0.9);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .card-content {
            margin-top: 10px;
            font-size: 14px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.86);
            min-height: 120px;
            display: flex;
            align-items: flex-start;
        }

        @keyframes brainFloat {
            0% { transform: translate(-50%, 0px) scale(1); }
            50% { transform: translate(-50%, -12px) scale(1.03); }
            100% { transform: translate(-50%, 0px) scale(1); }
        }

        @keyframes haloPulse {
            0% { transform: translateX(-50%) scale(1); opacity: 0.45; }
            50% { transform: translateX(-50%) scale(1.08); opacity: 0.8; }
            100% { transform: translateX(-50%) scale(1); opacity: 0.45; }
        }

        @keyframes nodePulse {
            0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.5); transform: scale(0.9); }
            50% { box-shadow: 0 0 22px rgba(255,255,255,0.9); transform: scale(1.1); }
        }

        @keyframes brainCorePulse {
            0%, 100% { transform: translate(-50%, -50%) scale(0.98); }
            50% { transform: translate(-50%, -50%) scale(1.05); }
        }

        /* 方案1: 全息投影 (保留并优化) */
        .hologram-container { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: flex-end; perspective: 1000px; overflow: hidden; }
        .hologram-base { width: 200px; height: 8px; background: radial-gradient(circle, #3b82f6 0%, transparent 70%); position: absolute; bottom: 15px; filter: blur(4px); z-index: 1; }
        .hologram-beam { width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-bottom: 280px solid rgba(59, 130, 246, 0.1); position: absolute; bottom: 15px; transform-origin: bottom; animation: beamPulse 3s infinite; pointer-events: none; }
        
        /* AI Digital Human - Head */
        .hologram-head {
            position: absolute;
            bottom: 160px; /* Raised by 30px */
            width: 90px;
            height: 100px; 
            border-radius: 45% 45% 50% 50%; 
            /* High-tech Hologram Filter */
            filter: sepia(1) hue-rotate(190deg) saturate(4) contrast(1.2) drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
            box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.8); 
            animation: floatFigure 6s ease-in-out infinite;
            z-index: 10;
            border: 1px solid rgba(147, 197, 253, 0.4);
            background-color: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
            overflow: visible; /* Allow ears to stick out */
        }

        .hologram-head-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0.3; /* More transparent */
            z-index: 1;
            border-radius: 45% 45% 50% 50%; /* Clip image to head shape manually since overflow is visible */
        }

        /* Facial Features Overlay */
        .hologram-face-features {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 11; /* Above head background */
            pointer-events: none;
        }

        /* Ears */
        .feature-ears {
            position: absolute;
            top: 42px;
            width: 100%;
            height: 0;
        }
        .ear {
            position: absolute;
            width: 10px;
            height: 20px;
            background: rgba(59, 130, 246, 0.3);
            border: 1px solid rgba(147, 197, 253, 0.5);
            backdrop-filter: blur(2px);
        }
        .ear.left { left: -8px; border-radius: 6px 0 0 6px; }
        .ear.right { right: -8px; border-radius: 0 6px 6px 0; }

        /* Eyes */
        .feature-eyes {
            position: absolute;
            top: 40px;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 18px;
        }
        .eye {
            width: 12px;
            height: 6px;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(30, 64, 175, 0.4);
            border-radius: 50%;
            box-shadow: 0 0 6px rgba(30, 64, 175, 0.8);
            animation: eyeBlink 4s infinite;
        }

        /* Nose */
        .feature-nose {
            position: absolute;
            top: 52px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 14px;
            background: linear-gradient(to bottom, rgba(37, 99, 235, 0.4), rgba(30, 64, 175, 0.7));
            border-radius: 2px;
            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
            filter: drop-shadow(0 1px 2px rgba(30, 58, 138, 0.4));
        }

        /* Mouth */
        .feature-mouth {
            position: absolute;
            top: 75px;
            left: 50%;
            transform: translateX(-50%);
            width: 22px;
            height: 6px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.9);
            border-radius: 0 0 10px 10px;
            box-shadow: 0 2px 4px rgba(30, 64, 175, 0.6);
        }

        @keyframes eyeBlink {
            0%, 96%, 100% { transform: scaleY(1); }
            98% { transform: scaleY(0.1); }
        }

        /* Neck Connection */
        .hologram-neck {
            position: absolute;
            bottom: 150px; /* Raised by 30px */
            width: 36px;
            height: 20px;
            background: rgba(59, 130, 246, 0.5);
            border-radius: 4px;
            z-index: 9;
            animation: floatFigure 6s ease-in-out infinite;
            box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
        }

        /* AI Digital Human - Upper Body */
        .hologram-body {
            position: absolute;
            bottom: 25px; /* Raised by 30px */
            width: 160px;
            height: 130px;
            z-index: 8;
            animation: floatFigure 6s ease-in-out infinite;
        }
        
        /* Shoulders and Chest Shape */
        .hologram-body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 100%;
            background: 
                /* Digital Grid Texture */
                linear-gradient(90deg, rgba(59,130,246,0.1) 1px, transparent 1px),
                linear-gradient(rgba(59,130,246,0.1) 1px, transparent 1px),
                /* Body Gradient */
                linear-gradient(180deg, rgba(59, 130, 246, 0.7) 0%, rgba(59, 130, 246, 0.1) 90%, transparent 100%);
            background-size: 10px 10px, 10px 10px, 100% 100%;
            
            /* Humanoid Torso Shape */
            clip-path: polygon(
                15% 10%, /* L Shoulder Top */
                35% 0%,  /* Neck L */
                65% 0%,  /* Neck R */
                85% 10%, /* R Shoulder Top */
                100% 25%,/* R Shoulder Outer */
                90% 50%, /* R Armpit */
                85% 100%,/* R Waist */
                15% 100%,/* L Waist */
                10% 50%, /* L Armpit */
                0% 25%   /* L Shoulder Outer */
            );
            
            filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
        }

        /* Energy Core (Arc Reactor Style) */
        .hologram-core {
            position: absolute;
            top: 40%;
            left: 50%; /* Centered for Arc Reactor look, or keep slightly offset if preferred, but Arc Reactors are usually central */
            transform: translate(-50%, -50%);
            width: 32px; 
            height: 32px;
            border-radius: 50%;
            z-index: 11;
            
            /* Outer Glow Container - Reddish Glow */
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 0 30px rgba(239, 68, 68, 0.3);
            animation: arcPulse 2s ease-in-out infinite;
            
            /* Metallic Ring Background - Reddish Metallic */
            background: conic-gradient(from 0deg, #7f1d1d, #f87171, #7f1d1d, #f87171, #7f1d1d);
            padding: 2px; /* Border width */
        }

        /* Inner Reactor Core */
        .hologram-core-shape {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: radial-gradient(circle, #ffffff 30%, #f87171 60%, #dc2626 100%);
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
        }

        /* Reactor Grid / Triangles Detail */
        .hologram-core-shape::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: 
                repeating-conic-gradient(
                    from 0deg,
                    transparent 0deg,
                    transparent 50deg,
                    rgba(0, 0, 0, 0.3) 55deg,
                    rgba(0, 0, 0, 0.3) 60deg
                );
            border-radius: 50%;
            z-index: 1;
        }
        
        /* Center Bright Spot */
        .hologram-core-shape::after {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 0 10px #fff, 0 0 20px #f87171;
            z-index: 2;
        }

        @keyframes arcPulse {
            0%, 100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 0 30px rgba(239, 68, 68, 0.3); transform: translate(-50%, -50%) scale(1); }
            50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.9), 0 0 50px rgba(239, 68, 68, 0.6); transform: translate(-50%, -50%) scale(1.05); }
        }

        /* Shoulder Armor/Joints */
        .hologram-shoulders {
            position: absolute;
            top: 10px;
            width: 100%;
            height: 40px;
            pointer-events: none;
        }
        .hologram-shoulders::before, .hologram-shoulders::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(59,130,246,0.4));
            filter: blur(2px);
            opacity: 0.7;
        }
        .hologram-shoulders::before { left: -5px; }
        .hologram-shoulders::after { right: -5px; }

        /* Scanlines Effect */
        .hologram-scanlines {
            position: absolute;
            bottom: 25px; /* Raised by 30px */
            width: 240px; 
            height: 280px; 
            /* ... rest of existing style ... */
            background: repeating-linear-gradient(
                to bottom,
                transparent 0px,
                transparent 1px,
                rgba(59, 130, 246, 0.4) 2px,
                transparent 3px
            );
            z-index: 12;
            pointer-events: none;
            opacity: 0.4;
            mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
            animation: scanlineMove 6s linear infinite;
        }
        
        /* Floating Emoji (Thought Bubble) */
        .hologram-emoji { 
            font-size: 48px; 
            position: absolute; 
            bottom: 215px; /* Raised by 30px */
            right: 22%; 
            animation: floatBubble 4s ease-in-out infinite; 
            filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6)); 
            opacity: 0.95; 
            z-index: 15;
        }

        @keyframes beamPulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 0.6; transform: scaleY(1.05); } }
        @keyframes scanlineMove { from { background-position: 0 0; } to { background-position: 0 100%; } }
        @keyframes floatFigure { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
        @keyframes floatBubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
        @keyframes corePulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; box-shadow: 0 0 30px #3b82f6; } }
        
        @media (max-width: 1100px) {
            .ai-brain-panel {
                grid-template-columns: 1fr;
            }
        }

        .detail-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .detail-card {
            background: rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            padding: 14px 16px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .detail-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .detail-card-title {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
        }

        .detail-amount {
            font-size: 16px;
            font-weight: 600;
        }

        .detail-amount.credit {
            color: #4ade80;
        }

        .detail-amount.debit {
            color: #f87171;
        }

        .detail-card-meta {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .detail-card-meta span strong {
            color: rgba(255, 255, 255, 0.85);
        }

        .chat-pane {
            flex: 0 0 33.333%;
            min-width: 400px;
            max-width: 500px;
            height: 100%;
            background: #f4f6fb;
            display: flex;
            flex-direction: column;
            border-left: 1px solid #e0e0e0;
        }

        /* Emoji panel styles */
        .emoji-toolbar-panel {
            background: #fff;
            max-height: 160px;
            height: 160px;
        }

        .emoji-toolbar-grid {
            display: flex;
            flex-wrap: wrap;
            padding: 8px 12px;
            max-height: 160px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .emoji-toolbar-item {
            width: 12.5%;
            height: 48px;
            font-size: 30px !important;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            background: transparent;
            padding: 0;
            margin: 0;
        }

        .emoji-toolbar-item:hover {
            transform: scale(1.1);
            background: #f0f0f0;
            border-radius: 4px;
        }

        @media (min-width: 768px) {
            .app-sidebar {
                display: flex;
            }
            .middle-panel {
                display: flex;
            }
        }

        @media (max-width: 767px) {
            .app-shell {
                flex-direction: column;
            }
            .app-sidebar {
                display: none !important;
            }
            .middle-panel {
                display: none !important;
            }
            .chat-pane {
                flex: 1;
                min-width: 0;
                width: 100%;
                max-width: none;
            }
        }
        
        /* Dropdown Menu Styles */
        .navbar-menu-wrapper {
            position: relative;
        }
        
        .navbar-menu {
            position: absolute;
            top: 100%;
            right: 12px;
            background: #2a2a2a;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
            min-width: 150px;
            z-index: 1000;
            display: none;
            margin-top: 12px;
            overflow: visible;
        }
        
        .navbar-menu.active {
            display: block;
        }
        
        .navbar-menu-arrow {
            position: absolute;
            top: -8px;
            right: 25px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid #2a2a2a;
            z-index: 1001;
        }
        
        .navbar-menu-item {
            padding: 12px 16px;
            cursor: pointer;
            font-size: 14px;
            color: #fff;
            border-bottom: 1px solid #3a3a3a;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .navbar-menu-item--top {
            margin-top: 0;
            border-radius: 8px 8px 0 0;
        }
        
        .navbar-menu-item--top:hover {
            border-radius: 8px 8px 0 0;
        }
        
        .navbar-menu-item--bottom {
            border-bottom: none;
            border-radius: 0 0 8px 8px;
        }
        
        .navbar-menu-item--bottom:hover {
            border-radius: 0 0 8px 8px;
        }
        
        .navbar-menu-item:hover {
            background: #3a3a3a;
        }
        
        .navbar-menu-item.danger {
            color: #ff4d4f;
        }
        
        .navbar-menu-item.danger:hover {
            background: #3a2a2a;
        }
        
        .navbar-menu-item svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        /* Ensure ChatUI toolbar toggle (+) stays visible even when composer has text */
        .Composer[data-has-value="true"] .Composer-actions[data-action-icon] {
            width: var(--action-size);
            margin-left: 9px;
            opacity: 1;
        }

        /* Transfer bubble styles */
        .transfer-card {
            width: 70%;
            min-width: 260px;
            max-width: 400px;
            border-radius: 12px;
            padding: 12px 14px;
            color: #fff;
            background: #efa053;
            position: relative;
            box-shadow: none;
        }

        .transfer-card.incoming {
            background: #efa053;
        }


        .transfer-card .transfer-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .transfer-card .transfer-title {
            font-size: 14px;
            opacity: 0.95;
        }

        .transfer-status-badge {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .transfer-status-badge::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #4ade80;
        }

        .transfer-status-badge.status-pending::before {
            background: #facc15;
        }

        .transfer-status-badge.status-failed::before {
            background: #fb7185;
        }

        .transfer-card .transfer-amount {
            font-size: 26px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .transfer-card .transfer-amount span {
            margin-top: 5px;;
            font-size: 12px;
            font-weight: normal;
            opacity: 0.8;
        }

        .transfer-card .transfer-desc {
            font-size: 13px;
            opacity: 0.9;
            word-break: break-word;
            padding-bottom: 8px;
            border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
        }

        .transfer-card .transfer-meta {
            margin-top: 8px;
            font-size: 11px;
            opacity: 0.85;
            display: flex;
            justify-content: space-between;
            gap: 12px;
        }

        /* Coupon bubble styles */
        .coupon-card {
            width: 70%;
            min-width: 260px;
            max-width: 400px;
            border-radius: 12px;
            padding: 12px 14px;
            color: #fff;
            background: #07c160;
            position: relative;
            box-shadow: none;
        }

        .coupon-card.incoming {
            background: #07c160;
        }

        .coupon-card .coupon-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .coupon-card .coupon-title {
            font-size: 12px;
            opacity: 0.95;
        }

        .coupon-status-badge {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .coupon-status-badge::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #4ade80;
        }

        .coupon-card .coupon-amount {
            font-size: 26px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .coupon-card .coupon-amount span {
            margin-top: 5px;
            font-size: 12px;
            font-weight: normal;
            opacity: 0.8;
        }

        .coupon-card .coupon-desc {
            font-size: 12px;
            opacity: 0.9;
            padding-bottom: 8px;
            border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            /* 硬限制只允许一行，超过的省略 */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        .coupon-card .coupon-meta {
            margin-top: 8px;
            font-size: 11px;
            opacity: 0.85;
            display: flex;
            justify-content: space-between;
            gap: 12px;
        }

        /* Lucky card bubble styles */
        .lucky-card-bubble {
            width: 70%;
            min-width: 260px;
            max-width: 400px;
            border-radius: 12px;
            padding: 12px 14px;
            color: #fff;
            background: #07c160;
            position: relative;
            box-shadow: none;
        }

        .lucky-card-bubble.incoming {
            background: #07c160;
        }

        .lucky-card-bubble .lucky-card-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .lucky-card-bubble .lucky-card-title {
            font-size: 14px;
            opacity: 0.95;
        }

        .lucky-card-status-badge {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .lucky-card-status-badge::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #4ade80;
        }

        .lucky-card-bubble .lucky-card-body {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 0.5px solid rgba(255, 255, 255, 0.2);
        }

        .lucky-card-bubble .lucky-card-status {
            margin-bottom: 8px;
        }

        .lucky-card-bubble .lucky-card-desc {
            font-size: 13px;
            opacity: 0.9;
            word-break: break-word;
            padding-bottom: 3px;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        .lucky-card-bubble .lucky-card-hint {
            font-size: 12px;
            opacity: 0.9;
            margin-top: 8px;
            color: #fff;
        }

        .lucky-card-bubble .lucky-card-content-wrapper {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 8px;
            position: relative;
        }

        .lucky-card-bubble .lucky-card-content-left {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .lucky-card-bubble .lucky-card-top-section {
            display: flex;
            flex-direction: column;
        }

        .lucky-card-bubble .lucky-card-content-right {
            display: flex;
            align-items: flex-start;
            padding-top: 0;
        }

        .lucky-card-bubble .lucky-card-desc {
            font-size: 13px;
            opacity: 0.9;
            word-break: break-word;
            color: #fff;
            line-height: 1.4;
            margin-bottom: 4px;
        }

        .lucky-card-bubble .lucky-card-serial {
            font-size: 11px;
            opacity: 0.85;
            line-height: 1.4;
        }

        .lucky-card-bubble .lucky-card-divider {
            position: absolute;
            left: 0;
            right: 0;
            height: 0.5px;
            background: rgba(255, 255, 255, 0.2);
            /* 横线位置：在编号行下方，截止时间上方 */
            /* 计算位置：备注说明(1.4em) + 间距(4px) + 编号(1.4em) + 上边距(8px) */
            bottom: 20px;
            margin: 0;
        }

        .lucky-card-bubble .lucky-card-meta {
            font-size: 11px;
            opacity: 0.85;
            line-height: 1.4;
        }

        .lucky-card-bubble .lucky-card-expire {
            margin-top: 15px;
        }

        .lucky-card-use-btn {
            padding: 0 14px;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            color: #fff;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            /* 按钮高度占前两行（备注说明+编号）总高度的80% */
            height: calc((1.4em + 4px + 1.4em) * 0.8);
            min-height: 36px;
        }

        .lucky-card-use-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-1px);
        }

        .lucky-card-use-btn:active {
            transform: translateY(0);
        }

        /* Wallet modal styles */
        .wallet-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }

        .wallet-modal-overlay.active {
            display: flex;
        }

        .wallet-modal {
            background: #fff;
            border-radius: 16px;
            width: 90%;
            max-width: 420px;
            padding: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
            animation: fadeInUp 0.3s ease;
        }

        .wallet-detail-modal {
            max-width: 560px;
            width: 94%;
            display: flex;
            flex-direction: column;
            max-height: 80vh;
            overflow: hidden;
        }

        .wallet-detail-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-shrink: 0;
        }

        .wallet-modal-close {
            background: transparent;
            border: none;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            color: #999;
        }

        .wallet-modal-close:hover {
            color: #333;
        }

        .wallet-detail-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
            margin-top: 16px;
            flex-shrink: 0;
        }

        .wallet-detail-summary .summary-item {
            background: #f5f7fb;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .wallet-detail-summary .label {
            font-size: 13px;
            color: #666;
        }

        .wallet-detail-summary .value {
            font-size: 20px;
            color: #111;
            font-weight: 600;
        }

        .wallet-detail-body {
            margin-top: 16px;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            padding-right: 6px;
        }

        .wallet-detail-list {
            max-height: none;
        }

        .wallet-detail-card {
            background: #fff;
            border: 1px solid #f0f0f0;
        }

        .wallet-detail-placeholder {
            text-align: center;
            padding: 32px 16px;
            color: #999;
            font-size: 14px;
        }

        .wallet-modal h3 {
            margin-bottom: 16px;
            font-size: 20px;
            color: #333;
        }

        .wallet-balance {
            background: linear-gradient(135deg, #1890ff, #40a9ff);
            color: #fff;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
        }

        .wallet-balance .amount {
            font-size: 28px;
            font-weight: bold;
        }

        .wallet-form .form-group {
            margin-bottom: 16px;
        }

        .wallet-form .form-hint {
            font-size: 12px;
            margin-top: 6px;
            color: #666;
        }

        .wallet-form .form-hint.warning {
            color: #d46b08;
        }

        .wallet-form label {
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
            color: #555;
        }

        .wallet-form input,
        .wallet-form select,
        .wallet-form textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #d9d9d9;
            border-radius: 8px;
            font-size: 14px;
        }

        .wallet-form textarea {
            min-height: 60px;
            resize: vertical;
        }

        .wallet-actions {
            display: flex;
            gap: 12px;
            margin-top: 12px;
        }

        .wallet-actions button {
            flex: 1;
            padding: 12px;
            border-radius: 8px;
            border: none;
            font-size: 15px;
            cursor: pointer;
        }

        .wallet-actions .primary {
            background: #1890ff;
            color: #fff;
        }

        .wallet-actions .ghost {
            background: #f5f5f5;
            color: #333;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
