article {
    position: relative;
    padding: var(--margin) calc(1.5 * var(--margin));
    color: var(--main);
    background: var(--background);
    border-radius: var(--radius);
    text-align: justify;
}
.gold_line_in article {
    margin-bottom: var(--margin);
}
.post_overtime {
    font-size: 0.9rem;
    line-height: 2rem;
    height: auto;
    margin: calc(0.5 * var(--margin)) 0 var(--margin);
	background: var(--theme-80);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}
.post_overtime svg{
    vertical-align: middle;
}
.post_tags {
    font-size: 0.9rem;
    line-height: 2rem;
    height: auto;
    margin: calc(0.5 * var(--margin)) 0 var(--margin);
    background: var(--O);
    color: var(--C);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}
.post_tags i {
    color: var(--B);
}



/* 文章正文 */
.cat_tips {
    position: relative;
    border-radius:var(--radius);
    color: #fff;
    line-height: 2rem;
    padding: 0.75rem 1.5rem;
    margin: var(--margin) 0;
	box-shadow: var(--box-shadow-grey);
}
.cat_tips a{
    color: #fff;
}
.cat_tips_info {
    background: #20a0ff;
    background: -webkit-gradient(linear,left top,right top,from(#20a0ff),to(#20b8ff));
    background: -webkit-linear-gradient(left,#20a0ff,#20b8ff);
    background: linear-gradient(90deg,#20a0ff,#20b8ff);
}
.cat_tips_success {
    background: #61be33;
    background: -webkit-gradient(linear,left top,right top,from(#61be33),to(#8fce44));
    background: -webkit-linear-gradient(left,#61be33,#8fce44);
    background: linear-gradient(90deg,#61be33,#8fce44);
    text-shadow: 0 -1px #61be33;
}
.cat_tips_warning {
    background: #ff953f;
    background: -webkit-gradient(linear,left top,right top,from(#ff953f),to(#ffb449));
    background: -webkit-linear-gradient(left,#ff953f,#ffb449);
    background: linear-gradient(90deg,#ff953f,#ffb449);
    text-shadow: 0 -1px #ff953f;
}
.cat_tips_error {
    background: #ff4949;
    background: -webkit-gradient(linear,left top,right top,from(#ff4949),to(#ff7849));
    background: -webkit-linear-gradient(left,#ff4949,#ff7849);
    background: linear-gradient(90deg,#ff4949,#ff7849);
    text-shadow: 0 -1px #ff4949;
}
.cat_tips:before {
    color: #fff;
    border-radius: 50%;
    display: flex;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    left: -0.75rem;
    top: -0.75rem;
    -webkit-box-shadow: 0 0 0 2.5px #fff;
    box-shadow: 0 0 0 2.5px #fff;
    font-weight: bold;
    text-align: center;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.cat_tips_info:before {
    background: #20a0ff;
    background: -webkit-gradient(linear,left bottom,left top,from(#0092ff),to(#20b8ff));
    background: -webkit-linear-gradient(bottom,#0092ff,#20b8ff);
    background: linear-gradient(0deg,#0092ff,#20b8ff);
    content: "i";
}
.cat_tips_success:before {
    background: -webkit-gradient(linear,left bottom,left top,from(#52bb1d),to(#95d34b));
    background: -webkit-linear-gradient(bottom,#52bb1d,#95d34b);
    background: linear-gradient(0deg,#52bb1d,#95d34b);
    content: "✓";
    text-shadow: 0 -1px #61be33;
}
.cat_tips_warning:before {
    background: -webkit-gradient(linear,left bottom,left top,from(#ff8f35),to(#ffc149));
    background: -webkit-linear-gradient(bottom,#ff8f35,#ffc149);
    background: linear-gradient(0deg,#ff8f35,#ffc149);
    content: "!";
    text-shadow: 0 -1px #ff953f;
}
.cat_tips_error:before {
    background: -webkit-gradient(linear,left bottom,left top,from(#ff3838),to(#ff7849));
    background: -webkit-linear-gradient(bottom,#ff3838,#ff7849);
    background: linear-gradient(0deg,#ff3838,#ff7849);
    content: "×";
    text-shadow: 0 -1px #ff4949;
}

article h2,article h3,article h4,article h5,article h6 {
    position: relative;
    line-height: 2rem;
    padding: 1.5rem 0;
}
article h2 {
	font-size: 1.5rem;
    counter-increment: h2;
    counter-reset: h3;
}
article h3 {
	font-size: 1.35rem;
    counter-increment: h3;
    counter-reset: h4;
}
article h4 {
	font-size: 1.25rem;
    counter-increment: h4;
    counter-reset: h5;
}
article h5 {
	font-size: 1.15rem;
	padding: 1rem 0;
}
article h6 {
	font-size: 1.05rem;
	padding: 0.5rem 0;
}
article h2::before {
    color: var(--theme);
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}
article h3::before {
    color: var(--theme);
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}
article h4::before {
    color: var(--theme);
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}
article h5::before {
	content: '#';
    color: var(--theme);
    font-size: smaller;
    padding-right: 0.5rem;
}
article h6::before {
	content: '##';
    color: var(--theme);
    font-size: smaller;
    padding-right: 0.5rem;
}
article .post_content>p {
    line-height: 2.5rem;
    word-break: break-all;
    font-size: 1rem;
    margin: 1rem 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
article .post_content hr {
	border: 0;
    padding: 0.5rem 0;
    border-bottom: 2px dotted var(--A);
    margin: 2rem 0;
}
/* 在head.php */
article .post_content hr::before {
    position: absolute;
    line-height: 0px;
    right: 0;
}
article .post_content del,
article .post_content s {
    color: var(--B);
}
article .post_content strong {
    color:var(--theme);
}
article .post_content u {
    border-bottom: 2px solid var(--theme-80);
    text-decoration: unset;
    margin: 0 0.25rem;
}
article .post_content .e {
    border-bottom: 2px dashed var(--theme-80);
    text-decoration: unset;
}
article .post_content a {
    margin: 0 0.25rem;
    color: var(--theme);
    position: relative;
    word-break: break-word;
    cursor: pointer;
    background: linear-gradient(90deg,var(--theme-60),var(--theme-60)) no-repeat left 100% / 0 2px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
article .post_content a:hover {
    background: linear-gradient(90deg,var(--theme-60),var(--theme-60)) no-repeat left 100% / 100% 2px;
}
article .post_content :not(.article_tags) a:not(.footnote-backref):not(.footnote-ref):after {
    content: '↷';
    font-size: 0.9rem;
}

article .post_content sup a:after,
article .post_content .footnotes a:after{
    content: ' ';
}
article .post_content a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}
article .post_content blockquote {
    border-left: 4px solid var(--theme-80);
    padding: calc(0.5 * var(--margin)) var(--margin);
    border-radius: var(--radius);
    margin: var(--margin) 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    line-height: 2.5rem;
    word-break: break-all;
    font-size: 0.9rem;
    background: var(--O);
	box-shadow: var(--box-shadow-grey);
}
article .post_content blockquote:hover {
    border-left-color: var(--theme-30);
}
article .post_content code:not([class]) {
    padding: 0.2rem 0.3rem;
    margin: auto 0.2rem;
    font-size: 0.75rem;
    vertical-align: bottom;
    background: var(--C);
    border-radius: 0.25rem;
    color: #fff;
    font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
    letter-spacing: 0;
}

/* 列表 */
article .post_content ul li {
    line-height: 1.75rem;
    transition: color 0.2s;
    font-size: 0.9rem;
    margin: 0 0 0 2rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
article .post_content ul li:hover {
    background: var(--O);
}


article .post_content ul {
    list-style: none;
    padding-left: 1.2rem;
    position: relative;
}
article .post_content ul li {
    position: relative;
    padding-left: 0.5rem;
    margin: 0.5rem 0;
}
article .post_content ul li::before {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: 1.1rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #4a90e2;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(74, 144, 226, 0.6);
    transition: all 0.3s ease;
}

article .post_content ul li:hover::before {
    background-color: var(--theme);
    transform: scale(1.5);
    box-shadow: 0 0 4px var(--theme-60);
}












article .post_content ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
}

article .post_content ol li {
    counter-increment: custom-counter;
    position: relative;
    line-height: 1.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    border-radius: var(--radius);
    transition: background 0.3s, color 0.3s;
}
article .post_content ol li:hover {
    background: var(--O);
}
article .post_content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0.5rem;
    top: 0.6rem;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    border-radius: 50%;
    background-color: var(--theme-10);
    color: var(--theme-60);
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
}
article .post_content ol li:hover::before {
    background-color: var(--theme);
    color: white;
}












/* 表格 */
article .post_content table {
    margin: 1rem 0;
    border-radius: var(--radius);
    border-collapse: separate;
    overflow: hidden;
    border-spacing: 0;
    width: 100%;
	box-shadow: var(--box-shadow-grey);
}
article .post_content table thead {
    background: var(--theme-60);
    color: #fff;
}
article .post_content table thead th {
    padding: 0.5rem;
}
article .post_content table tbody td {
    border: 1px solid var(--P);
    padding: 0.5rem;
    word-break: break-all;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
cat_article_hide{
    display: block;
    background: repeating-linear-gradient(135deg,var(--theme-10),var(--theme-10) 1rem,var(--background) 0,var(--background) 2rem)!important;
    text-align: center;
    padding: 5rem!important;
    text-indent: 0;
    color: var(--theme);
    border-radius: var(--radius);
}
article .post_content .cat_article_show_word {
    color: var(--C);
    font-size: 0.8rem;
    line-height: 2rem;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
article .post_content .cat_block {
    font-size: 0.9rem;
	box-shadow: var(--box-shadow-grey);
}

article .post_content .cat_block a {
    color: var(--main);
}
article .post_content .cat_block a:after {
    content: ''!important;
}


article .post_content .copy-to-clipboard-button{
    box-shadow: none!important;
    background: unset!important;    
    color: var(--theme)!important;
}
article .post_content .copy-to-clipboard-button span:before {
    content: '复制';
    margin: 0.5rem 0;
    display: block;
	cursor: pointer;
}
article .post_content .code-toolbar {
    display: grid;
}
article .post_content pre[class*=language-].line-numbers {
    font-size: 0.75rem;    
    border-radius: var(--radius);
    padding-top: 2rem;
	box-shadow: var(--box-shadow-grey);
}
article .post_content pre[class*=language-]:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fc625d;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    z-index: 1;
}

article .post_content pre[class*=language-].line-numbers .code-toolbar code span {
    word-break: break-all;
}











/* 文章图片 */
cat_post_image {
    display: block;
    margin: var(--margin) 0;
}
cat_post_image img {
    display: block;
    border-radius: var(--radius);
    max-width: 100%;
    margin: auto;
    cursor: zoom-in;
	box-shadow: var(--box-shadow-grey);
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
cat_post_image img:hover{
    filter: blur(0) brightness(0.75);
    -webkit-filter: blur(0) brightness(0.75);
}
/* 文章图片 end */

.waterfall_part {
	column-count: 4;
	column-gap: var(--margin);
}
.waterfall_part video,
.waterfall_part img{
	display: block;
	width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: zoom-in;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
.waterfall_part video:hover,
.waterfall_part img:hover{
    filter: blur(0) brightness(0.75);
    -webkit-filter: blur(0) brightness(0.75);
}
.waterfall_part .item {
    position: relative;
	margin-bottom: var(--margin);
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
@media (max-width: 2100px) {
    .waterfall_part{
		column-count: 3;
    }
}
@media (max-width: 1840px) {
    .waterfall_part{
		column-count: 4;
    }
}
@media (max-width: 1020px) {
    .waterfall_part{
		column-count: 3;
    }
}
@media (max-width:650px) {
    .waterfall_part{
		column-count: 2;
    }
}





























/* 评论 */
.cat_cancel_comment_reply {
    display: none;
    color: red;
    cursor: pointer;
}
#comments{
    scroll-margin-top: 8.5rem;
}
#comments .cat_comment_respond_form{
    margin-bottom: var(--margin);
}
#comments .cat_comment_respond_form.replying{
    border-top: 1px dashed var(--A);
    border-radius: 0;
    padding: var(--margin) 0;
    margin: 0.5rem var(--margin) var(--margin);
}
#comments .cat_comment_respond_form .info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.5rem;
    align-items: center;
}
#comments .cat_comment_respond_form .info .avatar {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
}
#comments .cat_comment_respond_form .head {
    display: none;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
}
#comments .cat_comment_respond_form .head .list{
	width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
	gap: 0.5rem;
}
#comments .cat_comment_respond_form .head .list span{
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
	/* border-radius: var(--radius); */
    /* background: var(--theme-60); */
    /* color: #fff;*/
}
#comments .cat_comment_respond_form .body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
#comments .cat_comment_respond_form .body textarea{
    min-height: 6.25rem;
    resize: vertical;
}
.comments_is_off{
    font-size: small;
    color: var(--A);
    padding: 0.5rem;
    text-align: center;
}


.send_anniu_style {
    cursor: pointer;
    color: var(--main);
    background: var(--O);
    border-radius: 0.2rem;
    text-align: center;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-family: monospace;
    font-size: 0.75rem;
    border: unset;
    width: 4rem;
    height: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
#cancel-comment-reply-link {
    height: auto;
}
.send_anniu_style:hover {
    color: #fff;
    background: var(--theme-60);
}
.comment_anniu_area {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    flex-direction: row;
}
.comment_user_bbsname {
    display: none;
}


.postlist_comment_change_info {
    display: none;
    cursor: pointer;
    color: var(--main);
    background: var(--O);
    border-radius: 0.2rem;
    text-align: center;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-family: monospace;
    font-size: 0.75rem;
    border: unset;
    width: 4rem;
    height: 1.75rem;
    justify-content: center;
    align-items: center;
}
.postlist_comment_welcome_info{
    display: flex;
    cursor: pointer;
}
.postlist_comment_welcome_info .icon {
    opacity: 0;
    color: var(--B);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.postlist_comment_welcome_info:hover .icon {
    opacity: 1;
}
.open_emoji,
.add_commentimage{
    position: absolute;
    cursor: pointer;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    color: var(--B);
    bottom: 0.5rem;
    left: 0.5rem;
}
.open_emoji{
    left: 0.5rem;
}
.add_commentimage{
    left: 2rem;
}
.add_commentimage:hover,
.open_emoji:hover{
    color: var(--main);
}



/* diary瀑布流 */
#comments.diary_comment > ol {
    position: relative;
}
#comments.diary_comment > ol > li {
    position: relative;
    box-sizing: border-box;
    width: calc((100% - 3 * var(--margin)) / 4);
	margin: 0 0 var(--margin) 0;
    overflow: hidden;
	padding-top: 2rem;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
@media (max-width: 2160px) {
    #comments.diary_comment > ol > li{
        width: calc((100% - 2 * var(--margin)) / 3);
    }
}
@media (max-width: 1840px) {
    #comments.diary_comment > ol > li{
        width: calc((100% - 1 * var(--margin)) / 2);
    }
}
@media (max-width: 1520px) {
    #comments.diary_comment > ol > li{
        width: calc((100% - 2 * var(--margin)) / 3);
    }
}
@media (max-width: 1300px) {
    #comments.diary_comment > ol > li{
        width: calc((100% - 1 * var(--margin)) / 2);
    }
}
@media (max-width:900px) {
    #comments.diary_comment > ol > li{
        width: 100%;
    }
}























#comments.diary_comment > ol > li > .cat_comment_replyout .cat_comment_body>.cat_comment_reply {
    display: none;
}
#comments.diary_comment > ol > li > .cat_comment_replyout .content .user {
    display: none;
}
#comments.diary_comment > ol > li > .cat_comment_replyout .content .substance {
    width: 100%;
    margin: 0;
    max-width: 100%;
    background: unset;
    padding: 0;
    min-height: 6rem;
    line-height: 2rem;
    box-shadow: unset;
}

#comments.diary_comment .cat_comment_respond_form.replying {
    margin: 0;
    border-top: unset;
}

#comments.diary_comment .cat_comment_child .postlist_tags,
#comments.diary_comment .cat_comment_child .little_card_title{
    display: none;
}
#comments.diary_comment .cat_comment_child .cat_comment_replyout {
    padding: 0.5rem 0 0;
}
#comments.diary_comment .cat_comment_child .avatar{
    width: 1rem;
    height: 1rem;
    padding: 0;
}
#comments.diary_comment .cat_comment_child .comment_user_name{
    font-size: 0.9rem;
}
#comments.diary_comment .cat_comment_child .content .substance{
    left: 0;
    position: relative;
    max-width: 100%;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}
#comments.diary_comment > ol > li >.comment-children{
    cursor: pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
#comments.diary_comment > ol > li >.comment-children:hover{
    transform: translateY(-3px);
}
#comments.diary_comment > ol > li >.comment-children>ol.comment-list{
    -webkit-mask: linear-gradient(to top, rgb(0 0 0 / 0%), #000000 10rem);
    max-height: 8rem;
    pointer-events: none;
    border-top: 1px dashed var(--A);
    padding-top: 0.5rem;
    margin-top: 1rem;
}
#comments.diary_comment .cat_comment_body .replymengban {
    font-size: 1rem;
}
#comments.diary_comment .diary_comment_tanchuang{
    padding: 2rem var(--margin) var(--margin);
    position: fixed!important;
    top: 50%!important;
    left: 50%!important;
    z-index: 851;
    max-height: 80dvh;
    max-width: 90vw;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transform: translateY(-50%, -50%) scale(1);
    -moz-transform: translateY(-50%, -50%) scale(1);
    -ms-transform: translateY(-50%, -50%) scale(1);
    -o-transform: translateY(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

#comments.diary_comment > ol > li.diary_comment_tanchuang >.comment-children>ol.comment-list{
    -webkit-mask: unset;
    max-height: unset;
    pointer-events: unset;
}
#comments.diary_comment > ol > li.diary_comment_tanchuang >.comment-children:hover{
    transform: translateY(0);
}
#comments.diary_comment > ol > li.diary_comment_tanchuang .cat_comment_child .avatar{
    width: 2rem;
    height: 2rem;
    padding: 2px;
}
#comments.diary_comment > ol > li.diary_comment_tanchuang .cat_comment_child form .avatar{
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
}
#comments.diary_comment > ol > li.diary_comment_tanchuang .cat_comment_child .content .substance{
    font-size: 0.9rem;
}
#comments.diary_comment .cat_comment_reply.little_card_title {
    right: var(--margin);
    position: absolute;
    min-width: 1rem;
    cursor: pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
	opacity: 0;
}
#comments.diary_comment > ol > li:hover > .cat_comment_replyout > .cat_comment_reply.little_card_title {
	opacity: 1;
}












cat_article_video {
    display: block;
    margin: var(--margin) 0;
}
cat_article_video iframe,
cat_article_video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border-radius: var(--radius);
	box-shadow: var(--box-shadow-grey);
    object-fit: cover;
}
article meting-js .aplayer{
    margin: var(--margin) 0;
	padding: var(--margin);
	box-shadow: var(--box-shadow-grey);
}

.title_block_background {
    width: 100%;
    height: 20rem;
    pointer-events: none;
    margin-bottom: var(--margin);
    opacity: 0.4;
    position: absolute;
    mask: radial-gradient(ellipse at center, #000 0%, #0000 70%);
    -webkit-mask: radial-gradient(ellipse at center, #000 0%, #0000 70%);
}
.title_block_background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}



/* 主轮播大小 */
.main-swiper {
  width: 100%;
  max-height: 35rem;
  height: calc(100dvh - 10rem - 2 * var(--margin));
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* 主图图片自适应 */
.main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 缩略图容器 */
.thumb-swiper {
	width: 100%;
    margin: 0.75rem 0 0;
    box-sizing: border-box;
    padding: 0.5rem;
    overflow: hidden;
	
	-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 10rem, rgba(0,0,0,1) calc(100% - 10rem), rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 10rem, rgba(0,0,0,1) calc(100% - 10rem), rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

/* 缩略图滑块 */
.thumb-swiper .swiper-slide {
  width: 12rem;
  height: 9rem;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width:650px) {
	.thumb-swiper .swiper-slide {
	    width: 8rem;
	    height: 6rem;
	}
}
/* 缩略图图片 */
.thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
}
.thumb-swiper video,
.main-swiper video {
	width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
/* 当前缩略图高亮 */
.thumb-swiper .swiper-slide-active,
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--theme);
  box-shadow: 0 0 10px var(--theme);
}
/* 导航箭头样式调整 */
/* 隐藏默认箭头图标 */
.swiper-button-prev::after,
.swiper-button-next::after{
  display: none;
}
/* 你的自定义图标按钮样式 */
.swiper-button-prev,
.swiper-button-next{
  width: 2.5rem!important;
  height: 2.5rem!important;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #fff!important;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
/* 如果你觉得图标偏移，可以加上位置微调 */
.swiper-button-prev {
  left: 1rem;
}
.swiper-button-next {
  right: 1rem;
}
/* 分页小圆点样式 */
.main-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.7);
  opacity: 1;
  transition: background-color 0.3s ease;
}

.main-swiper .swiper-pagination-bullet-active {
  background: var(--theme);
}
@media (min-width: 1840px) {
	.gold_line_out.ppt_part{
		max-height: calc(100dvh - 2 * var(--margin));
	}
	.main-swiper {
		max-height: 100dvh;
	}
}
@media (max-width: 900px){
	.main-swiper {
		max-height: 25rem;
	}
}
@media (max-width: 500px){
	.main-swiper {
		max-height: 15rem;
	}
}























































#comments > ol > li {
    background: var(--background);
    border-radius: var(--radius);
    padding: var(--margin);
    margin-top: var(--margin);
    position: relative;
}
#comments .cat_comment_body {
    display: flex;
    position: relative;
    scroll-margin-top: 11.5rem;
}
#comments .cat_comment_body .content {
    min-width: 0;
    flex: 1;
}
#comments .cat_comment_body .content .substance {
    display: table;
    width: auto;
    max-width: 60%;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--P);
    color: var(--main);
    word-break: break-all;
    line-height: 1.75rem;
    border-radius: var(--radius);
}
#comments .cat_comment_body .content .substance.iscat{
    margin-left: auto;
}

