/* 由 ks100\download1.html 内联 <style> 整体外置（步骤⑩方案A，2026-08-06）
   规则原样迁移，零改写，视觉零回归。 */


        /* 基础布局样式 */
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

        body {
            display: flex;
            flex-direction: column;
            background: var(--color-bg);
        }

        main {
            flex: 1;
            position: relative;
            z-index: var(--z-card);
        }

        /* ==================== 全局背景层（渐变背景 + 粒子动画）—— 桌面端专属 ==================== */
        @media (min-width: 769px) {
            body {
                background: var(--bg-page-gradient);
            }

            .page-bg-gradient {
                position: fixed;
                inset: 0;
                z-index: var(--z-base);
                background: var(--bg-page-gradient);
                pointer-events: none;
            }

            .page-bg-gradient::before {
                content: "";
                position: absolute;
                top: -120px;
                right: -80px;
                width: 480px;
                height: 480px;
                background: radial-gradient(circle, rgba(66, 133, 244, 0.18) 0%, transparent 70%);
                border-radius: 50%;
                pointer-events: none;
                animation: floatOrb1 12s ease-in-out infinite;
            }

            .page-bg-gradient::after {
                content: "";
                position: absolute;
                bottom: -160px;
                left: -100px;
                width: 400px;
                height: 400px;
                background: radial-gradient(circle, rgba(25, 118, 210, 0.1) 0%, transparent 70%);
                border-radius: 50%;
                pointer-events: none;
                animation: floatOrb2 15s ease-in-out infinite;
            }

            #hero-canvas {
                position: fixed;
                inset: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: var(--z-content);
            }
        }

        @keyframes floatOrb1 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(-40px, 60px) scale(1.1); }
            66% { transform: translate(30px, -30px) scale(0.95); }
        }

        @keyframes floatOrb2 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(50px, -40px) scale(1.15); }
            66% { transform: translate(-30px, 50px) scale(0.9); }
        }

        /* 移动端隐藏背景层和画布 */
        @media (max-width: 768px) {
            .page-bg-gradient,
            #hero-canvas {
                display: none;
            }
        }
        
        /* 电脑端下载页面样式 */
        .download-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 20px;
            text-align: center;
        }
        
        .download-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 40px;
        }
        
        .qrcode-container {
            background-color: white;
            width: 410px;
            height: 410px;
            padding: 5px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 40px;
            display: inline-block;
            box-sizing: border-box;
        }
        
        .qrcode-image {
            width: 400px;
            height: 400px;
            margin-bottom: 20px;
        }
        
        .download-instructions {
            font-size: 16px;
            line-height: 1.6;
            color: #666;
            margin-bottom: 40px;
        }
        
        .back-button {
            background-color: #4285F4;
            color: #FFFFFF;
            border: none;
            padding: 10px 20px;
            font-size: 18px;
            font-weight: 500;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .back-button:hover {
            background-color: #3367D6;
            transform: translateY(-2px);
        }

        /* 客户端下载按钮 */
        .client-download-wrap {
            position: relative;
            margin-left: auto;
            line-height: 56px;
            list-style: none;
        }
        .client-download-btn {
            display: inline-block;
            text-decoration: none;
            padding: 6px 14px;
            background: transparent;
            color: #333;
            font-size: 13px;
            font-weight: 500;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-family: inherit;
        }
        .client-download-btn:hover {
            background: transparent;
            color: #1976D2;
            transform: translateY(-1px);
        }
        .client-download-popup {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 164px;
            padding: 12px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: all 0.25s ease;
            z-index: var(--z-nav-header);
            pointer-events: none;
            line-height: normal;
        }
        .client-download-popup::before {
            content: "";
            position: absolute;
            top: -6px;
            right: 20px;
            width: 12px;
            height: 12px;
            background: #fff;
            transform: rotate(45deg);
            border-radius: 2px;
        }
        .client-download-wrap:hover .client-download-popup,
        .client-download-popup:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }
        .client-download-popup img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 4px;
        }
        .client-download-popup .popup-title {
            font-size: 14px;
            color: #333;
            text-align: center;
            margin-top: 8px;
            margin-bottom: 4px;
            font-weight: 500;
        }
        .client-download-popup .popup-desc {
            font-size: 12px;
            color: #999;
            text-align: center;
            margin: 0;
        }

        .client-download-wrap {
            display: none;
        }

        @media (min-width: 769px) {
            .client-download-wrap {
                display: flex;
                align-items: center;
            }
        }

        /* 页脚样式修复 - 确保尺寸正确 */
        body > footer.site-footer {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 48px;
            padding: 12px 20px !important;
            background: var(--surface-page) !important;
            margin-top: 0 !important;
        }
        body > footer.site-footer > div {
            display: flex !important;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 8px 24px;
            max-width: var(--content-width);
            margin: 0 auto;
            white-space: normal;
        }
        body > footer.site-footer p {
            margin: 0 !important;
            font-size: var(--font-size-footer) !important;
            line-height: 1.5 !important;
            color: var(--text-secondary);
        }
        body > footer.site-footer p + p {
            margin-left: 0 !important;
            margin-top: 0 !important;
        }
        body > footer.site-footer a {
            font-size: var(--font-size-footer) !important;
            color: var(--text-secondary);
        }
    