.background-mask {
    position: fixed;
    inset: 0;
    z-index: 0
}

.background {
    width: 100%;
    height: 100%;
    background: url(https://gh.xiaozhao233.top/blog/background/brighton-pier-sunset/background-compressed-1.webp) center center/cover no-repeat
}

.index-window {
    position: fixed;
    z-index: 1;
    margin: auto;
    inset: 0;
    width: 650px;
    height: 450px;
    border-radius: 10px;
    background: #fffb;
    backdrop-filter: blur(5px);
    box-shadow: 3px 3px 3px #0005;
    overflow: hidden;
    user-select: none
}

#player {
    box-shadow: rgba(0, 0, 0, .5) 0 0 15px;
    border: none;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 320px;
    height: 105px;
    bottom: 10px;
    right: -320px;
    transition: .2s;
}

#player .cover {
    position: absolute;
    height: 85px;
    width: 85px;
    left: 10px;
    top: 10px;
    border-radius: 8px;
}

#player .name {
    position: absolute;
    margin: 0;
    font-size: 22px;
    left: 110px;
    top: 14px;
    color: #000;
}

#player .artist {
    position: absolute;
    margin: 0;
    font-size: 16px;
    left: 110px;
    top: 46px;
    color: #000;
}

#player .lyrics {
    position: absolute;
    font-size: 14px;
    bottom: 16px;
    left: 110px;
    white-space: nowrap;
    color: rgba(0, 0, 0, .6);
}


.main {
    top: 0;
    left: 0;
    position: absolute;
    width: 280px;
    height: calc(100% - 20px);
    text-align: center;
    padding: 10px;
    display: inline-flex;
    background: #fff;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
    overflow: hidden;
    z-index: 1;
}

.avatar {
    width: 100px;
    height: 100px;
    border: 1px solid #0005;
    border-radius: 50px
}

.avatar.turn-round {
  animation: turn-round 1s ease-in-out forwards;
}

