* {
    margin: 0;
    padding: 0;
}

@keyframes pop-up {
    from {
        transform: translateX(40px);
    }

    to {
        transform: translateX(0px);
    }
}

.dh {
    animation: pop-up 0.8s ease-out;
}

@keyframes pop-up1 {
    from {
        transform: translateY(40px);
    }

    to {
        transform: translateY(0px);
    }
}

.dh1 {

    animation: pop-up1 1s ease-out;
}

@font-face {
    font-family: 'family-name';
    src: url('');
    font-display: swap;
}

* {
    font-family: "family-name"
}


* {
  font-family: "MiSans" !important;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    background: url("https://api.rryyz.com/api-pic/bg-anhei.php");
    background-size: cover;
    background-position: center;

}

a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-user-select: none;
    -moz-user-focus: none;
    -moz-user-select: none;
    text-decoration: none;
    color: #ffffff;
}

.mian {
    width: 45%;
    margin-top: 150px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(9px);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 1px 1px 15px #d1d9e6, -1px -1px 15px #fff;
}

.main-top {
    width: 90%;
    display: flex;
    flex-direction: row;        /* 改为水平排列 */
    align-items: center;        /* 垂直居中 */
    justify-content: space-between; /* 两端对齐 */
    border-bottom: 1px solid #ccc;
    padding: 12px 0;            /* 减少上下内边距，降低高度 */
    /* 原 min-height 约 180px，现压缩到约 90px */
}

.main-bot {
    overflow-y: auto;
    width: 90%;
	height: 500px;
    display: flex;
    flex-direction: column;
    /* background: cornflowerblue; */
}

.main-top-title {
    display: flex;
    align-items: center;
    gap: 12px;                  /* 标题和头像间距 */
    margin-top: 0;              /* 移除原来多余的 margin */
    flex-shrink: 0;            /* 防止被压缩 */
}

/* Do you like me */
.like {
    padding-top: 20px;
    transform: scale(0.8);
}

/* 大标题 */
.main-top-title>h1 {
    font-size: 1.6em;           /* 原 2em，略微缩小 */
    color: #0a274d;
    margin: 0;
    white-space: nowrap;        /* 防止换行 */
}

/* 头像 */
.main-top-title>a>img {
    width: 56px;               /* 原 100px，缩小 */
    height: 56px;
    border-radius: 50%;        /* 改为圆形更精致，也可保留 12px */
    object-fit: cover;
    display: block;
}


/* 简介 */
.main-top-Brief {
    margin-top: 0;              /* 移除上边距 */
    text-align: right;          /* 右对齐 */
    flex-shrink: 1;            /* 允许收缩 */
    min-width: 0;              /* 防止溢出 */
}

.main-top-Brief>p {
    color: #637792;
    font-size: 15px;            /* 原 18px，略微缩小 */
    margin: 0;
    white-space: nowrap;        /* 单行显示 */
}


/* 图标 */
.main-top-tb {
    width: 100%;
    display: flex;
    flex-wrap: wrap;            /* 允许换行，避免溢出 */
    margin-top: 6px;            /* 减少与简介的间距 */
    gap: 2px;                  /* 图标间距 */
}

.main-top-tb>a {
    width: 38px;               /* 原 45px，略微缩小 */
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.main-top-tb>a>i {
    font-size: 20px;            /* 原 25px，略微缩小 */
    color: #8095b1;
    transition: all 0.15s;
}


/* 二标题 */
.main-bot-title {
    width: 100%;
    margin-top: 10px;
}

.main-bot-title>h3 {
    /* color: rgb(38, 52, 66); */
    color: #0a274d;
}



/* 内容 */
.main-bot-nr {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    row-gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main-bot-nr-kp {
    width: 100%;
    min-height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: chartreuse; */
}

.main-bot-nr-kp-k {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    /* background: chocolate;  */
    border-radius: 10px;
}

/* 图片 */
.main-bot-nr-kp-k-img {
    min-height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    /* background: cornflowerblue; */

}

.main-bot-nr-kp-k-img>img {
    width: 60px;
    height: 60px;
    display: block;
    transition: all 0.3s;
    border-radius: 10px;
    object-fit: cover;
    margin-left: 10px;
}



.main-bot-nr-kp-k-n {
    /* background: crimson; */
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

.p1 {
    font-size: 18px;
    color: rgb(38, 52, 66);
    /* color: #0a274d; */
    font-weight: bold;
    margin-right: 10px;
}

.p2 {
    font-size: 14px;
    /* color: #1c3952; */
    color: #637792;
    margin-top: 5px;
    margin-right: 10px;
}


/* 版权 */
.footer {
    /*position: absolute;*/
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    /* padding: 10px 0;
    margin-top: 20px; */
}

.footer-link {
    color: rgba(255, 255, 255, 1);
}

/* 动画区 */
.main-bot-tb-1>i:hover {
    transform: scale(1.2);
    color: #03a9f4;
}

.main-bot-tb-2>i:hover {
    transform: scale(1.2);
    color: #03a9f4;
}

.main-bot-tb-3>i:hover {
    transform: scale(1.2);
    color: #03a9f4;
}

.main-bot-tb-4>i:hover {
    transform: scale(1.2);
    color: #03a9f4;
}

.main-bot-nr-kp:hover .kkk {
    transform: scale(1.5);
    width: 90px;
}

.main-bot-nr-kp:hover .main-bot-nr-kp-k {
    background: rgba(255, 255, 255, 0.822);
}

@media screen and (max-width:1500px) {
    .mian {
        width: 65%;
    }

}

@media screen and (max-width:1150px) {
    .mian {
        width: 75%;
    }

}

@media screen and (max-width:1000px) {
    .mian {
        width: 85%;
    }

}

@media screen and (max-width:888px) {
    .mian {
        width: 100%;
        margin-top: 0px;
    }

    .main-bot-nr {
        grid-template-columns: 1fr;
    }
}

/* like card 样式 */
.likeCard {
    width: auto;
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 auto;
    padding: 20px;
    background: #ff9797;
    transition: background .2s;
    color: #fff;
    text-align: center;
  }
  
  .likeCard:hover {
    background: #ff8d8d;
  }
  
  .likeCard>h3 {
    font-size: 1.2em;
    margin-top: .4em;
    margin-bottom: 0;
    color: #fff;
  }