/* PHPCMS data-driven pages. */
.site-logo{display:block;padding-top:21px;text-decoration:none;color:#5a3021}.site-logo strong{display:block;font-size:30px;line-height:32px;letter-spacing:2px}.site-logo small{display:block;color:#a65b45;font-size:12px;letter-spacing:1px}.footer-entry{width:110px;height:54px;margin:25px 0 0 18px;border:1px solid #ddd;background:#fafafa;text-align:center;line-height:54px}.footer-entry a{color:#666}
.site-page{width:1200px;margin:10px auto;background:#fff;padding:0 0 30px;min-height:420px}.site-breadcrumb{padding:12px 18px;color:#999;border-bottom:1px solid #eee}.site-breadcrumb span{padding:0 8px;color:#ccc}.site-columns{display:flex;gap:20px;padding:16px 18px}.site-list{flex:1;min-width:0}.site-side{width:300px;background:#fafafa;padding:0 14px;height:max-content}.site-side-title,.site-heading{border-bottom:2px solid #bb4046;padding:12px 0}.site-heading{display:flex;justify-content:space-between;align-items:center}.site-heading h1{font-size:24px;color:#333}.site-heading form{display:flex}.site-heading input{width:220px;height:30px;border:1px solid #ddd;padding:0 8px}.site-heading button{background:#bb4046;color:#fff;border:0;width:54px}.site-item{display:flex;gap:15px;padding:16px 0;border-bottom:1px solid #eee}.site-item .thumb{width:180px;height:110px;overflow:hidden;flex:none;background:#f5f5f5}.site-item .thumb img{width:100%;height:100%;object-fit:cover}.site-item h2{font-size:18px;font-weight:normal;margin:2px 0 10px}.site-item p{color:#777;line-height:1.8}.site-item small{display:block;color:#aaa;margin-top:8px}.site-side ol{margin:0;padding:8px 0 8px 28px}.site-side li{padding:7px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-pages{padding:20px 0}.site-article{padding:25px 55px;line-height:2;color:#444}.site-article h1{text-align:center;font-size:30px;color:#222;line-height:1.4}.site-meta{text-align:center;color:#999;border-bottom:1px solid #eee;padding:12px 0 20px}.site-content{padding:25px 0;font-size:16px}.site-content img{max-width:100%;height:auto}.site-prev{border-top:1px solid #eee;padding-top:15px;color:#888}.site-related{border-top:1px solid #eee;margin:0 55px;padding:10px 0 20px}.site-related li{display:inline-block;width:48%;line-height:2}.site-empty{padding:40px;color:#999}@media(max-width:760px){body{min-width:0}.site-page{width:auto;margin:0;padding:0 12px}.site-columns{display:block;padding:10px}.site-side{width:auto;margin-top:20px}.site-heading{display:block}.site-heading form{margin-top:12px}.site-item .thumb{width:110px;height:76px}.site-article{padding:20px 8px}.site-related{margin:0 8px}}
/* Dynamic homepage category sections. */
.home-category-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.home-category-block{margin:0;min-width:0}
.home-category-block .title h2 a{color:inherit;text-decoration:none}
.home-category-block .home-list{margin-bottom:0}
@media(max-width:900px){.home-category-sections{grid-template-columns:1fr}}

/* Homepage alignment matching the 1200px three-column composition. */
.site-home{width:1200px;margin:0 auto}
.site-home .home-tools{min-height:46px;background:#fff}
.site-home .home-banner{min-height:0;overflow:hidden}
.site-home .home-banner #tonglan1{min-height:0;text-align:center}
.site-home .home-banner-small{margin-top:10px}
.site-home .home-banner-small>div{min-height:0;text-align:center}
.site-home .ione{padding:0 0 10px}
.site-home .slider>div.active{display:block}
.site-home .slider>div>a{display:block;height:220px;position:relative;overflow:hidden}
.site-home .slider img{height:220px;object-fit:cover}
.site-home .slider-dots{left:0;width:100%;text-align:center}
.site-home .slider-dots li{padding:2px 4px}
.site-home .slider-dots a{width:28px;height:3px}
.site-home .ic .tab-list{display:none}
.site-home .ic .tab-list.active{display:block}
.site-home .ic .list li{height:28px;line-height:28px}
.site-home .ic .tag{width:70px}
.site-home .ic .tt{width:340px}
.site-home .itnews img{object-fit:cover}
.site-home .itnews li.first img{height:85px;object-fit:cover}
.site-home .itnews .new_img img{width:59px;height:42px;object-fit:cover}
.home-category-wrap{margin-top:10px;padding-bottom:10px;overflow:hidden}
.home-category-sections{grid-template-columns:repeat(3,375px);gap:0;margin:0 -10px 0 0;padding:0}
.home-category-block{background:#fff;overflow:hidden}
.home-category-block .title{margin-top:0;margin-bottom:8px;line-height:42px;height:43px}
.home-category-block .list{padding-bottom:7px}
.home-category-block .list li{height:28px;line-height:28px;padding-left:9px;background:url("/statics/site-assets-clean/common/pc/skin/2018/images/ico.png") 0 9px no-repeat}
.home-category-block .list li a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-links{margin-top:10px;padding:0 10px 15px;overflow:hidden}
.home-links .title{margin-bottom:8px}
.home-links li{display:inline-block;margin-right:18px;line-height:26px}
.home-second-screen{margin-top:10px;padding:0 10px 16px;overflow:hidden}
.home-three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.home-four-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:16px;padding-top:14px;border-top:1px solid #eee}
.home-module{min-width:0}
.home-module .title{height:42px;line-height:42px;border-bottom:2px solid #40b4f7;color:#333;font-size:16px}
.home-module .title span{padding-left:9px;border-left:3px solid #40b4f7}
.home-module .title .more{margin:12px 0;color:#999}
.home-module .list{padding-top:5px}
.home-module .list li{height:30px;line-height:30px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-module .list li a{background:url("/statics/site-assets-clean/common/pc/skin/2018/images/ico.png") 0 9px no-repeat;padding-left:9px}
.home-module-tags{height:42px;line-height:42px;white-space:nowrap;overflow:hidden}
.home-module-tags a{display:inline-block;margin-right:10px;color:#777}
.home-ranked em{display:inline-block;width:18px;height:18px;line-height:18px;text-align:center;background:#ff6464;color:#fff;font-style:normal;margin-right:7px;border-radius:2px}
.home-ranked li:nth-child(n+4) em{background:#bbb}
@media(max-width:900px){.home-three-columns,.home-four-columns{grid-template-columns:1fr 1fr}}
@media(max-width:1200px){body{min-width:1200px}}

/* 首页下半屏沿用原站的 3×ilist、2×ithree、4×ifour 浮动组合。 */
.site-home>.main>.ilist{width:1200px;margin:0 auto;padding:0 0 10px;overflow:hidden;background:#fff}
.site-home>.main>.ilist>div{box-sizing:border-box;width:375px;margin-left:10px;min-height:390px;overflow:hidden}
.site-home>.main>.ilist>div:first-child{margin-left:10px}
.site-home>.main>.ilist .title{height:45px;line-height:45px;margin:10px 0 12px}
.site-home>.main>.ilist .list{padding-right:8px}
.site-home>.main>.ilist .list li{height:30px;line-height:30px}
.site-home>.main>.ilist .list a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.site-home .home-inline-ad{width:1200px;height:80px;min-height:80px;margin:0 auto 10px;text-align:center;line-height:0;overflow:hidden}
.site-home .home-inline-ad .module-ad img{width:1200px;height:80px;object-fit:cover}
.site-home>.main>.ithree{width:1200px;margin:0 auto;padding:0 0 10px;overflow:hidden;background:#fff}
.site-home>.main>.ithree .il{width:830px;margin-left:10px;margin-right:20px}
.site-home>.main>.ithree .ir{width:325px;margin:0}
.site-home>.main>.ithree .title{overflow:hidden}
.site-home>.main>.ifour{width:1200px;margin:0 auto;padding:0 0 15px;overflow:hidden;background:#fff}
.site-home>.main>.ifour>div>div{box-sizing:border-box}
.site-home>.main>.t_tag,.site-home>.main>.ifriend{background:#fff}
.site-home .home-banner-small>div{width:1200px;min-height:80px;height:80px;margin:0 auto;display:flex;align-items:center;justify-content:center}
.site-home .home-banner-small .module-ad img{width:1200px;height:80px;object-fit:cover}

/* 原首页首屏的广告信息流占位。广告脚本来自后台 poster 模块；没有素材时保留
   版面高度，保证 1200px 浮动栅格和下面栏目不发生跳动。 */
.site-home .home-ad-feed{height:180px;min-height:180px;overflow:hidden;line-height:0;text-align:center}
.site-home .home-ad-row{height:50px;min-height:50px;overflow:hidden;line-height:0;text-align:center}
.site-home .home-ad-feed .home-ad-code,.site-home .home-ad-row .home-ad-code{width:1200px;height:100%;margin:0 auto;overflow:hidden}
.site-home .home-ad-feed .module-ad,.site-home .home-ad-row .module-ad{display:block;width:100%;height:100%}
.site-home .home-ad-feed .module-ad img{width:1200px;height:180px;object-fit:cover}
.site-home .home-ad-row .module-ad img{width:1200px;height:50px;object-fit:cover}
.site-home .home-ad-slot{height:80px;min-height:80px;overflow:hidden;line-height:0;text-align:center}
.site-home .home-ad-slot>span{display:flex;width:1200px;height:80px;margin:0 auto;align-items:center;justify-content:center;overflow:hidden}
.site-home .home-ad-slot .module-ad img{width:1200px;height:80px;object-fit:cover}

/* Homepage spacing: keep category headings, links and the bottom modules
   visually separated at the fixed 1200px desktop width. */
.site-home .home-banner-small{margin-top:14px;margin-bottom:14px}
.home-category-wrap{margin-top:14px;padding:0 10px 16px;box-sizing:border-box}
.home-category-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px;margin:0;padding:0}
.home-category-block{box-sizing:border-box;padding:0 12px 14px;background:#fff}
.home-category-block .title{height:48px;line-height:48px;margin:0 0 8px;padding:0 4px;box-sizing:border-box}
.home-category-block .title>a:not(.more){display:inline-block;max-width:calc(100% - 58px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:top}
.home-category-block .title .more{margin:15px 0 14px;line-height:18px}
.home-category-block .list{padding:0 4px 2px}
.home-category-block .list li{height:32px;line-height:32px;padding-left:9px}
.home-second-screen{margin-top:18px;padding:0 18px 28px}
.home-three-columns{gap:30px}
.home-four-columns{gap:30px;margin-top:26px;padding-top:22px}
.home-module .title{margin-bottom:8px}
.home-module .list{padding-top:7px}
.home-module .list li{height:34px;line-height:34px}
.home-links{margin-top:18px;padding:0 18px 26px}
.home-links .title{margin-bottom:12px}
.home-links li{line-height:30px;margin-right:22px}

/* Complete footer layout: links/copyright on the left and two QR entries on
   the right, matching the original two-column footer proportions. */
#footer{padding:28px 0 22px}
#footer .footer-inner{width:1200px}
#footer .footer-main{min-height:148px}
#footer .footer-copy{width:824px;line-height:28px;margin:0}
#footer .footer-links{height:30px;line-height:30px;white-space:nowrap}
#footer .footer-links i{font-style:normal;padding:0 9px;color:#666}
#footer .footer-copy p{margin:0;color:#888}
#footer .footer-categories a{margin-right:4px}
#footer .footer-qrcodes{width:300px;text-align:center}
#footer .footer-qrcodes>div{float:left;width:50%;margin-top:0}
#footer .footer-qrcodes img{display:block;width:100px;height:100px;margin:0 auto 6px;background:#fff}
#footer .footer-qrcodes p{margin:0;line-height:24px;color:#999}
#footer .footer-info{min-height:10px;margin-top:14px;text-align:center}
#footer .footer-badge{text-align:center;line-height:24px}
#footer .footer-badge a{color:#777}
@media(max-width:900px){#footer .footer-inner{width:auto;padding:0 15px}#footer .footer-copy{width:auto;float:none}.footer-qrcodes{float:none!important;width:300px!important;margin:18px auto 0}.home-category-sections{grid-template-columns:1fr 1fr}.home-three-columns{grid-template-columns:1fr 1fr}.home-four-columns{grid-template-columns:1fr 1fr}}

/* 一级栏目频道页：子栏目分区、双列文章和右侧信息栏。 */
.site-channel-page{padding-bottom:24px}
.channel-head{display:flex;justify-content:space-between;align-items:flex-end;padding:22px 24px 18px;border-bottom:1px solid #eee;background:#fff}
.channel-head h1{font-size:28px;line-height:38px;color:#222;font-weight:normal}
.channel-head p{color:#999;margin-top:4px}
.channel-links{max-width:650px;text-align:right}
.channel-links a{display:inline-block;margin-left:18px;color:#666;line-height:28px}
.channel-links a:hover{color:#2a7bc9}
.channel-layout{display:flex;gap:20px;padding:18px 18px 0}
.channel-main{flex:1;min-width:0}
.channel-section{border:1px solid #eee;background:#fff;margin-bottom:16px;padding:0 16px 10px}
.channel-section-title{height:48px;line-height:48px;border-bottom:2px solid #40b4f7;overflow:hidden}
.channel-section-title h2{float:left;font-size:19px;font-weight:normal}
.channel-section-title h2 a{color:#333}
.channel-section-title .more{float:right;color:#999;margin:0;line-height:48px}
.channel-article-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.channel-article-grid li{height:38px;line-height:38px;border-bottom:1px dashed #eee;min-width:0;padding-left:10px;position:relative}
.channel-article-grid li:before{content:"";position:absolute;left:0;top:18px;width:3px;height:3px;background:#40b4f7;border-radius:50%}
.channel-article-grid li a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:42px}
.channel-article-grid time{position:absolute;right:0;top:0;color:#aaa;font-size:12px}
.channel-section-single .channel-article-grid{grid-template-columns:1fr}
.channel-pages{grid-column:1 / -1;height:auto!important;padding:18px 0!important;text-align:center;border:0!important}
.channel-pages:before{display:none}
.channel-side{width:300px;background:#fafafa;padding:0 14px;height:max-content}
.channel-side-cats{padding:9px 0 12px;border-bottom:1px solid #e5e5e5;overflow:hidden}
.channel-side-cats li{display:inline-block;width:49%;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.channel-side-latest{padding:8px 0 12px;border-bottom:1px solid #e5e5e5}
.channel-side-latest li{line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.channel-side .site-side-ad{margin-top:14px;min-height:100px;text-align:center;line-height:0}
.channel-side .site-side-ad .module-ad img{width:300px;height:100px;object-fit:cover}
@media(max-width:900px){.channel-head,.channel-layout{display:block}.channel-links{text-align:left;margin-top:12px}.channel-links a{margin:0 15px 0 0}.channel-side{width:auto;margin-top:18px}.channel-article-grid{grid-template-columns:1fr}}

/* 独立频道版式：一级栏目不再共用单一 category 外观。 */
.channel-shell{padding-bottom:28px}.channel-hero{display:flex;justify-content:space-between;align-items:flex-end;padding:22px 24px 18px;border-bottom:1px solid #eee}.channel-hero h1{font-size:28px;font-weight:normal;line-height:38px}.channel-hero p{color:#999;margin-top:4px}.channel-links{max-width:700px;text-align:right}.channel-links a{display:inline-block;margin-left:16px;line-height:28px}.channel-ad{margin:10px 18px;min-height:80px;text-align:center;line-height:0}.channel-ad img{max-width:100%;height:80px;object-fit:cover}.web-channel-grid,.network-columns,.soft-layout,.tutorial-layout{display:flex;gap:20px;padding:0 18px}.web-channel-main,.network-main,.soft-main,.tutorial-main{flex:1;min-width:0}.web-topic{background:#fff;border:1px solid #eee;margin-bottom:14px;padding:0 16px}.web-topic-head,.network-feature-head,.soft-title{height:48px;line-height:48px;border-bottom:2px solid #40b4f7;overflow:hidden}.web-topic-head h2,.network-feature-head h2,.soft-title h2{float:left;font-size:19px;font-weight:normal}.web-topic-head .more,.soft-title a{float:right;color:#999}.web-topic-body ul{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.web-topic-body li{height:37px;line-height:37px;border-bottom:1px dashed #eee;position:relative;padding-left:10px}.web-topic-body li:before{content:"";position:absolute;left:0;top:17px;width:3px;height:3px;background:#40b4f7;border-radius:50%}.web-topic-body li a{display:block;padding-right:42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.web-topic-body time{position:absolute;right:0;top:0;color:#aaa;font-size:12px}.network-child-nav,.soft-child-tabs{padding:12px;background:#f7fbfe;border:1px solid #e2edf5;margin-bottom:14px}.network-child-nav a,.soft-child-tabs a{display:inline-block;margin:0 18px 0 0;line-height:28px;color:#2a7bc9}.network-feature{border:1px solid #eee;padding:0 16px;background:#fff}.network-feature-head a{float:right;color:#999}.network-list{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.network-list li{height:34px;line-height:34px;border-bottom:1px dashed #eee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.network-list li a{display:inline-block;max-width:75%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.network-list li span{float:right;color:#aaa;font-size:12px}.network-child-grid,.tutorial-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.network-child-grid section,.tutorial-groups section{background:#fff;border:1px solid #eee;padding:0 14px 10px}.network-child-grid h3,.tutorial-groups h3{height:42px;line-height:42px;border-bottom:2px solid #40b4f7;font-size:17px;font-weight:normal}.network-child-grid h3 .more,.tutorial-groups h3 .more{float:right;color:#999;font-size:12px}.network-child-grid li,.tutorial-groups li{height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.soft-latest{background:#fff;border:1px solid #eee;padding:0 16px}.soft-title{margin-bottom:0}.soft-latest>ul{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.soft-latest li{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #eee;min-height:84px}.soft-thumb{width:72px;height:72px;flex:none;background:#f5f5f5}.soft-thumb img{width:72px;height:72px;object-fit:cover}.soft-latest h3{font-size:16px;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.soft-latest p{color:#888;font-size:12px;line-height:20px;height:40px;overflow:hidden}.soft-latest small{color:#aaa}.tutorial-feature{background:#fff;border:1px solid #eee;padding:0 16px}.tutorial-feature h2{height:48px;line-height:48px;border-bottom:2px solid #40b4f7;font-size:19px;font-weight:normal}.tutorial-feature ul{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.tutorial-feature li{height:36px;line-height:36px;border-bottom:1px dashed #eee;position:relative;padding-left:10px}.tutorial-feature li:before{content:"";position:absolute;left:0;top:17px;width:3px;height:3px;background:#40b4f7;border-radius:50%}.tutorial-feature li a{display:block;padding-right:42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tutorial-feature time{position:absolute;right:0;top:0;color:#aaa;font-size:12px}
@media(max-width:900px){.channel-hero,.web-channel-grid,.network-columns,.soft-layout,.tutorial-layout{display:block}.channel-links{text-align:left;margin-top:12px}.channel-links a{margin:0 14px 0 0}.channel-side{width:auto;margin-top:18px}.web-topic-body ul,.network-list,.soft-latest>ul,.tutorial-feature ul,.network-child-grid,.tutorial-groups{grid-template-columns:1fr}}

/* Category children, pagination, poster slots and slider controls. */
.site-side-title{font-size:16px;color:#333;line-height:40px}
.site-subcats{padding:8px 0 12px;border-bottom:1px solid #e5e5e5;overflow:hidden}
.site-subcats li{display:inline-block;width:49%;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-subcats li a{color:#666}
.site-pages{clear:both;min-height:36px;text-align:center;border-top:1px solid #eee;margin-top:18px;padding:18px 0 0}
.site-pages ul,.site-pages ol{display:inline-block;margin:0;padding:0;list-style:none;line-height:28px}
.site-pages li{display:inline-block;margin:0 3px;padding:0;line-height:28px}
.site-pages li a,.site-pages li span{display:block;min-width:28px;height:28px;padding:0 8px;border:1px solid #ddd;background:#fff;color:#666;border-radius:2px;box-sizing:border-box}
.site-pages li a:hover{border-color:#2a7bc9;color:#2a7bc9}
.site-pages li.active a,.site-pages li.active span{border-color:#2a7bc9;background:#2a7bc9;color:#fff}
.site-pages li:first-child a{color:#999;background:#fafafa}
.site-pages li:first-child a,.site-pages li:last-child a{min-width:56px}
.module-ad{display:block;line-height:0;text-align:center}
.module-ad img{display:block;max-width:100%;height:auto;margin:0 auto}
.ad-slot{display:block;line-height:0;min-height:60px}
.site-home .slider-prev,.site-home .slider-next{display:block;position:absolute;z-index:10;top:80px;width:30px;height:60px;border:0;background:rgba(0,0,0,.38);color:#fff;font:40px/54px Arial;cursor:pointer;opacity:0;transition:opacity .2s;padding:0}
.site-home .slider-prev{left:0}.site-home .slider-next{right:0}
.site-home .slider:hover .slider-prev,.site-home .slider:hover .slider-next{opacity:1}
.site-home .home-banner .module-ad,.site-home .home-banner .module-ad img{margin-left:auto;margin-right:auto}
.site-home .home-banner-small{min-height:80px}
.site-home .home-banner-small #tonglan3_1,.site-home .home-banner-small #tonglan3_2{min-height:80px;display:flex;align-items:center;justify-content:center}
.site-home .home-banner-small .module-ad img{width:820px;height:80px;object-fit:cover}
#logo_m .module-ad img,#logo_r .module-ad img{width:430px;height:60px;max-width:none;object-fit:fill}
.site-show-columns{align-items:flex-start}
.site-show-ad{width:100%;min-height:80px;margin:0 0 10px;overflow:hidden;text-align:center;line-height:0}
.site-show-ad .module-ad img{width:100%;height:80px;object-fit:fill}
.site-show-side{padding-bottom:14px}
.site-show-side .site-side-ad{margin-top:14px;min-height:100px;line-height:0;text-align:center}
.site-show-side .site-side-ad .module-ad img{width:300px;height:100px;object-fit:cover}

/* Visible fallback for an empty poster slot. The poster script remains the
   source of real ads; this only preserves the original reserved geometry when
   no material is configured in the ad module. */
.ad-empty{position:relative;box-sizing:border-box;border:1px dashed #d7d7d7;background:linear-gradient(135deg,#fafafa,#f2f2f2);color:#b0b0b0}
.ad-empty:after{content:"广告位";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);font:12px/20px Arial,"Microsoft YaHei",sans-serif;text-align:center;letter-spacing:2px}
.ad-slot.ad-empty{width:430px;height:60px;min-height:60px}
#tonglan1.ad-empty{min-height:50px;height:50px;margin:0 auto}
.home-banner-small>div.ad-empty,.channel-ad.ad-empty,.site-show-ad.ad-empty{min-height:80px;height:80px}
.home-banner-small>div.ad-empty{width:820px;margin:0 auto}
.site-show-ad.ad-empty{width:100%}
.site-side-ad.ad-empty,.channel-side .site-side-ad.ad-empty{min-height:100px;height:100px}
.site-side-ad.ad-empty:after,.channel-side .site-side-ad.ad-empty:after{letter-spacing:1px}

/* 脚本下载频道：按原封面页的 336/515/300、865/300 栅格还原。 */
.script-channel-page{width:1200px;margin:0 auto;background:#fff;position:relative;padding-bottom:30px;overflow:hidden}
.script-channel-ad{height:80px;min-height:80px;margin:10px 0;text-align:center;line-height:0;overflow:hidden}
.script-channel-ad img{width:1200px;height:80px;object-fit:cover}
.script-top{width:1200px;margin:15px auto 10px;background:#fff}
.script-nav-column{width:336px;float:left;margin-left:10px;color:#999;line-height:22px}
.script-nav-group{width:336px;display:table;margin-bottom:8px}
.script-nav-group h2{height:30px;line-height:30px;margin:6px auto;background:#333;font-size:14px;font-weight:bold;color:#fff;overflow:hidden}
.script-nav-group h2 span{float:left;margin-left:15px;color:#fff}
.script-nav-group h2 a{float:right;margin-right:10px;color:#fff;font-size:12px;font-weight:normal}
.script-nav-items{overflow:hidden}
.script-nav-items a{display:block;float:left;width:112px;height:32px;line-height:32px;text-align:center;border-bottom:1px solid #eee;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-nav-items a:hover{color:#40b1de}
.script-nav-blue h2{background:#56b9e0}.script-nav-green h2{background:#84bb44}.script-nav-yellow h2{background:#ffc128}
.script-latest{width:515px;float:left;margin-left:10px;overflow:hidden}
.script-title{position:relative;height:40px;line-height:40px;margin:0;padding:0 10px;border:0;overflow:hidden;font-size:16px;font-weight:normal;color:#111}
.script-title span{font-size:22px;color:#111;font-weight:normal}
.script-title i{font-size:18px;color:#ddd;font-style:normal;margin-left:7px}
.script-title>a{float:right;color:#999;font-size:12px;font-weight:normal;line-height:40px}
.script-latest dl{margin:0;padding:0}
.script-latest dd{width:500px;height:32px;line-height:32px;margin-left:8px;border-bottom:1px dashed #f0f0f0;overflow:hidden}
.script-latest dd a{display:block;float:left;width:410px;height:32px;line-height:34px;padding-left:10px;color:#666;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-latest dd a:hover{color:#40b1de}.script-latest dd time{float:right;margin-right:10px;color:#bbb;font-size:12px}
.script-quick{width:300px;float:right;padding:0 10px 18px 0;box-sizing:border-box}
.script-quick-ad{height:80px;line-height:0;margin:0 0 12px;text-align:center;overflow:hidden}
.script-quick-ad img{width:300px;height:80px;object-fit:cover}
.script-quick-links{width:280px;min-height:82px;margin-top:23px;border:1px solid #eee;padding:10px;overflow:hidden}
.script-quick-links dt{clear:both;height:24px;line-height:24px;color:#333;font-weight:bold}
.script-quick-links dd{width:130px;height:24px;line-height:24px;float:left;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.script-quick-links dd a{color:#999}.script-quick-links dd a:hover{color:#40b1de}
.script-wide-ad{clear:both;width:1200px;min-height:50px;height:50px;margin:0 auto 10px;text-align:center;line-height:0;overflow:hidden}
.script-wide-ad img{width:1200px;height:50px;object-fit:cover}
.script-row{width:1200px;margin:0 auto 10px;background:#fff}
.script-box{box-sizing:border-box;overflow:hidden}
.script-random{width:865px;float:left;margin-bottom:10px}
.script-random .script-title{margin-top:10px}
.script-random-viewport{width:865px;height:164px;position:relative;overflow:hidden}
.script-random-list{position:absolute;left:0;top:0;width:2000px;height:164px;margin:0;padding:12px 0 0;white-space:nowrap}
.script-random-list li{display:inline-block;vertical-align:top;width:192px;height:146px;margin:0 0 0 18px;border:1px solid #f3f3f3;padding:2px;box-sizing:border-box;white-space:normal}
.script-random-list li:first-child{margin-left:18px}
.script-random-list li a{display:block;color:#666}
.script-random-image{display:block;width:100%;height:110px;line-height:110px;text-align:center;overflow:hidden}
.script-random-image img{display:block;max-width:190px;width:190px;height:110px;object-fit:cover;margin:0 auto;border:1px solid #eee;box-sizing:border-box}
.script-random-list em{display:block;height:36px;line-height:36px;text-align:center;font-size:12px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-random .script-prev,.script-random .script-next{position:absolute;z-index:2;top:7px;width:24px;height:30px;border:0;background:rgba(0,0,0,.12);color:#666;cursor:pointer;font-size:22px;line-height:24px}
.script-random .script-prev{right:38px}.script-random .script-next{right:10px}
.script-web-list{width:300px;float:right;margin-right:10px}
.script-web-list .script-title{margin-top:10px}
.script-web-list li{width:100%;height:32px;line-height:32px;margin-left:8px;text-indent:10px;border-bottom:1px dashed #f0f0f0;background:linear-gradient(90deg,#bbb 0 3px,transparent 3px)}
.script-web-list li a{display:block;float:left;width:76%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-web-list li time{float:right;margin-right:8px;color:#bbb;font-size:12px}
.script-section-row{width:1200px;margin:0 auto 10px;overflow:hidden}
.script-list-box,.script-tab-box{box-sizing:border-box;background:#fff;border:1px solid #ddd;border-top:6px solid #333;float:right;margin:10px 10px 0 0;overflow:hidden}
.script-list-wide{width:300px;height:408px}
.script-list-wide:nth-child(4n+1){float:right}
.script-section-row>.script-list-wide:not(:first-child){width:417px;height:196px;float:left;margin:10px 0 0 12px;position:relative}
.script-tab-box{width:417px;height:196px;float:left;margin-left:12px;margin-right:0;position:relative}
.script-list-box .script-title,.script-tab-box .script-title{width:95%;margin:0 auto;border-bottom:1px solid #eee;box-sizing:border-box}
.script-list-box .script-title span,.script-tab-box .script-title span{font-size:18px}
.script-list-box ul,.script-tab-box ul{padding:0 10px;margin:0;overflow:hidden}
.script-list-box li{width:260px;height:20px;line-height:20px;padding-left:20px;margin:10px 0 1px 9px;background:linear-gradient(90deg,#999 0 4px,transparent 4px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-list-box li a,.script-tab-box li a{display:block;width:100%;font-size:12px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-tab-box li{width:240px;height:18px;line-height:18px;float:right;padding-left:20px;margin:8px 15px 1px;background:linear-gradient(90deg,#999 0 4px,transparent 4px);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-tab-box li a{line-height:18px}
.script-tools{clear:both;width:1200px;margin:0 auto 10px;padding-bottom:10px;background:#fff;border:0;overflow:hidden}
.script-tools .script-title{border-bottom:1px solid #eee;margin:0 10px}
.script-tools .script-title i{font-size:18px;color:#999}
.script-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 18px}
.script-tool-item{display:block;min-height:108px;padding:10px;text-align:left;border:1px solid #eee;background:#fff;color:#666;box-sizing:border-box}
.script-tool-item:hover{border-color:#40b1de}.script-tool-icon{display:block;float:left;width:72px;height:72px;margin-right:10px;background:#f2f7fb;color:#40aee0;font:bold 18px/72px Arial;text-align:center}
.script-tool-item b{display:block;padding-top:7px;font-size:14px;font-weight:normal;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.script-tool-item small{display:block;margin-top:8px;color:#999;line-height:18px}
.script-float-actions{position:fixed;right:20px;bottom:80px;z-index:10}.script-to-top{display:block;width:36px;height:36px;background:#40b1de;color:#fff;text-align:center;font:24px/34px Arial;border-radius:2px}
@media(max-width:900px){body{min-width:0}.script-channel-page,.script-top,.script-row,.script-section-row,.script-wide-ad,.script-tools{width:auto}.script-channel-ad img,.script-wide-ad img{width:100%;height:auto}.script-nav-column,.script-latest,.script-quick,.script-random,.script-web-list{width:100%;float:none;margin:0}.script-quick{padding:0 10px 18px}.script-latest dd{width:calc(100% - 8px)}.script-random-viewport{width:100%}.script-tool-grid{grid-template-columns:1fr 1fr}.script-list-box,.script-tab-box{width:calc(50% - 18px);float:left;margin-left:12px}.script-list-wide{height:300px}.script-float-actions{right:10px}}

/* 脚本下载内容页：复刻原资源详情页的资源卡、正文/下载区、推荐区和右侧栏。 */
.script-detail-page{width:1200px;margin:0 auto;padding-bottom:28px;overflow:hidden;background:#f5f5f5}
.script-detail-ad{width:1200px;height:80px;min-height:80px;margin:0 0 8px;overflow:hidden;text-align:center;line-height:0}
.script-detail-ad img{width:1200px;height:80px;object-fit:cover}
.script-detail-tools{height:42px;padding:0 10px;box-sizing:border-box;background:#fff}
.script-detail-breadcrumb{float:left;width:750px;padding:11px 0 0;color:#999;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-detail-breadcrumb span{padding:0 7px;color:#ccc}.script-detail-breadcrumb a{color:#777}.script-detail-path{padding-left:0!important;color:#999!important}
.script-detail-search{float:right;height:28px;margin-top:6px;border:1px solid #e8e8e8;border-radius:4px;background:#fff;overflow:hidden}
.script-detail-search input{width:250px;height:27px;padding:0 10px;border:0;color:#999;font-size:12px;box-sizing:border-box}
.script-detail-search button{width:35px;height:28px;border:0;border-left:1px solid #eee;background:#fff;color:#358ff0;font-size:20px;line-height:20px;cursor:pointer}
.script-detail-summary{margin-top:7px;padding:10px;background:#fff;overflow:hidden}
.script-detail-title{height:54px;padding:0 10px;border-bottom:1px solid #eee;box-sizing:border-box;overflow:hidden}
.script-detail-title h1{display:block;float:left;max-width:830px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px;line-height:38px;color:#333;font-weight:600}
.script-detail-title p{clear:both;overflow:hidden;height:20px;line-height:20px;color:#999;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.script-detail-summary-row{position:relative;padding:13px 10px 0;min-height:146px}
.script-detail-cover{float:left;width:160px;margin-right:15px;text-align:center}
.script-detail-cover-img{width:160px;height:120px;overflow:hidden;background:#f4f4f4}
.script-detail-cover-img img{width:160px;height:120px;object-fit:cover}
.script-report{display:block;height:30px;margin-top:8px;border-radius:3px;background:#eee;color:#358ff0;line-height:30px;font-size:12px}.script-report:hover{background:#e6e6e6}
.script-detail-meta{float:left;width:630px;min-height:130px}
.script-detail-meta ul{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:31px;overflow:hidden}
.script-detail-meta li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#999;font-size:13px;line-height:31px}
.script-detail-meta li span{color:#666}.script-stars{color:#f7b500!important;letter-spacing:1px}
.script-security{margin-top:5px}.script-security i{display:inline-block;margin-right:8px;padding:2px 8px;border:1px solid #9bd3a2;border-radius:2px;color:#3c9d4a;font-style:normal;font-size:12px}
.script-detail-summary-ad{float:right;width:320px;height:80px;min-height:80px;margin:10px 0 0 10px;overflow:hidden;text-align:center;line-height:0}
.script-detail-summary-ad img{width:320px;height:80px;object-fit:cover}
.script-detail-body{padding:0 10px}
.script-detail-main{float:left;width:850px;min-width:0}
.script-detail-sidebar{float:right;width:300px;min-width:0}
.script-detail-box,.script-sidebar-box{position:relative;margin-top:15px;padding:15px;background:#fff;box-sizing:border-box;overflow:hidden}
.script-detail-box-title{height:54px;line-height:54px;border-bottom:1px solid #eee;position:relative;overflow:hidden}
.script-detail-box-title h2{display:inline-block;position:relative;height:54px;margin:0;color:#358ff0;font-size:20px;line-height:54px;font-weight:bold}
.script-detail-box-title h2:before{content:"";display:inline-block;width:5px;height:27px;margin:0 13px 0 0;vertical-align:-4px;background:#358ff0}
.script-detail-box-title h2 em{display:inline-block;width:33px;height:44px;margin:0 8px 0 0;background:#358ff0;color:#fff;text-align:center;vertical-align:middle;font-size:24px;font-style:normal;font-weight:bold;line-height:44px;transform:skewY(-10deg)}
.script-detail-error{float:right;color:#999;font-size:12px;line-height:54px}.script-detail-error a{color:#358ff0}
.script-detail-content{padding:15px 0 5px;color:#555;font-size:14px;line-height:2;word-break:break-word}
.script-detail-content p{clear:both;margin:0 0 10px;line-height:24px}.script-detail-content h2{margin:10px 0;padding:9px 10px;border-radius:4px;background:#168fd6;color:#fff;font-size:16px}.script-detail-content h3{margin:10px 0 8px;padding:6px 10px;border-left:3px solid #49a7ea;border:1px dashed #cae0f3;border-left-width:3px;background:#f1f7fd;color:#358ff0;font-size:16px}.script-detail-content a{color:#169fe3;text-decoration:underline}.script-detail-content img{display:block;max-width:100%;height:auto;margin:8px auto;cursor:zoom-in}.script-detail-content img.script-detail-image-large{max-width:none;width:auto}
.script-detail-content pre,.script-detail-content code{max-width:100%;overflow:auto}.script-detail-content blockquote{margin:0 auto 10px;padding:5px 8px;background:#f7fbf4;border-left:3px solid #0bd822}
.script-detail-tags{margin-top:12px;padding-top:12px;border-top:1px dashed #eee;color:#999;font-size:12px}.script-detail-tags b{color:#666}.script-detail-tags span{display:inline-block;margin-left:5px;padding:5px 8px;background:#bebebe;color:#fff}
.script-download-panel{padding:10px 0}.script-download-panel h3{padding-bottom:8px;border-bottom:1px dashed #ddd;color:#333;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.script-download-list{padding:10px 0 4px;overflow:hidden}.script-download-list li{min-height:34px;padding:5px 0;border-bottom:1px dashed #eee;line-height:34px}.script-download-list li a{display:inline-block;min-width:145px;padding:0 16px;border-radius:4px;background:#20a957;color:#fff;text-align:center;line-height:34px}.script-download-list li a:hover{background:#159347;color:#fff}.script-download-list li span{margin-left:12px;color:#999;font-size:12px}.script-download-tip{color:#999;font-size:12px;line-height:24px}.script-detail-ad-small{width:100%;height:60px;min-height:60px;text-align:center;line-height:0;overflow:hidden}.script-detail-ad-small img{width:100%;height:60px;object-fit:cover}
.script-popular-grid ul{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding-top:12px}.script-popular-grid li{min-width:0;text-align:center}.script-popular-grid a{display:block;overflow:hidden;color:#555;font-size:12px;line-height:20px}.script-popular-grid img{display:block;width:78px;height:78px;margin:0 auto 7px;border-radius:14px;object-fit:cover}.script-popular-grid span{display:block;height:40px;overflow:hidden;text-overflow:ellipsis}
.script-related-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-top:5px}.script-related-list li{display:flex;min-width:0;padding:14px 0;border-bottom:1px dashed #eee}.script-related-thumb{flex:0 0 84px;width:84px;height:84px;margin-right:12px;overflow:hidden}.script-related-thumb img{width:84px;height:84px;border-radius:50%;object-fit:cover}.script-related-list li>div{min-width:0}.script-related-title{display:block;overflow:hidden;color:#333;font-size:15px;line-height:22px;white-space:nowrap;text-overflow:ellipsis}.script-related-list p{display:-webkit-box;margin-top:5px;overflow:hidden;color:#777;font-size:12px;line-height:20px;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.script-notice p{color:#666;font-size:13px;line-height:2.1}.script-sidebar-box{margin-top:15px;padding:0 13px 10px}.script-sidebar-title{height:48px;border-bottom:1px solid #eee;color:#666;font-size:18px;line-height:48px}.script-sidebar-title:before{content:"";display:inline-block;width:4px;height:16px;margin:0 10px 0 0;vertical-align:-2px;background:#358ff0}
.script-sidebar-list li{position:relative;min-height:94px;padding:10px 0;border-bottom:1px dashed #eee;overflow:hidden}.script-sidebar-list li img{float:left;width:76px;height:76px;margin-right:10px;border-radius:10px;object-fit:cover}.script-sidebar-list li a{display:block;overflow:hidden;color:#555;font-size:13px;line-height:21px}.script-sidebar-list li span{display:block;height:42px;overflow:hidden;text-overflow:ellipsis}.script-sidebar-list li p{margin-top:4px;color:#999;font-size:12px;line-height:20px}
.script-sidebar-latest li{height:34px;line-height:34px;border-bottom:1px dashed #eee;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.script-sidebar-latest li a{display:block;float:left;width:215px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#555}.script-sidebar-latest li span{float:right;color:#aaa;font-size:12px}.script-detail-side-ad{width:300px;height:100px;min-height:100px;margin-top:15px;overflow:hidden;text-align:center;line-height:0}.script-detail-side-ad img{width:300px;height:100px;object-fit:cover}
@media(max-width:900px){body{min-width:0}.script-detail-page{width:auto}.script-detail-ad{width:100%;height:auto}.script-detail-ad img{width:100%;height:auto}.script-detail-tools{height:auto;padding:8px 10px}.script-detail-breadcrumb{float:none;width:auto;padding:0}.script-detail-search{float:none;width:100%;margin-top:8px}.script-detail-search input{width:calc(100% - 35px)}.script-detail-summary-row{padding:12px 0}.script-detail-cover{width:130px}.script-detail-cover-img,.script-detail-cover-img img{width:130px;height:98px}.script-detail-meta{width:calc(100% - 145px)}.script-detail-meta ul{grid-template-columns:repeat(2,1fr)}.script-detail-summary-ad{display:none}.script-detail-body{padding:0}.script-detail-main,.script-detail-sidebar{float:none;width:auto}.script-detail-sidebar{margin-top:0}.script-related-list{grid-template-columns:1fr}.script-popular-grid ul{grid-template-columns:repeat(3,1fr)}.script-detail-box{margin-top:10px}.script-detail-side-ad{width:100%}.script-detail-side-ad img{width:100%;height:auto}}
