/* ================================
   金融交易所风格主题 CSS
   深墨绿 + 金融橙配色方案
================================ */

:root {
    /* 主色调 */
    --primary-dark: #0d1421;
    --primary-medium: #1a202c;
    --primary-light: #2d3748;
    --primary-gradient: linear-gradient(135deg, #0d1421 0%, #1a202c 100%);
    --accent-orange: #ff6b35;
    --accent-orange-light: #ff8c65;
    --accent-orange-dark: #e55a2b;
    --accent-orange-glow: rgba(255, 107, 53, 0.3);
    
    /* 中性色 - 优化对比度 */
    --pearl-white: #ffffff;
    --warm-gray: #94a3b8;
    --light-gray: #e2e8f0;
    --muted-text: #64748b;
    --secondary-text: #475569;
    --border-color: rgba(255, 255, 255, 0.12);
    
    /* 状态色 */
    --success-green: #198754;
    --warning-orange: #fd7e14;
    --danger-red: #dc3545;
    --info-blue: #0dcaf0;
    
    /* 字体 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    
    /* 阴影系统 */
    --shadow-sm: 0 2px 4px rgba(13, 20, 33, 0.1);
    --shadow-md: 0 4px 8px rgba(13, 20, 33, 0.15);
    --shadow-lg: 0 8px 16px rgba(13, 20, 33, 0.2);
    --shadow-xl: 0 20px 40px rgba(13, 20, 33, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.15);
    --shadow-hover: 0 12px 32px rgba(13, 20, 33, 0.18);
    --shadow-active: 0 6px 16px rgba(13, 20, 33, 0.12);
    
    /* 边框半径 */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    
    /* 过渡动画系统 - 禁用所有动画 */
    --transition-fast: none;
    --transition-normal: none;
    --transition-slow: none;
    --transition-elastic: none;
    --transition-bounce: none;
    
    /* 间距系统 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

/* ================================
   全局动画禁用
================================ */

/* 全局禁用所有动画和过渡效果 */
*,
*::before,
*::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation: none !important;
    transition: none !important;
}

/* 特殊保留：仅保留旋转动画用于加载指示器 */
.spin {
    animation: spin 1s linear infinite !important;
    transition: none !important;
}

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

/* 确保平滑滚动也被禁用 */
html {
    scroll-behavior: auto !important;
}

/* 禁用Bootstrap的fade效果 */
.fade {
    opacity: 1 !important;
    transition: none !important;
}

.fade:not(.show) {
    opacity: 0 !important;
}

.fade.show {
    opacity: 1 !important;
}

/* ================================
   基础样式重置
================================ */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--pearl-white);
    background: var(--primary-gradient);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   页面加载器 - 移除所有动画
================================ */

.page-loader {
    display: none !important; /* 直接隐藏加载器 */
}

.loader-content {
    display: none;
}

.loader-spinner {
    display: none;
}

.loader-text {
    display: none;
}

.loader-progress {
    display: none;
}

.progress-bar {
    display: none;
}

/* ================================
   返回顶部按钮 - 移除所有动画
================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none; /* 默认隐藏 */
}

.scroll-to-top.show {
    display: block; /* 直接显示 */
}

/* 触摸设备优化 */
.touch-device .scroll-to-top {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* ================================
   品牌和导航元素 - 移除所有动画
================================ */

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.brand-icon i {
    font-size: 20px;
    color: white;
}

.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 18px;
}

/* ================================
   卡片系统
================================ */

.report-header-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    box-shadow: 0 8px 32px rgba(13, 20, 33, 0.12), 
                0 2px 8px rgba(13, 20, 33, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-dark);
    margin-bottom: 28px;
}

.report-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.report-stats {
    text-align: right;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: rgba(25, 135, 84, 0.12);
    border-radius: var(--border-radius-sm);
    color: var(--success-green);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

/* ================================
   投资决策卡片 - 移除所有动画
================================ */

.investment-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(13, 20, 33, 0.1), 
                0 2px 8px rgba(13, 20, 33, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    opacity: 1; /* 始终显示 */
}

.investment-card .card-header {
    background: transparent;
    border-bottom: 2px solid;
    padding: 20px 24px 16px;
    margin-bottom: 0;
}

.investment-card .card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    letter-spacing: -0.3px;
}

.investment-card .card-body {
    padding: 24px 28px 28px;
    color: var(--primary-dark);
    font-size: 16px;
    line-height: 1.7;
}

