* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100%;
}

.player {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    background-color: rgb(var(--mdui-color-surface-container));
    transition: .3s;
}

.player.hidden {
    transform: translateY(100%);
}

.player__container {
    display: flex;
    justify-content: center;
}

.player__cover {
    width: 100px;
    height: 100px;
    background: center no-repeat;
    background-image: url(./radioreunion__1.1.png);
    background-size: cover;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(var(--mdui-color-primary), 0.5);
}

.player__playback, .player__playlist, .player__controls {
    display: flex;
    align-items: center;
}

.player__controls {
    gap: 1em;
}

.player__title, .player__artist {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.player__title {
    font-size: 1.1em;
}
.player__artist {
    opacity: .8;
    font-size: .8em;
}
.player__info {
    padding: 1em 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.player__progress {
    min-width: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: .5em;
}

@media screen and (max-width: 710px) {
    .player__info {
        max-width: calc(100vw - 212px);
        padding: 1em .5em;
    }
    .player__progress {
        min-width: 0;
        width: calc(100vw - 222px - 1em);
    }
}

.player__progress-bar {
    width: 100%;
    transform: scale(.95);
}
.player__time_elapsed, .player__duration {
    font-size: .8em;
}
.player__loading mdui-circular-progress {
    width: 40px;
    height: 40px;
    margin: auto;
}
.player__loading {
    width: 100px;
    height: 100px;
    display: none;
}

header {
    display: flex;
    padding: 30px;
    align-items: center;
    gap: 10px;
    position: fixed;
    z-index: 256;
    width: 100%;
    background: rgb(var(--mdui-color-surface));
}

.header__title {
    font-size: 1.3em;
    color: rgb(var(--mdui-color-primary));
    letter-spacing: 1px;
}

.welcome__illustration {
    background: url(https://pic1.imgdb.cn/item/693d9294fe7cfeca3823a17f.png) no-repeat center;
    width: 210px;
    height: 210px;
    background-size: cover;
}
.welcome__text {
    font-size: .8em;
    letter-spacing: 1px;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding-bottom: 2em;
    padding-top: 100px;
}
.welcome {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.app_page {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    transition: opacity .2s;
}

.app_page:not(#app_page__main) {
    display: none;
}

.playlist__title {
    font-size: 1.3em;
    letter-spacing: 1px;
    white-space: nowrap;
}

.playlist__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 23px;
}
.playlist__item_cover {
    width: 60px;
    height: 60px;
}

.playlist__playlist mdui-list-item::part(headline), .playlist__playlist mdui-list-item::part(description) {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search__container {
    display: flex;
    width: 100%;
    max-width: 790px;
    flex-direction: column;
    align-items: center;
    padding: 1em 1.5em;
}

.search__result {
    width: 100%;
    max-width: 790px;
}

@media screen and (max-width: 340px) {
    .player__progress {
        display: none;
    };
};

.search__loading {
    display: none;
}


.featured__container {
    width: 100%;
    max-width: 790px;
}

mdui-tab::part(icon) {
    margin-right: 10px;
}

.featured__loading_container {
    display: flex;
    justify-content: center;
    padding: 2em;
}

.featured__item_cover {
    width: 100px;
    height: 100px;
}

/* lyrics page */
.lyrics__container{
    height: calc(100vh - 200px - 2em);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    max-width: 790px;
    width: 100%;
}
.lyrics__container ul{
    transition: 0.3s;
    width: 100%;
    text-align: center;
}
.lyrics__container li{
    height: auto;
    line-height: 1.5;
    transition: 0.3s;
    list-style: none;
    color: rgb(var(--mdui-color-secondary));
    opacity: .8;
    width: fit-content;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.lyrics__container li.active{
    color: rgb(var(--mdui-color-primary));
    opacity: 1;
    font-size: 116%;
}

.lyrics__loading_wrapper {
    display: none;
    justify-content: center;
    padding: 2em;
}

.playlist__title_badge {
    transform: translate(-8px, -14px);
    display: none;
    background: rgb(var(--mdui-color-primary));
}

mdui-badge {
    padding: revert-layer;
}

.welcome_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--mdui-color-background));
    display: flex;
    transition: opacity .3s ease-out;
    z-index: 512;
}

.welcome__content {
    margin: auto;
    text-align: center;
}

.welcome__content .header__title {
    padding-bottom: .875rem;
}

.welcome__desc {
    display: flex;
    gap: 12px;
}

.detail__actions {
    margin-left: auto;
}

.mv__video {
    max-width: 46%;
    border-radius: 1em;
}

@media screen and (max-width: 425px) {
    .mv__video {
        max-width: 94%;
    }
}

/* .search__tabs {
    display: none;
} */

.search__loading, .stations__loading {
    display: none;
    justify-content: center;
    padding: 40px;
}

.search__history_list {
    max-width: none;
    max-height: 34vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.search__history_list mdui-menu-item::part(end-icon) {
    transform: scale(.6);
}

.search__clear_history::part(label) {
    text-align: right;
}

.start_options {
    display: flex;
    justify-content: center;
    padding-top: 2em;
}

.start__options_list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.start__options_list mdui-list-item {
    min-width: 248px;
    border: 2px solid rgb(var(--mdui-color-primary));
    border-radius: calc(var(--shape-corner-rounded) + 2px);
}

@media screen and (max-width: 763px) {
    .start_options {
        padding-top: 0;
    }
}


.header__account__user_wrapper, .header__account__login_wrapper {
    display: none;
    width: 40px;
    height: 40px;
}

.home_page__title {
    margin-right: auto;
}

.login__icon {
    width: 48px;
    height: 48px;
    background: url(./netease_icon.svg) no-repeat center;
    background-size: contain;
}

.login__container {
    width: 100%;
    max-width: 400px;
    padding: 0 10px;
}

.login__card {
    width: 100%;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.2em;
}

.login__form_wrapper, .login__input_wrapper {
    display: flex;
    flex-direction: column;
    gap: .8em;
    width: 100%;
}

.login__form_wrapper {
    gap: 1.1em;
}

.login__login_btn {
    height: 33px;
    width: 100%;
}

.login__qr_wrapper, .login__account_method_btn {
    display: none;
}

.login__qr_wrapper {
    justify-content: center;
    align-items: center;
}

.mv__title {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 1px;
}

.detail__more_btn {
    width: 36px;
    height: 36px;
}

/* comments page */
.comments__wrapper {
    display: flex;
    gap: 1em;
    padding: 1.4em;
    width: 100%;
    max-width: 790px;
}

.comments__contents_wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
    width: 100%;
}

.comments__nickname {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.comments__content {
    line-height: 1.5;
}

.comments__quote_wrapper {
    padding: 1em;
    line-height: 1.5;
    background-color: rgb(var(--mdui-color-surface-container));
    font-size: .875rem;
    width: 100%;
}

.comments__datetime {
    font-size: .875rem;
    opacity: .8;
}

.comments__view_replies_btn {
    height: 36px;
    width: fit-content;
    margin-left: auto;
}

mdui-dialog::part(panel) {
    max-width: 94%;
    max-height: 65%;
}

.comments__replies__owner_comment {
    background-color: rgb(var(--mdui-color-surface-container));
}


.lyrics__container li:hover {
    background: rgba(var(--mdui-color-surface-container), 0.5);
    padding: 4px 8px;
    border-radius: var(--mdui-shape-corner-small);
}

.lyrics__container ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.login__qr__img.expired {
    filter: blur(5px) brightness(.6);
}

.login__form__qr__info {
    text-align: center;
    font-size: 14px;
}

.account__logout::part(icon), .account__logout::part(label) {
    color: rgb(var(--mdui-color-error));
}

.header__username::part(label) {
    font-size: 1rem;
    color: inherit;
}



@media screen and (max-width: 949px) {
    .album__info_wrapper {
        display: none;
    }
}

.lyrics__detail__wrapper {
    display: flex;
    gap: 32px;
    align-items: center;
}

.lyrics__album__cover {
    border-radius: var(--mdui-shape-corner-medium);
    width: 417px;
    height: 417px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
}

.discover__card {
    padding: 1.1em;
    display: flex;
    gap: 11px;
    align-items: center;
}

.discover__card, .discover__card mdui-icon {
    font-size: 1.4rem;
}

.personal_fm__skip, .personal_fm__stop {
    display: none;
}

.lyrics__song_details {
    font-size: .875rem;
    opacity: .9;
    line-height: 1.5;
}