@charset "utf-8";
/* PC 软件列表页（须先加载 public.css）*/

#down-list.kx-list-soft {
    color: #666;
    background: #f2f2f2;
}

.kx-list-wrap {
    padding-bottom: 20px;
}

.kx-list-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.kx-list-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.kx-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}

.kx-list-head h1 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-left: 12px;
    border-left: 4px solid #47b751;
    line-height: 1.3;
}

.kx-list-count {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.kx-soft-list {
    list-style: none;
    margin: 0;
    padding: 0 18px;
}

.kx-soft-item {
    padding: 18px 0;
    border-bottom: 1px dotted #ddd;
}

.kx-soft-item:last-child {
    border-bottom: none;
}

.kx-soft-item h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.kx-soft-item h3 a {
    color: #333;
}

.kx-soft-item h3 a:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-soft-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.kx-soft-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
}

.kx-soft-icon img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
}

.kx-soft-info {
    flex: 1;
    min-width: 0;
}

.kx-meta {
    font-size: 13px;
    color: #888;
    line-height: 24px;
    margin: 0 0 8px;
}

.kx-meta em {
    font-style: normal;
    color: #47b751;
    margin-right: 4px;
}

.kx-meta span {
    margin-right: 14px;
}

.kx-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kx-soft-action {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    padding-top: 4px;
}

.kx-soft-action .star {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1;
}

.kx-soft-action .star span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}

.kx-soft-star {
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    width: auto;
    margin-left: 2px;
}

.kx-btn-view {
    display: inline-block;
    min-width: 72px;
    height: 32px;
    line-height: 30px;
    padding: 0 12px;
    border: 1px solid #47b751;
    border-radius: 3px;
    color: #47b751;
    font-size: 14px;
    text-align: center;
    background: #fff;
}

.kx-btn-view:hover {
    background: #47b751;
    color: #fff;
    text-decoration: none;
}

.kx-list-main .pagenav {
    padding: 18px;
    text-align: center;
    border-top: 1px solid #eee;
}

.kx-list-main .pagenav a,
.kx-list-main .pagenav span {
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #666;
    padding: 5px 11px;
    text-decoration: none;
    background: #f8f8f8;
    display: inline-block;
    font-size: 13px;
}

.kx-list-main .pagenav a:hover,
.kx-list-main .pagenav .curr {
    border-color: #47b751;
    background: #47b751;
    color: #fff;
}

/* 侧栏 */
.kx-list-side {
    width: 280px;
    flex-shrink: 0;
}

.kx-side-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    margin-bottom: 16px;
}

.kx-side-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding: 16px 12px;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.kx-cat-nav {
    padding: 0;
}

.kx-cat-group {
    border-bottom: 1px solid #eee;
}

.kx-cat-group:last-child {
    border-bottom: none;
}

.kx-cat-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    background: #fff;
    border-left: 4px solid transparent;
    box-sizing: border-box;
}

.kx-cat-parent:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-cat-parent::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    transform: rotate(45deg);
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.kx-cat-group.is-open .kx-cat-parent {
background: #e0f2e1;
  border-left-color: #47b751;
  color: #47b751;
}

.kx-cat-group.is-open .kx-cat-parent::after {
    border-color: #47b751;
    transform: rotate(-135deg);
    margin-top: 3px;
}

.kx-cat-subs {
    display: none;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    padding:10px 10px 12px;
    background:#fff
}

.kx-cat-group.is-open .kx-cat-subs {
    display:grid
}

.kx-cat-sub {
    display:block;
    width:100%;
    min-width:0;
    height:32px;
    line-height:30px;
    padding:0 4px;
    text-align:center;
    font-size:12px;
    color:#555;
    background:#fff;
    border:1px solid #e0e0e0;
    border-radius:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    box-sizing:border-box
}

.kx-cat-sub:hover,
.kx-cat-sub.is-cur {
    background: #47b751;
    border-color: #47b751;
    color: #fff;
    text-decoration: none;
}