/* 重点推荐卡片 - 移除动画 */
.recommend-card .card-header {
    border-bottom-color: var(--success-green);
    background: linear-gradient(135deg, 
        rgba(25, 135, 84, 0.08), 
        rgba(25, 135, 84, 0.02));
    position: relative;
}

.recommend-card .card-header::before {
    content: '✓';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.recommend-card .card-title {
    color: var(--success-green);
}

/* 需要关注卡片 - 移除动画 */
.attention-card .card-header {
    border-bottom-color: var(--warning-orange);
    background: linear-gradient(135deg, 
        rgba(253, 126, 20, 0.08), 
        rgba(253, 126, 20, 0.02));
    position: relative;
}

.attention-card .card-header::before {
    content: '⚠';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--warning-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.attention-card .card-title {
    color: var(--warning-orange);
}

/* 建议避免卡片 - 移除动画 */
.avoid-card .card-header {
    border-bottom-color: var(--danger-red);
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.08), 
        rgba(220, 53, 69, 0.02));
    position: relative;
}

.avoid-card .card-header::before {
    content: '✗';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--danger-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.avoid-card .card-title {
    color: var(--danger-red);
}

/* ================================
   详细报告卡片
================================ */

.detailed-report-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(13, 20, 33, 0.1), 
                0 2px 8px rgba(13, 20, 33, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-dark);
}

.detailed-report-card .card-body {
    padding: 32px;
}

/* ================================
   报告内容样式
================================ */

.report-content {
    line-height: 1.8;
    font-size: 16px;
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4,
.report-content h5,
.report-content h6 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.report-content h1 {
    font-size: 36px;
    font-weight: 800;
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 16px;
    letter-spacing: -0.5px;
}

.report-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: -0.3px;
}

.report-content h3 {
    font-size: 24px;
    font-weight: 700;
}

.report-content h4 {
    font-size: 20px;
    font-weight: 600;
}

.report-content p {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 400;
}

.report-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.report-content ul, .report-content ol {
    padding-left: 28px;
    margin-bottom: 20px;
}

.report-content li {
    margin-bottom: 12px;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.7;
}

.report-content blockquote {
    border-left: 4px solid var(--accent-orange);
    padding: 16px 20px;
    margin: 20px 0;
    background: rgba(255, 107, 53, 0.05);
    border-radius: var(--border-radius-sm);
}

.report-content code {
    background: rgba(108, 117, 125, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--accent-orange-dark);
}

.report-content pre {
    background: rgba(13, 20, 33, 0.05);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    overflow-x: auto;
    margin: 20px 0;
}

.report-content pre code {
    background: none;
    padding: 0;
    color: var(--primary-dark);
}

/* ================================
   表格样式
================================ */

.report-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.report-content table th {
    background: linear-gradient(135deg, var(--primary-dark), #2c3e50);
    color: white;
    font-weight: 600;
    padding: 16px;
    text-align: left;
    border: none;
}

.report-content table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--light-gray);
    color: #2c3e50;
}

.report-content table tbody tr:hover {
    background: rgba(255, 107, 53, 0.02);
}

.report-content table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================
   标签页切换优化 - 零闪烁版本
================================ */

/* 完全禁用标签页过渡动画，实现零闪烁切换 */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none !important; /* 强制隐藏 */
    opacity: 0;
    transition: none !important; /* 完全禁用过渡 */
    transform: none !important;
    animation: none !important;
}

.tab-pane.show.active {
    display: block !important; /* 强制显示 */
    opacity: 1 !important;
    position: relative;
    transform: none !important;
    animation: none !important;
}

/* 禁用所有可能的Bootstrap fade动画 */
.fade {
    transition: none !important;
}

.fade.show {
    opacity: 1 !important;
}

/* 确保标签按钮切换没有延迟 */
.nav-pills .nav-link {
    transition: background-color 0.1s ease, 
                color 0.1s ease,
                border-color 0.1s ease !important;
    transform: none !important;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
    transform: none !important;
}

/* ================================
   快速导航
================================ */

.quick-nav {
    margin-bottom: 32px;
}

.nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.08);
    color: var(--pearl-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: background var(--transition-fast), 
                color var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
    margin: 0 6px;
    backdrop-filter: blur(10px);
    transform: translateZ(0); /* GPU加速 */
}

.nav-pills .nav-link:hover {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-orange-light);
    border-color: rgba(255, 107, 53, 0.3);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

