﻿
        .container {
            margin: 0;
        }

        /* 表格标题样式 */
        .table thead th {
            font-size: 13px !important;
        }
        /* 衍生关系图样式 - 针对高DPI显示器优化 */
        .lbox {
            position: relative !important;
            overflow: hidden !important;
            isolation: isolate;
            /* 🔧 关键修复：针对高缩放比例优化空间分配 */
            min-height: 400px;
            height: 100%;
            display: flex;
            flex-direction: column;
            /* 🔧 减少padding，为图表容器释放更多空间 */
            padding: 5px 10px !important; /* 原来是10px 15px */
        }

        #derivativeChart {
            /* 移除视觉边界但保持功能完整 */
            border: none !important;
            box-shadow: none !important;
            outline: none !important;
            background: transparent !important;
            border-radius: 0 !important;
            /* 确保完整覆盖，便于拖拽响应 */
            overflow: visible !important;
            /* 确保整个区域都能响应鼠标事件 */
            /* 🔧 修复：确保ECharts事件和自定义事件都能正常工作 */
            pointer-events: auto !important;

        /* 🎨 优美的tooltip样式 - 来自li_scann_ai.html */
        .echarts-tooltip {
            position: fixed !important;
            z-index: 999999 !important;
            pointer-events: none !important;
            max-width: 300px !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            line-height: 1.4 !important;
            box-sizing: border-box !important;
            font-family: 'Microsoft YaHei', sans-serif !important;
        }

        /* 🎨 强制换行样式 */
        .tooltip-content {
            word-break: break-all !important;
            overflow-wrap: anywhere !important;
            hyphens: auto !important;
        }
        }

        /* 确保父容器也支持无边界 */
        #derivativeChart:before,
        #derivativeChart:after {
            content: none !important;
        }

        /* 图表直接父容器：支持内容扩展但不显示溢出 */
        .flex-1:has(#derivativeChart) {
            /* 🔧 关键修复：让内容可以扩展，但最终显示受.lbox控制 */
            overflow: visible !important; /* 允许内容扩展 */
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
            position: relative !important; /* 确保拖拽层正确定位 */
        }

        /* ECharts canvas元素无边界 + 缩放优化 */
        #derivativeChart canvas {
            border: none !important;
            box-shadow: none !important;
            outline: none !important;
            /* 🔧 新增：确保canvas在transform时的正确渲染 */
            transform-style: preserve-3d;
            backface-visibility: hidden;
        }

        /* 🔧 中间层支持内容扩展，针对高DPI优化 */
        .lwrap {
            overflow: visible !important;
            position: relative !important;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            min-height: 450px;
        }

        /* 🔧 针对图表区域优化标题间距 */
        .lbox .idx-tit {
            margin-bottom: 8px !important; /* 从20px减少到8px，释放12px空间 */
        }

        /* 🔧 优化底部文字区域，减少占用空间 */
        .lbox .txt {
            margin-top: 4px !important;
            margin-bottom: 4px !important;
            line-height: 1.2 !important;
            font-size: 13px !important; /* 稍微缩小字体 */
        }
        /* 🔧 中间层支持内容扩展，但最终被.lbox裁剪 */
        .idx-mod.flex-1.flex-v {
            overflow: visible !important; /* 🔧 中间层允许内容扩展 */
        }
        /* 🔧 移除剪切遮罩，支持真正的无限画布 */
        /* .lbox::after 规则已移除，因为它会限制无限画布的显示效果 */
        /* 🔧 优化transform元素的渲染性能 */
        #derivativeChart[style*="transform"] {
            will-change: transform;
            backface-visibility: hidden;
            perspective: 1000px;
        }
        /* 🔧 保持基本的盒模型 */
        .lbox * {
            box-sizing: border-box;
        }
        /* 🔧 移除尺寸限制，支持无限画布 */
        /* .lbox .flex-1 > div 的max-width和max-height限制已移除 */
        
        /* 现代化缩放控制器样式 */
        .zoom-controller {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px) scale(0.95);
            background: linear-gradient(145deg, rgba(13, 17, 30, 0.95) 0%, rgba(26, 35, 52, 0.9) 100%);
            border: 1px solid rgba(79, 172, 254, 0.3);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(79, 172, 254, 0.15);
            backdrop-filter: blur(12px);
            min-width: 320px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001; /* 确保在拖拽层之上 */
            pointer-events: auto;
        }

        .zoom-controller.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(10px) scale(1);
        }

        .zoom-controller::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid rgba(79, 172, 254, 0.3);
        }

        .zoom-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(79, 172, 254, 0.2);
        }

        .zoom-title {
            color: #4facfe;
            font-size: 14px;
            font-weight: 600;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .zoom-percentage {
            background: rgba(79, 172, 254, 0.1);
            border: 1px solid rgba(79, 172, 254, 0.3);
            border-radius: 20px;
            padding: 6px 12px;
            color: #4facfe;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-align: center;
        }

        .zoom-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .zoom-btn-modern {
            background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
            border: 1px solid rgba(79, 172, 254, 0.3);
            color: #4facfe;
            border-radius: 8px;
            width: 40px;
            height: 40px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .zoom-btn-modern:hover {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(79, 172, 254, 0.2) 100%);
            border-color: #667eea;
            color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
        }

        .zoom-btn-modern:active {
            transform: scale(0.95);
        }

        .zoom-btn-modern:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none !important;
        }

        .zoom-slider-container {
            flex: 1;
            margin: 0 12px;
            position: relative;
        }

        .zoom-slider {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
            outline: none;
            cursor: pointer;
            transition: all 0.3s ease;
            appearance: none;
        }

        .zoom-slider::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
            border: 2px solid rgba(255, 255, 255, 0.8);
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
            transition: all 0.3s ease;
        }

        .zoom-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 4px 20px rgba(79, 172, 254, 0.6);
        }

        .zoom-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
            border: 2px solid rgba(255, 255, 255, 0.8);
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
        }

        .zoom-presets {
            display: flex;
            gap: 8px;
            justify-content: space-between;
        }

        .zoom-preset {
            background: rgba(79, 172, 254, 0.1);
            border: 1px solid rgba(79, 172, 254, 0.3);
            color: #4facfe;
            border-radius: 6px;
            padding: 8px 12px;
            font-size: 11px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            text-align: center;
        }

        .zoom-preset:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: #667eea;
            color: #667eea;
            transform: translateY(-2px);
        }

        .zoom-preset.active {
            background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
            border-color: #4facfe;
            color: #fff;
            box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
        }

        /* 图标相关样式 */
        .ico {
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 8px 12px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        /* 全局tooltip样式 - 突破容器限制 */
        .echarts-tooltip {
            position: fixed !important;
            z-index: 999999 !important;
            pointer-events: none !important;
            max-width: 300px !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            line-height: 1.4 !important;
            box-sizing: border-box !important;
            font-family: 'Microsoft YaHei', sans-serif !important;
        }

        /* 强制换行样式 */
        .tooltip-content {
            word-break: break-all !important;
            overflow-wrap: anywhere !important;
            hyphens: auto !important;
        }

        .ico.zoom-trigger {
            position: relative;
            z-index: 1;
        }

        .ico:hover {
            color: #4facfe;
        }

        .ico.zoom-active {
            color: #4facfe;
            text-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
        }

        /* 🎯 显示模式按钮活跃状态样式 - 与项目蓝色调风格一致 */
        .ico.view-active {
            color: #4facfe !important;
            background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(79, 172, 254, 0.1)) !important;
            border: 1px solid rgba(79, 172, 254, 0.4) !important;
            border-radius: 6px;
            text-shadow: 0 0 6px rgba(79, 172, 254, 0.6);
            box-shadow: 0 2px 8px rgba(79, 172, 254, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            position: relative;
            transform: translateY(-1px);
        }

        .ico.view-active:hover {
            color: #5fbdff !important;
            background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(79, 172, 254, 0.15)) !important;
            border-color: rgba(79, 172, 254, 0.6) !important;
            text-shadow: 0 0 8px rgba(79, 172, 254, 0.8);
            box-shadow: 0 3px 12px rgba(79, 172, 254, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        /* 活跃按钮的微妙动画效果 */
        .ico.view-active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(79, 172, 254, 0.1) 50%, transparent 70%);
            border-radius: 6px;
            animation: shimmer 3s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes shimmer {
            0%, 100% {
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
        }

        /* 🎯 缓存加载特殊动画效果 */
        .cache-loading-icon {
            animation: cacheLoading 0.8s ease-in-out infinite;
        }

        @keyframes cacheLoading {
            0%, 100% {
                transform: scale(1) rotate(0deg);
                opacity: 0.8;
            }
            50% {
                transform: scale(1.1) rotate(180deg);
                opacity: 1;
            }
        }

        /* 🎲 快速重置按钮样式 - 与其他按钮完全一致 */
        .ico#quickResetBtn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(79, 172, 254, 0.3);
            border-radius: 4px;
            padding: 8px 12px;
            transition: all 0.3s ease;
            font-size: 14px;
            margin-left: 8px;
            color: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            height: auto;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            vertical-align: middle;
        }

        .ico#quickResetBtn:hover {
            color: #4facfe !important;
            background: rgba(79, 172, 254, 0.15);
            border-color: #4facfe;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
        }

        .ico#quickResetBtn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(79, 172, 254, 0.2);
        }


        .test-icos {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        /* 响应式调整 - 图表容器适配 */
        @media (max-width: 1400px) {
            .idx-sec {
                height: 75vh !important;
                min-height: 600px !important;
            }

            .lwrap {
                min-height: 400px !important;
            }

            .lbox {
                min-height: 350px !important;
            }
        }

        @media (max-width: 1200px) {
            .idx-sec {
                height: 70vh !important;
                min-height: 550px !important;
            }

            .lwrap {
                min-height: 380px !important;
            }

            .lbox {
                min-height: 320px !important;
            }

            .zoom-controller {
                min-width: 260px;
                padding: 16px;
                left: auto;
                right: 0;
                transform: translateY(10px) scale(0.95);
            }

            .zoom-controller.show {
                transform: translateY(10px) scale(1);
            }

            .zoom-controller::before {
                left: auto;
                right: 30px;
            }
        }

        @media (max-width: 768px) {
            .idx-sec {
                height: 65vh !important;
                min-height: 500px !important;
            }

            .lwrap {
                min-height: 350px !important;
            }

            .lbox {
                min-height: 280px !important;
            }

            .zoom-controller {
                position: absolute;
                top: 100%;
                right: 0;
                left: auto;
                transform: translateY(10px) scale(0.95);
                min-width: 240px;
                padding: 12px;
            }

            .zoom-controller.show {
                transform: translateY(10px) scale(1);
            }

            .zoom-controller::before {
                top: -8px;
                left: auto;
                right: 20px;
            }
        }

        /* 高分辨率显示器适配 */
        @media (min-width: 1800px) {
            .idx-sec {
                height: 85vh !important;
                min-height: 800px !important;
            }

            .lwrap {
                min-height: 500px !important;
            }

            .lbox {
                min-height: 450px !important;
            }
        }

        /* 🔧 精确高度对齐 - 与右侧榜单保持一致 */
        .idx-sec .l, .idx-sec .r {
            height: 700px !important; /* 精确对齐：340px + 20px + 340px = 700px */
            min-height: 700px;
        }

        /* 🔧 确保左侧图表区域充分利用700px高度 */
        .idx-sec .l {
            display: flex !important;
            flex-direction: column !important;
        }

        /* 🔧 图表容器占据剩余所有空间 */
        .lwrap {
            flex: 1 !important;
            height: 100% !important;
        }

        .lbox {
            height: 100% !important;
            flex: 1 !important;
        }

        /* 🔧 高DPI显示器特殊优化 (200%缩放等) */
        @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
            /* 保持700px对齐，不额外调整高度 */
            .lbox {
                padding: 3px 8px !important;
            }

            .lbox .idx-tit {
                margin-bottom: 6px !important;
            }

            .lbox .txt {
                margin-top: 2px !important;
                margin-bottom: 2px !important;
                font-size: 12px !important;
            }
        }

        /* 许可证冲突组合榜单点击样式 */
        .license-table-row-clickable {
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .license-table-row-clickable:hover {
            background-color: rgba(79, 172, 254, 0.1) !important;
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
        }

        .license-table-row-clickable:hover::after {
            content: var(--view-report-text, '📄 View Report');
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(79, 172, 254, 0.9);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 100;
        }

        /* MD报告弹窗样式 */
        /* 弹窗遮罩层 */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 9999;
            backdrop-filter: blur(5px);
        }

        /* 弹窗容器 */
        .modal-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 1000px;
            max-height: 85vh;
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            border-radius: 16px;
            border: 1px solid rgba(79, 172, 254, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            animation: modalFadeIn 0.3s ease-out;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translate(-50%, -60%) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        /* 弹窗头部 */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background: linear-gradient(90deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
            border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        }

        .modal-title {
            color: #4facfe;
            font-size: 18px;
            font-weight: 600;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .modal-close {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: rgba(239, 68, 68, 0.2);
            color: #dc2626;
            transform: scale(1.1);
        }

        /* 弹窗内容 */
        .modal-content {
            padding: 24px;
            max-height: calc(85vh - 100px);
            overflow-y: auto;
        }

        /* 自定义滚动条 */
        .modal-content::-webkit-scrollbar {
            width: 6px;
        }

        .modal-content::-webkit-scrollbar-track {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 3px;
        }

        .modal-content::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
            border-radius: 3px;
        }

        .modal-content::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
        }

        /* MD内容样式 */
        .md-content {
            color: #e2e8f0;
            font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
            line-height: 1.6;
        }

        .md-content h1 {
            color: #4facfe;
            font-size: 24px;
            margin-bottom: 16px;
            border-bottom: 2px solid rgba(79, 172, 254, 0.3);
            padding-bottom: 8px;
        }

        .md-content h2 {
            color: #67e8f9;
            font-size: 20px;
            margin: 24px 0 12px 0;
            display: flex;
            align-items: center;
        }

        .md-content h3 {
            color: #a78bfa;
            font-size: 18px;
            margin: 20px 0 10px 0;
        }

        .md-content h4 {
            color: #fbbf24;
            font-size: 16px;
            margin: 16px 0 8px 0;
        }

        .md-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 16px 0;
            background: rgba(15, 23, 42, 0.6);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(79, 172, 254, 0.2);
        }

        .md-content th {
            background: rgba(79, 172, 254, 0.2);
            color: #4facfe;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        }

        .md-content td {
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            vertical-align: top;
        }

        .md-content tr:last-child td {
            border-bottom: none;
        }

        .md-content tr:nth-child(even) {
            background: rgba(30, 41, 59, 0.3);
        }

        .md-content p {
            margin: 12px 0;
            color: #cbd5e1;
        }

        .md-content strong {
            color: #ffffff;
            font-weight: 600;
        }

        .md-content em {
            color: #fbbf24;
            font-style: italic;
        }

        .md-content code {
            background: rgba(30, 41, 59, 0.8);
            color: #67e8f9;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
        }

        .md-content ul, .md-content ol {
            margin: 12px 0 12px 20px;
            color: #cbd5e1;
        }

        .md-content li {
            margin: 4px 0;
        }

        .md-content blockquote {
            border-left: 4px solid #4facfe;
            margin: 16px 0;
            padding: 12px 16px;
            background: rgba(79, 172, 254, 0.1);
            border-radius: 0 8px 8px 0;
        }

        .md-content hr {
            border: none;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), transparent);
            margin: 24px 0;
        }

        /* 兼容性图标样式 */
        .md-content td:contains('✅') {
            color: #10b981 !important;
        }

        .md-content td:contains('❌') {
            color: #ef4444 !important;
        }

        .md-content td:contains('⚠️') {
            color: #f59e0b !important;
        }

        /* 加载动画优化 */
        .modal-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            color: #94a3b8;
            text-align: center;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(79, 172, 254, 0.3);
            border-top: 3px solid #4facfe;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 16px;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .modal-container {
                width: 95%;
                margin: 20px;
                max-height: 90vh;
            }

            .modal-header {
                padding: 16px 20px;
            }

            .modal-title {
                font-size: 16px;
            }

            .modal-content {
                padding: 20px;
                max-height: calc(90vh - 80px);
            }
        }

        /* 认证按钮样式 */
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .auth-btn {
            padding: 8px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .login-btn {
            color: #fff;
            background: transparent;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .login-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            text-decoration: none;
        }

        .register-btn {
            color: #333;
            background: #fff;
            border-color: #fff;
        }

        .register-btn:hover {
            background: #f0f0f0;
            color: #333;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* 用户下拉菜单样式 */
        .user-dropdown {
            position: relative;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #fff;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 6px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .user-info:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            text-decoration: none;
            transform: translateY(-1px);
        }

        .user-info:active {
            transform: translateY(0);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 8px 0;
            margin: 8px 0 0 0;
            min-width: 140px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .user-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* 添加一个小箭头指示器 */
        .user-info::after {
            content: '▼';
            font-size: 10px;
            margin-left: 4px;
            transition: all 0.3s ease;
        }

        .user-dropdown:hover .user-info::after {
            transform: rotate(180deg);
        }

        /* 游客模式样式 */
        .guest-mode .guest-info {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
            border: 1px solid rgba(255, 193, 7, 0.3);
            color: #ffc107;
        }

        .guest-mode .guest-info:hover {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
            border-color: rgba(255, 193, 7, 0.5);
            color: #fff3cd;
        }

        .dropdown-menu li {
            list-style: none;
        }

        .dropdown-menu a {
            display: block;
            padding: 10px 16px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .dropdown-menu a:hover {
            background: #f5f5f5;
            color: #333;
            text-decoration: none;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .auth-buttons {
                flex-direction: column;
                gap: 5px;
            }
            
            .auth-btn {
                padding: 6px 16px;
                font-size: 13px;
            }

            .dropdown-menu {
                right: -10px;
            }
        }


    

                    @keyframes pulse {
                        0%, 100% { transform: scale(1); opacity: 1; }
                        50% { transform: scale(1.1); opacity: 0.8; }
                    }
                    @keyframes loading-bar {
                        0% { transform: translateX(-100%); }
                        50% { transform: translateX(0%); }
                        100% { transform: translateX(100%); }
                    }
                

                    @keyframes cacheLoading {
                        0%, 100% {
                            transform: scale(1) rotate(0deg);
                            opacity: 0.8;
                            filter: drop-shadow(0 0 5px rgba(79, 172, 254, 0.5));
                        }
                        50% {
                            transform: scale(1.2) rotate(180deg);
                            opacity: 1;
                            filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.8));
                        }
                    }
                    @keyframes cache-bar {
                        0% { transform: translateX(-100%); opacity: 0; }
                        20% { opacity: 0.8; }
                        100% { transform: translateX(0%); opacity: 1; }
                    }
                    @keyframes pulse {
                        0%, 100% { opacity: 0.4; }
                        50% { opacity: 0.9; }
                    }
                

