/* 分享弹窗遮罩层 */
        #shareModal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* 弹窗显示状态 */
        #shareModal.active {
            opacity: 1;
            visibility: visible;
        }

        /* 弹窗内容容器 - 匹配图片样式 */
        .share-modal-content {
            width: 90%;
            max-width: 380px;
            background-color: white;
            border-radius: 16px;
            overflow: hidden;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            position: relative;
        }

        #shareModal.active .share-modal-content {
            transform: translateY(0);
        }

        /* 弹窗头部 */
        .modal-header {
            padding: 20px 20px 15px;
            border-bottom: 1px solid #f0f0f0;
            text-align: center;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .modal-subtitle {
            font-size: 14px;
            color: #666;
        }

        /* 分享选项区域 */
        .share-options {
            padding: 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            gap: 15px;
        }

        .share-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 60px;
            cursor: pointer;
        }

        .share-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }

        /* 各分享平台图标背景色 */
        .share-icon.whatsapp { background-color: #25D366; }
        .share-icon.facebook { background-color: #1877F2; }
        .share-icon.twitter { background-color: #1DA1F2; }
        .share-icon.telegram { background-color: #0088CC; }
        .share-icon.instagram { background-color: #EA4335; }
        .share-icon.more { background-color: #999; }

        .share-icon svg {
            width: 48px;
            height: 48px;
            fill: white;
        }

        .share-label {
            font-size: 12px;
            color: #666;
            text-align: center;
        }

        /* 链接复制区域 */
        .share-link {
            padding: 15px 20px;
            border-top: 1px solid #f0f0f0;
        }

        .link-input-wrapper {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
        }

        .link-input {
            flex: 1;
            padding: 10px 12px;
            border: none;
            outline: none;
            font-size: 14px;
            color: #333;
        }

        .copy-btn {
            padding: 10px 16px;
            background-color: #01875F;
            color: white;
            border: none;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap;
        }

        .copy-btn:hover {
            background-color: #016e4b;
        }

        /* 关闭按钮 */
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
        }

        .close-btn svg {
            width: 16px;
            height: 16px;
            fill: #333;
        }