/* ================================
   按钮样式 - 移除所有动画
================================ */

.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 0.25px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--pearl-white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--pearl-white);
}

.btn-outline-danger {
    border: 1.5px solid rgba(220, 53, 69, 0.6);
    color: var(--danger-red);
    background: rgba(220, 53, 69, 0.05);
    backdrop-filter: blur(10px);
}

.btn-outline-danger:hover {
    background: var(--danger-red);
    border-color: var(--danger-red);
    color: white;
}

/* ================================
   徽章和状态指示
================================ */

.badge {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85em;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-green), #20c997) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-orange), #ffca2c) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--danger-red), #e74c3c) !important;
}

/* ================================
   Toast通知
================================ */

.toast {
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.toast.text-bg-success {
    background: rgba(25, 135, 84, 0.95) !important;
    color: white;
}

.toast.text-bg-danger {
    background: rgba(220, 53, 69, 0.95) !important;
    color: white;
}

.toast.text-bg-warning {
    background: rgba(253, 126, 20, 0.95) !important;
    color: white;
}

/* ================================
   底部信息
================================ */

.footer {
    background: rgba(13, 20, 33, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 0;
    margin-top: 48px;
    color: var(--warm-gray);
}

/* ================================
   响应式设计
================================ */

/* ================================
   渐入动画 - 全部移除
================================ */

/* 移除所有渐入动画 */
.animate-in {
    /* 无动画 */
}

.animate-scale {
    /* 无动画 */
}

/* 移除悬浮发光效果 */
.glow-on-hover {
    /* 无效果 */
}

/* 移除加载闪光效果 */
.shimmer {
    /* 无效果 */
}

/* ================================
   性能优化 - 移除动画相关优化
================================ */

/* 移除GPU加速优化 */
.investment-card,
.report-header-card,
.detailed-report-card,
.nav-pills .nav-link,
.btn {
    /* 移除 will-change 和 transform */
}

/* 减少重绘的优化 */
.report-content {
    contain: layout;
}

/* 图片懒加载优化 - 移除动画 */
img[loading="lazy"] {
    opacity: 1; /* 直接显示 */
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 文字渲染优化 */
body, .report-content {
    text-rendering: optimizeSpeed;
    font-feature-settings: "liga" 1;
}
.table-responsive {
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 16px rgba(13, 20, 33, 0.08);
    overflow: hidden;
}

/* 股票代码样式 */
.stock-code {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stock-code:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* 改善复制按钮 */
.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

pre:hover .copy-btn {
    opacity: 1;
}

/* 长内容改善 */
.long-content {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 平板设备 */
@media (max-width: 992px) {
    .report-header-card {
        padding: 28px;
    }
    
    .report-title {
        font-size: 28px;
    }
    
    .investment-card .card-header,
    .investment-card .card-body {
        padding: 20px 24px;
    }
    
    .detailed-report-card .card-body {
        padding: 28px;
    }
    
    .nav-pills .nav-link {
        padding: 12px 20px;
        font-size: 15px;
        margin: 0 3px;
    }
}

/* 手机设备 - 增强移动端体验 */
@media (max-width: 768px) {
    .report-header-card {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .report-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .report-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .report-stats {
        text-align: left;
        width: 100%;
    }
    
    .investment-card .card-header,
    .investment-card .card-body {
        padding: 20px;
    }
    
    .investment-card .card-title {
        font-size: 20px;
    }
    
    .detailed-report-card .card-body {
        padding: 24px;
    }
    
    /* 移动端导航优化 */
    .nav-pills .nav-link {
        margin: 4px 2px;
        padding: 12px 18px;
        font-size: 14px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* 移动端文字优化 */
    .report-content h1 {
        font-size: 28px;
    }
    
    .report-content h2 {
        font-size: 24px;
    }
    
    .report-content h3 {
        font-size: 20px;
    }
    
    .report-content table {
        font-size: 14px;
    }
    
    .report-content table th,
    .report-content table td {
        padding: 12px 14px;
    }
    
    /* 底部优化 */
    .footer {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer .row > div {
        text-align: center !important;
        margin-bottom: 12px;
    }
    
    /* 移动端触控优化 */
    .btn {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    }
    
    .investment-card {
        margin-bottom: 20px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    /* 滚动优化 */
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* 输入框缩放优化 */
    input, select, textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 快捷键提示移动端优化 */
    .keyboard-hint {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        text-align: center;
    }
    
    .keyboard-hint kbd {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    /* 事件面板移动端优化 */
    #eventsPanel .card-body {
        padding: 1rem;
    }
    
    .events-stats {
        padding: 15px;
    }
    
    .events-stats .stat-number {
        font-size: 2rem;
    }
    
    .event-card {
        margin-bottom: 12px;
    }
    
    .priority-title {
        font-size: 16px;
    }
    
    .event-title {
        font-size: 15px;
    }
    
    .event-description {
        font-size: 13px;
    }
    
    /* 返回顶部按钮移动端优化 */
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
    
    /* PWA支持 - 显示区域适配 */
    @supports (padding: max(0px)) {
        .container {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
        
        .navbar {
            padding-top: max(12px, env(safe-area-inset-top));
        }
        
        .scroll-to-top {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* 小屏手机 */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .report-header-card,
    .investment-card .card-header,
    .investment-card .card-body,
    .detailed-report-card .card-body {
        padding: 20px;
    }
    
    .report-title {
        font-size: 22px;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
    }
    
    .brand-icon i {
        font-size: 18px;
    }
    
    .nav-pills .nav-link {
        padding: 10px 14px;
        font-size: 13px;
        margin: 2px 1px;
    }
    
    .investment-card .card-title {
        font-size: 18px;
    }
    
    .report-content {
        font-size: 15px;
    }
    
    .report-content h1 {
        font-size: 24px;
    }
    
    .report-content h2 {
        font-size: 20px;
    }
    
    .report-content h3 {
        font-size: 18px;
    }
    
    /* 改善小屏幕下的卡片间距 */
    .investment-card {
        margin-bottom: 16px;
    }
    
    /* 优化小屏幕下的按钮 */
    .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    /* 通知样式优化 */
    .alert.position-fixed {
        right: 16px !important;
        top: 16px !important;
        max-width: calc(100vw - 32px) !important;
        min-width: auto !important;
    }
}

/* ================================
   事件面板样式 - 移除所有动画
================================ */

/* 移除事件面板动画 */
#eventsPanel {
    /* 无动画 */
}

/* 事件卡片样式 - 移除动画 */
.event-card {
    border-left: 4px solid var(--accent-orange);
    background: rgba(255, 255, 255, 0.98);
}

.event-card.completed, .event-completed {
    opacity: 0.75;
    border-left-color: var(--success-green);
    background: rgba(248, 249, 250, 0.95);
}

.event-card.urgent {
    border-left-color: var(--danger-red);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.event-card.important {
    border-left-color: var(--warning-orange);
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.03) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* 完成按钮 - 移除动画 */
.complete-btn {
    position: relative;
    overflow: hidden;
}

/* 加载动画 - 保留旋转但简化 */
.spin {
    animation: spin 1s linear infinite;
}

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

/* 事件标题和描述文字 */
.event-title {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 16px;
}

.event-description {
    color: #334155 !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.event-meta {
    color: var(--secondary-text) !important;
}

.event-meta small {
    color: var(--secondary-text) !important;
}

/* 优先级标题 */
.priority-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 8px;
}

/* 事件优先级指示器 */
.priority-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.priority-urgent {
    background-color: var(--danger-red);
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.4);
}

.priority-important {
    background-color: var(--warning-orange);
    box-shadow: 0 0 6px rgba(253, 126, 20, 0.4);
}

.priority-normal {
    background-color: var(--success-green);
}

.priority-future {
    background-color: var(--warm-gray);
}

/* 事件统计卡片 */
.events-stats {
    background: var(--primary-gradient);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 20px;
    color: var(--pearl-white);
}

.events-stats .stat-item {
    text-align: center;
    padding: 12px;
}

.events-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-orange);
    display: block;
}

.events-stats .stat-label {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-top: 4px;
}

/* 完成按钮动画 */
.complete-btn {
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.complete-btn:hover {
    transform: scale(1.05);
}

.complete-btn:active {
    transform: scale(0.98);
}

/* 事件完成状态显示 */
.event-completed-info {
    background: rgba(25, 135, 84, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 8px;
    margin-top: 8px;
}

.event-completed-info small {
    color: var(--success-green) !important;
}

/* 加载动画和旋转效果 */
.spin {
    animation: spin 1s linear infinite;
}

/* 事件卡片在不同优先级下的边框 */
.card.border-danger {
    border-left: 4px solid var(--danger-red) !important;
}

.card.border-warning {
    border-left: 4px solid var(--warning-orange) !important;
}

.card.border-success {
    border-left: 4px solid var(--success-green) !important;
}

.card.border-secondary {
    border-left: 4px solid var(--warm-gray) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #eventsPanel .card-body {
        padding: 1rem;
    }
    
    .events-stats {
        padding: 15px;
    }
    
    .events-stats .stat-number {
        font-size: 2rem;
    }
    
    .event-card {
        margin-bottom: 12px;
    }
    
    .priority-title {
        font-size: 16px;
    }
    
    .event-title {
        font-size: 15px;
    }
    
    .event-description {
        font-size: 13px;
    }
}

/* ================================
   现代化微交互动效 - 增强版
================================ */

/* 按钮波纹效果 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* 悬浮按钮 */
.floating-action {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-elastic);
    z-index: 1001;
}

.floating-action:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.floating-action:active {
    transform: scale(0.95);
}

/* 提示气泡 */
.tooltip-modern {
    position: relative;
    display: inline-block;
}

.tooltip-modern::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 20, 33, 0.9);
    color: var(--pearl-white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.tooltip-modern::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(13, 20, 33, 0.9);
    opacity: 0;
    transition: all var(--transition-normal);
}

.tooltip-modern:hover::after,
.tooltip-modern:hover::before {
    opacity: 1;
}

/* 进度条 - 移除动画 */
.progress-modern {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        var(--accent-orange), 
        var(--accent-orange-light), 
        var(--accent-orange));
}

/* 加载骨架屏 - 移除动画 */
.skeleton {
    background: rgba(255, 255, 255, 0.1);
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.long {
    width: 80%;
}

/* 成功动画 - 移除 */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--success-green);
    stroke-miterlimit: 10;
    margin: 20px auto;
    box-shadow: inset 0 0 0 40px var(--success-green);
}

.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 0;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--success-green);
    fill: none;
}

.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 0;
}

/* ================================
   主题切换系统
================================ */

:root[data-theme="light"] {
    --primary-dark: #f8f9fa;
    --primary-medium: #e9ecef;
    --primary-light: #dee2e6;
    --primary-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --pearl-white: #212529;
    --warm-gray: #6c757d;
    --light-gray: #ced4da;
    --muted-text: #6c757d;
    --secondary-text: #495057;
    --border-color: rgba(0, 0, 0, 0.12);
}

/* 主题切换按钮 */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 50%;
    transition: all var(--transition-elastic);
    box-shadow: var(--shadow-sm);
}

.theme-toggle.light::before {
    transform: translateX(28px);
    background: linear-gradient(135deg, #ffc107, #ffca2c);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-toggle:hover::before {
    box-shadow: var(--shadow-md), 0 0 12px rgba(255, 107, 53, 0.4);
}

/* 主题切换动画 */
[data-theme="light"] body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #212529;
}

[data-theme="light"] .investment-card,
[data-theme="light"] .report-header-card,
[data-theme="light"] .detailed-report-card {
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .navbar {
    background: rgba(248, 249, 250, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer {
    background: rgba(248, 249, 250, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #6c757d;
}

/* 主题切换过渡动画 - 移除 */
body,
.investment-card,
.report-header-card,
.detailed-report-card,
.navbar,
.footer {
    /* 移除所有过渡动画 */
}

/* 移除主题切换动画 */
.theme-switching {
    /* 无动画 */
}

@keyframes scaleCheckmark {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* ================================
   用户偏好设置
================================ */

.settings-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9998;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.settings-panel.open {
    right: 0;
}

.settings-panel h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-orange);
}

.setting-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.setting-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.setting-description {
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 10px;
}

/* 设置按钮 */
.settings-trigger {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 9999;
}

.settings-trigger:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.settings-trigger.active {
    right: 340px;
}

/* 设置面板遮罩 */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 9997;
}

.settings-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* 字体大小调整 */
.font-size-small {
    font-size: 0.9em;
}

.font-size-large {
    font-size: 1.1em;
}

.font-size-xl {
    font-size: 1.2em;
}

/* 高对比度模式 */
.high-contrast {
    filter: contrast(1.2) brightness(1.1);
}

.high-contrast .investment-card,
.high-contrast .report-header-card {
    border: 2px solid var(--accent-orange);
}

/* 动画减少模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.reduced-motion * {
    animation: none !important;
    transition: none !important;
}

@keyframes scaleCheckmark {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}