/* 响应式样式 - 移动端 (<768px) */
@media (max-width:767px){
    .breadcrumb.breadcrumb{padding:5px 0 3px 8px;margin:0 -40px;width:auto}
    .tooltip-inner{display: none;}
    a.btn.btn-sm.btn-light.btn-floating{display:none}
    .home-division{height:100%;margin-top:1px;}
    .home-division section{padding-top:0;padding-bottom:0}
    .links{display:none}
    .down-info{display:none}
    .home-division .division-title{font-size:0.8rem!important;}
    .hi{display:flex;flex-wrap:wrap;margin:-5px;}
    .hi .col{width:50%!important;padding:4px;margin:0!important;}
}

/* 响应式样式 - 平板端 (≥768px) */
@media (min-width:768px){
    .home-division section{height:100%;padding-top:0;padding-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
    .home-division section>.row{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}
    .home-division .division-item{margin-top:0;-webkit-box-pack:center;-ms-flex-pack:center;}
    .col-md-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%;padding-top:10px}
    .home-division .division-title{font-size:1rem!important;}
    .home-division{height:110px}
    .links{color:#fff9;display:flex;}
}

/* 响应式样式 - 小屏幕 (<768px 别名) */
@media (max-width:768px){
    .mt-3 {margin-top: 0.3rem !important;}
    .py-3 {padding-top: .5rem !important;padding-bottom: .5rem !important;}
    .ri-down-warp .down-buy-warp .buy-desc {margin-bottom: 0.3rem;}
    .home-search-box .search-warp{max-width:100%!important;padding-top:20px!important;padding-bottom:20px;}
    .plate-list .item-list{margin-top:5px;}
}


/* 响应式样式 - 桌面端 (≥992px) */
@media (min-width:992px){
    .ratio-3x2{--ri-aspect-ratio:54%!important}
    .ratio-21x9{--ri-aspect-ratio:45%!important}
    .g-lg-4,.gx-lg-4{--ri-gutter-x:0.9rem!important}
    .home-division .division-title{font-size:1.2rem!important;}
    .hi .col:nth-of-type(4n+1){clear:left}
    .hi .col:nth-of-type(4n+0){margin-right:0;clear:right}
    .hi .col {width: 24.25%;}
}

/* 响应式样式 - 中等屏幕 (<992px) */
@media (max-width:991px){
    .row-cols2-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%!important;}
    .ratio-3x2{--ri-aspect-ratio:42.89%!important;}
    .ratio-21x9{--ri-aspect-ratio:42.708%!important;}
    .hi .col {width:32.6666667%;}
    .hi .col:nth-of-type(3n+1) {clear: left;}
    .hi .col:nth-of-type(3n) {margin-right: 0;}
}
.home-division .division-item{padding:.5rem;}
.home-division{background:#fff!important;}
.home-division .division-icon{background-image:none!important;}
.metas{display:flex;-webkit-box-align:center;align-items:center;color:#a1a1a8;font-size:.75rem;margin-top:15px}
.metas>.meta-price{-webkit-box-flex:1;flex:1;text-align:right;margin-right:0;padding-right:15px}
.layui-clear::after{content:"";display:table;clear:both;}
.fr,.right{float:right}.list-cover .title{margin-top:20px;}
.fl,.left{float:left}
@media (min-width: 1200px) {.row-cols-xl-5>* {flex: 1 0 auto;width: 296px !important;}}
.links a:after {background:#fff9;content:" ";height:50%;position:absolute;right:-20.5px;top:50%;transform:translateY(-50%);width:1px;}
.links a:not(.links a:first-child) {margin-left:40px;}
.links a {color:#ffffffb3;margin-left:20px;position:relative;font-size: 14px;}
.home .title{font-size:20px;font-weight:800;margin-bottom:10px;margin-top:15px;}
[data-bs-theme=dark] .title .more{background-color: #21242b;color: #a1a1a8;}
.title .more{font-size:14px;color:#888;font-weight:400;line-height:30px;background:#fff;padding:0 10px;border-radius:5px}
/* 首页小部件样式 */
.list-cover-main{position:relative;padding:10px 0 15px;}
.list-cover-fade{display:grid;}
.list-cover-fade .cm-fade-page{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .5s ease,visibility 0s linear .5s;}
.list-cover-fade .cm-fade-page.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .5s ease;}
.list-cover-fade .cm-fade-page:not(.is-active) .media-img.lazy{display:none;}
.cm-fade-prev,.cm-fade-next{position:absolute;top:38%;z-index:5;width:36px;height:36px;line-height:34px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.28);color:#fff;font-size:18px;text-align:center;cursor:pointer;transition:background .3s;-webkit-appearance:none;appearance:none;outline:none;box-shadow:none;}
.cm-fade-prev{left:6px;}
.cm-fade-next{right:6px;}
.cm-fade-prev:hover,.cm-fade-next:hover{background:rgba(0,0,0,.55);}
.cm-fade-dots{display:flex;justify-content:center;gap:8px;margin-top:32px;}
.cm-fade-dots button{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:#c4c4c4;cursor:pointer;transition:all .3s;-webkit-appearance:none;appearance:none;outline:none;box-shadow:none;}
.cm-fade-dots button.is-active{background:#03a9f4;width:30px;}
/* 软件列表 tab 模块（左列表 list-soft-tab / 右排行榜 hot-soft / plate-list 卡片） */
.list-soft-main{border-radius:5px;padding: 5px 0;}
.list-soft-tab{width:72%!important;}
.list-soft-plate .entry-title,.list-soft-plate .entry-title a{white-space: nowrap;}
.list-soft-plate .tips-badge{margin-left:.8rem!important;}
.hot-soft .cats a{margin-right:.5rem;}
.list-soft-tab .type{margin-bottom: 5px;background: #fff;padding: 5px 10px;}
.list-soft-tab .type a{display: inline-block;margin: 0 15px 0 0;padding: 0 5px;height: 40px;line-height: 35px;color: #ababab;}
.list-soft-tab .type .hover{color: #007bf5;border-bottom: 3px solid #007bf5;}
/* ⚠ tab 切换关键规则：plate-list 默认隐藏、带 .ing 才显示（home-tabs.php 的 JS 依赖）*/
.fl .list-soft-plate .plate-list{display:none}
.fl .list-soft-plate .plate-list.ing{display:block}
.hot-soft{width: 320px!important;background: #fff;}
.hot-soft .type{border-bottom:1px solid #f6f6f6;text-align:right;padding: 5px 0 0 0;}
.hot-soft .type a{display:inline-block;margin: 0 15px 0;padding:0 5px;line-height:35px;color: #ababab;}
.hot-soft .type .hover{color:#007bf5;height:43px}
.fr .list-soft-plate{height: 442px;overflow:hidden;padding-top:20px;margin-top:-5px;}
.soft-plate .plate-list{float:left;}
.plate-list .col{margin-top:10px}
.plate-list .item-list{padding: 18px 10px;margin-top: 10px;border-bottom:1px solid #f6f6f6}
/* tab 模块卡片 hover 动效（上浮 + 阴影） */
.plate-list .post-item:hover{transform:translateY(-3px);box-shadow:0 1rem 3rem rgba(31,45,61,.13);}
.plate-list .item-list .entry-media{max-width:120px!important;max-height:80px}
.soft-plate{transition:.4s all;width:10000px}
.hot-soft .plate-list{width:320px}
.list-soft-plate .plate-list ul{padding-left: 10px;padding-right: 10px;}
.hot-soft .plate-list li{width:100%;position:relative;padding:0 0 0 35px;box-sizing:border-box;border:0;margin-bottom:14px;list-style-type: none;}
.hot-soft .plate-list li:nth-child(1) em{background:#fd6d3f;color:#fff}
.hot-soft .plate-list li:nth-child(2) em{background:#f9b801e0;color:#fff}
.hot-soft .plate-list li:nth-child(3) em{background:#88d87a;color:#fff}
.hot-soft .plate-list li:nth-child(4) em{background:#5fafff;color:#fff}
.hot-soft .plate-list li:nth-child(5) em{background:#cac9c9;color:#fff}
.hot-soft .plate-list .now em{height:100%;line-height:90px}
.hot-soft .plate-list li em{width:25px;background:#f6f6f6;color:#666;font-size:14px;text-align:center;line-height:30px;position:absolute;left:0;font-style:inherit;border-radius:5px}
.hot-soft .plate-list li .txt{display:block;overflow:hidden;height:30px;line-height:30px;text-overflow: ellipsis;white-space: nowrap;}
.hot-soft .plate-list li .row{padding-left:10px}
.hot-soft .plate-list .now p{display:block}
.hot-soft .plate-list li p{padding:0 0 5px;overflow:hidden;display:none;margin-bottom:0}
.hot-soft .plate-list li .img{width:80px;display:block;overflow:hidden;border-radius:10px;border:1px solid #f1f1f1;float:left;height:60px}
.hot-soft .plate-list li img{width:100%;height:100%}
.hot-soft .plate-list li p span a{display:flex;-webkit-box-align:center;align-items:center;border-radius:5px;margin-top:5px;color:#a1a1a8;font-size:.75rem}
.hot-soft .plate-list li p span a:first-child::before{background-color:rgba(33,99,232,.75)}
.hot-soft .plate-list li p span a:nth-child(2)::before{background-color:rgba(247,195,46,.75)}
.hot-soft .plate-list li p span a:nth-child(3)::before{background-color:rgba(12,188,135,.75)}
.hot-soft .plate-list li p span a:nth-child(4)::before{background-color:rgba(79,158,248,.75)}
.hot-soft .plate-list li p span a::before{display:block;content:"";border-radius:50%;height:6px;width:6px;margin-right:5px}
.hot-soft .plate-list li p .cats{display:flex;}

/* 最新发布模块 */
.home-news-post .row{clear:both;}
.home-news-post .container{padding-top:0;padding-bottom: 0;}
.home-news-post .title .mun{font-size:14px;color:#888;font-weight:400;line-height:30px;background:#fff;padding:0 15px;border-radius:5px;float:right}
.home-news-post .title .mun b{font-weight:400}
.home-news-post .title .mun b.new{color:#ff5722}
.home-news-post .title .mun i{margin-right:5px}
@media screen and (max-width:1360px){
    .hot-soft{display:none;}.list-soft-tab{width:100%!important;}
}
@media screen and (max-width:800px){
    .list-soft-tab .type{width:auto;overflow-x:scroll;overflow-y:hidden;display:block;white-space:nowrap;margin-bottom:10px;}
    .list-soft-tab .type a{white-space:nowrap;display:inline-block;margin-right:10px;}
    .list-soft-tab .type a:last-child{margin-right:0}
    .list-soft-tab .type::-webkit-scrollbar{height:0}
    .list-soft-main{margin-top:15px;padding-top:0}
    .list-soft-plate{height:auto}
    .home-news-post .row {clear: both;margin-top: -3px;}
}
/* .hi 列布局基础 */
.hi .col{margin-right:1%;float: left;}