/* 考拉软件园 M 端共用头部（橙色导航条 + 菜单） */
.kl-head {
    position: relative;
    z-index: 999;
    height: 56px;
    background: #ff7d00;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.kl-logo {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 0 16px;
    height: 38px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.kl-logo span {
    font-size: 22px;
    font-weight: 700;
    color: #ff7d00;
    letter-spacing: 1.5px;
    white-space: nowrap;
    line-height: 1;
    font-family: 'Microsoft Yahei', sans-serif;
}
.kl-logo img {
    height: 30px;
    max-width: 150px;
    display: block;
    object-fit: contain;
}
.kl-menu-btn {
    width: 42px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    box-sizing: border-box;
    padding: 0 9px;
}
.kl-menu-btn i {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #ff7d00;
    transition: transform .2s, opacity .2s;
}
.kl-menu-btn.open i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.kl-menu-btn.open i:nth-child(2) { opacity: 0; }
.kl-menu-btn.open i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.kl-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 998;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
}
.kl-menu ul { list-style: none; margin: 0; padding: 0; }
.kl-menu li { border-bottom: 1px solid #f0f0f0; }
.kl-menu li:last-child { border-bottom: none; }
.kl-menu li a {
    display: block;
    padding: 0 16px;
    height: 46px;
    line-height: 46px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}
.kl-menu li a:active { background: #fff2e5; color: #ff7d00; }


.detaile_head .info .kl-meta{display:flex;flex-wrap:wrap;margin:0;}
.detaile_head .info .kl-meta p{flex:0 0 50%;box-sizing:border-box;margin:0;padding:0;line-height:1.7;}
.detaile_head .info .kl-meta p a{color:#ff7d00;}
.detaile_head .info .kl-uptime{margin:0;padding:0;line-height:1.7;}


/* 热门推荐/猜你喜欢：一行四个 纯图+标题 */
.kl-grid{ display:flex; flex-wrap:wrap; margin:0; padding:6px 4px 2px; list-style:none;}
.kl-grid li{ width:25%; box-sizing:border-box; padding:6px 4px; margin:0; list-style:none;}
.kl-grid li a{ display:block; text-align:center; text-decoration:none;}
.kl-grid li img{ width:58px; height:58px; border-radius:12px; display:block; margin:0 auto; object-fit:cover; background:#f5f5f5;}
.kl-grid li .kl-name{ display:block; margin-top:6px; font-size:12px; line-height:17px; height:17px; color:#333; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
/* 下载排行：平铺通栏（与热门推荐/猜你喜欢 boxwrap 一致），行内元素定宽对齐 */
.kl-rankbox{ margin:0; border:none; border-top:6px solid #f5f5f5; border-radius:0; background:#fff; overflow:hidden;}
.kl-rankbox > .bt{ margin:0; border-bottom:none;}
.kl-rank{ list-style:none; margin:0; padding:0 12px;}
.kl-rank li{ display:flex; align-items:center; padding:9px 0; border-bottom:1px solid #f0f0f0; list-style:none;}
.kl-rank li:last-child{ border-bottom:none;}
.kl-rank .rk{ flex:0 0 20px; width:20px; height:20px; line-height:20px; margin-right:8px; text-align:center; font-size:12px; color:#999; font-style:normal; border-radius:4px; box-sizing:border-box;}
.kl-rank .rk1{ background:#ff4e3a; color:#fff;}
.kl-rank .rk2{ background:#ff7d00; color:#fff;}
.kl-rank .rk3{ background:#ffb400; color:#fff;}
.kl-rank .img{ flex:0 0 48px; width:48px; margin-right:8px;}
.kl-rank .img img{ width:48px; height:48px; border-radius:8px; display:block; object-fit:cover; background:#f5f5f5;}
.kl-rank .info{ flex:1 1 auto; min-width:0;}
.kl-rank .info .bt{ display:block; font-size:14px; line-height:20px; color:#ff7d00; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.kl-rank .info p{ margin:3px 0 0; font-size:12px; line-height:17px; color:#999; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.kl-rank .go{ flex:0 0 auto; margin-left:8px; width:52px; box-sizing:border-box; padding:4px 0; text-align:center; border:1px solid #ff7d00; color:#ff7d00; border-radius:4px; font-size:12px; text-decoration:none;}
