* {
  padding: 0;
  margin: 0;
  font-size: 16px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  list-style: none;
}

@unocss all;

@font-face {
    font-display: swap;
    font-family: HarmonyOS-Sans;
    src: url('../font/HarmonyOS-Sans.woff2') format("truetype");
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes grow {
    0% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 150% 150%;
    }
}

@keyframes grow {
    0% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 150% 150%;
    }
}

@media screen and (max-width: 800px) {

    input,
    textarea,
    .ivu-select {
        font-size: 16px !important;
    }
}


.rotate-animation {
    animation: rotate 5s linear infinite;
}

.text-color-link {
    color: #576b95;
}

.bg-color-primary {
    background-color: #f7f7f7;
}

* {
    cursor: default;
    font-family: 'HarmonyOS-Sans', '微软雅黑', "Microsoft Yahei";
}

body {
    cursor: default;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'HarmonyOS-Sans', '微软雅黑', "Microsoft Yahei";
}

input::placeholder {
    color: #c6c6c6;
}

.hudong:hover {
    background-color: #dedede;
}


.hudong-container {
    width: 120px;
    border-radius: 5px;
}


.article-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #111111;
}

.dark .article-content a {
    color: #cccccc;
}

.article-content a:hover {
    cursor: pointer;
}

.article-content img {
    max-width: 100%;
}

.article-content>p {
    margin: 0;
}

.article-content>ul {
    margin: 0;
}

.article-content pre>code {
    text-wrap: wrap;
}

.multi-pictures {
    width: calc(100% - 45px);
}

.scrollload-bottom {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    color: #333;
}

.dark .scrollload-bottom {
    color: #cccccc;
}

.comment-waiting {
    font-size: 12px;
    background-color: #e6e6e6;
    color: #999;
}

.friend-container {
    width: 32rem;
    max-height: 50%;
}

@media screen and (min-width: 567px) {
    .main-container {
        max-width: 567px;
    }

    .top-container {
        max-width: 567px;
    }

    .side-area {
        display: block;
    }

    .music-card {
        height: 80px;
        width: 66.66%;
    }

    .music-card-text {
        font-size: 15px;
        width: 160px;
    }

    .music-card-play-position {
        position: absolute;
        right: 20px;
        top: 20px;
    }
}

@media screen and (max-width: 567px) {
    .main-container {
        width: 100%;
        min-width: 300px;
    }

    .top-container {
        width: 100%;
        min-width: 300px;
    }

    .side-area-left {
        display: none;
    }

    .side-area {
        /*display: none;*/
        right: 1rem;
        bottom: 2rem;
    }

    .friend-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
    }

    .side-area>div {
        width: 32px;
        height: 32px;
    }

    .side-area svg {
        width: 24px;
        height: 24px;
    }

    .music-card {
        height: 60px;
        width: 75%;
    }

    .music-card-text {
        font-size: 12px;
        width: 100px;
    }

    .music-card-play-position {
        position: absolute;
        right: 12px;
        top: 12px;
    }
}
/* 左下角悬浮音乐卡片 */
.xfyykp {
    width: 200px;
    height: 140px;
    position: fixed;
    left: -300px;
    bottom: 130px;
    z-index: 999;
    border-radius: 0 20px 20px 0;
    background: url(../bg-cat-main.png) no-repeat top;
    background-size: 100% auto;
    padding-top: 30px;
    transition: left 1s linear 0s;
}

.bfq {
    width: 100%;
    height: 140px;
    background-image: linear-gradient(180deg, #FFF2EF 0%, #FFFFFF 50%);
    box-shadow: rgb(255, 209, 216) 0px 1px 4px 0px inset;
    display: flex;
    padding-top: 10px;
}

.yykjtop{
    display: flex;
}

.gqxx{
    width: 120px;
    height: 60px;
    padding: 0 5px;
}

.yyfm {
    width: 50px;
    height: 50px;
    flex-shrink: 0;/*防止被压缩*/
}

.yyfm img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 3px solid #FFD1D8;
}

.yykj {
    width: 210px;
    padding: 0 10px;
}

.yykj h2 {
    color: #ffa9b8;
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#yyzuozhe {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #78c1ff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    font-size: 13px;
}

.xys:active {
    position: relative;
    left: 5px;
}

.bfzt:active {
    position: relative;
    left: 5px;
}

.kjy:active {
    position: relative;
    left: 5px;
}

.jindutiao {
    height: auto;
}

#progressBar {
    width: 100%;
    height: 10px;
    border-radius: 20px;
    background-color: #ccc;
    position: relative;
    overflow: hidden;
}

#progressBar .progress {
    height: 100%;
    border-radius: 20px;
    background-color: #ffa9b8;
    position: absolute;
    top: 0;
    left: 0;
}

.yyshijian {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.bfqan {
    display: flex;
    justify-content: space-around;
}

.bfqan div svg {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.bfqan div {
    width: 20px;
    height: 20px;
    overflow: hidden;
}

#yousheng {
    display: block;
}

.zkan {
    width: 30px;
    height: 140px;
    line-height: 160px;
    background-color: #FFD1D8;
    position: absolute;
    border-radius: 0 15px 15px 0;
    right: -30px;
    top: 30px;
}

#zkxtbx {
    width: 30px;
    height: 140px;
    line-height: 160px;
}

.zkan svg {
    width: 30px;
    height: 30px;
    transform: scaleX(1);
    transition: transform 0.5s linear 0s;
}
