
    /* PC端样式 */
    .custom-tags-module {
        margin: 0 auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 600px;
        background-color: #fff;
    }

    .tags-container {
        display: flex;
        width: 100%;
        gap: 5px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .tag {
        background-color: #f5f5f5;
        /* 更温和的灰色背景 */
        border: 1px solid #e0e0e0;
        /* 更细致的边框 */
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        /* 更柔和的阴影 */
        padding: 3px 6px;
        text-align: center;
        font-size: 12px;
        color: #333333;
        /* 更深的文字颜色提升可读性 */
        transition: transform 0.2s, box-shadow 0.2s;
        white-space: nowrap;
        flex: 0 0 auto;
        font-weight: 500;
        /* 更现代的中等粗细 */
        cursor: pointer;
    }


    .tag:hover {
        transform: translateY(-2.5px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    }

    .pc-popup {
        display: none;
        position: fixed;
        width: 600px;
        background-color: #f8f8f8;
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }

    .pc-popup-content {
        color: #333;
        line-height: 1.6;
    }

    .pc-popup-content a {
        color: #007bff;
        text-decoration: none;
    }

    /* 手机端样式 */
    @media (max-width: 480px) {
        .tags-container {
            flex-wrap: wrap;
            justify-content: flex-start;
            padding-left: 10px;
        }

        .tag {
            font-size: 10px;
            padding: 2px 4px;
            width: calc(50% - 2.5px);
            box-sizing: border-box;
            margin-bottom: 5px;
        }

        .pc-popup {
            display: none !important;
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }

        .mobile-popup {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 67vh;
            background: white;
            border-radius: 12px 12px 0 0;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s;
            overflow-y: auto;
            z-index: 1002;
        }

        .mobile-popup.active {
            transform: translateY(0);
        }

        .mobile-popup h1 {
            font-size: 20px;
            text-align: center;
            margin: 0 0 15px;
            color: #333;
        }

        .mobile-popup p {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .mobile-popup a {
            color: #007bff;
            text-decoration: none;
        }

        /* 新增关闭按钮样式 */
        .mobile-close-btn {
            position: absolute;
            right: 15px;
            top: 15px;
            width: 30px;
            height: 30px;
            font-size: 24px;
            color: #999;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1003;
            transition: color 0.2s;
        }

        .mobile-close-btn:hover {
            color: #666;
        }
    }

    /* PC端强制隐藏手机内容 */
    @media (min-width: 481px) {
        .mobile-overlay {
            display: none !important;
        }
    }
