@charset "utf-8";

/* foot栏 */
.foot_block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: calc(2*var(--margin));
    padding: 1rem;
    font-size: 0.75rem;
    line-height: 2rem;
    -webkit-column-break-inside: avoid;
    position: relative;
    background: var(--background);
    color: var(--main);
    box-shadow: var(--box-shadow);
    border-top: var(--border);
    border-bottom: var(--border);
}
.foot_block .foot_left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}
.foot_block .foot_left_icon {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
}
.foot_block .foot_left_icon a {
    width: 2rem;
}
.foot_block .foot_left a img{
    width: auto;
    height: 1.5rem;
    border-radius: 50%;
}
.foot_block .foot_right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.foot_block .foot_right span{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}
.foot_block .foot_right i{
    font-size: 0.875rem;
    margin: 0.0875rem;
    color: var(--theme);
    position: relative;
    line-height: 0.0875rem;
}
.foot_block span img{
    width: 0.875rem;
    height: 0.875rem;
    margin: 0 0.125rem;
}



/* end栏 */
.end_block {
    position: sticky;
    bottom: var(--margin);
    z-index: 9;
    font-size: 1.25rem;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 7rem;
    height: 4.5rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    background: var(--background);
    transition: 0.5s;
    -webkit-transition: 0.5s;
}
.end_block:hover {
    background: var(--background-color);
}
.end_block .end_left{
    display: flex;
    flex-direction: row;
    gap: var(--gap);
    align-items: center;
    padding: var(--margin) 0;
}
.end_block .avatar{
    padding: 0.2rem;
    width: 2rem;
    height: 2rem;
}
.end_block .user_avatar{
    position: absolute;
    bottom: 1.25rem;
    left: 1rem;
    background: var(--background);
    border-radius: 50%;
}
.end_block .user_avatar .avatar{
    width: 5rem;
    height: 5rem;
    padding: 0.3rem;
    position: sticky;
    bottom: var(--margin);
    z-index: 9;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.end_websiteinfo {
    display: none;    
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}
.end_websiteinfo .title {
    font-size: 1.25rem;
    text-shadow: var(--text-shadow);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    max-width: 75%;
    word-break: break-all;
    font-weight: bold;
}
.end_websiteinfo .desc {
    font-size: 1rem;
    text-shadow: var(--text-shadow);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-width: 90%;
    word-break: break-all;
}
.endpopup_musiclist {
    background: var(--background-color);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 0px;
    overflow-y: hidden;
    z-index: 8;
    border-radius: var(--radius);
    position: absolute;
    width: 100%;
    left: 0;
    height: 0px;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    transition-delay: 0.2s;
}
.end_block .ToMusic[music_type='netease_single']:hover .endpopup_musiclist,
.end_block .ToMusic[music_type='qq_single']:hover .endpopup_musiclist{
    height: 130px;
    opacity: 1;
}
.end_block .ToMusic[music_type='netease_list']:hover .endpopup_musiclist,
.end_block .ToMusic[music_type='qq_list']:hover .endpopup_musiclist,
.end_block .ToMusic[music_type='qq_album']:hover .endpopup_musiclist{
    height: 340px;
    opacity: 1;
}
.endpopup_paint {
    background: var(--background-color);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    overflow-y: hidden;
    z-index: 8;
    border-radius: var(--radius);
    position: absolute;
    left: 0;
    height: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    transition-delay: 0.2s;
    
    color: var(--colorE);
    display: flex;
    flex-direction: row;
    gap: var(--margin);
    flex-wrap: wrap;
}
.endpopup_paint .anniu{
    width: 5rem;
    height: 4rem;
}
.endpopup_paint .anniu.anniu_on{
    box-shadow: 0px 0px 3px 2px var(--theme-30);
}
.endpopup_paint .line{
    display: flex;
    flex-direction: row;
    gap: var(--margin);
    align-items: center;
    flex-wrap: wrap;
    padding-left:1rem;
}
.endpopup_paint [Paint=Paint_default]{
    background: white;
    border: 1px solid var(--colorA);
}
.endpopup_paint [Paint=Paint_1]{
    background: linear-gradient(90deg,rgba(247,149,51,.1),rgba(243,112,85,.1) 15%,rgba(239,78,123,.1) 30%,rgba(161,102,171,.1) 44%,rgba(80,115,184,.1) 58%,rgba(16,152,173,.1) 72%,rgba(7,179,155,.1) 86%,rgba(109,186,130,.1)),white;
}
.endpopup_paint [Paint=Paint_2]{
    background: linear-gradient(90deg, rgb(0 0 0 / 10%) 10%, transparent 0), linear-gradient(1turn, rgb(0 0 0 / 10%) 10%, transparent 0),white;
    background-size: 6px 6px;
    background-position: 50%;
    background-repeat: repeat;
}
.endpopup_paint [Paint=Paint_3]{
    background: linear-gradient(90deg,rgba(247,149,51,.1),rgba(243,112,85,.1) 15%,rgba(239,78,123,.1) 30%,rgba(161,102,171,.1) 44%,rgba(80,115,184,.1) 58%,rgba(16,152,173,.1) 72%,rgba(7,179,155,.1) 86%,rgba(109,186,130,.1)),white;
}
.endpopup_paint [Paint=Paint_4]{
    background: var(--background-colorA-read);
}
.endpopup_paint [Paint=Paint_IMG]{
    padding: 0;
    object-fit: cover;
}
.endpopup_paint [Paint=Paint_Star]{
    background: rgb(71 73 78 / 90%);
}
.endpopup_paint [Paint=Paint_Moon]{
    background: linear-gradient(to bottom,#333467 0%,#256fa1 87%);
}
.endpopup_paint .line:first-child{
    border-left:unset;
    padding-left:unset;
}
.end_block .ToPaint:hover .endpopup_paint {    
    opacity: 1;
    visibility: visible;
}
@-moz-document url-prefix() {
    .endpopup_musiclist {
        background: var(--background);
    }
    .endpopup_paint {
        background: var(--background);
    }
}
.end_block .endmenu_word {
    opacity: 0;
    position: absolute;
    left: 3.5rem;
    font-size: 1rem;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
/* pjax按钮 */
.end_block .pjax_end_area {
    display: flex;
    font-size: 0.9rem;
    flex-direction: row;
    gap: var(--gap);
    align-items: center;
    border: unset;
    border-left: 1px solid var(--colorA);
    height: 50%;
    padding-left: var(--gap);
}
/* 底栏正文评论区按钮隐藏 */
.end_block .post_comments_part {
    display: none;
}
.end_block .percentage{
    display: none;
    width: 2rem;
}
.end_block .percentage .num{
    letter-spacing: 0;
}

/* 侧栏 */
.aside_blogger_info {
    position: relative;
    padding: 0;
    overflow: hidden;
}
.aside_blogger_info .back{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    -webkit-mask: linear-gradient(to top, rgb(0 0 0 / 0%), #000000 25rem);
}
.aside_blogger_info .back video,
.aside_blogger_info .back img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aside_blogger_info .info{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--margin);
    height: 100%;
    justify-content: center;
    height: 20rem;
}



.author_name {
    color: var(--main);
    text-shadow: var(--title-shadow);
    line-height: 1.75rem;
    padding: 0 var(--margin);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    word-break: break-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
}
.author_avatar .avatar {
    padding: 0.35rem;
    width: 7rem;
    height: 7rem;
}
.user_icon {
    color: var(--main);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 1rem;
}
.user_icon a {
    width: 2rem;
    background: var(--background);
}
.user_icon a img{
    width: auto;
    height: 1.5rem;
    border-radius: 50%;
}
aside section:last-child{
    position: sticky;
}
/* 标题文字 */
.aside_section_name {
    position: relative;
    display: flex;
    padding-bottom: 1rem;
    align-items: center;
    gap: 0.5rem;
    font-weight: bolder;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--colorB);
}
.aside_section_name i{
    color:var(--main);
}
.calendar_tip{
    position: absolute;
    right: 0;
    font-size: 0.8rem;
    color: var(--colorF);
}
/* 标题文字end */
aside section ul {
    font-size: 0.9rem;
    line-height: 2rem;
}
/* 近期用户的回复 */
.cat_index_section_recentreply .swiper-slide{
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cat_index_section_recentreply .postlist_right_info{
    border-top: 1px dotted var(--colorA);
    font-size: 0.9rem;
    line-height: 2rem;
}
.cat_index_section_recentreply .postlist_right_info .avatar{
    width: 1.2rem;
    height: 1.2rem;
    padding: 0;
}
.user_page_replyli_userinfo {
    display: flex;
    gap: var(--margin);
    align-items: center;
    border-top: 1px dashed var(--colorB);
    padding-top: 0.2rem;
    justify-content: space-between;
}
.cat_userpage_link {
    text-overflow: ellipsis;
    align-items: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.cat_userpage_text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    line-height: 1.8rem;
    margin: 0.5rem 0;
    padding: 0 0.5rem;
    word-break: break-all;
    width: 100%;
}
.cat_index_section_recentreply time{
    font-size: 0.75rem;
    color: var(--colorF);
    width: 5rem;
    text-align: right;
}
.cat_welove {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 0.5rem;
}
.cat_welove .item{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.cat_welove .item i{
    font-size: 2rem;
    color: var(--color-red);
    position: relative;
    animation: heartbeat 1.33s ease-in-out infinite;
    display: inline-block;
}
.cat_welove_name{
    font-size: 0.9rem;
    line-height: 2rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    align-items: center;
    overflow: hidden;
    width: 6rem;
    text-align: center;
}
aside .sidebar_smalltext {
    font-size: 0.75rem;
    color: var(--colorC);
}
aside .cat_recentcomment_list .item{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--colorA);
}
aside .cat_recentcomment_list .item:last-child{
    border-bottom: unset;
    padding-bottom: 0;
}
aside .cat_recentcomment_list .item .right {
    width: 100%;
}
aside .cat_recentcomment_list .item .right .user {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
aside .cat_recentcomment_list .item .right .reply {
    font-size: 0.9rem;
    line-height: 1.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-all;
}

/*aside .aside_relatedposts .relatedposts_card {*/
/*    display: grid;*/
/*    gap: 1rem;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    margin: 1rem 0;*/
/*}*/
aside .aside_relatedposts .relatedposts_card {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: var(--gap) 0;
}

aside .aside_relatedposts .item {
    padding: 0;
    position: relative;
    flex: 1 0 calc(50% - 0.75rem);
    box-sizing: border-box;
}
aside .aside_relatedposts .item i{
    color: var(--white);
}
aside .aside_relatedposts .postlist{
    justify-content: center;
    cursor: pointer;
}
aside .aside_relatedposts .postlist_img{
    aspect-ratio: 1;
    border-radius: var(--radius);
    height: calc((25rem - 2 * var(--margin) - 0.75rem) / 2);
}
aside .cat_index_section_qian {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;    
    gap: 1rem;
    line-height: 2rem;
}
aside .cat_index_section_qian .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
aside .cat_index_section_qian .bottom {
    display: none;
    font-size: 0.9rem;
    border-top: 1px dashed var(--colorB);
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
}
aside .cat_index_section_qian .bottom .item {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
aside .cat_index_section_qian .bottom .word {
    text-align: center;
    color: var(--colorD);
    font-size: 0.75rem;
}
aside .cat_index_section_qian .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
aside .cat_index_section_qian .left .title {
    font-size: 1.5rem;
}
aside .cat_index_section_qian .left .number {
    font-size: 0.9rem;
    color: var(--colorD);
}
aside .cat_index_section_qian .left .more {
    color: var(--color-red);
    cursor: pointer;
}
aside .cat_index_section_qian .right {
    font-size: 2.5rem;
}
aside .cat_index_section_qian .right .qian {
    color: var(--main);
    cursor: pointer;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
aside .cat_index_section_qian .right .qian:hover {
    color: var(--color-red);
}
aside .cat_index_section_qian .right .qianed{
    cursor: not-allowed;
}
aside .cat_index_section_qian .right .money::before {
    content: "￥";
    font-size: small;
}
aside .cat_index_section_qian .right .days::after {
    content: "天";
    font-size: small;
    padding-left: 0.25rem;
}

/* mood */
.author_avatar {
    position: relative;
}
.my_mood{
    position: absolute;
    display: flex;
    right: 0;
    bottom: 0;
    font-size: 1.5rem;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
}
.my_mood svg,
.my_mood img,
.my_mood i{
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
}
#aside_mood_card {
    display: flex;
    max-height: 90vh;
    overflow-y: auto;
    gap: var(--margin);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
}
#aside_mood_card span{
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
#aside_mood_card span:hover{
    background: var(--theme);
}
#aside_mood_card .emoji_title{
    margin: 1rem;
    width: 5rem;
}
#aside_mood_card .emoji_icon{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}




/* 手机模式侧栏菜单 */
.cat_mobilemenu_left {
    position: fixed;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    z-index: 50;
    width: 20rem;
    max-width: 80vw;
    height: 100%;
    padding: 0;
    transform: unset;
    overflow-y: auto;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}
.cat_mobilemenu_left .cat_categorymenu li {
    padding: 0;
    background: unset;
}
.cat_mobilemenu_left .cat_categorymenu li a {
    padding: 0.5rem;
}
.cat_mobilemenu_left .title {
    display: flex;
    font-size: 1rem;
    gap: 0.25rem;
}
.cat_mobilemenu_left .title .logo{
    width: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cat_mobilemenu_left .name {
    font-size:small;
    padding: 0.5rem;
}
.cat_mobilemenu_left .aside_blogger_info {
    display: table;
    margin: 0;
    border-radius: 0;
    border: 0;
    background: unset;
    box-shadow: unset;
}
.cat_mobilemenu_left .title {
    margin: -1rem 0 0;
}
.cat_mobilemenu_left .cat_categorymenu {
    margin: 0 0 1rem 0;
    background: unset;
    height: unset;
    padding: 0.5rem;
}
.cat_mobilemenu_left .menus {
    padding: var(--margin);
}


/* side模式*/
.main_screen .main_nav .cat_mainmenu_out {
    display: none;
}
@media (min-width:1301px) {
    .main_screen.menu_side {
        max-width: 1780px;
    }
    .main_screen.menu_side section.cat_mainmenu_out,
    .main_screen.menu_side .shijian{
        display: none!important;
    }
    .main_screen.menu_side .main_nav {
        display: block;
        margin: 0 var(--margin) var(--margin) 0;
        width: 20rem;
    }
    .main_screen.menu_side .cat_mobilemenu_left {
        position: sticky;
        margin: var(--margin) var(--margin) 0 0;
        top: var(--margin);
        bottom: unset;
        height: calc(100vh - 6.5 * var(--margin));
        background: var(--background);
        z-index: 1;
        opacity: 1;
        visibility: visible;
    }
    .main_screen.menu_side .cat_mobilemenu_left::-webkit-scrollbar {
        width: 0;
    }
    .main_screen.menu_side .cat_mobilemenu_left .aside_blogger_info{
        display: none;
    }
    .main_screen.menu_side .main_nav .cat_mainmenu_out{
        position: relative;
        z-index: 2;
        top: 0;
        display: flex;
        justify-content: center;
    }
    .main_screen.menu_side .main_nav .cat_mainmenu_out .item .mainmenu_nav_child {
        top: 75px!important;
    }
    .main_screen.menu_side .main_body {
        width: calc(100% - 45rem - 2 * var(--margin));
    }
}
@media (max-width:1800px) {
    .main_screen.menu_side .cardtype {
        grid-template-columns: repeat(3,1fr);
    }
}
@media (max-width:1700px) {
    /* side复原 */
    .main_screen.menu_side{
        max-width: 1200px;
    }
    .main_screen.menu_side .main_sidebar {
        display: none;
    }
}
@media (max-width:750px) {
    .main_screen.menu_side .cardtype {
        grid-template-columns: repeat(2,1fr);
    }
}















