* {
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                        Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    body {
        margin: 0;
        min-height: 100vh;
        background: linear-gradient(135deg, #667eea, #764ba2);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .card {
        background: #fff;
        width: 100%;
        max-width: 640px;
        border-radius: 18px;
        padding: 32px 28px 28px;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.15);
    }

    .title {
        text-align: center;
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }

    .tip {
        text-align: center;
        font-size: 14px;
        color: #e53e3e;   /* 红色提示 */
        margin-bottom: 10px;
        line-height: 1.5;
    }


    .input-group {
        margin-bottom: 20px;
    }

    /* 第一个输入框（短） */
    .input-group input {
        width: 100%;
        height: 60px;
        padding: 0 18px;
        font-size: 16px;
        border-radius: 14px;
        border: 1px solid #ddd;
        outline: none;
        transition: all 0.2s;
    }

    /* 后两个输入框（长，可滚动） */
    .input-group textarea {
        width: 100%;
        height: 108px;
        padding: 16px 18px;
        font-size: 16px;
        border-radius: 14px;
        border: 1px solid #ddd;
        outline: none;
        resize: none;
        overflow-y: auto;
        transition: all 0.2s;
        line-height: 1.5;
    }

    .input-group input:focus,
    .input-group textarea:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    }

    .button-group {
        display: flex;
        gap: 14px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .button-group button {
        flex: 1;
        min-width: 120px;
        height: 48px;
        border-radius: 12px;
        border: none;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.2s;
        color: #fff;
    }

    .btn-primary {
        background: #667eea;
    }

    .btn-secondary {
        background: #48bb78;
    }

    .btn-danger {
        background: #f56565;
    }

    .button-group button:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    @media (max-width: 480px) {
        .card {
            padding: 24px 18px;
        }

        .title {
            font-size: 20px;
        }

        .tip {
            font-size: 13px;
            color: #f56565;
        }

        .button-group button {
            flex: 100%;
        }
    }

    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        color: #fff;
        font-size: 20px;
        display: none;  /* 默认隐藏 */
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #overlay .spinner {
        padding: 20px 40px;
        background: rgba(0,0,0,0.8);
        border-radius: 10px;
        text-align: center;
        }



#confirmMask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.confirmBox {
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px 18px;
    text-align: center;
}

.confirmTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.confirmItem {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    word-break: break-all;
}

.confirmBtns {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.confirmBtns button {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.btn-cancel {
    background: #e2e8f0;
    color: #333;
}

.btn-ok {
    background: #667eea;
    color: #fff;
}
.wallet-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-link-wallet {
    margin-left: 10px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #ff8c00;
    color: #fff;
}

.btn-link-wallet:hover {
    opacity: 0.85;
}
