/*
Theme Name: once
Theme URI: http://www.huitheme.com
Description: Crazy uncle
Author: Crazy uncle
Author URI: http://www.huitheme.com
Version: 1.9.20250611
*/
@charset "UTF-8";
body{font-family:PingFang SC,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;font-size:14px;background-color:#f7f7f7;background-image:var(--ds_background);background-attachment:fixed;}
p{margin-top:0;margin-bottom:10px;}
ol,
ul,
dl{padding:0;margin:0;list-style:none;}
a{color:#333;text-decoration:none;background-color:transparent;}
a:hover{color:#0056b3;text-decoration:none;}
*:focus,
textarea:focus,
button:focus,
input:focus{box-shadow:none;outline:0}
img{border:0;max-width:100%;height:auto;}
html::-webkit-scrollbar{width:5px;background:#fff;}
html::-webkit-scrollbar-thumb{background:#222;}
html.dark::-webkit-scrollbar{width:5px;background:#212121;}
html.dark::-webkit-scrollbar-thumb{background:#333;}
#wp-admin-bar-wp-logo{display:none!important}
.show_m{-webkit-transition:all 0.6s ease;-o-transition:all 0.6s ease;transition:all 0.6s ease;}
.f300{font-weight:300}
@media (min-width:1200px){
    .container{max-width:1230px;}
}
.dark .top .top_r .top_r_an.theme-switch{color:#ffc008;background:#212121;}
.dark .top .top_r .top_r_an:hover{background:#212121;}
.dark body{background-color:#212121;color:#c9c9c9;background-blend-mode:overlay;}
.dark a{color:#ffffff;}
.dark .header{background:#191919;}
.dark .top .top_r .top_r_an{color:#bdbdbd;}
.dark .mobile_an{color:#bdbdbd;}
.dark #mobile_right_nav .mobile_head{background:#181818;}
.dark #mobile_right_nav .mobile_head .mobile_head_logo b{color:#bdbdbd;}
.dark #mobile_right_nav{background:#000;}
.dark #mobile_right_nav .menu-zk{background:#2a2a2b;}
.dark #mobile_right_nav .menu-zk li a{color:#999;border-bottom:1px solid #222222;}
.dark .post_def,
.dark .post_gallery,
.dark .widget,
.dark .cat_info_top,
.dark .post_container_title,
.dark .post_container,
.dark .post_author,
.dark .post_related,
.dark #comments{background:#2a2a2b;}
.dark .top .top_l .logo a b{color:#fff;}
.dark .header-menu .header-menu-ul li a{color:#fff;}
.dark .widget_hot_tags .tagcloud a{background-color:#343435;}
.dark .widget_hot_tags .tagcloud a:hover{background:#4270f5;color:#fff;}
.dark .widget_hot_tags .tagcloud a.hot:before{background:#4270f5;border:3px solid #212121;}
.dark .widget_comment_ul li{border-bottom:1px solid #303030;}
.dark .widget_comment_ul li:last-child{border:none;}
.dark .widget_recent_entries ul li{border-left:2px solid #343434;}
.dark .widget_recent_entries ul li:before{background-color:#292a2a;}
.dark .widget_recent_entries ul li:after{border:2px solid #2a2a2b;}
.dark .post_container_title{border-bottom:2px solid #272727;}
.dark .post_def .post_def_right .post_def_title p{color:#c0c2cc;}
.dark .post-read-more a{background:#2a2a2b;color:#555;border-radius:4px;}
.dark .post-read-more a:hover{background:#4270f5;color:#fff;}
.dark .posts-nav .page-numbers{background:#2a2a2b;color:#fff;}
.dark .posts-nav .page-numbers:hover{background:#4270f6;}
.dark .posts-nav .current{background:#4270f6;}
.dark .links a{color:#999;}
.dark .foot .foot_nav .beian{color:#999;}
.dark .post_author{border-top:3px solid #272727;}
.dark .post_author_r .post_author_tag em{background:#343435;}
.dark #comments .comments-title{border-bottom:2px solid #2d2d2d;}
.dark #comments .comment-list li .comment-body{border-bottom:1px solid #2d2d2d;}
.dark #comments form.comment-form .comment-form-comment textarea{background:#343435;color:#ccc;}
.dark #comments form.comment-form p input{background:#343435;color:#ccc;}
.dark #comments .comment-list li .comment-body .reply a.comment-reply-link{color:#555;}
.dark .links{background:#191919;}
.dark .footbox{background:#161616;}
.dark #c_sousuo{background:#2e2e2e;}
.dark #c_sousuo .search_box .ss_a{border:3px solid #414141}
.dark .header-menu .header-menu-ul li .sub-menu{background:#212121;}
.dark .widget_search #s{background:#343435;color:#fff;}
.dark #mobile_right_nav .mobile_head .theme-switch{color:#ffc008;background:#212121;}
.dark #mobile_right_nav .menu-zk .menu-item-has-children .czxjcdbs:before{background:#242424;}
.dark #mobile_right_nav .menu-zk .sub-menu{background:#1d1d1d;}
.dark .wznrys .wp-block-table table{color:#fff;}
.dark .widget-title{color:#fff;}
.dark .widget-title:after{background:#212121;}
.dark .ishows .widget{border-bottom:1px solid #212121}
.dark .post_container_title h1{color:#fff;}
.dark .wznrys{font-size:15px;color:#c9c9c9;}
.dark .post_related_list a{color:#c9c9c9;}
.dark .author_show_box{background:#2a2a2b;}
.dark .author_post{border-top:1px solid #2d2d2d;}
.dark .wznrys pre.wp-block-code{background:#363636;border:1px solid #363636;}
.dark .wznrys pre.wp-block-code .hljs{background:#232323;color:#d3d3d3;}
.dark .wznrys pre.wp-block-code code::-webkit-scrollbar{background:#363636;}
.dark .wznrys pre.wp-block-code code::-webkit-scrollbar-thumb{background:#2a2a2b;}
.header{background:#fff;width:100%;z-index:10;padding:16px 0px;margin-bottom:1.5rem;box-shadow:0px 1px 20px 12px #0808080f;}
.top{display:flex;justify-content:space-between;align-items:center;}
.top .top_l{display:flex;align-items:center;}
.top .top_l .logo{margin-bottom:0px;font-size:20px;margin-right:25px;}
.top .top_l .logo a{display:flex;align-items:center;}
.top .top_l .logo a img{height:30px;margin-right:10px;}
.top .top_l .logo a b{letter-spacing:0.5px;}
.top .top_r{display:flex;}
.top .top_r .top_r_an{border:none;color:#555;background:none;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;padding:0;cursor:pointer;}
.top .top_r .top_r_an.theme-switch{background:#e9e9e9;}
.top .top_r .top_r_an:hover{background:#e9e9e9;}
.top .top_r .top_r_an i{}
@media (max-width:768px){
    .top .top_l .logo{margin-right:0px;}
    .top .top_l .logo a img{height:22px;}
    .top .top_r .top_r_an.theme-switch{display:none;}
}

/*nav*/
.header-menu{}
.header-menu .header-menu-ul{font-size:0px;}
.header-menu .header-menu-ul li{display:inline-block;position:relative;}
.header-menu .header-menu-ul li:hover{}
.header-menu .header-menu-ul li a{padding:10px 18px;display:block;font-size:14px;}
.header-menu .header-menu-ul li .sub-menu{display:none;position:absolute;top:41px;background:#fff;width:160px;padding:20px;box-shadow:0px 8px 20px 5px #00000014;z-index:99;border-radius:10px;}
.header-menu .header-menu-ul li .sub-menu li{width:100%;}
.header-menu .header-menu-ul li .sub-menu li a{font-size:14px;padding:5px 10px;}
.header-menu .header-menu-ul li .sub-menu li a:after{display:none}
.header-menu .header-menu-ul li .sub-menu .sub-menu{position:absolute;left:200px;top:0px;}
.header-menu .header-menu-ul li.menu-item-has-children>a:after{content:'\F282';font-family:'bootstrap-icons';margin-left:5px;font-size:12px;transform:scale(0.7);display:block;position:absolute;right:0px;top:12px;}
.header-menu .header-menu-ul li .sub-menu .menu-item-has-children a:after{content:'\F282';font-family:'bootstrap-icons';display:block;float:right;transform:rotate(270deg);-webkit-transform:rotate(270deg);}
.header-menu .header-menu-ul li.current-menu-item,
.header-menu .header-menu-ul li.current-menu-parent,
.header-menu .header-menu-ul li.current-menu-ancestor{}
@media (max-width:992px){
    .header-menu{display:none;}
}

/*mobile_anniu*/
#mobile_right_nav{width:300px;border:none;}
#mobile_right_nav .mobile_head{padding:15px 22px;color:#fff;background:rgba(0,0,0,0.2);display:flex;justify-content:space-between;}
#mobile_right_nav .mobile_head .mobile_head_logo{display:flex;align-items:center;color:#333;justify-content:center;}
#mobile_right_nav .mobile_head .mobile_head_logo img{height:28px;margin-right:10px;}
#mobile_right_nav .mobile_head .mobile_head_logo b{}
#mobile_right_nav .mobile_head .theme-switch{color:#333;background:#fff;width:30px;height:30px;border-radius:50%;border:none;text-align:center;display:flex;align-items:center;justify-content:center;font-size:12px;}
#mobile_right_nav .menu-zk{margin:20px;background:#ebebeb;border-radius:8px;overflow:hidden;}
#mobile_right_nav .menu-zk li{line-height:46px;position:relative;}
#mobile_right_nav .menu-zk li a{font-size:14px;display:block;border-bottom:1px solid #e3e3e3;color:#333;padding:0px 30px;}
#mobile_right_nav .menu-zk li:last-child a{border-bottom:none;}
#mobile_right_nav .menu-zk .sub-menu{display:none;background:#4270f5;}
#mobile_right_nav .menu-zk .sub-menu li a{font-size:12px;color:#ffffff;font-weight:300;border-bottom:none;}
#mobile_right_nav .menu-zk .menu-item-has-children .czxjcdbs:before{content:"\F279";font-family:'bootstrap-icons';position:absolute;right:20px;top:0px;color:#ffffff;width:30px;height:30px;line-height:30px;margin:8px 0px;text-align:center;display:block;cursor:pointer;background:#cccccc;border-radius:50%;font-size:10px;}
#mobile_right_nav .menu-zk .menu-item-has-children .kai:before{content:"\F27C";font-family:'bootstrap-icons';}
.mobile_an{border:none;color:#555;background:none;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;padding:0;font-size:18px;display:none;}
@media (max-width:992px){
    .mobile_an{display:inline-block;}
}

/*search*/
#c_sousuo{height:120px;}
#c_sousuo .search_box{margin:30px 0px;text-align:center;}
#c_sousuo .search_box .ss_a{width:100%;position:relative;border:3px solid #dddddd;line-height:40px;overflow:hidden;padding:0px 15px;}
#c_sousuo .search_box .ss_a input{width:100%;border:none;font-size:12px;color:#b7b7b7;background:none;}
#c_sousuo .search_box .ss_a button{position:absolute;top:3px;right:12px;bottom:3px;border:none;color:#b7b7b7;border-radius:5px;line-height:1;background:none;}

/*index banner left*/
.index_banner{margin-bottom:25px;}
#banner{border-radius:4px;overflow:hidden;}
#banner .carousel-indicators{right:20px;left:inherit;bottom:14px;margin-right:inherit;margin-bottom:inherit;margin-left:inherit;display:flex;justify-content:flex-end;}
#banner .carousel-indicators button{width:10px;height:10px;border-radius:50%;}
#banner .carousel-control-prev,
#banner .carousel-control-next{opacity:0;}
#banner .carousel-control-prev i,
#banner .carousel-control-next i{font-size:14px;width:40px;height:40px;background:#242424;line-height:40px;border-radius:50%;transition:all 0.6s ease;}
#banner:hover .carousel-control-prev,
#banner:hover .carousel-control-next{opacity:1;}
#banner .carousel-control-prev i:hover,
#banner .carousel-control-next i:hover{background:#4270f6;color:#fff;}
#banner .banlist{display:block;position:relative;z-index:1;overflow:hidden;}
#banner .banlist:before{position:absolute;content:'';width:100%;height:100%;top:0px;right:0px;z-index:1;opacity:0.6;background:linear-gradient(to top,black,#ffffff00);}
#banner .banlist img{transition:all .3s ease-out 0s;}
#banner .banlist h2{position:absolute;color:#fff;z-index:9;font-size:14px;width:100%;bottom:0px;left:0px;padding:20px 25px;margin:0px;}
#banner .banlist i{position:absolute;top:0px;left:0px;background:#4270f5;color:#fff;font-size:12px;font-style:inherit;padding:3px 7px;}
#banner:hover .banlist img{transform:scale(1.1);}
@media (max-width:768px){
    #banner .banlist h2{bottom:22px;text-align:center;}
    #banner .carousel-indicators{display:flex;justify-content:center;right:0;left:0;bottom:8px;}
}

/*index banner right*/
.index_banner .index_banner_center{height:100%;}
.index_banner .index_banner_center .zt_list{}
.index_banner .index_banner_center .zt_list:first-child{margin-bottom:8%;}
.index_banner .index_banner_center .zt_list{position:relative;overflow:hidden;display:block;height:48%;border-radius:4px;}
.index_banner .index_banner_center .zt_list:before{position:absolute;content:'';width:100%;height:100%;top:0px;right:0px;z-index:1;opacity:0.6;background:linear-gradient(to top,black,#ffffff00);}
.index_banner .index_banner_center .zt_list:hover img{transform:scale(1.1);}
.index_banner .index_banner_center .zt_list img{display:block;transition:all .3s ease-out 0s;width:100%;height:100%;}
.index_banner .index_banner_center .zt_list h3{position:absolute;color:#fff;z-index:9;font-size:14px;width:100%;bottom:0px;left:0px;padding:17px 10px;margin:0px;}
.index_banner .index_banner_center .zt_list b{color:#fff;display:block;position:absolute;top:0px;background:#4270f5;font-size:12px;font-weight:400;padding:3px 7px;}
.index_banner .gglb{display:block;position:relative;overflow:hidden;height:100%;border-radius:4px;}
.index_banner .gglb img{transition:all .3s ease-out 0s;width:100%;height:100%;}
.index_banner .gglb:hover img{transform:scale(1.1);}
.index_banner .gglb .gg_txt{position:absolute;color:#fff;z-index:9;width:100%;bottom:0px;left:0px;padding:17px 25px;background:#63636370;}
.index_banner .gglb .gg_txt h3{font-size:14px;}
.index_banner .gglb .gg_txt p{margin-bottom:0px;line-height:2;font-size:12px;}
.index_banner .gglb .gg_txt p i{margin-right:6px;}
.index_banner .gglb:before{position:absolute;content:'';width:100%;height:100%;top:0px;right:0px;z-index:1;opacity:0.6;background:linear-gradient(to top,black,#ffffff00);}
.index_banner .gglb b{color:#fff;display:block;position:absolute;top:0px;background:#4270f5;font-size:12px;font-weight:400;padding:3px 7px;}

/*post loop*/
.post_def{background:#fff;padding:20px;margin-bottom:20px;border-radius:4px;}
.post_def:hover img{transform:scale(1.1);}
.post_def .post_def_left{display:block;overflow:hidden;}
.post_def .post_def_left img{border-radius:4px;transition:.6s;width:100%;}
.post_def .post_def_right{display:flex;flex-direction:column;justify-content:space-between;height:100%;}
.post_def .post_def_right .post_def_title{}
.post_def .post_def_right .post_def_title h2{font-size:18px;margin-bottom:15px;}
.post_def .post_def_right .post_def_title h2 a{}
.post_def .post_def_right .post_def_title p{color:#545454;line-height:1.8;font-weight:300;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.post_info{color:#888;font-size:12px;font-weight:300;display:flex;justify-content:space-between;align-items:center;}
.post_info .post_info_l{}
.post_info .post_info_l span{margin-right:20px;}
.post_info .post_info_l span i{margin-right:6px;}
.post_info .post_info_l span a{color:#888;}
.post_info .post_info_r{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;}
.post_info .post_info_r em{font-style:inherit;margin-left:12px;color:#888;}
.post_info .post_info_r em a{margin-left:3px;color:#888;}
.post_gallery{background:#fff;padding:20px;margin-bottom:20px;}
.post_gallery .post_gallery_head{position:relative;}
.post_gallery .post_gallery_head h2{font-size:18px;margin-bottom:20px;}
.post_gallery .post_gallery_head h2 a{}
.post_gallery .post_gallery_head img{border-radius:4px;}
.post_images{position:relative;margin-bottom:20px;border-radius:5px;overflow:hidden;}
.post_images .post_images_foot{position:absolute;bottom:0px;color:#fff;padding:40px 30px;z-index:9;width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;}
.post_images .post_images_foot h2{font-size:20px;margin-bottom:18px;}
.post_images .post_images_foot h2 a{color:#fff;}
.post_images .post_images_foot p{font-weight:300;margin-bottom:15px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.post_images .post_images_foot .post_info{color:#fff;}
.post_images .post_images_foot .post_info a{color:#fff;}
.post_images:before{position:absolute;content:'';width:100%;height:100%;top:0px;right:0px;z-index:1;opacity:0.6;background:linear-gradient(to top,black,#ffffff00);}
.post-read-more{text-align:center;margin-bottom:20px;}
.post-read-more a{background:#fff;padding:11px 0px;display:block;color:#919191;font-size:13px;}
.post-read-more a.loading{background:#4270f5;color:#fff;}
.posts-nav{text-align:center;margin:40px 0px;}
.posts-nav .page-numbers{padding:5px 10px;background:#fff;display:inline-block;color:#555;font-size:12px;margin:0px 2px;}
.posts-nav .page-numbers:hover,
.posts-nav .page-numbers.current{background:#4270f6;color:#fff;}
@media (max-width:768px){
    .post_info .post_info_r{display:none;}
    .post_info .post_info_l span{margin-right:10px;}
    .post_images .post_images_foot{padding:15px;}
    .post_def .post_def_right .post_def_title p{display:none;}
    .post_def{margin-bottom:10px;padding:12px;}
    .post_def .post_def_right .post_def_title h2{font-size:14px;margin-bottom:5px;}
    .post_gallery{margin-bottom:10px;padding:12px;}
    .post_images{margin-bottom:10px;}
    .post_author{display:none;}
    .post_gallery .post_gallery_head h2{font-size:14px;margin-bottom:10px;}
    .post_images .post_images_foot p{display:none;}
    .post_images .post_images_foot h2{font-size:14px;margin-bottom:8px;}
}
.links{background:#272b30;padding:25px 0px;font-size:12px;}
.links a{color:#999;margin-right:8px;font-weight:300;display:inline-block;}
.links span{color:#999;font-weight:300;}
.footbox{background:#1f2327;padding:25px 0px;font-size:12px;}
.foot{display:flex;flex-direction:row;justify-content:space-between;}
.foot a{color:#999;}
.foot .copyright{}
.foot .copyright p{color:#999;margin:0px;font-weight:300;}
.foot .copyright p a{color:#999;}
.foot .foot_nav{display:flex;}
.foot .foot_nav .dbdh{}
.foot .foot_nav .dbdh ul{}
.foot .foot_nav .dbdh ul li{display:inline-block;margin-right:20px;}
.foot .foot_nav .dbdh ul li a{color:#999;font-weight:300;display:inline-block;}
.foot .foot_nav .dbdh ul li a:hover{font-weight:bold;}
.foot .foot_nav .beian{}
@media (max-width:768px){
    .foot{display:flex;flex-direction:column;align-items:center;}
    .foot .foot_nav{margin-bottom:0px;}
    .foot .foot_nav .dbdh{display:none;}
    .foot .foot_nav .beian{margin-top:8px;}
}

/*gototop*/
.scrollToTopBtn{background-color:black;border:none;border-radius:50%;color:white;cursor:pointer;font-size:16px;height:48px;width:48px;position:fixed;bottom:30px;right:30px;z-index:100;opacity:0;transform:translateY(100px);transition:all .5s ease;}
.scrollToTopBtn:hover{background:#4270f6;color:#fff;}
.showBtn{opacity:1;transform:translateY(0)}

/*widget*/
.sidebar_sticky{position:sticky;top:95px;margin-bottom:20px;}
.widget{margin-bottom:20px;position:relative;overflow:hidden;background:#FFF;padding:20px 22px 20px 22px;border-radius:4px;}
.widget-title{font-size:16px;text-transform:uppercase;margin-bottom:35px;position:relative;padding-left:1.25rem;}
.widget-title:before{content:'';position:absolute;left:2px;top:6px;width:8px;height:8px;border-radius:5px;background:#0a59f8;background:linear-gradient(to top,#6598ff,#0a59f8);}
.widget-title:after{content:'';position:absolute;height:1px;background:#f7f7f7;left:-22px;bottom:-15px;right:-22px;width:calc(100% + 44px);}
.widget_text .textwidget{}
.widget_text .textwidget p{font-size:12px;}

/*widget kuaixun*/
.widget_recent_entries{}
.widget_recent_entries ul{margin-left:5px;}
.widget_recent_entries ul li{border-left:2px solid #eaeef5;padding-bottom:20px;padding-left:20px;position:relative;}
.widget_recent_entries ul li a{margin-bottom:6px;display:block;font-size:13px;}
.widget_recent_entries ul li span{color:#7d7d7d;display:block;font-weight:300;font-size:12px;}
.widget_recent_entries ul li:last-child{border-bottom:none;padding-bottom:0px;margin-bottom:0px;}
.widget_recent_entries ul li:before{content:"";position:absolute;background-color:#fff;height:4px;width:4px;border-radius:50%;left:-3px;top:8px;z-index:9;}
.widget_recent_entries ul li:after{content:"";position:absolute;background-color:#4270f6;height:14px;width:14px;border-radius:50%;left:-8px;top:3px;transition:.6s;border:3px solid #fff;}
.widget_recent_entries ul li:hover:after{background-color:#ffc109;}

/*widget tags*/
.widget_hot_tags .tagcloud{}
.widget_hot_tags .tagcloud a{font-size:13px!important;padding:5px 13px;display:inline-block;margin-right:6px;margin-bottom:6px;border-radius:3px;background-color:#f5f5f5;position:relative;}
.widget_hot_tags .tagcloud a:hover{background:#4270f5;color:#fff;}
.widget_hot_tags .tagcloud a.hot:before{content:"";position:absolute;width:12px;height:12px;background:#4270f5;border-radius:50%;top:-2px;right:0px;border:3px solid #fff;}

/*widget search*/
.widget_search .searchform{position:relative;}
.widget_search .screen-reader-text{display:none;}
.widget_search #s{width:100%;height:36px;border:none;text-indent:10px;font-size:14px;border-radius:8px;overflow:hidden;background:#f5f5f5;font-weight:300;}
.widget_search #searchsubmit{width:60px;height:36px;border:none;background:#4270f6;color:#fff;position:absolute;right:0px;font-size:12px;border-radius:0px 8px 8px 0px;}

/*widget comment*/
.widget_comment_ul{}
.widget_comment_ul li{display:flex;padding-bottom:15px;border-bottom:1px solid #f4f4f4;margin-bottom:15px;}
.widget_comment_ul li img{margin-right:13px;width:24px;height:24px;flex-shrink:0;border-radius:50%;display:block;}
.widget_comment_ul li .widget_comment_info{}
.widget_comment_ul li .widget_comment_info a{font-size:13px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.widget_comment_ul li .widget_comment_info span{display:block;font-size:12px;color:#9e9c9c;margin-top:5px;font-weight:300;}
.widget_comment_ul li .widget_comment_info span em{margin-right:5px;font-style:inherit;}
.widget_comment_ul li:last-child{margin:0px;padding:0px 0px 5px 0px;border:none;}

/*widget hot_post*/
.widget_hot_post{}
.widget_hot_post .widget_hot_li{display:flex;align-items:center;margin-bottom:20px;position:relative;}
.widget_hot_post .widget_hot_li img{width:75px;margin-right:15px;flex-shrink:0;border-radius:4px;}
.widget_hot_post .widget_hot_li .hot_post_info{}
.widget_hot_post .widget_hot_li .hot_post_info h4{font-size:13px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-bottom:5px;font-weight:inherit;}
.widget_hot_post .widget_hot_li .hot_post_info h4 a{}
.widget_hot_post .widget_hot_li .hot_post_info p{margin:0px;font-size:12px;color:#9b9b9b;font-weight:300;}
.widget_hot_post .widget_hot_li:last-child{margin:0px;}
.widget_hot_post .widget_hot_li:first-child{position:relative;}
.widget_hot_post .widget_hot_li:first-child img{width:100%;margin:0px;}
.widget_hot_post .widget_hot_li:first-child .hot_post_info{position:absolute;bottom:0px;width:100%;height:100%;color:#fff;padding:15px;display:flex;align-items:flex-start;flex-direction:column;justify-content:flex-end;z-index:9;}
.widget_hot_post .widget_hot_li:first-child .hot_post_info h4{margin-bottom:0px;}
.widget_hot_post .widget_hot_li:first-child .hot_post_info h4 a{color:#fff;}
.widget_hot_post .widget_hot_li:first-child .hot_post_info p{color:#fff;}
.widget_hot_post .widget_hot_li:first-child:before{position:absolute;content:'';width:100%;height:100%;top:0px;right:0px;z-index:1;opacity:0.6;background:linear-gradient(to top,black,#ffffff00);}

/*widget_admin_show*/
.author_show_box{background:#fff;border-radius:8px;overflow:hidden;margin-bottom:20px;}
.author_show_box .author_show_head{text-align:center;z-index:9;position:relative;padding:30px 30px 0px 30px;}
.author_show_box .author_show_head img{border-radius:50%;margin-bottom:15px;}
.author_show_box .author_show_head h3{font-size:16px;margin-bottom:15px;}
.author_show_box .author_show_head p{font-weight:300;line-height:1.4;margin-bottom:15px;font-size:13px;}
.author_show_box .author_show_info{text-align:center;padding:5px 0px 20px 0px;color:#6a6a6a;font-size:12px;}
.author_show_box .author_show_info span{margin:0px 10px;}
.author_show_box .author_show_info span i{margin-right:8px;}
.author_show_box .author_show_info span b{font-weight:inherit;}
.author_post{padding:20px 22px 0px 22px;border-top:1px solid #f6f5f5;}
.author_post li{display:flex;align-items:center;margin-bottom:20px;position:relative;}
.author_post li img{width:75px;margin-right:15px;flex-shrink:0;border-radius:4px;}
.author_post li .author_title{}
.author_post li .author_title h4{font-size:13px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-bottom:5px;font-weight:inherit;}
.author_post li .author_title h4 a{}
.author_post li .author_title p{margin:0px;font-size:12px;color:#9b9b9b;font-weight:300;}

/*post*/
.post_container_title{padding:35px 30px 20px 30px;background:#ffffff;border-bottom:2px solid #f7f7f7;border-radius:4px 4px 0px 0px;}
.post_container_title h1{font-size:20px;margin-bottom:0px;}
.post_container_title p{margin:15px 0px 0px 0px;font-size:12px;}
.post_container_title p span{margin-right:20px;color:#8c8989;font-weight:300;}
.post_container_title p span i{margin-right:5px;}
.post_container{background:#fff;padding:30px 32px 20px 32px;border-radius:0px 0px 4px 4px;}
.post_comment{border-radius:4px;overflow:hidden;}
.post_author{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:20px 30px;background:#fff;border-top:3px solid #f7f7f7;border-radius:0px 0px 4px 4px;}
.post_author_l{display:flex;align-items:center;flex-shrink:0;margin-right:20px;}
.post_author_l img{border-radius:50%;margin-right:15px;width:28px;height:28px;}
.post_author_l span{}
.post_author_r{display:flex;align-items:center;overflow:hidden;}
.post_author_r .post_author_tag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.post_author_r .post_author_tag em{background:#f7f7f7;padding:4px 8px;margin:0px 4px;font-style:inherit;border-radius:4px;font-size:12px;display:inline-block;}
.post_author_r .post_author_tag em i{margin-right:2px;}
.post_author_r .post_author_tag em:hover{background:#24b581;color:#fff;}
.post_author_r .post_author_tag em:hover a{color:#fff;}
.post_author_icon{margin-left:15px;flex-shrink:0;}
.post_author_icon a{background:#4270f5;padding:4px 8px;margin:0px 4px;font-style:inherit;border-radius:4px;color:#fff;font-size:12px;display:inline-block;}
.post_author_icon a:hover{}
.post_author_icon a i{margin-right:3px;}
.post_related{background:#fff;padding:30px 30px 15px 30px;border-radius:4px;}
.post_related_list{}
.post_related_list a{display:block;margin-bottom:15px;color:#515151;position:relative;padding-left:15px;}
.post_related_list a:before{content:"";width:5px;height:5px;border-radius:50%;background-color:#ccc;position:absolute;top:8px;left:0px;}
@media (max-width:768px){
    .post_container_title{padding:20px;}
    .post_container_title h1{font-size:18px;}
    .post_container{padding:20px;}
    .post_author{padding:20px;}
    .post_author_r .post_author_tag{display:none;}
    .post_related{padding:20px 20px 15px 20px;}
    .post_related_list a{font-size:13px;}
}

/*cat*/
.cat_info_top{background:#fff;padding:20px;margin-bottom:20px;}
.cat_info_top h2{font-size:18px;margin-bottom:0;position:relative;padding-left:1.25rem;}
.cat_info_top h2:before{content:'';position:absolute;left:2px;top:7px;width:8px;height:8px;border-radius:5px;background:#0a59f8;background:linear-gradient(to top,#6598ff,#0a59f8);}
.cat_info_top p{margin-bottom:0px;color:#888;line-height:1.6;font-weight:300;margin-top:10px;}

/*next_prev_posts*/
.next_prev_posts{display:table;width:100%;margin-bottom:20px;}
.next_prev_posts .prev_next_box{width:50%;float:left;position:relative;display:block;}
.next_prev_posts .prev_next_box a{display:block;padding:30px 20px;color:#fff;background-size:cover;background-repeat:no-repeat;background-position:center center;}
.next_prev_posts .prev_next_box a:after{content:'';position:absolute;background-color:rgba(0,0,0,.46);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:0;}
.next_prev_posts .prev_next_box .prev_next_info{z-index:1;position:relative;}
.next_prev_posts .prev_next_box .prev_next_info small{font-size:16px;}
.next_prev_posts .prev_next_box .prev_next_info p{margin-top:10px;margin-bottom:0px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}
.next_prev_posts .prev_next_box.nav_next .prev_next_info{text-align:right;}
@media (max-width:768px){
    .next_prev_posts .prev_next_box a{padding:15px;background-repeat:no-repeat;background-size:cover;background-position:center center;}
    .next_prev_posts .prev_next_box .prev_next_info small{font-size:12px;}
    .next_prev_posts .prev_next_box .prev_next_info p{font-size:12px;margin-top:5px;}
}

/*zw*/
.wznrys{font-size:15px;text-align:justify;}
.wznrys hr{height:20px;border:none;position:relative;padding:0px;margin:10px 0px 25px 0px;}
.wznrys hr:after{content:"";width:100%;height:1px;background-color:#e2e2e2;position:absolute;top:10px;z-index:1;}
.wznrys hr:before{content:"";position:absolute;width:8px;height:8px;background-color:#ababab;left:50%;top:50%;transform:rotate(45deg);z-index:2;margin-top:-4px;margin-left:-4px;}
.wznrys .post-image{padding-bottom:20px}
.wznrys .is-layout-flex{display:flex;}
.wznrys p{line-height:2;padding-bottom:20px;margin-bottom:0;margin-top:0;}
.wznrys h1,
.wznrys h2,
.wznrys h3,
.wznrys h4,
.wznrys h5,
.wznrys h6{margin-bottom:25px;margin-top:0px;line-height:30px;}
.wznrys h1{font-size:22px;}
.wznrys h2{font-size:20px;}
.wznrys h3{font-size:18px;}
.wznrys h4{font-size:16px;}
.wznrys h5{font-size:14px;}
.wznrys h6{font-size:14px;}
.wznrys ol,
.wznrys ul{margin-bottom:30px;list-style:disc;}
.wznrys ol li,
.wznrys ul li{margin-left:24px;margin-bottom:12px;line-height:2;}
.wznrys ol li a,
.wznrys ul li a{border-bottom:1px solid #3ca5f6;color:#3ca5f6;}
.wznrys p img{max-width:100%;height:auto}
.wznrys blockquote{margin:5px 0px 30px 0px;position:relative;border-radius:3px;font-size:inherit;padding:10px 25px 0px 25px;border-left:4px solid #e3e3e3;background-color:#f9f9f9;}
.wznrys blockquote p{padding:0px 0px 5px 0px;font-weight:bold;font-size:16px;font-style:inherit;}
.wznrys blockquote cite{padding-bottom:20px;display:flex;font-size:14px;line-height:2;font-style:inherit;}
.wznrys .aligncenter{clear:both;display:block;margin:0 auto;}
.wznrys .alignright{float:right;margin:25px 0px 10px 20px;}
.wznrys .alignleft{float:left;margin:25px 20px 10px 0px;}
.wznrys .wp-caption{max-width:100%;}
.wznrys .wp-caption p.wp-caption-text{text-align:center;padding-bottom:0px;margin-bottom:25px;font-size:12px;color:#888;font-weight:300;}
.wznrys p a{border-bottom:1px solid #3ca5f6;color:#3ca5f6;margin:0 4px}
.wznrys strong{font-weight:bold;}
.wznrys .crayon-table tr:nth-child(odd){background:none;}

/* code */
.wznrys pre.wp-block-code{margin:20px 0px 30px 0px;position:relative;background:#efefef;padding-top:36px;border-radius:5px;border:1px solid #efefef;}
.wznrys pre.wp-block-code code{font-size:13px;line-height:1.8;padding:15px 20px;}
.wznrys pre.wp-block-code code::-webkit-scrollbar{width:5px;background:#f0f0f0;height:5px;}
.wznrys pre.wp-block-code code::-webkit-scrollbar-thumb{background:#4270f5;}
.wznrys pre.wp-block-code code table{border:none;line-height:1.8;margin:0;width:100%;}
.wznrys pre.wp-block-code code table tr{}
.wznrys pre.wp-block-code code table tr:nth-child(odd){background:none;}
.wznrys pre.wp-block-code code table tr:last-child{border-bottom:none;}
.wznrys pre.wp-block-code code table tr td.hljs-ln-numbers{width:30px;}
.wznrys pre.wp-block-code code table tr td.hljs-ln-numbers .hljs-ln-n{text-align:center;color:#d3d3d3;font-weight:300;}
.wznrys pre.wp-block-code code table tr td.hljs-ln-numbers .hljs-ln-n:before{padding-right:10px;}
.wznrys pre.wp-block-code code table tr td.hljs-ln-code{border-left:1px solid #eaeaea;padding-left:20px;}
.wznrys pre.wp-block-code code table tr td{border:none;text-align:inherit;line-height:inherit;}
.wznrys pre.wp-block-code:before{content:"";position:absolute;border-radius:50%;background:#fc625d;width:12px;height:12px;left:14px;top:12px;box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;z-index:2;}
.wznrys .wp-block-image{margin-bottom:30px;}
.wznrys .wp-block-image figure{}
.wznrys .wp-block-image figure img{}
.wznrys .wp-block-image figure.aligncenter{}
.wznrys .wp-block-image figure.aligncenter img{display:block;margin:auto;}
.wznrys figure{border:none!important;}
.wznrys figure.wp-block-video video{width:100%;}
.wznrys figcaption{font-size:12px;font-weight:300;margin:15px 0px!important;text-align:center;}
.wznrys .wp-block-gallery figcaption{margin:0!important;}
.wznrys .wp-block-table{}
.wznrys .wp-block-table table{border:1px solid #e9e9e9;font-size:14px;margin-bottom:20px;border-right:none;border-bottom:none;}
.wznrys .wp-block-table table{}
.wznrys .wp-block-table table tr{border-bottom:1px solid #e7e7e7;}
.wznrys .wp-block-table table tr td,
.wznrys .wp-block-table table tr th{padding:12px 20px;border-right:1px solid #e7e7e7;}
.wznrys .wp-block-audio{margin-bottom:40px;}
.wznrys .wp-block-cover{margin-bottom:40px;}
.wznrys .wp-block-cover .wp-block-cover__inner-container{margin:0px 10%;}
.wznrys .wp-block-search{margin-bottom:30px;}
.wznrys .wp-block-search .wp-block-search__label{display:none;}
.wznrys .wp-block-search .wp-block-search__inside-wrapper{background:#ebe9e9;padding:15px 20px;border-radius:5px;}
.wznrys .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input{background:#fff;border:none;border-radius:10px 0px 0px 10px;text-indent:15px;color:#a7a6a6;}
.wznrys .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button{background-color:#dc3544;margin-left:0px;border:none;font-size:14px;color:#fff;border-radius:0px 10px 10px 0px;padding:8px 25px;}
@media (max-width:992px){
    .sidebar_sticky{display:none;}
    .none_992{display:none;}
}
@media (max-width:768px){
    .mobile_none{display:none;}
}
.nopic_des{position:fixed;width:100%;height:100%;background:#ffffff;top:0px;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:20px;text-align:center;line-height:2;}
.nopic_des a{background:#3556f3;margin-top:20px;padding:8px 45px;font-size:16px;color:#fff;}
.ishows{}
.ishows .widget{margin:0;padding:0 0 20px 0;border-radius:0;border-bottom:1px solid #f7f7f7;}
.ishows .widget .widget-title{padding: 15px 20px 15px 50px;margin-bottom:20px;}
.ishows .widget .widget-title:before{top:20px;left: 30px;}
.ishows .widget .widget-title:after{bottom:0;}
/* ===================== 本地适配层 / Local adapters ===================== */
:root{
  --ds_background: url(/assets/img/bg.svg);
  --once-blue:#4270f5;
  --once-blue-d:#2f5ce0;
}
body{background-color:#f7f7f7;}
.dark body{background-color:#212121;}
a:hover{color:var(--once-blue);}

/* 图片比例锁定：源图 1200x675，避免压缩变形 */
.post_def .post_def_left img{aspect-ratio:400/280;object-fit:cover;display:block;}
.post_gallery .post_gallery_head img{aspect-ratio:400/240;object-fit:cover;display:block;}
.post_images img.wide{width:100%;aspect-ratio:920/400;object-fit:cover;display:block;}
.widget_hot_post .widget_hot_li img{aspect-ratio:400/280;object-fit:cover;}
.widget_hot_post .widget_hot_li:first-child img{aspect-ratio:400/280;object-fit:cover;}
.index_banner_center .zt_list img{aspect-ratio:1/1;object-fit:cover;}
.index_banner .gglb img{aspect-ratio:3/4;object-fit:cover;}
#banner .banlist img{width:100%;aspect-ratio:700/400;object-fit:cover;display:block;}

/* 徽标 */
.logo-mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#4270f5,#7aa2ff);display:inline-flex;align-items:center;justify-content:center;margin-right:10px;flex-shrink:0;color:#fff;}
.dark .logo-mark{background:linear-gradient(135deg,#3358d4,#5d84ef);}

/* 顶部用户区 */
.top .top_r .top_r_an{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;}
.top .top_r .u-avatar{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#fff;background:var(--once-blue);text-decoration:none;}
.top .top_r .u-name{font-size:13px;margin:0 10px 0 8px;color:#555;}
.dark .top .top_r .u-name{color:#bdbdbd;}
.top .top_r .u-drop{position:absolute;top:42px;right:0;width:170px;background:#fff;border-radius:10px;box-shadow:0 8px 24px #00000014;padding:8px 0;display:none;z-index:99;}
.top .top_r .u-drop a{display:block;padding:8px 16px;font-size:13px;color:#444;}
.top .top_r .u-drop a:hover{background:#f5f6f8;color:var(--once-blue);}
.dark .top .top_r .u-drop{background:#2a2a2b;box-shadow:0 8px 24px #00000066;}
.dark .top .top_r .u-drop a{color:#cfcfcf;}
.dark .top .top_r .u-drop a:hover{background:#343435;}
.u-wrap{position:relative;display:flex;align-items:center;}
.u-wrap.open .u-drop{display:block;}

/* 面包屑 */
.crumbs-once{font-size:12px;color:#999;padding:0 0 15px 0;}
.crumbs-once a{color:#888;}
.crumbs-once a:hover{color:var(--once-blue);}
.crumbs-once i{font-style:normal;margin:0 6px;color:#bbb;}
.dark .crumbs-once,.dark .crumbs-once a{color:#8d8d8d;}

/* 分类头部 */
.cat_info_top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.cat_info_top .cat_tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.cat_info_top .cat_tags a{font-size:12px;padding:5px 12px;border-radius:20px;background:#f3f4f7;color:#666;}
.cat_info_top .cat_tags a.on{background:var(--once-blue);color:#fff;}
.dark .cat_info_top .cat_tags a{background:#343435;color:#bbb;}
.dark .cat_info_top .cat_tags a.on{background:var(--once-blue);color:#fff;}

/* 列表页小标题/工具条 */
.list_bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:4px;padding:14px 20px;margin-bottom:20px;font-size:13px;color:#888;}
.dark .list_bar{background:#2a2a2b;}
.list_bar b{color:#333;font-weight:600;}
.dark .list_bar b{color:#e2e2e2;}
.list_bar .bar-right{display:flex;gap:14px;align-items:center;}
.list_bar .bar-right a{color:#888;}
.list_bar .bar-right a.on,.list_bar .bar-right a:hover{color:var(--once-blue);}

/* 文章页 */
.post_container_title .crumbs-once{padding:0 0 12px;}
.post_container .lead{font-size:15px;color:#666;background:#f8f9fb;border-left:3px solid var(--once-blue);padding:14px 18px;margin:0 0 25px;line-height:1.9;}
.dark .post_container .lead{background:#232324;color:#bfbfbf;}
.wznrys .art-cover{display:block;margin:0 0 25px;border-radius:4px;overflow:hidden;}
.wznrys .art-cover img{width:100%;display:block;aspect-ratio:1200/675;object-fit:cover;}
.steps-once{counter-reset:step;margin:0 0 30px;padding:0;list-style:none;}
.steps-once li{position:relative;padding:0 0 22px 46px;border-left:2px solid #eef1f7;margin-left:14px;}
.steps-once li:last-child{border-left-color:transparent;padding-bottom:0;}
.steps-once li:before{counter-increment:step;content:counter(step);position:absolute;left:-16px;top:-2px;width:30px;height:30px;border-radius:50%;background:var(--once-blue);color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 4px #fff;}
.dark .steps-once li{border-left-color:#343435;}
.dark .steps-once li:before{box-shadow:0 0 0 4px #2a2a2b;}
.steps-once li h4{font-size:15px;margin:0 0 8px;font-weight:600;}
.steps-once li p{margin:0;font-size:14px;line-height:1.9;color:#555;padding:0;}
.dark .steps-once li p{color:#b5b5b5;}
.steps-once li .tip{margin-top:10px;font-size:13px;color:#8a6d1f;background:#fff8e6;border-radius:4px;padding:8px 12px;}
.dark .steps-once li .tip{background:#33301f;color:#e0c879;}
.faq-once details{border:1px solid #eee;border-radius:4px;padding:12px 16px;margin-bottom:10px;background:#fcfcfe;}
.faq-once details summary{font-size:14px;font-weight:600;cursor:pointer;outline:none;}
.faq-once details p{margin:10px 0 0;font-size:14px;color:#666;line-height:1.9;padding:0;}
.dark .faq-once details{background:#232324;border-color:#343435;}
.dark .faq-once details p{color:#b5b5b5;}
.post_author_l .pu-avatar{width:28px;height:28px;border-radius:50%;background:var(--once-blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;margin-right:10px;flex-shrink:0;}
.post_author_l span.pu-name{font-size:13px;color:#666;}
.dark .post_author_l span.pu-name{color:#b0b0b0;}

/* 分页（once posts-nav）*/
.posts-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;align-items:center;}
.posts-nav a,.posts-nav span.pg-cur,.posts-nav span.pg-dot{padding:5px 10px;background:#fff;display:inline-block;color:#555;font-size:12px;border-radius:3px;}
.posts-nav span.pg-cur{background:var(--once-blue);color:#fff;}
.dark .posts-nav a{background:#2a2a2b;color:#ddd;}

/* 侧栏补充 */
.side-notice{font-size:12.5px;line-height:1.9;color:#777;margin:0;}
.dark .side-notice{color:#a5a5a5;}
.widget_tags_cloud a{font-size:13px;padding:5px 13px;display:inline-block;margin:0 6px 6px 0;border-radius:3px;background:#f5f5f5;color:#555;}
.widget_tags_cloud a:hover{background:var(--once-blue);color:#fff;}
.dark .widget_tags_cloud a{background:#343435;color:#c5c5c5;}
.widget_btn{display:block;text-align:center;background:var(--once-blue);color:#fff!important;border-radius:4px;padding:9px 0;font-size:13px;margin-top:4px;}
.widget_btn:hover{background:var(--once-blue-d);color:#fff;}

/* 底部补充 */
.foot .foot-info{color:#999;font-size:12px;line-height:1.9;margin:8px 0 0;}
.foot .links-row{margin-bottom:12px;}

/* 表单 / 通用卡片（once 白卡风格）*/
.panel{background:#fff;border-radius:4px;padding:26px 28px;margin-bottom:20px;}
.dark .panel{background:#2a2a2b;}
.panel-title{font-size:16px;margin:0 0 18px;padding-left:1.25rem;position:relative;}
.panel-title:before{content:'';position:absolute;left:2px;top:5px;width:8px;height:8px;border-radius:5px;background:linear-gradient(to top,#6598ff,#0a59f8);}
.form-row{margin-bottom:16px;}
.form-row>label,.form-label-once{display:block;font-size:13px;color:#444;margin-bottom:7px;}
.dark .form-row>label,.dark .form-label-once{color:#c5c5c5;}
.form-row>label i{font-style:normal;color:#aaa;font-size:12px;margin-left:6px;font-weight:400;}
.form-control,.form-select{border-radius:4px;border:1px solid #e6e6e6;font-size:14px;padding:9px 12px;background:#fbfbfc;color:#333;}
.form-control:focus,.form-select:focus{border-color:#a9bffb;box-shadow:0 0 0 3px rgba(66,112,245,.1);background:#fff;}
.dark .form-control,.dark .form-select{background:#343435;border-color:#3d3d3e;color:#ddd;}
.btn-once{background:var(--once-blue);color:#fff;border:none;border-radius:4px;padding:9px 22px;font-size:14px;display:inline-block;cursor:pointer;transition:.25s;}
.btn-once:hover{background:var(--once-blue-d);color:#fff;}
.btn-once-ghost{background:#fff;color:#555;border:1px solid #e2e2e2;border-radius:4px;padding:8px 18px;font-size:13px;display:inline-block;cursor:pointer;}
.btn-once-ghost:hover{border-color:var(--once-blue);color:var(--once-blue);}
.dark .btn-once-ghost{background:#2a2a2b;border-color:#3d3d3e;color:#ccc;}
.btn-once-sm{padding:6px 14px;font-size:13px;}
.hint-once{font-size:12px;color:#999;margin:0 0 16px;line-height:1.8;}
.alert-once{border-radius:4px;padding:11px 15px;font-size:13px;margin-bottom:16px;background:#fff1f0;color:#c0392b;border:1px solid #ffd6d2;}
.alert-once.ok{background:#eefaf3;color:#1e8e5a;border-color:#c8eeda;}
.dark .alert-once{background:#3a2626;border-color:#553232;color:#ffb3ab;}

/* 会员中心 */
.member-layout{display:flex;gap:20px;align-items:flex-start;}
.member-side-once{width:230px;flex-shrink:0;background:#fff;border-radius:4px;padding:24px 20px;position:sticky;top:95px;}
.dark .member-side-once{background:#2a2a2b;}
.member-side-once .m-id{text-align:center;padding-bottom:18px;border-bottom:1px solid #f2f2f4;margin-bottom:14px;}
.member-side-once .m-ava{width:52px;height:52px;border-radius:50%;background:var(--once-blue);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.member-side-once .m-id b{display:block;font-size:15px;}
.member-side-once .m-id span{font-size:12px;color:#999;}
.member-side-once nav a{display:block;font-size:13.5px;padding:10px 12px;border-radius:4px;color:#555;margin-bottom:2px;}
.member-side-once nav a:hover{background:#f5f7ff;color:var(--once-blue);}
.member-side-once nav a.on{background:var(--once-blue);color:#fff;}
.dark .member-side-once nav a{color:#c2c2c2;}
.dark .member-side-once nav a:hover{background:#343435;}
.member-main{flex:1;min-width:0;}
.m-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px;}
.m-stat{background:#fff;border-radius:4px;padding:18px 20px;}
.dark .m-stat{background:#2a2a2b;}
.m-stat b{font-size:24px;display:block;line-height:1.2;}
.m-stat span{font-size:12px;color:#999;}

/* 社区列表 */
.comm-head{background:#fff;border-radius:4px;padding:16px 20px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.dark .comm-head{background:#2a2a2b;}
.comm-head .ch-tabs{display:flex;gap:18px;font-size:14px;}
.comm-head .ch-tabs a{color:#666;position:relative;padding:4px 0;}
.comm-head .ch-tabs a.on{color:var(--once-blue);font-weight:600;}
.dark .comm-head .ch-tabs a{color:#b5b5b5;}
.comm-head .ch-tabs a.on:after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--once-blue);}
.thread-row{display:flex;gap:14px;background:#fff;border-radius:4px;padding:18px 20px;margin-bottom:12px;}
.dark .thread-row{background:#2a2a2b;}
.thread-row .tr-ava{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;background:var(--once-blue);}
.thread-row .tr-main{flex:1;min-width:0;}
.thread-row .tr-title{font-size:15px;font-weight:600;display:block;margin-bottom:6px;color:#222;}
.dark .thread-row .tr-title{color:#eee;}
.thread-row .tr-title:hover{color:var(--once-blue);}
.thread-row .tr-desc{font-size:13px;color:#777;line-height:1.7;margin:0 0 8px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}
.dark .thread-row .tr-desc{color:#a3a3a3;}
.thread-row .tr-meta{font-size:12px;color:#999;display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
.thread-row .tr-meta i{margin-right:3px;}
.thread-row .tr-stats{flex-shrink:0;text-align:center;min-width:52px;color:#999;font-size:11px;}
.thread-row .tr-stats b{display:block;font-size:16px;color:#444;}
.dark .thread-row .tr-stats b{color:#ddd;}
.tag-once{font-size:11px;padding:2px 8px;border-radius:3px;background:#fff2c9;color:#9a7412;}
.tag-once.pin{background:#ffe1e4;color:#c0392b;}
.dark .tag-once{background:#3a3327;color:#e0c879;}
.dark .tag-once.pin{background:#412a2d;color:#ff9aa5;}

/* 帖子详情 */
.tpost-once{background:#fff;border-radius:4px;padding:26px 28px;margin-bottom:20px;}
.dark .tpost-once{background:#2a2a2b;}
.tpost-once h1{font-size:20px;line-height:1.6;margin:0 0 14px;}
.tpost-once .t-meta{font-size:12px;color:#999;display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding-bottom:16px;border-bottom:1px solid #f3f3f5;margin-bottom:18px;}
.dark .tpost-once .t-meta{border-color:#343435;}
.tpost-once .t-body{font-size:15px;line-height:2;color:#444;}
.dark .tpost-once .t-body{color:#c2c2c2;}
.reply-once{display:flex;gap:12px;padding:18px 0;border-bottom:1px dashed #eee;}
.dark .reply-once{border-color:#343435;}
.reply-once .r-ava{width:34px;height:34px;border-radius:50%;flex-shrink:0;background:#8aa4f0;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}
.reply-once .r-body{flex:1;min-width:0;}
.reply-once .r-head{font-size:12px;color:#999;margin-bottom:6px;display:flex;gap:10px;align-items:center;}
.reply-once .r-head b{color:#444;font-size:13px;}
.dark .reply-once .r-head b{color:#ddd;}
.reply-once .r-text{font-size:14px;line-height:1.9;color:#555;margin:0;}
.dark .reply-once .r-text{color:#b8b8b8;}

/* 客服面板（保留 chat.js 钩子，重排视觉）*/
.chat-shell{background:#fff;border-radius:6px;box-shadow:0 10px 40px #00000014;overflow:hidden;}
.dark .chat-shell{background:#242425;box-shadow:0 10px 40px #00000066;}
.chat-shell.chat-inline{width:100%;max-width:100%;}
.chat-shell.chat-inline .chat-panel{height:600px;}
.chat-shell.chat-float{position:fixed;right:24px;bottom:88px;width:360px;display:none;z-index:1000;}
.chat-shell.chat-float.open,.chat-shell.chat-float.on{display:block;}
body.chat-open .chat-shell.chat-float{display:block;}
.chat-panel{display:flex;flex-direction:column;height:520px;background:#fff;}
.dark .chat-panel{background:#242425;}
.chat-panel .chat-top{display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(135deg,#4270f5,#6a90ff);color:#fff;}
.chat-panel .chat-ava{width:34px;height:34px;border-radius:50%;background:#ffffff2e;display:flex;align-items:center;justify-content:center;font-size:13px;}
.chat-panel .chat-id{flex:1;min-width:0;}
.chat-panel .chat-id b{display:block;font-size:13.5px;}
.chat-panel .chat-state{font-size:11px;opacity:.9;display:flex;align-items:center;gap:5px;}
.chat-panel .chat-state i{width:6px;height:6px;border-radius:50%;background:#7dffb0;display:inline-block;}
.chat-panel .chat-close{background:none;border:none;color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0 2px;}
.chat-panel .chat-body{flex:1;overflow-y:auto;padding:16px;background:#f7f8fa;}
.dark .chat-panel .chat-body{background:#1e1e1f;}
.chat-panel .chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px 0;}
.chat-panel .chat-quick button{font-size:12px;border:1px solid #e5e8ef;background:#fff;color:#666;border-radius:14px;padding:4px 10px;cursor:pointer;}
.chat-panel .chat-quick button:hover{border-color:var(--once-blue);color:var(--once-blue);}
.dark .chat-panel .chat-quick button{background:#2a2a2b;border-color:#39393b;color:#bbb;}
.chat-panel .chat-input{display:flex;gap:8px;padding:12px 14px;align-items:flex-end;border-top:1px solid #f0f1f4;background:#fff;}
.dark .chat-panel .chat-input{background:#242425;border-color:#333;}
.chat-panel .chat-input textarea{flex:1;resize:none;border:1px solid #e8e8ea;border-radius:4px;padding:8px 10px;font-size:13px;max-height:88px;background:#fbfbfc;}
.dark .chat-panel .chat-input textarea{background:#2f2f31;border-color:#3c3c3e;color:#ddd;}
.chat-panel .chat-input button{width:36px;height:36px;border-radius:50%;border:none;background:var(--once-blue);color:#fff;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.chat-panel .chat-foot{font-size:11px;color:#aaa;text-align:center;padding:0 14px 10px;background:#fff;}
.dark .chat-panel .chat-foot{background:#242425;color:#777;}
.chat-panel .msg{display:flex;margin-bottom:12px;gap:8px;align-items:flex-end;}
.chat-panel .msg .msg-bubble{max-width:76%;padding:9px 13px;border-radius:10px;font-size:13px;line-height:1.7;word-break:break-word;}
.chat-panel .msg.msg-me{justify-content:flex-end;}
.chat-panel .msg.msg-me .msg-bubble{background:var(--once-blue);color:#fff;border-bottom-right-radius:2px;order:2;}
.chat-panel .msg.msg-admin .msg-bubble{background:#fff;color:#444;border:1px solid #eceef3;border-bottom-left-radius:2px;}
.chat-panel .msg.msg-admin .msg-bubble{order:1;}
.chat-panel .msg .msg-time{font-size:10px;color:#b5b5b5;order:3;}
.chat-panel .msg.msg-admin .msg-time{order:2;margin-left:4px;}
.chat-panel .msg-sys{text-align:center;font-size:11px;color:#b0b0b0;margin:8px 0;}
.dark .chat-panel .msg.msg-admin .msg-bubble{background:#2f2f31;color:#ddd;border-color:#3a3a3c;}

/* 右下角客服按钮（保留 .fab 钩子给 chat.js）*/
.fab{position:fixed;right:24px;bottom:26px;z-index:1001;display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:none;border-radius:50%;width:56px;height:56px;justify-content:center;box-shadow:0 8px 24px #0000001f;cursor:pointer;color:var(--once-blue);}
.fab em{font-style:normal;font-size:10px;color:#777;display:none;}
.fab .fab-pulse{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgba(66,112,245,.45);animation:oncePulse 2.4s infinite;}
@keyframes oncePulse{70%{box-shadow:0 0 0 14px rgba(66,112,245,0);}100%{box-shadow:0 0 0 0 rgba(66,112,245,0);}}
.dark .fab{background:#2a2a2b;color:#9db4ff;}

/* toast */
.once-toasts{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:2000;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;}
.once-toast{background:#2b2b2e;color:#fff;font-size:13px;padding:9px 18px;border-radius:20px;box-shadow:0 6px 20px #00000026;animation:onceIn .2s ease;}
.once-toast.ok{background:#1e8e5a;}
.once-toast.err{background:#c0392b;}
@keyframes onceIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}

/* 空白态 */
.empty-once{background:#fff;border-radius:4px;padding:54px 20px;text-align:center;color:#999;font-size:13px;}
.empty-once b{display:block;font-size:15px;color:#555;margin-bottom:6px;}
.dark .empty-once{background:#2a2a2b;}
.dark .empty-once b{color:#ddd;}

/* 移动端 */
@media (max-width:992px){
  .member-side-once{display:none;}
  .chat-shell.chat-float{width:min(360px,calc(100vw - 24px));right:12px;bottom:80px;}
}
@media (max-width:768px){
  .member-layout{display:block;}
  .m-stats{grid-template-columns:repeat(3,1fr);gap:8px;}
  .m-stat{padding:12px;}
  .m-stat b{font-size:18px;}
  .panel{padding:18px;}
  .post_container{padding:16px;}
  .cat_info_top{padding:16px;}
  .thread-row{padding:14px;}
  .thread-row .tr-stats{display:none;}
  .fab{right:14px;bottom:18px;width:50px;height:50px;}
  .once-toasts{bottom:84px;}
}

/* FAQ / details 统一字色，避免继承链接蓝 */
.wznrys summary,.faq-once summary{color:inherit;list-style:none;}
.wznrys summary::-webkit-details-marker,.faq-once summary::-webkit-details-marker{display:none;}
.faq-once summary{position:relative;padding-left:20px;}
.faq-once summary:before{content:'\F285';font-family:'bootstrap-icons';position:absolute;left:0;top:0;font-size:12px;color:#4270f5;transition:.2s;}
.faq-once details[open] summary:before{content:'\F282';}
.wznrys h2{scroll-margin-top:90px;}

/* banner 标题可读性 */
#banner .banlist h2{text-shadow:0 1px 6px rgba(0,0,0,.65),0 0 22px rgba(0,0,0,.35);}
@media (max-width:768px){
  #banner .banlist h2{background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0));}
}
