/* 由 view.html 内联块抽离（L1949-2625，677 行），内容逐字节保留 */

        /* 平台标识内部样式 - 保留用于向后兼容（如果存在旧的平台标识元素） */
        #dkfile-platform-footer,
        .platform-footer {
            position: relative !important;
            bottom: auto !important;
            right: auto !important;
            left: auto !important;
            top: auto !important;
            padding: 8px 12px !important;
            background: transparent !important;
            display: flex !important;
            justify-content: flex-end !important;
            align-items: center !important;
            gap: 0 !important;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
            text-align: right !important;
            z-index: 2147483645 !important; /* 使用非常高的z-index，仅次于弹窗，确保不被用户内容遮挡 */
            margin: 0 !important; /* 移除margin，让容器控制对齐 */
            width: auto !important;
            max-width: none !important;
            min-width: auto !important;
            height: auto !important;
            min-height: auto !important;
            max-height: none !important;
            font-size: 12px !important;
            color: #999 !important;
            line-height: 1.5 !important;
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            overflow: visible !important;
            box-sizing: border-box !important;
            clear: both !important;
            float: none !important;
            flex-shrink: 0 !important; /* 防止被压缩 */
        }
        
        /* 防止用户内容覆盖平台标识样式 - 使用最高优先级 */
        .content-wrapper .platform-footer,
        .content-wrapper #dkfile-platform-footer,
        #dkfile-platform-footer,
        body > #dkfile-platform-footer,
        html > body > #dkfile-platform-footer,
        body > .platform-footer,
        html > body > .platform-footer,
        body:last-child > .platform-footer,
        body body ~ .platform-footer,
        .content-wrapper ~ .platform-footer,
        .content-wrapper ~ #dkfile-platform-footer,
        div.platform-footer,
        .platform-footer[class="platform-footer"] {
            position: relative !important;
            bottom: auto !important;
            right: auto !important;
            left: auto !important;
            top: auto !important;
            z-index: 2147483645 !important; /* 使用非常高的z-index，仅次于弹窗，确保不被用户内容遮挡 */
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transform: none !important;
            margin: 20px 0 10px 0 !important;
            padding: 8px 12px !important;
            width: auto !important;
            max-width: none !important;
            justify-content: flex-end !important;
            text-align: right !important;
            align-items: center !important;
        }
        
        /* 平台标识文字样式 - 使用高优先级选择器防止用户覆盖 */
        #dkfile-platform-footer span,
        .content-wrapper #dkfile-platform-footer span,
        .platform-footer[id*="dkfile-platform-footer"] span {
            color: #999 !important;
            font-size: 12px !important;
            font-weight: 400 !important;
        }
        
        #dkfile-platform-footer a,
        .content-wrapper #dkfile-platform-footer a,
        .platform-footer[id*="dkfile-platform-footer"] a {
            color: #999 !important;
            text-decoration: none !important;
            font-weight: 400 !important;
            font-size: 12px !important;
            transition: color 0.2s ease !important;
            margin: 0 2px !important;
        }
        
        #dkfile-platform-footer a:hover,
        .content-wrapper #dkfile-platform-footer a:hover,
        .platform-footer[id*="dkfile-platform-footer"] a:hover {
            color: #666 !important;
        }
        
        #dkfile-platform-footer a:active,
        .content-wrapper #dkfile-platform-footer a:active,
        .platform-footer[id*="dkfile-platform-footer"] a:active {
            color: #999 !important;
        }
        
        /* 技术支持链接 - 智能配色：根据背景自动调整 */
        /* 采用现代UI设计规范，确保对比度和可访问性 */
        .platform-footer a.tech-support-link {
            /* 默认绿色，但会被JavaScript动态覆盖 */
            color: #28a745 !important;
            transition: color 0.3s ease !important;
        }
        
        .platform-footer a.tech-support-link:hover {
            /* hover颜色会在JavaScript中动态计算 */
            transition: color 0.3s ease !important;
        }
        
        .platform-footer a.tech-support-link:active {
            color: inherit !important;
        }
        
        /* 浅色背景模式 - 深色文字（专业配色方案） */
        /* 符合WCAG AA级对比度标准，确保良好的可读性 */
        .platform-footer.adaptive-light {
            color: #333 !important; /* 深灰色，在浅色背景上清晰易读 */
        }
        
        .platform-footer.adaptive-light span {
            color: #666 !important; /* 中等灰色，营造视觉层次 */
        }
        
        .platform-footer.adaptive-light a {
            color: #28a745 !important; /* 品牌绿色，保持一致性 */
        }
        
        .platform-footer.adaptive-light a.tech-support-link {
            color: #28a745 !important; /* 标准绿色，与品牌色一致 */
        }
        
        .platform-footer.adaptive-light a.tech-support-link:hover {
            color: #218838 !important; /* 深绿色hover状态，提供清晰反馈 */
        }
        
        /* 深色背景模式 - 浅色文字（专业配色方案） */
        .platform-footer.adaptive-dark {
            /* 使用柔和的白色，避免过强对比 */
            color: rgba(255, 255, 255, 0.85) !important;
        }
        
        .platform-footer.adaptive-dark span {
            /* 次要文字使用稍低的透明度，营造层次感 */
            color: rgba(255, 255, 255, 0.75) !important;
        }
        
        .platform-footer.adaptive-dark a {
            /* 链接文字保持较高的可读性 */
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .platform-footer.adaptive-dark a.tech-support-link {
            /* 在深色背景上使用亮绿色，既醒目又与背景色调和谐 */
            color: #6ee7b7 !important; /* 柔和的亮绿色，符合现代UI设计规范 */
        }
        
        .platform-footer.adaptive-dark a.tech-support-link:hover {
            /* hover时使用更亮的绿色，提供清晰的交互反馈 */
            color: #a7f3d0 !important; /* 更亮的绿色，确保可访问性 */
        }
        
        /* 保留原有样式以兼容其他可能的引用 */
        .footer-brand a {
            color: #999;
            text-decoration: none;
            font-weight: 400;
            font-size: 13px;
            letter-spacing: 0.2px;
            transition: color 0.2s ease;
        }
        
        .footer-brand a:hover {
            color: #666;
        }
        
        .footer-divider {
            width: 1px;
            height: 14px;
            background: rgba(0, 0, 0, 0.1);
        }
        
        .footer-support {
            position: relative;
        }
        
        .footer-support a {
            color: #999;
            text-decoration: none;
            font-size: 12px;
            font-weight: 400;
            padding: 0;
            background: transparent;
            border: none;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .footer-support a::before {
            content: "🛠️";
            font-size: 11px;
            opacity: 0.6;
        }
        
        .footer-support a:hover {
            color: #666;
        }
        
        .footer-support a:active {
            color: #999;
        }
        
        /* 我的收藏链接样式 */
        .footer-favorites a {
            color: #999;
            text-decoration: none;
            font-size: 12px;
            font-weight: 400;
            padding: 0;
            background: transparent;
            border: none;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .footer-favorites a::before {
            content: "❤️";
            font-size: 11px;
            opacity: 0.6;
        }
        
        .footer-favorites a:hover {
            color: #666;
        }
        
        .footer-favorites a:active {
            color: #999;
        }
        
        /* 覆盖base.html中的padding-bottom设置 */
        /* 注意：body的position不能是fixed或absolute，否则会影响子元素的fixed定位 */
        body {
            padding-bottom: 0 !important;
            overflow-x: visible !important;
            overflow-y: visible !important;
            /* 移除position: relative，避免影响fixed定位 */
            /* position: relative !important; */
        }
        
        /* 确保html标签不会阻止fixed定位 */
        html {
            overflow-x: visible !important;
            overflow-y: visible !important;
        }
        
        /* 样式隔离：确保平台标识在content-wrapper内部，固定在内容底部右下角 */
        /* 使用最高优先级选择器，防止用户代码覆盖 */
        .content-wrapper > #dkfile-platform-footer,
        .content-wrapper > .platform-footer,
        html > body > .content-wrapper > #dkfile-platform-footer,
        html > body > .content-wrapper > .platform-footer,
        body > .content-wrapper > #dkfile-platform-footer,
        body > .content-wrapper > .platform-footer {
            position: relative !important;
            bottom: auto !important;
            right: auto !important;
            left: auto !important;
            top: auto !important;
            z-index: 2147483645 !important; /* 使用非常高的z-index，仅次于弹窗，确保不被用户内容遮挡 */
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transform: none !important;
            margin: 20px 0 10px 0 !important;
            padding: 8px 12px !important;
            width: auto !important;
            max-width: none !important;
            justify-content: flex-end !important;
            text-align: right !important;
            align-items: center !important;
        }
        
        /* 响应式设计 - 手机端 */
        @media (max-width: 768px) {
            .content-wrapper {
                padding-bottom: 50px;
            }
            
            /* 手机端浮动按钮容器 - 默认收起状态 */
            body > .floating-action-buttons,
            html > body > .floating-action-buttons,
            body:last-child > .floating-action-buttons,
            .content-wrapper ~ .floating-action-buttons,
            #dkfile-floating-buttons {
                bottom: 70px !important;
                right: 10px !important;
                left: auto !important;
                top: auto !important;
                gap: 0 !important; /* 收起时无间距 */
                flex-direction: column-reverse !important; /* 主菜单按钮在底部，展开时功能按钮在上方 */
                align-items: center !important; /* 确保所有按钮垂直居中对齐 */
                justify-content: flex-start !important;
            }
            
            /* 手机端主菜单按钮 - 显示（使用更高优先级选择器确保覆盖全局隐藏规则） */
            html body #floatingMenuBtn,
            html body #dkfile-floating-buttons > #floatingMenuBtn,
            html body body > #dkfile-floating-buttons > #floatingMenuBtn,
            html body html > body > #dkfile-floating-buttons > #floatingMenuBtn,
            html body .floating-menu-btn,
            #floatingMenuBtn,
            #dkfile-floating-buttons > #floatingMenuBtn,
            body > #dkfile-floating-buttons > #floatingMenuBtn,
            html > body > #dkfile-floating-buttons > #floatingMenuBtn,
            .floating-menu-btn {
                display: flex !important;
                width: 40px !important;
                height: 40px !important;
                min-width: 40px !important;
                min-height: 40px !important;
                max-width: 40px !important;
                max-height: 40px !important;
                aspect-ratio: 1 !important;
                border-radius: 50% !important;
                background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
                border: none !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 18px !important;
                color: white !important;
                cursor: pointer !important;
                transition: all 0.3s ease !important;
                box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4) !important;
                position: relative !important;
                z-index: 10001 !important;
                margin: 0 !important;
                padding: 0 !important;
                box-sizing: border-box !important;
                outline: none !important;
                -webkit-tap-highlight-color: transparent !important;
            }
            
            #floatingMenuBtn:hover,
            .floating-menu-btn:hover {
                transform: translateY(-1px) scale(1.05) !important;
                box-shadow: 0 4px 12px rgba(40, 167, 69, 0.5) !important;
            }
            
            #floatingMenuBtn:active,
            #floatingMenuBtn:focus,
            .floating-menu-btn:active,
            .floating-menu-btn:focus {
                transform: translateY(0) rotate(45deg) !important;
                box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4) !important;
                outline: none !important;
                -webkit-tap-highlight-color: transparent !important;
            }
            
            #floatingMenuBtn.active,
            .floating-menu-btn.active {
                transform: rotate(45deg) !important;
                background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%) !important;
                box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4) !important;
            }
            
            /* 手机端功能按钮 - 默认隐藏 */
            #dkfile-floating-buttons > .floating-btn:not(.floating-menu-btn),
            #dkfile-floating-buttons .floating-btn:not(.floating-menu-btn),
            body > #dkfile-floating-buttons > .floating-btn:not(.floating-menu-btn),
            html > body > #dkfile-floating-buttons > .floating-btn:not(.floating-menu-btn),
            body > .floating-action-buttons > .floating-btn:not(.floating-menu-btn),
            html > body > .floating-action-buttons > .floating-btn:not(.floating-menu-btn),
            .floating-action-buttons .floating-btn:not(.floating-menu-btn) {
                width: 40px !important;
                height: 40px !important;
                min-width: 40px !important;
                min-height: 40px !important;
                max-width: 40px !important;
                max-height: 40px !important;
                font-size: 14px !important;
                opacity: 0 !important;
                visibility: hidden !important;
                transform: translateY(20px) scale(0.5) !important;
                pointer-events: none !important;
                transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
            }
            
            /* 手机端功能按钮 - 展开状态 */
            .floating-action-buttons.expanded > .floating-btn:not(.floating-menu-btn),
            #dkfile-floating-buttons.expanded > .floating-btn:not(.floating-menu-btn) {
                opacity: 1 !important;
                visibility: visible !important;
                transform: translateY(0) scale(1) !important;
                pointer-events: auto !important;
            }
            
            /* 展开时按钮间距 */
            .floating-action-buttons.expanded,
            #dkfile-floating-buttons.expanded {
                gap: 8px !important;
                align-items: flex-end !important;
            }
            
            /* 按钮展开动画延迟 */
            .floating-action-buttons.expanded > .floating-btn:nth-child(2),
            #dkfile-floating-buttons.expanded > .floating-btn:nth-child(2) {
                transition-delay: 0.05s !important;
            }
            
            .floating-action-buttons.expanded > .floating-btn:nth-child(3),
            #dkfile-floating-buttons.expanded > .floating-btn:nth-child(3) {
                transition-delay: 0.1s !important;
            }
            
            .floating-action-buttons.expanded > .floating-btn:nth-child(4),
            #dkfile-floating-buttons.expanded > .floating-btn:nth-child(4) {
                transition-delay: 0.15s !important;
            }
            
            .floating-action-buttons.expanded > .floating-btn:nth-child(5),
            #dkfile-floating-buttons.expanded > .floating-btn:nth-child(5) {
                transition-delay: 0.2s !important;
            }
            
            .floating-action-buttons.expanded > .floating-btn:nth-child(6),
            #dkfile-floating-buttons.expanded > .floating-btn:nth-child(6) {
                transition-delay: 0.25s !important;
            }
        }
        
        /* PC端隐藏主菜单按钮 */
        @media (min-width: 769px) {
            #floatingMenuBtn,
            #dkfile-floating-buttons > #floatingMenuBtn,
            body > #dkfile-floating-buttons > #floatingMenuBtn,
            html > body > #dkfile-floating-buttons > #floatingMenuBtn,
            .floating-menu-btn {
                display: none !important;
            }
            
            /* PC端始终显示所有功能按钮（非VIP折叠模式除外，见上方 dk-collapse-floating 规则） */
            #dkfile-floating-buttons > .floating-btn:not(.floating-menu-btn),
            #dkfile-floating-buttons .floating-btn:not(.floating-menu-btn) {
                opacity: 1 !important;
                visibility: visible !important;
                transform: scale(1) translateY(0) !important;
                pointer-events: auto !important;
            }

            /* 非VIP折叠模式：收起态必须隐藏功能按钮（覆盖上面的常显规则） */
            body.dk-collapse-floating #dkfile-floating-buttons:not(.expanded) > .floating-btn:not(.floating-menu-btn),
            body.dk-collapse-floating #dkfile-floating-buttons:not(.expanded) .floating-btn:not(.floating-menu-btn) {
                display: none !important;
                opacity: 0 !important;
                visibility: hidden !important;
                pointer-events: none !important;
            }

            body.dk-collapse-floating #dkfile-floating-buttons.expanded > .floating-btn:not(.floating-menu-btn),
            body.dk-collapse-floating #dkfile-floating-buttons.expanded .floating-btn:not(.floating-menu-btn) {
                opacity: 1 !important;
                visibility: visible !important;
                transform: scale(1) translateY(0) !important;
                pointer-events: auto !important;
            }

            body.dk-collapse-floating #dkfile-floating-buttons > #floatingMenuBtn,
            body.dk-collapse-floating #dkfile-floating-buttons > .floating-menu-btn {
                display: flex !important;
            }
        }
        
        @media (max-width: 768px) {
            
            #dkfile-floating-buttons > .floating-btn,
            #dkfile-floating-buttons .floating-btn,
            body > #dkfile-floating-buttons > .floating-btn,
            html > body > #dkfile-floating-buttons > .floating-btn,
            body > .floating-action-buttons > .floating-btn,
            html > body > .floating-action-buttons > .floating-btn,
            .floating-action-buttons .floating-btn {
                width: 36px !important;
                height: 36px !important;
                min-width: 36px !important;
                min-height: 36px !important;
                max-width: 36px !important;
                max-height: 36px !important;
                font-size: 12px !important;
            }
            
            /* 手机端已点赞和已收藏状态 - 红色选中效果 */
            #dkfile-floating-buttons .floating-btn.like-btn.liked,
            .floating-action-buttons .floating-btn.like-btn.liked {
                background: #ff4757 !important;
                color: white !important;
            }
            
            #dkfile-floating-buttons .floating-btn.like-btn.liked i,
            .floating-action-buttons .floating-btn.like-btn.liked i {
                color: white !important;
            }
            
            #dkfile-floating-buttons .floating-btn.favorite-btn.favorited,
            .floating-action-buttons .floating-btn.favorite-btn.favorited {
                background: #ff4757 !important;
                color: white !important;
            }
            
            #dkfile-floating-buttons .floating-btn.favorite-btn.favorited i,
            .floating-action-buttons .floating-btn.favorite-btn.favorited i {
                color: white !important;
            }
            
            .platform-footer span {
                font-size: 11px;
            }
            
            .platform-footer a {
                font-size: 11px;
            }
            
            .footer-brand a {
                font-size: 12px;
            }
            
            .footer-support a {
                font-size: 11px;
                gap: 3px;
            }
            
            .footer-support a::before {
                font-size: 10px;
            }
            
            .footer-favorites a {
                font-size: 11px;
                gap: 3px;
            }
            
            .footer-favorites a::before {
                font-size: 10px;
            }
        }
        
        /* 功能按钮样式 */
        .action-buttons-container {
            position: fixed;
            bottom: 80px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .action-btn {
            width: 48px;
            height: 48px;
            border: none;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        }
        
        .action-btn i {
            font-size: 16px;
            margin-bottom: 3px;
        }
        
        .action-btn .btn-text {
            font-size: 9px;
            font-weight: 600;
            line-height: 1;
        }
        
        .like-btn {
            color: #ff4757;
            background: rgba(255, 71, 87, 0.05);
        }
        
        .like-btn:hover {
            background: rgba(255, 71, 87, 0.1);
            color: #ff4757;
        }
        
        .like-btn.liked {
            background: #ff4757;
            color: white;
        }
        
        .favorite-btn {
            color: #ffa502;
            background: rgba(255, 165, 2, 0.05);
        }
        
        .favorite-btn:hover {
            background: rgba(255, 165, 2, 0.1);
            color: #ffa502;
        }
        
        .favorite-btn.favorited {
            background: #ffa502;
            color: white;
        }
        
        .share-buttons .share-btn {
            color: #28a745;
            background: rgba(40, 167, 69, 0.1);
        }
        
        .share-buttons .share-btn:hover {
            transform: translateY(-2px);
            background: rgba(40, 167, 69, 0.2);
        }
        
        .feedback-btn {
            color: #a55eea;
            background: rgba(165, 94, 234, 0.05);
        }
        
        .feedback-btn:hover {
            background: rgba(165, 94, 234, 0.1);
            color: #a55eea;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .action-buttons-container {
                bottom: 100px;
                right: 15px;
            }
            
            .action-btn {
                width: 38px;
                height: 38px;
            }
            
            .action-btn i {
                font-size: 14px;
            }
            
            .action-btn .btn-text {
                font-size: 8px;
            }
        }
        

        

    