.kx-block-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 12px 14px;
    margin: 0;
    border-bottom: 1px solid #eee;
    padding-left: 14px;
    border-left: 4px solid #47b751;
    margin-left: 0;
}

/* 侧栏：本类排行（与详情页 #rank 一致） */
.kx-list-soft #rank.kx-rank-panel {
    overflow: hidden;
}

.kx-list-soft #rank .kx-rank-tabs.tit {
    display: flex;
    padding: 10px 12px 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.kx-list-soft #rank .kx-rank-tabs.tit span {
    flex: 1;
    text-align: center;
    padding: 0 4px 8px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.kx-list-soft #rank .kx-rank-tabs.tit .cur {
    color: #47b751;
    border-bottom-color: #47b751;
    font-weight: 700;
}

.kx-list-soft #rank ul {
    display: none;
    margin: 0;
    padding: 8px 12px 12px;
    list-style: none;
}

.kx-list-soft #rank ul.on {
    display: block;
}

.kx-list-soft #rank li {
    padding-left: 30px;
    position: relative;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    margin-bottom: 3px;
}

.kx-list-soft #rank li p {
    display: none;
}

.kx-list-soft #rank li.now p {
    display: block;
}

.kx-list-soft #rank li.now {
    height: 90px;
}

.kx-list-soft #rank li .num {
    font-style: normal;
    width: 20px;
    height: 20px;
    background: #879299;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    left: 0;
    top: 12px;
}

.kx-list-soft #rank li .r1 { background: #fa4e57; }
.kx-list-soft #rank li .r2 { background: #fa7a53; }
.kx-list-soft #rank li .r3 { background: #fbc258; }

.kx-list-soft #rank li .txt {
    display: block;
    overflow: hidden;
    height: 30px;
    line-height: 30px;
    margin-top: 7px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
}

.kx-list-soft #rank li .txt:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-list-soft #rank li p {
    height: 48px;
    margin: 5px 0 0;
    overflow: hidden;
}

.kx-list-soft #rank li .img,
.kx-list-soft #rank li .img img {
    width: 48px;
    height: 48px;
}

.kx-list-soft #rank li .img {
    float: left;
    padding-right: 8px;
}

.kx-list-soft #rank li .img img {
    display: block;
    border-radius: 8px;
}

.kx-list-soft #rank li span {
    float: left;
    width: calc(100% - 56px);
    position: relative;
    top: -6px;
}

.kx-list-soft #rank li span i {
    display: block;
    font-style: normal;
    color: #999;
    font-size: 12px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kx-list-soft #rank li span i s {
    margin-left: 5px;
}

.kx-list-soft #rank .kx-soft-star {
    height: 13px;
    width: auto;
    vertical-align: middle;
    margin-left: 5px;
}

.kx-list-soft #rank li span a {
    display: block;
    width: 60px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border: 1px solid #47b751;
    border-radius: 3px;
    color: #47b751;
    margin-top: -2px;
    font-size: 12px;
    text-decoration: none;
}

.kx-list-soft #rank li span a:hover {
    background: #47b751;
    color: #fff;
    text-decoration: none;
}

.kx-list-soft #rank a:hover {
    text-decoration: none;
}

/* 星级（与全站一致） */
.kx-list-soft .star0,
.kx-list-soft .star1,
.kx-list-soft .star2,
.kx-list-soft .star3,
.kx-list-soft .star4,
.kx-list-soft .star5,
.kx-list-soft .star6 {
    background: url(/static/images/litterStar.png) no-repeat;
    width: 84px;
    height: 13px;
    display: inline-block;
}

.kx-list-soft .star1 { background-position: 0 -26px; }
.kx-list-soft .star2 { background-position: 0 -52px; }
.kx-list-soft .star3 { background-position: 0 -78px; }
.kx-list-soft .star4 { background-position: 0 -104px; }
.kx-list-soft .star5,
.kx-list-soft .star6 { background-position: 0 -130px; }

#down-list.kx-list-soft #footer {
    clear: both;
    margin-top: 15px;
}
