.pqw-download-buttons-wrapper {
    display: block;
    margin: 20px 0 15px;
    padding: 0 !important;
    width: 100%;
    text-align: left;
}

.pqw-download-buttons-list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.pqw-download-button-item {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

.pqw-download-btn {
    background: linear-gradient(135deg, #206BE7 0%, #1A5FC9 100%);
    color: white;
    border: none;
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(32, 107, 231, 0.3);
    font-weight: 600;
    width: 110px;
    height: 36px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    outline: none !important;
    margin: 0 !important;
}

.pqw-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(32, 107, 231, 0.4);
    background: linear-gradient(135deg, #1A5FC9 0%, #206BE7 100%);
}

.pqw-download-btn:active {
    transform: translateY(0);
}

.pqw-qrcode-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.pqw-qrcode-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pqw-qrcode-close {
    background: none;
    border: none;
    color: #aaa;
    float: right;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 8px;
    transition: color 0.3s;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
}

.pqw-qrcode-close:hover {
    color: #000;
}

.pqw-modal-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.pqw-qrcode-container {
    margin: 15px auto;
    padding: 8px;
    background: white;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #ddd;
}

.pqw-qrcode-tip {
    margin-top: 12px;
    color: #666;
    font-size: 13px;
}

@media (max-width: 768px) {
    .pqw-download-buttons-wrapper {
        margin: 18px 0 13px;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    

    .pqw-download-buttons-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start; /* 左对齐 */
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    

    .pqw-download-button-item {
        width: auto !important; /* 覆盖任何固定宽度 */
        flex: 0 0 auto !important; /* 固定宽度，不缩放 */
        margin: 0 !important;
        padding: 0 !important;
        text-align: left;
    }
    
    /* 直接设置按钮的固定宽度 */
    .pqw-download-btn {
        width: 90px !important; /* 直接设置固定宽度，使用!important确保覆盖 */
        height: 40px;
        font-size: 14px;
        padding: 10px 5px;
        margin: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
}

@media (prefers-color-scheme: dark) {
    .pqw-qrcode-modal-content {
        background-color: #2d2d2d;
        color: #f0f0f0;
    }
    
    .pqw-qrcode-close:hover {
        color: #fff;
    }
    
    .pqw-modal-title {
        color: #f0f0f0;
    }
    
    .pqw-qrcode-tip {
        color: #ccc;
    }
}