* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #E6EAEB;
    font-family: Arial, '微锟斤拷锟脚猴拷', '锟斤拷锟斤拷', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* 确保页面占满整个视口高度 */
    flex-direction: column; /* 垂直布局 */
}

.model-content {
    background: #FFFFFF;
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
    border-radius: 20px;
    width: 420px;
    position: relative;
    max-width: 100%; /* 确保在小屏设备上不超出宽度 */
    padding: 20px;
}
/* 为包含域名的div设置样式，避免文本溢出 */
.ellipsis {
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden;    /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 使用省略号表示超出部分 */
}
/* 当屏幕小于768px时适配手机 */
@media screen and (max-width: 768px) {
    .model-content {
        width: 90%; /* 更改宽度使内容在手机上适配 */
        font-size: 18px;
    }
}

@media screen and (min-width: 769px) {
    .model-content {
        font-size: 22px;
    }
}

/* 加入loading动画样式 */
.loading {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    25% {
        -webkit-transform: rotate(90deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
    }
    75% {
        -webkit-transform: rotate(270deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

/* 按钮居中 */
.btn {
    background: rgba(58, 102, 146, 0.5);
    border-radius: 5px;
    width: 300px;
    margin: 0px auto;
    text-align: center;
    font-size: 22px;
    color: #fff;
    padding: 12px 0;
    cursor: pointer;
}

/* 弹窗内容 */
.flex-space-between {
    display: -webkit-flex; /* Safari */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.round {
    text-align: center;
    background: #fff;
    border-radius: 50%;
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: absolute;
    top: -60px;
    left: calc(50% - 60px);
}

/* 居中操作 */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.text-center {
    text-align: center;
}

/* 让`.h5`和`.pc`在不同屏幕大小下正确显示 */
.h5, .pc {
    width: 100%;
    text-align: center;
}