#comments .cat_comment_body .content .substance img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    margin: 0.5rem 0;
}
@media (max-width:650px) {
	#comments .cat_comment_body .content .substance {
	    max-width: 80%;
	}
}





#comments .cat_comment_reply {
    position: relative;
    margin-bottom: auto;
}
#comments .replymengban {
-webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
    text-align: center;
    visibility: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
}
#comments .cat_comment_body:hover .replymengban {
    opacity: 1;
    background: var(--background);
    color: var(--main);
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0)
}
#comments .content .user:hover .user_infocard {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0)
}
#comments .huomiaoreply {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
}
#comments .huomiaoreply > .cat_comment_replyout > .cat_comment_body .cat_comment_reply + .content {
    order: -1;
}
#comments .cat_comment_body .content .user {
    display: inline-block;
    align-items: center;
    margin: 0 0.5rem;
    color: var(--main);
    font-weight: bolder;
}
#comments .huomiaoreply .cat_comment_body .content .user,
#comments .huomiaoreply .cat_comment_body .content .commentinfos {
    display: block;
}
#comments .cat_comment_body .content .user .author i{
    font-weight: bolder;
}
#comments .cat_comment_body .content .commentinfos {
    align-items: center;
    font-size: 0.75rem;
    color: var(--B);
    margin: 0.5rem;
}
#comments .cat_comment_parent:hover .commentinfos {
    opacity: 1;
}
#comments .comment_emoji_block {
    height: 6rem;
    overflow-y: auto;
    margin: 0.5rem 0;
    display: none;
    grid-template-columns: repeat(auto-fill,minmax(2.5rem,1fr));
}
#comments .comment_emoji_block span {
    font-size: 1.25rem;
    line-height: 2rem;
    cursor: pointer;
    text-align: center;
}
#comments .comment_emoji_block::-webkit-scrollbar {
    width: 0;
}





.comment_top_title {
    text-align: center;
    cursor: pointer;
    letter-spacing: 0.2rem;
}
#comments:not(.diary_comment) > .respond:first-child ~ .comment_top_title {
    display: none;
}







