        :root {
            /* 公司页面配色方案 */
            --primary-color: #213271;        /* 深蓝色 - 主色调 */
            --secondary-color: #8FB9D1;      /* 天青蓝 - 次要色 */
            --accent-color: #E86349;         /* 珊瑚橙 - 强调色 */
            --ocean-blue: #2A6FA8;           /* 海洋蓝 - 标题色 */
            --deep-navy: #060F1A;            /* 深海军蓝 - 深色文字 */
            --slate-gray: #2A3A4A;           /* 深板岩灰 - 副标题 */
            --text-dark: #092B42;
            --text-gray: #555;
            --bg-light: #F0F4F8;             /* 浅蓝灰背景 */
            --border-color: #E2E8F0;         /* 边框色 */
            --white: #ffffff;
            --card-bg: #ffffff;
        }

        /* 暗色模式变量 */
        [data-theme="dark"] {
            --text-dark: #e8eaed;
            --text-gray: #9aa0a6;
            --bg-light: #1a1a1a;
            --border-color: #3c4043;
            --white: #202124;
            --card-bg: #292929;
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background: var(--bg-light);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* 顶部导航 - 使用公司页面配色 */
        .navbar {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand {
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
            color: white;
        }

        .navbar-actions button {
            background: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s;
            margin-left: 1rem;
        }

        .navbar-actions button:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        .navbar-actions button.primary {
            background: white;
            color: var(--primary-color);
        }

        /* 主容器 */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        /* 报告头部 */
        .report-header {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 3rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: background-color 0.3s ease;
        }

        .report-meta {
            display: flex;
            gap: 2rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .report-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .report-meta-item .icon {
            width: 20px;
            height: 20px;
        }

        /* 主要内容区 */
        .report-content {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 3rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 2rem;
            transition: background-color 0.3s ease;
        }

        .unlock-banner {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
            padding: 3rem;
            border-radius: 15px;
            text-align: center;
            margin: 2rem 0;
        }

        .unlock-banner h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .unlock-banner p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .unlock-banner .benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
            text-align: left;
        }

        .benefit-item {
            background: rgba(255,255,255,0.1);
            padding: 1.5rem;
            border-radius: 10px;
        }

        .benefit-item h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .unlock-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .unlock-buttons button {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 30px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
        }

        .unlock-buttons button.register {
            background: white;
            color: var(--primary-color);
        }

        .unlock-buttons button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        /* Aha moment 拦截 + 模糊化效果 */
        .content-blur-overlay {
            position: relative;
            max-height: 400px;
            overflow: hidden;
            pointer-events: none;
            user-select: none;
        }

        .content-blur-overlay::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 300px;
            background: linear-gradient(
                to bottom,
                rgba(240, 244, 248, 0) 0%,
                rgba(240, 244, 248, 0.7) 40%,
                rgba(240, 244, 248, 1) 100%
            );
            z-index: 2;
        }

        [data-theme="dark"] .content-blur-overlay::after {
            background: linear-gradient(
                to bottom,
                rgba(26, 26, 26, 0) 0%,
                rgba(26, 26, 26, 0.7) 40%,
                rgba(26, 26, 26, 1) 100%
            );
        }

        .content-blur-overlay .report-content {
            filter: blur(4px);
        }

        /* 上下文注册浮层 */
        .aha-signup-overlay {
            position: relative;
            z-index: 3;
            margin: -80px auto 2rem;
            max-width: 640px;
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            padding: 2.5rem 2rem;
            text-align: center;
        }

        .aha-signup-overlay .aha-context {
            font-size: 0.9rem;
            color: var(--ocean-blue);
            font-weight: 600;
            margin-bottom: 0.5rem;
            letter-spacing: 0.5px;
        }

        .aha-signup-overlay h3 {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }

        .aha-signup-overlay .aha-desc {
            font-size: 1rem;
            color: var(--text-gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        /* 信任信号指标 */
        .trust-signals {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .trust-signal-item {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 0.75rem 0.5rem;
        }

        .trust-signal-item .ts-value {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--primary-color);
        }

        .trust-signal-item .ts-label {
            font-size: 0.72rem;
            color: var(--text-gray);
            margin-top: 2px;
        }

        .aha-signup-overlay .signup-cta-btn {
            display: inline-block;
            padding: 0.85rem 2.5rem;
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(33, 50, 113, 0.3);
        }

        .aha-signup-overlay .signup-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(33, 50, 113, 0.4);
        }

        .aha-signup-overlay .signup-subtext {
            font-size: 0.78rem;
            color: var(--text-gray);
            margin-top: 0.75rem;
        }

        /* 邀请解锁浮层（已登录但无报告权限） */
        .referral-unlock-overlay {
            display: none;
            position: relative;
            z-index: 3;
            margin: -80px auto 2rem;
            max-width: 640px;
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            padding: 2.5rem 2rem;
            text-align: center;
        }

        .referral-unlock-overlay .unlock-icon {
            font-size: 2.5rem;
            margin-bottom: 0.75rem;
        }

        .referral-unlock-overlay h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .referral-unlock-overlay .unlock-desc {
            font-size: 1rem;
            color: var(--text-gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .referral-unlock-overlay .unlock-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: center;
        }

        .referral-unlock-overlay .unlock-cta-btn {
            display: inline-block;
            padding: 0.85rem 2.5rem;
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(33, 50, 113, 0.3);
        }

        .referral-unlock-overlay .unlock-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(33, 50, 113, 0.4);
        }

        .referral-unlock-overlay .credit-redeem-btn {
            background: linear-gradient(135deg, #76B900, #5a9400);
            box-shadow: 0 4px 15px rgba(90, 148, 0, 0.3);
        }
        .referral-unlock-overlay .credit-redeem-btn:hover {
            background: linear-gradient(135deg, #5a9400, #4a7a00);
            box-shadow: 0 8px 25px rgba(90, 148, 0, 0.4);
        }

        .referral-unlock-overlay .unlock-alt-link {
            font-size: 0.85rem;
            color: var(--ocean-blue);
            text-decoration: underline;
            cursor: pointer;
            background: none;
            border: none;
        }

        .referral-unlock-overlay .unlock-subtext {
            font-size: 0.78rem;
            color: var(--text-gray);
            margin-top: 0.5rem;
        }

        /* 注册后邀请引导浮层 */
        .invite-guide-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            justify-content: center;
            align-items: center;
        }

        .invite-guide-overlay.visible {
            display: flex;
        }

        .invite-guide-card {
            background: var(--white);
            border-radius: 20px;
            max-width: 480px;
            width: 90%;
            padding: 2.5rem 2rem;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .invite-guide-card .close-btn {
            position: absolute;
            top: 12px;
            right: 16px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-gray);
            line-height: 1;
        }

        .invite-guide-card h3 {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .invite-guide-card p {
            font-size: 0.95rem;
            color: var(--text-gray);
            margin-bottom: 1.25rem;
            line-height: 1.6;
        }

        .invite-progress-preview {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.25rem;
        }

        .invite-progress-preview .progress-bar-track {
            height: 10px;
            background: var(--border-color);
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 0.5rem;
        }

        .invite-progress-preview .progress-bar-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--ocean-blue), #4CAF50);
            border-radius: 5px;
            transition: width 0.6s ease;
        }

        .invite-progress-preview .progress-text {
            font-size: 0.8rem;
            color: var(--text-gray);
        }

        .invite-guide-card .invite-cta-btn {
            display: inline-block;
            padding: 0.75rem 2rem;
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #4CAF50, #2E7D32);
            border: none;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .invite-guide-card .invite-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
        }

        .invite-guide-card .skip-link {
            display: block;
            margin-top: 0.75rem;
            font-size: 0.8rem;
            color: var(--text-gray);
            cursor: pointer;
            background: none;
            border: none;
            text-decoration: underline;
        }

        /* ========== Phase 3: 分享系统 ========== */

        /* 图表容器包装 - JS 会注入 */
        .chart-share-wrapper {
            position: relative;
        }

        /* 图表旁分享按钮 */
        .chart-share-btn {
            position: absolute;
            bottom: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(33, 50, 113, 0.85);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            opacity: 0;
            transition: opacity 0.2s, transform 0.2s, background 0.2s;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .chart-share-wrapper:hover .chart-share-btn {
            opacity: 1;
        }

        .chart-share-btn:hover {
            background: var(--accent-color);
            transform: scale(1.1);
        }

        /* 分享模态框 */
        .share-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

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

        .share-modal {
            background: var(--card-bg);
            border-radius: 16px;
            max-width: 480px;
            width: 100%;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: shareModalIn 0.25s ease-out;
        }

        @keyframes shareModalIn {
            from { opacity: 0; transform: scale(0.95) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .share-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .share-modal-header h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
        }

        .share-modal-close {
            width: 32px;
            height: 32px;
            border: none;
            background: var(--bg-light);
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-gray);
            transition: background 0.2s;
        }

        .share-modal-close:hover {
            background: var(--border-color);
        }

        .share-modal-body {
            padding: 1.5rem;
        }

        /* 分享预览图区域 */
        .share-preview-area {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 1.25rem;
            text-align: center;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .share-preview-area img {
            max-width: 100%;
            border-radius: 8px;
        }

        .share-preview-area .generating {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* 分享文案区 */
        .share-text-area {
            margin-bottom: 1.25rem;
        }

        .share-text-area label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-gray);
            margin-bottom: 0.5rem;
        }

        .share-text-input {
            width: 100%;
            min-height: 60px;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 0.9rem;
            line-height: 1.5;
            resize: vertical;
            font-family: inherit;
            color: var(--text-dark);
            background: var(--card-bg);
        }

        .share-text-input:focus {
            outline: none;
            border-color: var(--ocean-blue);
            box-shadow: 0 0 0 3px rgba(42, 111, 168, 0.1);
        }

        /* 社交平台按钮行 */
        .share-platforms {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
            flex-wrap: wrap;
        }

        .share-platform-btn {
            flex: 1;
            min-width: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 0.6rem 0.75rem;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background: var(--card-bg);
            color: var(--text-dark);
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .share-platform-btn:hover {
            border-color: var(--ocean-blue);
            background: rgba(42, 111, 168, 0.05);
        }

        .share-platform-btn .platform-icon {
            font-size: 1.1rem;
        }

        /* 操作按钮行 */
        .share-actions {
            display: flex;
            gap: 0.75rem;
        }

        .share-action-btn {
            flex: 1;
            padding: 0.7rem;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        .share-action-btn.primary {
            background: linear-gradient(135deg, #213271, #2A6FA8);
            color: white;
        }

        .share-action-btn.primary:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .share-action-btn.secondary {
            background: var(--bg-light);
            color: var(--text-dark);
            border: 1px solid var(--border-color);
        }

        .share-action-btn.secondary:hover {
            background: var(--border-color);
        }

        /* 礼物包装横幅 */
        .gift-banner {
            display: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1rem 1.5rem;
            text-align: center;
            font-size: 0.95rem;
            font-weight: 500;
            position: relative;
        }

        .gift-banner.visible {
            display: block;
        }

        .gift-banner .gift-text {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .gift-banner .dismiss-gift {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255,255,255,0.7);
            font-size: 18px;
            cursor: pointer;
        }

        .gift-banner .dismiss-gift:hover {
            color: white;
        }

        /* ========== Phase 4: 邀请进度条 ========== */
        .referral-progress-bar {
            display: none;
            background: linear-gradient(135deg, #f8f9fb 0%, #eef1f6 100%);
            border-bottom: 1px solid var(--border-color);
            padding: 0.6rem 1.5rem;
        }

        .referral-progress-bar.visible {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .referral-progress-track {
            width: 160px;
            height: 8px;
            background: #E2E8F0;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .referral-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #213271, #2A6FA8);
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .referral-progress-text {
            font-size: 0.82rem;
            color: var(--text-gray);
            white-space: nowrap;
        }

        .referral-progress-text strong {
            color: var(--text-dark);
        }

        .referral-progress-cta {
            font-size: 0.8rem;
            color: var(--ocean-blue);
            cursor: pointer;
            background: none;
            border: none;
            text-decoration: underline;
            white-space: nowrap;
        }

        [data-theme="dark"] .referral-progress-bar {
            background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
        }

        [data-theme="dark"] .referral-progress-track {
            background: #3c4043;
        }

        @media (max-width: 600px) {
            .referral-progress-bar.visible {
                flex-wrap: wrap;
                gap: 0.5rem;
                padding: 0.5rem 1rem;
            }
            .referral-progress-track {
                width: 100%;
                order: -1;
            }
        }

        /* 暗色模式适配 */
        [data-theme="dark"] .share-modal {
            background: #292929;
        }

        [data-theme="dark"] .share-preview-area {
            background: #1a1a1a;
        }

        [data-theme="dark"] .share-text-input {
            background: #1a1a1a;
            border-color: #3c4043;
            color: #e8eaed;
        }

        [data-theme="dark"] .chart-share-btn {
            background: rgba(102, 126, 234, 0.85);
        }

        @media (max-width: 600px) {
            .trust-signals {
                grid-template-columns: repeat(2, 1fr);
            }
            .aha-signup-overlay {
                margin: -40px 1rem 1.5rem;
                padding: 1.5rem 1rem;
            }
            .chart-share-btn {
                opacity: 0.8;
                width: 32px;
                height: 32px;
                font-size: 14px;
            }
            .share-platforms {
                flex-direction: column;
            }
            .share-platform-btn {
                min-width: auto;
            }
            .share-actions {
                flex-direction: column;
            }
        }

        /* Markdown内容样式 */
        .report-content h1 {
            font-size: 2.5rem;
            margin: 2rem 0 1rem 0;
            color: var(--text-dark);
            border-bottom: 3px solid var(--primary-color);
            padding-bottom: 0.5rem;
        }

        .report-content h2 {
            font-size: 2rem;
            margin: 2rem 0 1rem 0;
            color: var(--text-dark);
        }

        .report-content h3 {
            font-size: 1.5rem;
            margin: 1.5rem 0 0.75rem 0;
            color: var(--text-dark);
        }

        .report-content h4 {
            font-size: 1.25rem;
            margin: 1.25rem 0 0.5rem 0;
        }

        .report-content p {
            margin: 1rem 0;
            line-height: 1.8;
        }

        .report-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.9rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .report-content table thead {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
        }

        .report-content table th,
        .report-content table td {
            padding: 1rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }

        .report-content table tbody tr:nth-child(even) {
            background: #f8f9fa;
        }

        .report-content table tbody tr:hover {
            background: #e9ecef;
        }

        .report-content blockquote {
            border-left: 4px solid var(--primary-color);
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            background: var(--bg-light);
            font-style: italic;
        }

        .report-content code {
            background: #f4f4f4;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
        }

        .report-content pre {
            background: #1e1e1e;
            color: #d4d4d4;
            padding: 1.5rem;
            border-radius: 8px;
            overflow-x: auto;
            margin: 1.5rem 0;
        }

        .report-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

        /* Mermaid图表容器 */
        .mermaid {
            text-align: center;
            margin: 2rem 0;
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow-x: auto;
            overflow-y: hidden;
            cursor: pointer;
            position: relative;
            transition: box-shadow 0.2s;
        }
        .mermaid:hover {
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        }
        .mermaid::after {
            content: '🔍 Click to expand';
            position: absolute;
            top: 8px;
            right: 12px;
            font-size: 12px;
            color: #8FB9D1;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }
        .mermaid:hover::after {
            opacity: 1;
        }
        /* Scroll fade indicators for overflowing charts */
        .chart-scroll-wrap {
            position: relative;
        }
        .chart-scroll-fade-left,
        .chart-scroll-fade-right {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 48px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
            z-index: 2;
        }
        .chart-scroll-fade-left {
            left: 0;
            background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
            border-radius: 10px 0 0 10px;
        }
        .chart-scroll-fade-right {
            right: 0;
            background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
            border-radius: 0 10px 10px 0;
        }
        .chart-scroll-fade-left.visible,
        .chart-scroll-fade-right.visible {
            opacity: 1;
        }
        .chart-scroll-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(9, 43, 66, 0.8);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            z-index: 3;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: auto;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        .chart-scroll-arrow:hover {
            background: rgba(9, 43, 66, 1);
        }
        .chart-scroll-wrap:hover .chart-scroll-arrow.visible {
            opacity: 1;
        }
        .chart-scroll-arrow-left {
            left: 8px;
        }
        .chart-scroll-arrow-right {
            right: 8px;
        }
        [data-theme="dark"] .chart-scroll-fade-left {
            background: linear-gradient(to right, rgba(30,30,30,0.95), transparent);
        }
        [data-theme="dark"] .chart-scroll-fade-right {
            background: linear-gradient(to left, rgba(30,30,30,0.95), transparent);
        }
        [data-theme="dark"] .chart-scroll-arrow {
            background: rgba(143, 185, 209, 0.8);
            color: #1e1e1e;
        }
        [data-theme="dark"] .chart-scroll-arrow:hover {
            background: rgba(143, 185, 209, 1);
        }

        /* Mermaid lightbox 全屏查看 */
        .mermaid-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            z-index: 100000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.25s;
            cursor: zoom-out;
        }
        .mermaid-lightbox.visible {
            opacity: 1;
        }
        .mermaid-lightbox-inner {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            max-width: 95vw;
            max-height: 90vh;
            overflow: auto;
            position: relative;
            cursor: default;
        }
        .mermaid-lightbox-inner svg {
            display: block;
        }
        .mermaid-lightbox-close {
            position: fixed;
            top: 16px;
            right: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            border: none;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100001;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .mermaid-lightbox-close:hover {
            background: white;
        }
        .mermaid-lightbox-hint {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.7);
            font-size: 13px;
            z-index: 100001;
            pointer-events: none;
        }
        .mermaid-lightbox-zoom {
            position: fixed;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 100001;
            background: rgba(255,255,255,0.9);
            border-radius: 20px;
            padding: 4px 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .mermaid-lightbox-zoom button {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: transparent;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
            transition: background 0.15s;
        }
        .mermaid-lightbox-zoom button:hover {
            background: rgba(0,0,0,0.08);
        }
        .mermaid-lightbox-zoom-level {
            font-size: 12px;
            color: #555;
            min-width: 40px;
            text-align: center;
            user-select: none;
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }

            .report-header,
            .report-content {
                padding: 1.5rem;
            }

            .report-content h1 {
                font-size: 2rem;
            }

            .report-content h2 {
                font-size: 1.5rem;
            }

            .unlock-banner .benefits {
                grid-template-columns: 1fr;
            }
        }

        /* 暗色模式：左侧导航栏 */
        [data-theme="dark"] .left-sidebar {
            background: #1e1e1e;
            border-right-color: #3c4043;
        }

        [data-theme="dark"] .sidebar-header {
            border-bottom-color: #3c4043;
        }

        [data-theme="dark"] .sidebar-collapse-btn {
            background: #2a2a2a;
            border-color: #3c4043;
            color: #9aa0a6;
        }

        [data-theme="dark"] .sidebar-collapse-btn:hover {
            background: #3c4043;
            color: #e8eaed;
        }

        [data-theme="dark"] .sidebar-progress-track {
            background: #2a2a2a;
        }

        [data-theme="dark"] .sidebar-section-title:hover {
            background: #2a2a2a;
        }

        [data-theme="dark"] .sidebar-section-title.active {
            background: rgba(102, 126, 234, 0.1);
        }

        [data-theme="dark"] .sidebar-child:hover {
            background: #2a2a2a;
        }

        [data-theme="dark"] .sidebar-child.active {
            background: rgba(102, 126, 234, 0.1);
        }

        [data-theme="dark"] .sidebar-footer {
            border-top-color: #3c4043;
        }

        [data-theme="dark"] .sidebar-tool-btn {
            background: #2a2a2a;
            border-color: #3c4043;
            color: #9aa0a6;
        }

        [data-theme="dark"] .sidebar-tool-btn:hover {
            background: #3c4043;
            color: #e8eaed;
        }

        [data-theme="dark"] .sidebar-open-btn {
            background: #1e1e1e;
            border-color: #3c4043;
            color: #e8eaed;
        }
        [data-theme="dark"] .sidebar-section.locked .sidebar-section-title:hover {
            background: transparent;
        }

        /* 打印样式 */
        @media print {
            .navbar,
            .left-sidebar,
            .sidebar-open-btn,
            .sidebar-backdrop,
            .unlock-banner,
            .navbar-actions,
            .back-to-top {
                display: none !important;
            }

            body.sidebar-open {
                margin-left: 0 !important;
            }

            /* Print respects user's actual access level — no forced unlock */
        }

        /* ========== 左侧导航栏 ========== */
        .left-sidebar {
            position: fixed;
            left: 0;
            top: 0;
            bottom: 0;
            width: 280px;
            background: var(--card-bg);
            border-right: 1px solid var(--border-color);
            z-index: 1002;
            display: flex;
            flex-direction: column;
            transform: translateX(0);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
        }

        .left-sidebar.collapsed {
            transform: translateX(-280px);
        }

        /* 页面内容偏移 */
        body.sidebar-open {
            margin-left: 280px;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Fixed 元素也要偏移 */
        body.sidebar-open .reading-progress {
            left: 280px;
        }

        body.sidebar-open .navbar {
            left: 280px;
            width: calc(100% - 280px);
        }

        .navbar {
            left: 0;
            width: 100%;
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reading-progress {
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* 侧边栏头部 */
        .sidebar-header {
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
            flex-shrink: 0;
            background: linear-gradient(180deg, rgba(102, 126, 234, 0.04) 0%, transparent 100%);
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-dark);
        }

        .sidebar-brand-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            font-weight: 700;
        }

        .sidebar-brand-text {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dark);
            letter-spacing: -0.3px;
        }

        .sidebar-collapse-btn {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            background: var(--bg-light);
            color: var(--text-gray);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.2s;
        }

        .sidebar-collapse-btn:hover {
            background: var(--border-color);
            color: var(--text-dark);
        }

        /* 报告信息卡片 */
        .sidebar-report-card {
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        .sidebar-report-ticker {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }

        .sidebar-ticker-symbol {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 0.5px;
        }

        .sidebar-ticker-badge {
            font-size: 10px;
            font-weight: 600;
            color: #d97706;
            background: #fef3c7;
            padding: 2px 8px;
            border-radius: 10px;
            letter-spacing: 0.3px;
        }

        [data-theme="dark"] .sidebar-ticker-symbol {
            color: #93b4f8;
        }

        [data-theme="dark"] .sidebar-ticker-badge {
            background: #422006;
            color: #fbbf24;
        }

        .sidebar-report-meta {
            font-size: 11px;
            color: var(--text-gray);
            line-height: 1.3;
        }

        /* 章节分组标题 */
        .sidebar-group-label {
            padding: 10px 20px 4px;
            font-size: 10px;
            font-weight: 600;
            color: var(--text-gray);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* 章节数量角标 */
        .sidebar-section-count {
            flex-shrink: 0;
            font-size: 10px;
            color: var(--text-gray);
            background: var(--bg-light);
            padding: 1px 6px;
            border-radius: 8px;
            font-weight: 500;
        }

        .sidebar-section-title.active .sidebar-section-count {
            background: rgba(29, 78, 216, 0.1);
            color: #1d4ed8;
        }

        /* 锁定（未解锁）的章节 */
        .sidebar-section.locked .sidebar-section-title {
            opacity: 0.45;
            cursor: default;
        }
        .sidebar-section.locked .sidebar-section-title:hover {
            background: transparent;
            opacity: 0.55;
        }
        .sidebar-lock-icon {
            flex-shrink: 0;
            font-size: 10px;
            margin-left: auto;
            opacity: 0.6;
        }

        /* 分类色点 */
        .sidebar-cat-dot {
            flex-shrink: 0;
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .sidebar-cat-dot.cat-overview { background: #3b82f6; }
        .sidebar-cat-dot.cat-analysis { background: #8b5cf6; }
        .sidebar-cat-dot.cat-industry { background: #10b981; }
        .sidebar-cat-dot.cat-extended { background: #f59e0b; }

        /* 侧边栏进度条 */
        .sidebar-progress {
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        .sidebar-progress-track {
            height: 4px;
            background: var(--bg-light);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 6px;
        }

        .sidebar-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }

        .sidebar-progress-text {
            font-size: 11px;
            color: var(--text-gray);
            display: flex;
            justify-content: space-between;
        }

        /* 侧边栏导航内容 */
        .sidebar-nav {
            flex: 1;
            overflow-y: auto;
            padding: 8px 0;
            scrollbar-width: thin;
            scrollbar-color: var(--border-color) transparent;
        }

        .sidebar-nav::-webkit-scrollbar {
            width: 4px;
        }

        .sidebar-nav::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar-nav::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 2px;
        }

        /* h1 章节项 */
        .sidebar-section {
            margin: 0;
        }

        .sidebar-section-title {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 8px 20px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dark);
            background: none;
            border: none;
            border-left: 3px solid transparent;
            cursor: pointer;
            text-align: left;
            transition: all 0.15s ease;
            font-family: inherit;
            line-height: 1.4;
            gap: 8px;
        }

        .sidebar-section-title:hover {
            background: var(--bg-light);
            color: #1d4ed8;
        }

        .sidebar-section-title.active {
            color: #1d4ed8;
            border-left-color: #1d4ed8;
            background: rgba(29, 78, 216, 0.06);
            font-weight: 700;
        }

        .sidebar-section-arrow {
            flex-shrink: 0;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: var(--text-gray);
            transition: transform 0.2s ease;
        }

        .sidebar-section-title.expanded .sidebar-section-arrow {
            transform: rotate(90deg);
        }

        .sidebar-section-label {
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* h2 子项 */
        .sidebar-children {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sidebar-children.expanded {
            max-height: 2000px;
            transition: max-height 0.4s cubic-bezier(0, 0, 0.2, 1);
        }

        .sidebar-child {
            display: block;
            padding: 5px 20px 5px 47px;
            font-size: 12px;
            color: var(--text-gray);
            text-decoration: none;
            border-left: 3px solid transparent;
            cursor: pointer;
            transition: all 0.15s ease;
            line-height: 1.5;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background: none;
            border-top: none;
            border-right: none;
            border-bottom: none;
            width: 100%;
            text-align: left;
            font-family: inherit;
        }

        .sidebar-child:hover {
            background: var(--bg-light);
            color: #1d4ed8;
        }

        .sidebar-child.active {
            color: #1d4ed8;
            border-left-color: #1d4ed8;
            background: rgba(29, 78, 216, 0.06);
            font-weight: 600;
        }

        /* 侧边栏底部工具栏 */
        .sidebar-footer {
            padding: 12px 20px;
            border-top: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .sidebar-tool-btn {
            flex: 1;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background: var(--bg-light);
            color: var(--text-gray);
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .sidebar-tool-btn:hover {
            background: var(--border-color);
            color: var(--text-dark);
            transform: translateY(-1px);
        }

        /* 展开侧边栏的浮动按钮（侧边栏关闭时显示） */
        .sidebar-open-btn {
            position: fixed;
            left: 16px;
            top: 74px;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-dark);
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            z-index: 998;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .sidebar-open-btn.visible {
            display: flex;
        }

        .sidebar-open-btn:hover {
            background: var(--bg-light);
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
            transform: translateY(-1px);
        }

        /* 移动端侧边栏遮罩 */
        .sidebar-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .sidebar-backdrop.visible {
            opacity: 1;
            visibility: visible;
        }

        /* 隐藏旧的浮动按钮（已集成到侧边栏） */
        .theme-toggle,
        .toc-container,
        .toc-toggle,
        .search-button,
        .bookmark-button {
            display: none !important;
        }

        /* 导航栏内的移动端目录按钮 */
        .navbar-toc-btn {
            display: none;
        }

        /* 移动端响应式 */
        @media (max-width: 768px) {
            .left-sidebar {
                width: 300px;
                box-shadow: 4px 0 20px rgba(0,0,0,0.15);
            }

            .left-sidebar.collapsed {
                transform: translateX(-300px);
            }

            body.sidebar-open {
                margin-left: 0 !important;
            }

            body.sidebar-open .reading-progress {
                left: 0 !important;
            }

            body.sidebar-open .navbar {
                left: 0 !important;
                width: 100% !important;
            }

            /* 移动端：隐藏独立浮动按钮，在导航栏内显示 */
            .sidebar-open-btn {
                display: none !important;
            }

            .navbar-toc-btn {
                display: inline-flex;
                align-items: center;
                gap: 4px;
            }
        }

        /* 阅读进度条 */
        .reading-progress {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(0,0,0,0.05);
            z-index: 1001;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            width: 0%;
            transition: width 0.1s ease;
        }

        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 998;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* 全文搜索样式 */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 15vh;
        }

        .search-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .search-container {
            background: var(--card-bg);
            width: 90%;
            max-width: 700px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            overflow: hidden;
            transform: translateY(-30px);
            transition: transform 0.3s;
        }

        .search-overlay.active .search-container {
            transform: translateY(0);
        }

        .search-input-wrapper {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            background: var(--bg-light);
        }

        [data-theme="dark"] .search-input-wrapper {
            border-bottom-color: rgba(255,255,255,0.1);
        }

        .search-input {
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            border: 2px solid transparent;
            border-radius: 10px;
            background: var(--card-bg);
            color: var(--text-dark);
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-results {
            max-height: 400px;
            overflow-y: auto;
            padding: 1rem;
        }

        .search-result-item {
            padding: 1rem;
            margin-bottom: 0.5rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            background: var(--bg-light);
        }

        .search-result-item:hover {
            background: linear-gradient(135deg, rgba(33, 50, 113, 0.05) 0%, rgba(42, 111, 168, 0.05) 100%);
            transform: translateX(5px);
        }

        .search-result-title {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .search-result-snippet {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.5;
        }

        [data-theme="dark"] .search-result-snippet {
            color: #999;
        }

        .search-highlight {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #092B42;
            padding: 2px 4px;
            border-radius: 3px;
            font-weight: 600;
        }

        .search-no-results {
            text-align: center;
            padding: 3rem 1rem;
            color: #666;
        }

        [data-theme="dark"] .search-no-results {
            color: #999;
        }

        .search-stats {
            padding: 0.5rem 1.5rem;
            font-size: 0.9rem;
            color: #666;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            background: var(--bg-light);
        }

        [data-theme="dark"] .search-stats {
            color: #999;
            border-bottom-color: rgba(255,255,255,0.1);
        }

        .search-button {
            position: fixed;
            left: 30px;
            top: 250px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
            border: none;
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* 阅读进度保存和书签功能 */
        .continue-reading-banner {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            cursor: pointer;
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s;
            max-width: 300px;
        }

        .continue-reading-banner.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .continue-reading-banner:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 25px rgba(0,0,0,0.4);
        }

        .continue-reading-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .continue-reading-info {
            font-size: 0.85rem;
            opacity: 0.9;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .continue-reading-progress {
            font-weight: 600;
        }

        .bookmark-button {
            position: fixed;
            left: 30px;
            top: 330px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            border: none;
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bookmark-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .bookmark-panel {
            position: fixed;
            right: -400px;
            top: 80px;
            width: 350px;
            max-height: calc(100vh - 160px);
            background: var(--card-bg);
            border-radius: 15px 0 0 15px;
            box-shadow: -4px 0 20px rgba(0,0,0,0.1);
            transition: right 0.3s;
            z-index: 999;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .bookmark-panel.active {
            right: 0;
        }

        .bookmark-header {
            padding: 1.5rem;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bookmark-header h3 {
            margin: 0;
            font-size: 1.2rem;
        }

        .bookmark-header button {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bookmark-header button:hover {
            background: rgba(255,255,255,0.3);
        }

        .bookmark-content {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
        }

        .bookmark-item {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
            border-left: 4px solid #f093fb;
        }

        .bookmark-item:hover {
            background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
            transform: translateX(-5px);
        }

        .bookmark-item-title {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .bookmark-item-meta {
            font-size: 0.8rem;
            color: #666;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        [data-theme="dark"] .bookmark-item-meta {
            color: #999;
        }

        .bookmark-item-delete {
            background: none;
            border: none;
            color: #f5576c;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            border-radius: 5px;
            font-size: 0.85rem;
        }

        .bookmark-item-delete:hover {
            background: rgba(245, 87, 108, 0.1);
        }

        .bookmark-empty {
            text-align: center;
            padding: 3rem 1rem;
            color: #999;
        }

        .bookmark-empty-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .reading-stats {
            padding: 1rem 1.5rem;
            background: var(--bg-light);
            border-top: 1px solid rgba(0,0,0,0.1);
        }

        [data-theme="dark"] .reading-stats {
            border-top-color: rgba(255,255,255,0.1);
        }

        .reading-stats-title {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }

        .reading-stats-item {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        [data-theme="dark"] .reading-stats-item {
            color: #999;
        }

        .reading-stats-value {
            font-weight: 600;
            color: var(--primary-color);
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .back-to-top {
                right: 15px;
                bottom: 90px;
                width: 45px;
                height: 45px;
            }

            .search-overlay {
                padding-top: 10vh;
            }

            .search-container {
                width: 95%;
            }

            .bookmark-panel {
                width: 100%;
                right: -100%;
                border-radius: 0;
                top: 0;
                max-height: 100vh;
            }

            .continue-reading-banner {
                bottom: 15px;
                right: 15px;
                left: 15px;
                max-width: none;
                padding: 0.875rem 1rem;
            }

            .continue-reading-title {
                font-size: 0.9rem;
            }

            .continue-reading-info {
                font-size: 0.8rem;
            }
        }

