/* 原版样式运行修补；在 site.min.css / index.min.css / owl.carousel.min.css 后载入。 */
/* 原 logo 是品牌图片；在原尺寸内显示本站名称。 */
/* 资源改为文章入口后，防止长标题挤走原按钮。 */
#down .rmsoft .pro-name{max-width:205px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media screen and (min-width:1520px){#down .rmsoft .pro-name{max-width:265px;}}
@media screen and (max-width:1320px){#down .rmsoft .pro-name{max-width:155px;}}
/* 原焦点图尺寸不变，使用无第三方依赖的直系 a 轮播。 */
#focus-owl-wrap{display:block!important;position:relative;}
#focus-owl-wrap>a{display:block;}
#focus-owl-wrap>a[hidden]{display:none!important;}
#focus-owl-wrap img{display:block;object-fit:cover;opacity:1!important;}
.slick-wrap{position:relative;}
.slick-wrap>.focus-dots{position:absolute;right:0;left:0;bottom:6px;text-align:center;line-height:1;z-index:2;}
.slick-wrap>.focus-dots>button{width:10px;height:10px;border:0;border-radius:30px;margin:5px 7px;padding:0;background:#d6d6d6;cursor:pointer;font-size:0;vertical-align:middle;}
.slick-wrap>.focus-dots>button.sel,.slick-wrap>.focus-dots>button:hover{background:#869791;}
/* 原 search 从 div 变 form。 */
#nav form.search{margin:0;}
#n-p i:focus-visible,.tab-list .bar li:focus-visible{outline:2px solid #d22222;outline-offset:2px;}
#nnews>.t-b[hidden],.tab-list>.bd[hidden],#nnews .nl li[hidden]{display:none!important;}

/* Home page only. Keep native links, template loops, interactions, and the site footer. */
body.xxf-v4.xxf-home {
  --home-paper:#fff;--home-bg:#f5f6f8;--home-ink:#222b38;--home-muted:#737e8c;--home-line:#e6e9ee;--home-accent:#bb292f;
  margin:0;padding:0;background:var(--home-bg);color:var(--home-ink);
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:15px;overflow-x:visible;
}
body.xxf-v4.xxf-home.night {--home-paper:#292d34;--home-bg:#202329;--home-ink:#e1e5eb;--home-muted:#a3acb9;--home-line:#424851;--home-accent:#ed777b;}
body.xxf-home *,body.xxf-home *::before,body.xxf-home *::after {box-sizing:border-box;}
body.xxf-home a {color:inherit;}
body.xxf-home a:hover {color:var(--home-accent);}
body.xxf-home a:focus-visible {outline:2px solid var(--home-accent);outline-offset:3px;}
body.xxf-home .bb {width:calc(100% - 48px);max-width:1280px;min-width:0;margin-left:auto;margin-right:auto;}
body.xxf-home #top {position:relative;height:auto;background:#202631;}
body.xxf-home #top .bb {display:flex;align-items:center;gap:30px;min-height:74px;}
body.xxf-home #top #logo,body.xxf-home #top.su #logo {flex:0 0 auto;width:auto;max-width:220px;margin:0;height:auto;line-height:1.4;padding:20px 0;font-size:24px;letter-spacing:0;}
body.xxf-home #top .bb>.fl {display:flex;align-items:center;height:auto;min-width:0;float:none;}
body.xxf-home #top .bb>.fr,body.xxf-home #top .m-menu {display:none;}
body.xxf-home #top .bb>.fl .mt {height:auto;float:none;margin:0 2px;border:0;background:none;}
body.xxf-home #top .bb>.fl .mt a {width:auto;height:auto;float:none;padding:10px 16px;line-height:1.5;font-size:15px;white-space:nowrap;}
body.xxf-home #top .bb>.fl .mt.sel a {color:#fff;opacity:1;border-radius:6px;background:rgba(255,255,255,.09);}
body.xxf-home #nav {display:flex;align-items:center;justify-content:space-between;gap:28px;height:auto;padding-top:22px;padding-bottom:22px;}
body.xxf-home #nav>.fl {flex:1;float:none;min-width:0;font-size:15px;}
body.xxf-home #nav .fl>div {display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:0;height:auto;margin:0;padding:0;}
body.xxf-home #nav .fl>div a {width:auto;float:none;line-height:32px;font-size:14px;white-space:nowrap;}
body.xxf-home #nav .fl>div a:after {display:none;}
body.xxf-home #nav>.fr {float:none;flex:0 0 250px;width:250px;height:auto;}
body.xxf-home #nav .search {display:flex;position:relative;float:none;width:100%;height:40px;margin:0;border:1px solid var(--home-line);background:var(--home-paper);border-radius:6px;}
body.xxf-home #nav .search input {flex:1;min-width:0;width:auto;height:38px;margin:0;padding:0 12px!important;border:0;background:transparent;color:var(--home-ink);line-height:38px;font-size:14px;}
body.xxf-home #nav .search button {float:none;flex:0 0 58px;width:58px;height:38px;border:0;border-radius:0 5px 5px 0;line-height:38px;background:#bb292f;color:#fff;font-size:14px;}
body.xxf-home #nav .hotkeyword {display:none;}
body.xxf-home .local-search-status {position:absolute;left:0;top:42px;z-index:3;padding:4px 8px;border:1px solid var(--home-line);background:var(--home-paper);font-size:12px;white-space:nowrap;}
body.xxf-home #tt {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:0;margin-bottom:28px;padding:0;height:auto;line-height:normal;background:none;white-space:normal;overflow:visible;text-align:left;}
body.xxf-home #tt a {display:block;min-width:0;height:auto;min-height:104px;margin:0;padding:19px 20px 19px 55px;line-height:1.7;font-size:18px;font-weight:600;overflow-wrap:anywhere;background:var(--home-paper);border:1px solid var(--home-line);border-radius:8px;}
body.xxf-home #tt a:before {left:18px;top:23px;margin:0;width:24px;height:24px;border-radius:6px;line-height:24px;font-size:14px;background:#bb292f;}
body.xxf-home #news {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;padding-top:0;align-items:start;}
body.xxf-home #news:after {display:none;}
body.xxf-home #news>.fl {grid-column:2;grid-row:1;width:auto;min-width:0;float:none;}
body.xxf-home #news>#nnews {grid-column:1;grid-row:1;width:auto;min-width:0;float:none;margin:0;padding:22px 24px;background:var(--home-paper);border:1px solid var(--home-line);border-radius:8px;}
body.xxf-home #nnews .t-h {display:flex;align-items:center;gap:20px;height:auto;min-height:44px;border-bottom:1px solid var(--home-line);}
body.xxf-home #nnews .t-h span {float:none;width:auto;height:auto;margin:0;padding:0 0 12px;font-size:23px;font-weight:600;line-height:1.3;}
body.xxf-home #nnews .t-h a {display:block;float:none;margin:0;padding:0 0 12px;height:auto;font-size:14px;line-height:1.4;white-space:nowrap;}
body.xxf-home #nnews .t-h i {float:none;margin:0 0 12px auto;font-size:12px;white-space:nowrap;color:var(--home-muted);}
body.xxf-home #nnews>.t-b.sel {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;clear:both;margin:0;}
body.xxf-home #nnews>.t-b:after {display:none;}
body.xxf-home #nnews .t-b ul.nl {float:none;width:auto;min-width:0;margin:0;padding:0;}
body.xxf-home #nnews .nl li {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:58px;height:auto;padding:13px 0;border-bottom:1px solid var(--home-line);font-size:15px;}
body.xxf-home #nnews .nl li a,body.xxf-home #nnews .nl li:hover a {display:block;float:none;position:static;min-width:0;width:auto;max-width:none;height:auto;padding:0;border:0;background:none;line-height:1.75;font-size:15px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
body.xxf-home #nnews .nl li a:before {display:none;}
body.xxf-home #nnews .nl li i {float:none;position:static;width:auto;height:auto;line-height:26px;font-size:12px;color:var(--home-muted);}
body.xxf-home #nnews .t-f {margin:22px 0 0;font-size:14px;color:var(--home-accent);}
body.xxf-home .slick-wrap {width:100%;height:auto;overflow:hidden;border-radius:8px;background:var(--home-line);}
body.xxf-home #focus-owl-wrap,body.xxf-home #focus-owl-wrap>a {width:100%;height:auto;}
body.xxf-home #focus-owl-wrap img {width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;}
body.xxf-home #down,body.xxf-home #rank {width:auto;height:auto;min-width:0;margin:20px 0 0;padding:16px;background:var(--home-paper);border:1px solid var(--home-line);border-radius:8px;}
body.xxf-home .tab-list>.bar {display:flex;height:auto;margin:0 0 12px;padding:0;border-bottom:1px solid var(--home-line);}
body.xxf-home .tab-list>.bar>li {float:none;flex:1;height:auto;margin:0;padding:0 4px 10px;text-align:center;font-size:14px;line-height:1.5;}
body.xxf-home #down .rmsoft {margin:0;padding:0;}
body.xxf-home #down .rmsoft li {display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;height:auto;margin:0;padding:12px 0;border-bottom:1px solid var(--home-line);}
body.xxf-home #down .rmsoft li>a:first-child {grid-row:1/3;}
body.xxf-home #down .rmsoft li img {display:block;float:none;width:38px;height:38px;border-radius:5px;object-fit:cover;}
body.xxf-home #down .rmsoft .pro-name {float:none;width:auto;max-width:none;min-width:0;height:auto;margin:0;line-height:1.6;font-size:14px;white-space:normal;overflow-wrap:anywhere;}
body.xxf-home #down .rmsoft .down_btn {float:none;justify-self:start;width:auto;height:auto;margin:5px 0 0;padding:0;line-height:1.6;border:0;background:none;color:var(--home-accent);font-size:12px;}
body.xxf-home #down .rmsoft li.more {display:block;margin:0;padding:12px 0 0;border:0;height:auto;font-size:13px;}
body.xxf-home #down .rmsoft li.more a {float:none;margin:0;}
body.xxf-home #rank .order {margin:0;padding:0;}
body.xxf-home #rank .order li {display:flex;align-items:baseline;gap:8px;height:auto;min-height:0;margin:0;padding:10px 0;border-bottom:1px solid var(--home-line);line-height:1.65;}
body.xxf-home #rank .order li a {float:none;flex:1;min-width:0;width:auto;height:auto;margin:0;padding:0;line-height:1.65;font-size:14px;white-space:normal;overflow-wrap:anywhere;}
body.xxf-home #cp,body.xxf-home .bl {padding-top:32px!important;margin-bottom:0;}
body.xxf-home .bb>.t-h {display:flex;align-items:center;justify-content:space-between;height:auto;min-height:42px;margin:0;border-bottom:1px solid var(--home-line);}
body.xxf-home .bb>.t-h h2 {float:none;height:auto;margin:0;padding:0 0 12px;font-size:22px;font-weight:600;line-height:1.3;}
body.xxf-home .bb>.t-h>a {float:none;font-size:13px;}
body.xxf-home #cp>.t-b,body.xxf-home .bl>.t-b {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:20px 0 0;}
body.xxf-home #cp .t-b div.pb,body.xxf-home .bl .t-b div.pb {float:none;min-width:0;width:auto;height:auto;margin:0;}
body.xxf-home #cp .t-b div.pb a.img,body.xxf-home .bl .t-b div.pb a.img {display:block;width:100%;height:auto;margin:0;border:1px solid var(--home-line);border-radius:7px;aspect-ratio:4/3;overflow:hidden;}
body.xxf-home #cp .t-b div.pb a.img img,body.xxf-home .bl .t-b div.pb a.img img {display:block;width:100%;height:100%;margin:0;object-fit:cover;}
body.xxf-home #cp .t-b div.pb a.text b,body.xxf-home .bl .t-b div.pb a.text b {height:auto;min-height:48px;margin-top:10px;line-height:1.7;text-align:left;font-size:14px;}
body.xxf-home .bl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;}
body.xxf-home .bl>.t-h,body.xxf-home .bl>.t-b {grid-column:1/-1;}
body.xxf-home .bl>ul.nl {float:none;width:auto;min-width:0;margin:20px 0 0;padding:0;}
body.xxf-home .bl>ul.nl li {display:flex;gap:8px;align-items:baseline;height:auto;padding:9px 0;border-bottom:1px solid var(--home-line);font-size:14px;}
body.xxf-home .bl>ul.nl li a,body.xxf-home .bl>ul.nl li:hover a {flex:1;float:none;position:static;min-width:0;width:auto;max-width:none;height:auto;margin:0;padding:0;border:0;background:none;line-height:1.75;white-space:normal;overflow-wrap:anywhere;}
body.xxf-home .bl>ul.nl li a:before {display:none;}
body.xxf-home .bl>ul.nl li i {float:none;width:auto;height:auto;font-size:12px;line-height:1.75;}
body.xxf-home .bl>ul.nl li.h h3 {margin:0;font-size:16px;line-height:1.8;}
body.xxf-home #fls {height:auto;margin-top:32px;padding:20px 0;line-height:2;font-size:13px;border-top:1px solid var(--home-line);}
body.xxf-home #fls p {margin:0 0 8px;}
body.xxf-home #fls a {display:inline;margin:0 14px 0 0;white-space:normal;overflow-wrap:anywhere;}
body.xxf-home footer {margin-top:20px;}
body.xxf-home footer #lns {height:auto;padding:10px 16px;line-height:2;}
body.xxf-home footer #lns a {margin:0 10px;}
body.xxf-home footer #fi {padding:25px 16px;}
@media(max-width:1100px) {
  body.xxf-home #news {grid-template-columns:minmax(0,1fr) 250px;gap:22px;}
  body.xxf-home #nnews>.t-b.sel {grid-template-columns:minmax(0,1fr);gap:0;}
  body.xxf-home #nav {gap:16px;}
  body.xxf-home #nav>.fr {flex-basis:210px;width:210px;}
  body.xxf-home #nnews .t-h i {display:none;}
  body.xxf-home #cp>.t-b,body.xxf-home .bl>.t-b {grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:760px) {
  body.xxf-home .bb {width:calc(100% - 32px);}
  body.xxf-home #top .bb {gap:12px;min-height:62px;justify-content:space-between;}
  body.xxf-home #top #logo,body.xxf-home #top.su #logo {max-width:145px;padding:17px 0;font-size:21px;}
  body.xxf-home #top .bb>.fl {gap:0;}
  body.xxf-home #top .bb>.fl .mt {margin:0;}
  body.xxf-home #top .bb>.fl .mt a {padding:8px;font-size:13px;}
  body.xxf-home #nav {display:block;padding-top:14px;padding-bottom:18px;}
  body.xxf-home #nav .fl>div {grid-template-columns:repeat(5,minmax(0,1fr));}
  body.xxf-home #nav .fl>div a {line-height:33px;font-size:14px;}
  body.xxf-home #nav>.fr {width:100%;margin-top:12px;}
  body.xxf-home #tt {grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:20px;}
  body.xxf-home #tt a {min-height:0;padding:14px 16px 14px 46px;font-size:16px;line-height:1.75;}
  body.xxf-home #tt a:before {left:13px;top:18px;width:22px;height:22px;line-height:22px;}
  body.xxf-home #news {display:flex;flex-direction:column;gap:24px;}
  body.xxf-home #news>#nnews {order:0;width:100%;padding:17px 16px;}
  body.xxf-home #news>.fl {order:1;width:100%;}
  body.xxf-home #nnews .t-h {gap:18px;}
  body.xxf-home #nnews .t-h span {font-size:21px;}
  body.xxf-home #nnews .t-h a {font-size:13px;}
  body.xxf-home #nnews .nl li {gap:8px;min-height:0;padding:13px 0;}
  body.xxf-home #nnews .nl li a {font-size:15px;line-height:1.8;}
  body.xxf-home #nnews .nl li i {font-size:11px;}
  body.xxf-home #focus-owl-wrap img {aspect-ratio:16/9;}
  body.xxf-home #cp>.t-b,body.xxf-home .bl>.t-b {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;}
  body.xxf-home #cp,body.xxf-home .bl {padding-top:28px!important;}
  body.xxf-home .bl {grid-template-columns:minmax(0,1fr);}
  body.xxf-home .bl>ul.nl {margin-top:18px;}
  body.xxf-home #cp .t-b div.pb a.text b,body.xxf-home .bl .t-b div.pb a.text b {font-size:13px;line-height:1.7;}
  body.xxf-home #fls {font-size:12px;}
  body.xxf-home footer #lns a {margin:0 6px;}
}
@media(max-width:360px) {
  body.xxf-home .bb {width:calc(100% - 24px);}
  body.xxf-home #top .bb {gap:6px;}
  body.xxf-home #top #logo,body.xxf-home #top.su #logo {max-width:112px;font-size:19px;}
  body.xxf-home #top .bb>.fl .mt a {padding:8px 5px;font-size:12px;}
  body.xxf-home #news>#nnews {padding:16px 12px;}
}
