body.mivo-wx-open .modal-backdrop.in {
    background:rgba(55,72,97,.43); opacity:1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
#zibpay_modal.mivo-wx-modal .modal-dialog {width:min(360px, calc(100% - 32px)); margin:auto}
#zibpay_modal.mivo-wx-modal .modal-pay-body {padding:0}
#zibpay_modal.mivo-wx-modal .row-5 {width:100%; margin:0}
#zibpay_modal.mivo-wx-modal .row-5.hide-sm,
#zibpay_modal.mivo-wx-modal .qrcon,
#zibpay_modal.mivo-wx-modal .pay-switch {display:none}
#zibpay_modal.mivo-wx-modal .pay-qrcon {
    background:var(--main-bg-color, white);
    border-radius:16px;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    overflow:auto;
    box-shadow:0 24px 64px -12px rgba(15,23,42,.22);
}
#zibpay_modal.mivo-wx-modal .pay-qrcon > [data-dismiss] {
    inset:12px 12px auto auto; margin:0; transform:none; width:32px; height:32px;
    background:transparent; color:var(--muted-color); z-index:1;
}
#zibpay_modal.mivo-wx-modal .notice:not(.danger):not(.success) {display:none}
#zibpay_modal.mivo-wx-expired .mivo-wx-details img {filter:blur(3px)}
.mivo-wx-card {
    --wx-panel:#f7f9fc;
    --wx-line:#e8edf2;
    padding:20px;
    background:linear-gradient(180deg,rgba(7,193,96,.065),transparent 115px);
    color:var(--main-color,#223045); text-align:center;
}
.mivo-wx-card h2 {
    display:flex; align-items:center; justify-content:center; gap:8px;
    margin:0 26px; font-size:16px; line-height:25px; font-weight:650;
}
.mivo-wx-card h2 i {display:grid; place-items:center; width:24px; height:24px; border-radius:7px; color:white; background:#07bf64; font-size:15px}
.mivo-wx-amount,.mivo-wx-details {
    border:1px solid var(--wx-line); border-radius:15px;
    background:var(--wx-panel);
}
.mivo-wx-amount {padding:12px; margin:16px 0 12px}
.mivo-wx-amount-label {display:block; font-size:13px; color:var(--muted-color)}
.mivo-wx-amount > div {display:flex; justify-content:center; align-items:baseline; gap:3px; color:var(--main-color)}
.mivo-wx-amount strong {font-size:32px; line-height:1.3; font-variant-numeric:tabular-nums}
.mivo-wx-amount .pay-settle-mark,.mivo-wx-amount .pay-settle-unit {font-size:14px}
.mivo-wx-details {display:grid; grid-template-columns:104px minmax(0,1fr); align-items:center; gap:12px; padding:14px; margin-bottom:16px}
.mivo-wx-details img {width:104px; height:104px; background:white; border:6px solid white; border-radius:9px; image-rendering:pixelated}
.mivo-wx-link {text-align:left; color:var(--muted-color,#64748b); font-size:12px}
.mivo-wx-link-heading {display:flex; justify-content:space-between; align-items:center; gap:8px}
.mivo-wx-link-heading .mivo-wx-copy {min-height:32px; padding:4px 10px; border:0; border-radius:6px; background:var(--main-bg-color); color:var(--focus-color); font-weight:600; cursor:pointer}
.mivo-wx-link > span {display:block; margin-top:3px; overflow-wrap:anywhere; font-size:12px; line-height:1.5; user-select:all}
.mivo-wx-btn {
    display:flex; align-items:center; justify-content:center; gap:8px; box-sizing:border-box;
    width:100%; min-height:44px; border-radius:12px; font-size:14px; font-weight:600; cursor:pointer;
}
.mivo-wx-card .mivo-wx-save {margin-top:8px; background:rgba(7,193,96,.08); border:1px solid rgba(7,193,96,.24); color:#078849}
.mivo-wx-card .mivo-wx-help {margin:8px 0; color:var(--muted-color,#64748b); font-size:11px; line-height:1.55; text-align:left}

.dark-theme .mivo-wx-card {--wx-panel:var(--muted-bg-color); --wx-line:var(--muted-border-color)}
.mivo-wx-deadline:not(:empty) {display:block; margin-top:5px; color:var(--muted-color); font-size:11px}
.mivo-wx-deadline [data-countdown] {background:none; margin:0; padding:0}

.mivo-wx-card .mivo-wx-save-status:empty {display:none}
.mivo-wx-card .mivo-wx-save-status {margin:8px 0; color:var(--main-color); font-size:13px}
.mivo-wx-details img {-webkit-touch-callout:default; -webkit-user-select:auto; user-select:auto}
