/*****************************
<!--  不会写代码就去学 你审查元素你妈个臭b呢。偷你爹的源码来了？垃圾东西 偷代码你全家死光光！ -->
<!--  不会写代码就去学 你审查元素你妈个臭b呢。偷你爹的源码来了？垃圾东西 偷代码你全家死光光！ -->
<!--  不会写代码就去学 你审查元素你妈个臭b呢。偷你爹的源码来了？垃圾东西 偷代码你全家死光光！ -->
<!--  不会写代码就去学 你审查元素你妈个臭b呢。偷你爹的源码来了？垃圾东西 偷代码你全家死光光！ -->
<!--  不会写代码就去学 你审查元素你妈个臭b呢。偷你爹的源码来了？垃圾东西 偷代码你全家死光光！ -->
*************************************/

a,a:link{ color: #000; text-decoration: none;}

.weui-media-box__title { max-height: 55px;
	display: -webkit-box;  -webkit-box-orient: vertical;  -webkit-line-clamp: 2;
	white-space: normal;
}

.container{max-width:1080px !important;margin:0 auto;margin-bottom:60px;}

.rj-soft_img {  position:relative;margin-right: 10px;width:90px;    height: 80px;}
.rj-soft_img img{border-radius: 10px;width: 80px}
.rj-soft_img .rj-label{position: absolute;left:0;bottom:0;padding:2px 5px;border-radius:0 10px 0 4px;color:#fff;font-size:10px;}

.rj-btn_down{position:absolute;right:10px;bottom:10px;border: none;width: 60px;height: 26px;background-color: #07c160;border-radius:14px;
				color: #fff;font-size: 14px;line-height: 26px;}	

.rj-index-article_category{width: 100%;white-space: nowrap;overflow-x: auto;overflow-y:hidden; -webkit-overflow-scrolling:touch;}
.rj-index-article_category a{padding:5px;color:#000;font-size: 16px;}

/* 卡片式 */
.rj-card{margin:15px;border-radius:6px;overflow: hidden;box-shadow: 0 0 4px rgba(221, 221, 221,0.5);background-color:#fff;}

/* 首页搜索 */
.rj_search{/*position: fixed;z-index:999;*/box-sizing: border-box;width:100%;padding:8px 10px;background-color:#f2f2f2;}
.rj_search span{display:inline-block; position:relative;}
.rj_search span .layui-icon-search{position:absolute;top:8px;left:5px;}
.rj_search input[name=key]{box-sizing:border-box;border:0;padding:4px 2px 2px 30px;width:100%;border-radius:5px;height:30px;color:#000;}
.rj_search input:focus{border:1px solid #eee !important}
.rj_search input[type="submit"]{margin-left:5px;border:0;background:none;color:#000;line-height:20px;width:95%}

/* 首页公告 */
.rj-notice{ display:flex;width:100%;padding-left: 10px;padding-right: 10px;margin-top: 5px;height: 25px;}
.rj-notice .notice_icon img{ width: 20px;}
.rj-notice .notice-swiper { height: auto; width:90%; background-color: #fff;font-size: 14px;padding-left: 5px;}
.rj-notice .notice-swiper .swiper-container { width: 100%; height: 25px; }
.rj-notice .notice-swiper .swiper-slide { height: 20px; line-height: 20px; }
.rj-notice .notice-swiper .swiper-slide a { color: #333;text-overflow:ellipsis;overflow:hidden;white-space:nowrap; }
.rj-notice .notice-swiper .swiper-pagination { position: absolute; }
.rj-notice .notice-swiper .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 3px 0; display: block; }
.rj-notice .notice-swiper .swiper-button-next, .notice-swiper .swiper-button-prev { position: absolute; left: auto; right: 0; top: -22px; margin: 0; width: 16px; height: 16px; background-size: 16px 10px; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); }
.rj-notice .notice-swiper .swiper-button-prev { margin-right: 20px; }

/* 软件分类页 */
.rj-category_tab{position: relative;}
.rj-category_tab .rj-nav{ position: fixed;top:0;bottom:53px; width:25%;background-color: #F5F5F5;overflow: hidden;OVERFLOW-Y: auto; OVERFLOW-X:hidden;}
.rj-category_tab .rj-nav ul li{ height: 50px;line-height: 55px;text-align: center;font-size:15px;color:#000}
.rj-category_tab .rj-list{ float: right;margin:0 0 70px 0;width: 75%;height:calc(100vh - 70px); min-height: 500px; overflow: hidden;OVERFLOW-Y: auto; OVERFLOW-X:hidden;}

.rj-category_tab .rj-nav .rj-category_selected{background:#fff;border-left:3px solid #07c160;color:#07c160 !important;}


/* 我的头像 */
.rj-my_head{text-align: center;padding: 30px 15px 20px 15px;display: flex;align-items: center;}
.rj-my_head .rj_avatar{width:70px;height:70px;border-radius: 50%; box-shadow: 0 0 10px 6px rgba(255, 255, 255, 0.5) ;}
.rj-my_head .rj_nickname{padding-left: 15px;}
.rj-my_head .rj_nickname div{text-align: left;}
/* 退出 */
.rj-my_logout{padding:20px 0;text-align:center;}
.rj-my_logout a{color:#666;}

.rj-copyright,.rj-copyright a{padding:10px 5px;text-align: center;font-size: 12px;color: #666;}

/* 底部导航 */
.rj-tabbar{position: fixed;z-index: 500;display: flex;bottom: 0;width: 100%;max-width:1080px !important;
	background-color: #fff;box-shadow:0 -4px 5px rgba(192, 191, 196, 0.2); }
.rj-tabbar a{ flex: 1;padding: 5px 0 0; }
.rj-tabbar .rj-tabbar_img{height: 27px;width: 27px; margin: 0 auto;}
.rj-tabbar .rj-tabbar_img img{width: 100%;}
.rj-tabbar .rj_tabbar_label{margin:0;text-align: center;   color: #000; font-size: 12px; line-height: 1.8;}

/* 单页 */
.rj-title{padding:10px;line-height:150%;margin-top:30px;font-size:18px;text-align:center;}
.rj-content{padding:10px; min-height:200px;background-color:rgba(255,255,255,0.8);}
.rj-content img{ max-width: 100% !important;height: auto !important;}

/*二级页面*/
.rj-top_title_back_home{display: flex;padding: 5px;justify-content: space-between;align-items: center;color: #000;text-align: center;}


/* pc 屏幕大于 800px */
@media screen and (min-width:800px) {
	.container,.rj-tabbar{max-width:677px !important;}

    /* 软件分类 */
    .rj-category_tab .rj-nav{width:180px;}
}

/* 根据系统的深色模式响应深色变量 */
@media (prefers-color-scheme: dark) {
	/* 注意：filter 不能加在 html/body 上！filter 会让元素成为内部 position:fixed 元素的
	   定位包含块，导致 .rj-tabbar 脱离视口、深色模式下底部导航"消失"。
	   反色只作用于内容包裹层 .rj-dm-wrap，底部导航在包裹层外不受影响。 */
	body{background:#141416;}
	.rj-dm-wrap{filter: invert(1) hue-rotate(180deg);}
	.rj-dm-wrap img, .rj-dm-wrap video{filter: invert(1) hue-rotate(180deg);}

	/* 公告喇叭是深色线条图标，不参与二次反色：跟随页面反色一次变浅色，避免深色模式下看不见 */
	.rj-dm-wrap .rj-notice .notice_icon img{filter:none !important;}

	/* 底部导航不参与反色，手动给深色样式 */
	.rj-tabbar{background-color:#1c1c1e;box-shadow:0 -1px 0 rgba(255,255,255,.15);}
	.rj-tabbar .rj_tabbar_label{color:#f2f2f2;}

	input::placeholder{color:rgba(0,0,0,.3);}

	.weui-panel,.weui-cells{background-color:#fff !important;}

	/* 分类页左侧导航：position:fixed 的祖先一旦带 filter（反色层 .rj-dm-wrap），
	   iOS Safari 会把 fixed 元素整个"吞掉"不渲染——深色模式下分类名全消失。
	   深色模式改用 flex + sticky 布局（浅色模式保持原 fixed 布局不动）。
	   同时治好 .rj-category_tab 的浮动塌陷（原 0 高度导致后续内容上飘） */
	.rj-category_tab{display:flex;align-items:flex-start;}
	.rj-category_tab .rj-nav{position:sticky;top:0;bottom:auto;width:25%;height:calc(100vh - 53px);flex-shrink:0;}
	/* 底部留白从"外边距"改为列表"内边距"：sticky 导航底边不能超出父容器内容盒，
	   外边距会造成导航底部一段够不着的空档；内边距计入父高，导航才能跟到底 */
	.rj-category_tab .rj-list{float:none;width:auto;flex:1;min-width:0;height:auto;overflow:visible;margin-bottom:0;padding-bottom:130px;}
	.rj-category-page .container{margin-bottom:0;}

	/* 导航配色：二次反色把导航还原出反色层（同图片手法），之后写的颜色即最终显示色。
	   左栏深灰 #2c2c2e、右栏保持 body 的 #141416，恢复浅色模式"左灰右白"的明暗关系；
	   选中项绿字绿边也还原为品牌绿（否则单层反色会把 #07c160 反成品红）

	   ⚠ 下面几条都必须带 !important，别嫌难看：
	   glass.css 在浅色段写过
	       .rj-category_tab .rj-nav{background-color:... !important}
	       .rj-category_tab .rj-nav ul li{color:var(--rj-text-sub) !important}
	       .rj-category_tab .rj-nav .rj-category_selected{background:... !important}
	   那几条没有媒体查询，深色模式下照样生效。
	   而 !important 只跟 !important 比，非 important 规则不管权重多高都输，
	   所以这里不加感叹号就会被压掉 —— 具体表现就是深色模式下左栏惨白一片、
	   选中项还是浅底。（2026-11-14 修的就是这个） */
	.rj-dm-wrap .rj-category_tab .rj-nav{
		filter:invert(1) hue-rotate(180deg);
		background:#2c2c2e !important;
		border-right:1px solid rgba(255,255,255,.08) !important;
	}
	.rj-dm-wrap .rj-category_tab .rj-nav ul li{color:#e5e5e5 !important;}
	.rj-dm-wrap .rj-category_tab .rj-nav .rj-category_selected{
		background:#141416 !important;
		border-left:3px solid #07c160 !important;
		color:#07c160 !important;
	}

}
