.qq-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 2410;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}
.qq-pay-modal[hidden] { display: none; }
.qq-pay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 18, .55);
    backdrop-filter: blur(8px);
}
.qq-pay-dialog {
    position: relative;
    width: min(400px, 100%);
    background: #fff;
    border: 1px solid var(--qq-border, #e3e8ef);
    border-radius: 20px;
    box-shadow: 0 28px 70px -24px rgba(15, 23, 42, .45);
    padding: 28px 28px 24px;
    color: var(--qq-text, #0b1220);
    text-align: center;
    font-family: var(--qq-font, Inter, "PingFang SC", "Microsoft YaHei", sans-serif);
}
.qq-pay-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    color: #8a97ab;
}
.qq-pay-x:hover { background: #f6f8fa; color: #0b1220; }
.qq-pay-head h2 { font-size: 22px; font-weight: 800; }
.qq-pay-sub { margin-top: 8px; font-size: 14px; color: #64748b; }
.qq-pay-amt {
    margin: 16px 0 8px;
    font-family: var(--qq-mono, ui-monospace, monospace);
    font-size: 28px;
    font-weight: 800;
    color: #0b1220;
}
.qq-pay-qr {
    margin: 12px auto 8px;
    width: 220px;
    min-height: 220px;
    display: grid;
    place-items: center;
    background: #f6f8fa;
    border-radius: 16px;
}
.qq-pay-qr img { width: 200px; height: 200px; border-radius: 12px; }
.qq-pay-wait,
.qq-pay-fail { color: #64748b; font-size: 14px; padding: 24px; }
.qq-pay-wait i,
.qq-pay-fail i { display: block; font-size: 22px; margin-bottom: 8px; }
.qq-pay-hint { font-size: 13px; color: #64748b; }
.qq-pay-msg { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.qq-pay-msg.is-ok { color: #4d7c0f; }
.qq-pay-msg.is-error { color: #b42318; }