@keyframes turn-round {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

line {
    display: block;
    margin-bottom: 10px;
}

.intro {
    font-size: 1em;
    margin-top: 20px;
    overflow: hidden;
    transition: .5s;
}

        .intro-iink {
            text-decoration:none;
            margin-left: 1%;
            margin-right: 1%;
            position: relative;
        } 
        
        .hidream{
            color: #00a1ff;
        }
        
        .hidream:before{
            background-color: #00a1ff;
        }
        
        .nlrdev{
            color: #00b935;
        }
        
        .nlrdev:before{
            background-color: #00b935;
        }

        .intro-iink:before {
          content: "";
          position: absolute;
          width: 100%;
          height: 1px;
          bottom:-1px;
          left: 0;
          visibility: hidden;
          transform: scaleX(0);
          transition: all 0.3s ease-in-out 0s;
        }
        
        .intro-iink:hover:before {
          visibility: visible;
          transform: scaleX(1);
        }
        
        .intro-iink:active{
            opacity:0.8;
        }

.buttons {
    position: absolute;
    display: inline-flex;
    padding: 15px;
    right: 0;
    top: 0;
    bottom: 0;
    left: 300px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.page-btn {
    transition: .2s;
    cursor: pointer;
    height: 55px;
    width: 80%;
    display: flex;
    align-items: center;
    margin: 15px 0;
    flex-direction: row;
    background: #fffa;
    padding: 5px;
    border-radius: 10px;
    overflow: hidden;
}

.btn-img {
    width: 50px;
    height: 50px;
    margin: 0 12px;
}

.btn-title {
    display: block;
    font-size: 1.2em
}

.msg {
    position: absolute;
    top: 45px;
    width: 80px;
    padding: 5px;
    min-height: 25px;
    background: #eee;
    border-radius: 10px 10px 0 10px;
    left: 10px;
    transition: .5s;
}

.msg.hidden {
    opacity: 0
}

.page-btn:active {
    transform: scale(.98)
}

.main.hidden {
    left: -500px;
}

.buttons.left {
    left: -200px;
    right: 650px;
}

.page {
    position: absolute;
    height: calc(100% - 45px);
    left: 650px;
    width: 650px;
    right: 0;
    transition: left .5s;
    overflow: scroll;
    text-align: center;
    margin-top: 45px;
    z-index: 1;
}

.page.show {
    left: 0;
}

.page>iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

list {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    color: #000c;
}

list::before, list::after {
    content: '';
    display: inline-block;
    width: 70px;
    height: 1px;
    margin: 0 7px;
    background: #0008;
}

.page::-webkit-scrollbar {
    display: none;
}

a {
    display: inline-block;
    width: 50%;
    text-decoration: none;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    margin: 5px;
    transition: .1s;
    background: #fffb;
    cursor: default;
}

a:hover {
    background: #fff;
}

a::before {
    content: '>';
    font-family: fangsong;
    float: left;
    width: 0;
    overflow: hidden;
    transition: .1s;
}

a:hover::before {
    width: 30px;
}

.btn-right {
    white-space: nowrap;
}

.header {
    position: absolute;
    width: calc(100% - 20px);
    /*z-index: 1;*/
    z-index: 2;
    height: 25px;
    padding: 5px 10px;
    text-align: center;
    background: #fffa;
    top: -35px;
    border-radius: 10px;
    transition: top .5s;
}

.back-btn {
    float: left;
    cursor: pointer;
    height: 100%;
    width: 25px;
}

.header.show {
    top: 0;
}

@media screen and (max-width: 600px) {
    .index-window {
        height: 100%;
        width: 100%;
        border-radius: 0;
    }

    .main {
        height: 150px;
        width: calc(100% - 50px);
        margin: 0 10px;
        top: 20%;
        border-radius: 10px;
        background: #fffe;
    }

    .main.hidden {
        right: calc(100% - 50px);
    }

    .avatar {
        width: 80px;
        height: 80px;
        border: 1px solid #0005;
        border-radius: 40px
    }

    .intro {
        height: 0;
        margin-top: 0;
        opacity: 0;
        overflow: scroll;
    }

    .main.show {
        height: 50%;
        top: 25%;
    }

    .main.show .intro {
        height: 150px;
        margin-top: 20px;
        opacity: 1;
    }

    .buttons {
        left: 0;
        top: calc(20% + 200px);
        justify-content: start;
        bottom: 0;
        opacity: 1;
    }

    .buttons.hidden {
        opacity: 0;
    }

    .page-btn {
        margin: 5px 0;
        width: calc(100% - 30px);
    }

    .page {
        left: 100vw;
        width: 100%;
        height: calc(100% - 45px);
    }

    a {
        width: 70%;
    }

    .header {
        margin: 5px;
        margin-bottom: 0;
        width: calc(100% - 30px);
        top: -40px;
    }

    .msg {
        left: 20px;
        top: 10px;
    }

    .main.show .msg {
        width: 100px;
        top: 30px;
        left: 10px;
    }
}

.main-title {
    margin-top: 0.7em;
    margin-bottom: 0;
    font-size: 1.5em;
}

* {
    -webkit-tap-highlight-color: transparent;
}

p {
    margin: 5px 0;
}

@media screen and (min-width: 600px) {
    .main.show {
        width: calc(100% - 170px);
        left: 75px;
        height: calc(100% - 120px);
        top: 50px;
        border-radius: 10px;
    }

    .main.max {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        left: 0;
        top: 0;
    }

    .buttons.hidden {
        left: 75px;
        right: 75px;
        top: 50px;
        bottom: 50px;
    }

    .main.show .msg {
        width: 150px;
        left: 20px;
    }

    .main.max .msg {
        left: 100px;
        top: 50px;
    }
}

.full-screen {
    position: absolute;
    z-index: 2;
    border: none;
    padding: 10px;
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    background: rgb(12, 12, 12);
    display: none;
}

.full-screen.show {
    display: block;
}

.page-btn:hover {
    background: #fff;
    box-shadow: 0 0 3px #0001;
}

.page-btn::before {
    height: 10%;
    transition: .2s;
    opacity: 0;
    width: 5px;
    background: #00a1ff;
    border-radius: 3px;
    content: '';
}

.page-btn:hover::before {
    height: 60%;
    opacity: 1;
}