.drp-dwqr-wp {
    --dwqrColor: #0066cc;
    position: relative;
    clear: both;
    color: #555;
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

.drp-dwqr-wp *,
.ps-modal-overlay * {
    box-sizing: border-box;
}

.drp-cbm {
    clear: both;
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.dwqr-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0;
}

.dr-btn-dwqr {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 64px;
    flex: 0 0 64px;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    margin: 0 10px !important;
    padding: 0 !important;
    border: 1px solid var(--dwqrColor, #0066cc) !important;
    border-radius: 50% !important;
    outline: 0;
    background: #ffffff !important;
    box-shadow: none !important;
    color: var(--dwqrColor, #0066cc) !important;
    font: inherit;
    text-decoration: none !important;
    vertical-align: middle;
    cursor: pointer;
    -webkit-transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dr-btn-dwqr:hover,
.dr-btn-dwqr:focus {
    background: var(--dwqrColor, #0066cc) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.dr-btn-dwqr.active,
.dr-btn-dwqr[aria-pressed="true"] {
    border-color: var(--dwqrColor, #0066cc) !important;
    background: var(--dwqrColor, #0066cc) !important;
    color: #ffffff !important;
}

.dr-btn-dwqr[data-loading="1"] {
    opacity: .58;
    cursor: wait;
    pointer-events: none;
}

.dr-btn-dwqr .ps-button-icon {
    position: absolute;
    top: 16px;
    left: 50%;
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 0 0 -8px;
    color: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 16px;
    text-align: center;
}

.dr-btn-dwqr .ps-button-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    overflow: visible;
    fill: currentColor;
    stroke: none;
    stroke-width: 0;
}

.dr-btn-dwqr > span {
    position: absolute;
    top: 35px;
    left: 0;
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: normal !important;
    line-height: 18px !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drp-dwqr-sticky {
    position: fixed;
    top: 38%;
    left: 18px;
    z-index: 90;
}

.drp-dwqr-sticky .dwqr-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
}

.ps-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, .70);
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

.ps-modal {
    position: relative;
    width: 300px;
    max-width: 94vw;
    max-height: 92vh;
    overflow: auto;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 3px 3px 9px rgba(0, 0, 0, .16);
    color: #555555;
}

.ps-modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 39px;
    padding: 0 8px 0 12px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ps-modal-header strong {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: bold;
    line-height: 38px;
}

.ps-modal-close,
.ps-modal-corner-close {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #777777;
    font: 22px/23px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}

.ps-modal-close:hover,
.ps-modal-corner-close:hover {
    color: #111111;
}

.ps-modal-corner-close {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 3;
}

.ps-modal--payment {
    width: 360px;
    overflow: hidden;
}

.ps-payment-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 38px;
    padding-right: 32px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.ps-payment-tab {
    -webkit-appearance: none;
    appearance: none;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    height: 38px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-bottom: 2px solid transparent;
    outline: 0;
    background: #ffffff;
    color: #777777;
    font: 12px/36px "Microsoft YaHei", sans-serif;
    text-align: center;
    cursor: pointer;
}

.ps-payment-tab i {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    line-height: 16px;
    vertical-align: -3px;
}

.ps-payment-tab i svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
    stroke-width: 0;
}

.ps-payment-tab--wechat i {
    color: #39b54a;
}

.ps-payment-tab--alipay i {
    color: #1686e6;
}

.ps-payment-tab.active {
    border-bottom-color: #1686e6;
    color: #333333;
}

.ps-payment-stage {
    min-height: 330px;
    padding: 20px 20px 16px;
    background: #ffffff;
    text-align: center;
}

.ps-payment-qr {
    display: block;
    width: 280px;
    max-width: calc(100vw - 72px);
    height: auto;
    max-height: calc(92vh - 118px);
    margin: 0 auto;
    border: 0;
    background: #ffffff;
    object-fit: contain;
    cursor: zoom-in;
}

.ps-payment-help,
.ps-wechat-help {
    margin: 10px 0 0;
    color: #777777;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
}

.ps-share {
    width: 100%;
    min-height: 90px;
    padding: 25px 20px 27px;
    background: #ffffff;
}

.ps-share-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 0;
}

.ps-share-item {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 54px;
    margin: 0;
    padding: 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #777777 !important;
    font: 0/0 "Microsoft YaHei", sans-serif;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.ps-share-item > span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: opacity .16s ease, -webkit-transform .16s ease;
    transition: opacity .16s ease, transform .16s ease;
}

.ps-share-item:hover > span,
.ps-share-item:focus > span {
    opacity: .86;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.ps-share-item i {
    display: block;
    width: 34px;
    height: 34px;
    font-size: 0;
    line-height: 0;
}

.ps-share-item i svg {
    display: block;
    width: 34px;
    height: 34px;
    fill: currentColor;
    stroke: none;
    stroke-width: 0;
}

.ps-share-item--wechat > span {
    color: #68c313;
}

.ps-share-item--weibo > span {
    color: #e45c62;
}

.ps-share-item--qzone > span {
    color: #ebbf00;
}

.ps-share-item--qq > span {
    color: #00b6f7;
}

.ps-wechat-qr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 18px 18px 16px;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ps-wechat-qr canvas {
    position: static !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    float: none !important;
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    margin: 0 auto !important;
    background: #ffffff;
    -ms-flex-item-align: center;
    align-self: center;
}

.ps-wechat-help {
    font-size: 12px;
}

.ps-modal--poster {
    width: auto;
    max-width: calc(100vw - 24px);
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ps-modal--poster .ps-modal-corner-close {
    top: auto;
    right: 50%;
    bottom: -38px;
    width: 28px;
    height: 28px;
    margin-right: -14px;
    border-radius: 50%;
    background: rgba(25, 25, 25, .82);
    color: #ffffff;
    font-size: 20px;
    line-height: 26px;
}

.ps-poster {
    width: auto;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    background: transparent;
    text-align: center;
}

.ps-poster-image {
    display: block;
    width: auto;
    max-width: min(420px, calc(100vw - 28px));
    height: auto;
    max-height: calc(100vh - 86px);
    margin: 0 auto;
    border: 0;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .25);
    object-fit: contain;
}

.ps-poster-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .96);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ps-poster-actions span {
    color: #888888;
    font-size: 11px;
    line-height: 24px;
}

.ps-download {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 2px;
    background: #0879df;
    color: #ffffff !important;
    font-size: 12px;
    line-height: 20px;
    text-decoration: none !important;
}

.ps-error {
    margin: 0;
    padding: 28px 18px;
    background: #ffffff;
    color: #b42318;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
}

.ps-runtime {
    display: none !important;
}

@media (max-width: 1024px) {
    .drp-dwqr-sticky {
        position: static;
        margin: 50px 0 0;
        padding: 50px 0 30px;
        border-top: 1px solid #eeeeee;
        text-align: center;
    }

    .drp-dwqr-sticky .dwqr-inner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media (max-width: 520px) {
    .drp-cbm,
    .drp-dwqr-sticky {
        padding-right: 4px;
        padding-left: 4px;
    }

    .dwqr-inner {
        gap: 0;
    }

    .dr-btn-dwqr {
        -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        margin-right: 5px !important;
        margin-left: 5px !important;
    }

    .dr-btn-dwqr .ps-button-icon {
        top: 11px;
        height: 18px;
        font-size: 16px;
        line-height: 18px;
    }

    .dr-btn-dwqr > span {
        top: 30px;
        max-width: 50px;
        font-size: 11px !important;
        line-height: 16px !important;
    }

    .ps-modal-overlay {
        padding: 10px;
    }
}
