.index-box{width:100%;height:410px;background:url(//p7.qhimg.com/bdm/0_0_100/t01833fc3a1aa06ab61.jpg) center;background-size:cover;position:relative;margin-bottom:20px}
.index-box::before{content:'';left:0;top:0;width:100%;height:410px;background:rgba(51,51,51,.1);position:absolute}
.index-box .tit{text-align:center;padding:150px 0 0;color:#fff;z-index:99;position:relative}
.index-box .tit h2{font-size:28px;font-weight:800;letter-spacing:5px}
.index-box .tit p{margin-top:5px;font-size:15px}
/* 左边只留 14px 内边距（右边 6px 让蓝色搜索按钮贴边），让输入框里的文字尽量靠左 */
.index-box .search-box{width:600px;max-width:90%;height:52px;margin:25px auto 0;background:rgba(255,255,255,.5);background:rgb(255 255 255 / 50%);-webkit-backdrop-filter:saturate(2) blur(30px);backdrop-filter:saturate(2) blur(30px);border-radius:999px;z-index:99;position:relative;box-shadow:0 5px 10px rgb(0 0 0 / 10%);display:flex;align-items:center;padding:0 6px 0 14px}
.index-box .search-box form{display:flex;align-items:center;width:100%;height:100%;margin:0}
/* 输入框左边的内边距设为 0，让文字紧贴搜索框最左边（向左顶到头）；
   右边留 20px，避免输入的文字贴到右边的搜索按钮上 */
.index-box .search-box .txt{flex:1 1 auto;width:auto;height:52px;border:0;background:none;text-indent:0;padding:0 20px 0 0;font-size:14px;color:#334155;outline:none}
/* 提示文字用偏灰色，比纯白素一点；输入进去的文字仍是深色，保证看得清 */
.index-box .search-box .txt::placeholder{color:#c2c9d1;opacity:1}
.index-box .search-box .dag-search-btn{flex:0 0 auto;height:40px;padding:0 22px;border:0;border-radius:999px;background:#007bf5;color:#fff;font-size:14px;cursor:pointer;transition:background .25s}
.index-box .search-box .dag-search-btn:hover{background:#0068d6}
.index-ph{margin:100px 0 20px}
.index-ph li{width:125px;float:left;height:130px;background:#fff;margin:0 21.8px 20px 0;border-radius:5px;transition:all .3s}
.index-ph li:nth-child(9n){margin-right:0;float:right}
.index-ph li:hover{-webkit-box-shadow:0 34px 20px -24px rgba(0,0,0,.1);box-shadow:0 34px 20px -24px rgba(0,0,0,.1);-webkit-transform:translateY(-5px)}
.index-ph li:hover img{transform:rotate(360deg)}
.index-ph li .ico{width:70px;height:70px;display:block;margin:15px auto 10px;border:1px solid #f1f1f1;border-radius:40px;overflow:hidden}
.index-ph li .ico img{width:90%;height:90%;padding:5%;transition:all 1s}
.index-ph li h3{text-align:center;font-size:15px;color:#666;font-weight:100}
/* 顶部大横幅：电脑端一行只显示 1 个，占满整行宽度（原来写死 645px，一行会挤下 2 个） */
.index-ad li{overflow:hidden;height:70px;width:100%;position:relative;border-radius:5px;margin:0 0 10px}
.index-ad li:last-child{margin-bottom:0}
.index-ad li img{width:100%;height:100%}
.index-ad li::before{position:absolute;content:" AD";width:35px;height:20px;background:hsla(210,100%,48%,.2);right:0;font-size:12px;bottom:0;color:#fff;border-radius:5px 0 0;line-height:20px;text-align:center}
.index-ad-txt{padding:10px;background:#fff;border-radius:5px}
.index-ad-txt ul{float:left;width:20%;text-align:center;line-height:25px;font-size:13px}
.index-main{margin-top:30px}
.index-news{width:1040px}
.index-news .title .mun{font-size:14px;color:#5b6472;font-weight:400;line-height:30px;background:#f5f7fb;border:1px solid #dbe7ff;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;float:right;box-shadow:0 4px 12px rgba(52,95,253,.08)}
.index-news .title .mun i{margin-right:6px;color:#345ffd}
.index-news .title .mun b{font-weight:700;color:#f5222d;margin-left:2px}
.index-news .title .mun b.new{color:#f5222d}
.index-news .title font{padding:3px 20px;cursor:pointer;text-align:center;color:#fff;font-size:14px;border-radius:15px;background:linear-gradient(270deg,#007bf5,#007bf5);font-weight:400;top:-3px;position:relative;right:-5px;box-shadow:0 12px 30px 0 rgba(34,84,244,.2)}
.index-news-list{width:1040px;min-height:725px;background:#fff;border-radius:5px;padding:20px;box-sizing:border-box}
.index-news-list ul{margin-top:10px}
.index-news-list ul li{width:470px;float:left;line-height:30px;padding:10px 15px;background:#fff;border-radius:30px 0 0 30px;margin-bottom:6.5px;position:relative}
.index-news-list ul li .news{color:#ff5722;font-weight:400}
.index-news-list ul li:nth-child(2n){float:right;border-radius:0 30px 30px 0}
/* 列表条纹：按「行」交替 —— 一行浅灰 #f6f7f8、一行纯白 #fff。
   一篇文章宽 470px，一行放 2 篇，所以第 1、2 篇是灰的，第 3、4 篇是白的，依此类推。
   用 4n+1 / 4n+2 这种写法，文章条数不管调到多少（20、30、50 篇）都能一直交替下去，
   不像原来那样只写死到第 20 篇，第 21 篇往后就全变成浅灰色了。 */
.index-news-list ul li:nth-child(4n+1),.index-news-list ul li:nth-child(4n+2){background:#f6f7f8}
.index-news-list ul li i{display:block;width:30px;height:30px;border-radius:18px;border:1px solid #f1f1f1;overflow:hidden;padding:2px;box-sizing:border-box;float:left;line-height:normal;background:#fff}
.index-news-list ul li i img{width:100%;height:100%;border-radius:18px;object-fit:cover}
.index-news-list ul li .tit{float:left;display:block;max-width:calc(100% - 160px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.index-news-list ul li font{float:left;padding:0 0 0 10px;font-size:12px;border-right:2px solid #f1f1f1;height:10px;line-height:10px;margin:10px 10px 0 0;color:#888;width:35px}
.index-news-list ul li span{float:right;padding:4px 10px;border-radius:18px;font-size:12px;line-height:16px;height:15px;margin-top:2px;border:1px solid #f1f1f1;transition:all .3s}
.index-news-list ul li span a{width:100%;height:100%;float:unset;color:#666;transition:all .3s}
.index-news-list ul li span:hover{background:#007bf5;border:1px solid #55abff}
.index-news-list ul li span:hover a{color:#fff}
/* 翻页区：容器相对定位 + 文字居中，这样中间的 1 / 2 / 3 三个按钮永远在正中间 */
.index-news .page{text-align:center;position:relative}
.index-news .page a{padding:unset;border:1px solid #007bf5;border-radius:21px;width:30px;height:30px;display:inline-block;line-height:30px;color:#007bf5;margin:15px 5px 0 5px}
.index-news .page .current{background:#007bf5;color:#fff}
/* 「查看更多」：绝对定位贴在最右边，不参与居中，所以不会把 3 个数字按钮挤偏；
   样式上去掉胶囊（无边框、无底色），只有文字 + 小箭头。 */
.index-news .page .dag-more-btn{position:absolute;right:0;top:15px;display:inline-flex;align-items:center;width:auto;height:30px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#007bf5;font-size:14px;line-height:30px;transition:color .25s}
.index-news .page .dag-more-btn i{margin-left:4px;font-size:13px}
.index-news .page .dag-more-btn:hover{background:none;border:0;color:#0068d6}
.index-info{width:340px}
/* ==========================================================================
   侧边「在线工具」模块
   —— 结构由 inc/dagang_side-tool.php 输出，内容在后台「首页设置 → 侧边在线工具」里配
   —— 两列小卡片，一张卡片 = 图标 + 文字；图标可以是内置 36 个里的某个，也可以是自己的图片
   —— 夜间模式的配色见文件末尾「夜间模式」区
   ========================================================================== */
/* 模块标题和下面白盒之间留 20px，和「白盒→轮播图」「轮播图→登录模块」的 20px 对齐。
   之前这里写的是 12px，而下面各模块之间是 20px，看上去就成了「上面窄、下面宽」。*/
.index-tool .title{margin:0 0 20px}
.index-tool-list{width:100%;box-sizing:border-box;padding:12px;border:1px solid #e2e9f2;border-radius:8px;background:#fff}
/* 卡片之间 12px、卡片到外框也是 12px（padding 决定），四周间距一致。
   margin/padding/list-style 显式清零：不依赖 layui 的全局重置，避免加载顺序变化时
   ul 冒出浏览器默认的上下外边距，导致白盒里「上窄下宽」。 */
.index-tool-list ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
/* 【重要】「四边等宽」的关键一行。
   模板里的 <ul> 如果带了 layui 的 layui-clear 类，layui 会给它加一个伪元素
   .layui-clear:after{content:' ';display:block;height:0}。这个伪元素在 grid 容器里
   会被当成「第 N+1 个格子」参与排版：
     · 条目数为奇数时，它正好填进最后一行的空位 → 不产生新行 → 上下留白都是 12px，看着等宽；
     · 条目数为偶数时，最后一行已经被占满，它只能另起一行 → 多出一个 12px 的行间距，
       底部留白就变成 12+12=24px，而顶部只有 12px → 看起来「上窄下宽」。
   这就是「加够 4 个以上图标就好像正常了」的原因（数量凑巧变了奇偶）。
   这里直接把这个伪元素关掉，无论条目是奇是偶，上下留白恒为 12px。 */
.index-tool-list ul:after{display:none!important;content:none!important}
/* 卡片：浅底 + 细描边，鼠标放上去只轻微变色，不做位移 */
.index-tool-list li{float:none;width:auto;min-width:0;line-height:normal;text-align:left;overflow:visible}
.index-tool-list li a{display:flex;align-items:center;min-width:0;height:60px;padding:0 10px;box-sizing:border-box;border:1px solid #edf1f6;border-radius:7px;background:#f7f9fc;color:#475467;font-size:13px;font-weight:600;text-decoration:none;transition:color .25s,background-color .25s,border-color .25s}
.index-tool-list li a:hover{border-color:#bcd5f4;background:#edf5ff;color:#007bf5}
/* 图标底托：40×40 的浅蓝色小方块，里面放内置 SVG 或自定义图片 */
.index-tool-list li .index-tool-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;margin:0 9px 0 0;border:1px solid #dbe7ff;border-radius:7px;background:#eef4ff;overflow:hidden}
.index-tool-list li .index-tool-icon img{display:block;width:22px;height:22px;border:0;border-radius:0;object-fit:contain}
.index-tool-list li>a>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 轮播图现在排在「在线工具」下面，所以上面要留出和别的模块一致的 20px 间距 */
.index-tool-banner{margin-top:20px;overflow:hidden;border-radius:5px}
.index-tool-banner,.index-tool-banner img{width:340px;height:135px}
.index-info .r-list{border-radius:5px;background:#fff;padding:15px;margin-top:20px;min-height:447px}
.index-info .r-list .bar{height:35px;border-bottom:1px solid #f3f3f3}
.index-info .r-list .bar li{float:left;height:34px;padding:0 5px;margin-right:20px;cursor:pointer;font-size:16px;line-height:29px}
.index-info .r-list .bar li.sel{border-bottom:2px solid #007bf5}
.index-info .r-list .bd{display:none;margin-top:15px}
.index-info .r-list .bd.sel{display:block}
.index-info .r-list .order li{height:33px;line-height:33px}
.index-info .r-list .order li a{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative;font-size:14px;display:block}
.index-info .r-list .order li:first-child a i{background:#007bf5;color:#fff}
.index-info .r-list .order li:nth-child(2) a i{background:#389cff;color:#fff}
.index-info .r-list .order li:nth-child(3) a i{background:#87c3ff;color:#fff}
.index-info .r-list .order li:nth-child(4) a i{background:#bedfff;color:#fff}
.index-info .r-list .order a i{display:inline-block;vertical-align:middle;font-style:normal;margin-right:5px;background:#f3f3f3;width:20px;text-align:center;border-radius:5px;color:#696969;font-size:12px;height:20px;line-height:20px;margin-top:-2px}
/* 登录/会员模块：原来写死 height:475px，内容其实只有 300 多 px，底下空着好大一块。
   现在改成「不写死高度 + flex 居中」，未登录和已登录两种情况都自动上下左右居中：
     - min-height 给一个下限，两种状态高度一致，页面不会忽高忽低；
     - align-items 管左右居中，justify-content 管上下居中；
     - 里面不管是「头像 + 提示语 + 登录按钮」还是「头像 + 昵称 + 四个快捷入口」，都居中。*/
.index-login{width:100%;box-sizing:border-box;min-height:385px;border-radius:5px;background:#fff;margin-top:20px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.index-login .wdl{width:100%;max-width:300px;margin:0;padding:0;text-align:center}
/* 这条只作用于「未登录时的大示意图」（它是 .wdl 的直接子元素）。
   登录后的头像 .tx 在更深一层，不能被这里管到 —— 否则它的 height:120px 会被 height:auto 顶掉。*/
.index-login .wdl>img{display:block;max-width:100%;height:auto;margin:0 auto}
.index-login .wdl p{margin:8px 0 0;color:#888;line-height:24px}
.index-login .wdl a{color:#fff;background:#007bf5;padding:10px;display:block;border-radius:5px;font-size:15px;width:100px;margin:24px auto 0}
.index-user-info .tx{display:block;width:120px;height:120px;margin:0 auto;border-radius:50%;border:5px solid #f2f5f9}
.index-user-info p{line-height:32px;margin:10px 0 0;color:#888;font-size:15px}
.index-user-info i{line-height:25px;margin:18px auto 0;border-radius:20px;display:block;font-style:normal;width:90px;background:#007bf5;color:#fff;font-weight:100;font-size:13px;background:linear-gradient(270deg,#2254f4,#406dff);box-shadow:0 3px 15px 0 rgba(34,84,244,.2)}
/* 登录后侧边栏的四个快捷入口：与顶部下拉一致的分段控件样式
   横向圆角长外框 + 极浅灰白底 + 细淡蓝描边 + 柔和外阴影，四个入口统一样式，不做选中高亮。
   位置从「绝对定位贴在盒子底部」改成跟着内容顺排，这样盒子不再需要写死高度。 */
.index-user-info .dag_side-links{position:static;margin:24px auto 0;width:300px;max-width:100%;display:flex;align-items:center;gap:4px;line-height:normal;text-align:center;padding:4px;border:1px solid #dbe7ff;border-radius:999px;background:#f5f7fb;box-shadow:0 4px 12px rgba(52,95,253,.08);color:#5b6472}
/* 同理：登录后那排快捷入口也是 layui-clear 的 ul，只是容器改成了 flex。
   flex 里的 ::after 会变成一个额外的 flex 子项，白白多占一个 4px 的 gap，
   让 4 个入口整体偏左一点点。这里一并关掉。 */
.index-user-info .dag_side-links:after{display:none!important;content:none!important}
.index-user-info .dag_side-links li{display:block;flex:1 1 0;min-width:0;float:none;width:auto;margin:0;border:0}
.index-user-info .dag_side-links li a{display:flex;align-items:center;justify-content:center;gap:4px;width:auto!important;height:32px;padding:0 4px!important;margin:0!important;border-radius:999px;background:transparent;color:#5b6472;font-size:12px;line-height:1;transition:all .25s;white-space:nowrap}
.index-user-info .dag_side-links li a:hover{color:#345ffd}
.index-user-info .dag_side-links li a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.index-user-info .dag_side-links .dag-uc-ico{width:14px;height:14px;flex:0 0 auto;display:block}
/* 夜间模式：分段控件整体转深色，文字用浅灰，保证对比度 */
body.night .index-user-info .dag_side-links{background:#292a2d;border-color:#3a3a3a;box-shadow:none}
body.night .index-user-info .dag_side-links li a{color:#c0c4cc}
body.night .index-user-info .dag_side-links li a:hover{color:#409eff}
.index-list .list-article, .index-list .list-soft, .index-list .list-cover{margin-top:30px}
.index-list .list-article-main, .index-list .list-soft-main, .index-list .list-cover-main{border-radius:5px;padding:20px;box-sizing:border-box;background:#fff}
.list-cover-main ul{margin:10px 0}
.list-cover-main ul li{float:left;width:234px;margin-right:20px;border-radius: 10px;overflow:hidden;transition:all .5s;border:1px solid #f1f1f1;margin-bottom:20px;box-shadow:0 14px 20px -10px rgba(0,0,0,.1);}
.list-cover-main ul li:nth-child(5n){margin-right:0;float:right}
.list-cover-main ul li:nth-child(n+6){
    margin-bottom: 0;
}
.list-cover-main ul li .img{width:234px;height:110px;overflow:hidden;}
.list-cover-main ul li .img img{width:100%;height:100%;transition:all .5s;object-fit:cover}
.list-cover-main ul li:hover img{transform:scale(1.1)}
.list-cover-main ul li .tit{padding: 10px 10px 5px;}
.list-cover-main ul li .tit h3{font-size:15px;height: 38px;line-height: 20px;margin-bottom: 5px;overflow: hidden;border-bottom: 1px solid #f6f6f6;padding-bottom: 5px;}
.list-cover-main ul li .tit span{display:block;line-height: 23px;font-size: 12px;color: #888;padding-left: 3px;}
.list-cover-main ul li .tit span:before{margin-right:5px;}
.list-soft-main .layui-tab-brief>.layui-tab-title .layui-this{color:#007bf5}
.layui-tab-brief>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-title .layui-this:after{border-bottom:2px solid #007bf5}
.list-soft-main .layui-tab{margin:0}
.list-soft-main .layui-tab-title li{margin:0 30px 0 0;padding:0}
.list-soft-main .list-soft-tab{width:1010px}
/* 下载专区 / 文章专区导航：恢复为原来的「下划线」样式（回到改动前的原生外观） */
.list-article-tab .type,.list-soft-tab .type{border-bottom:1px solid #f6f6f6}
.list-article-tab .type a,.list-soft-tab .type a{color:#ababab;display:inline-block;cursor:pointer;text-indent:0;margin:0 30px 0 0;font-size:15px;padding:0 5px;height:30px;line-height:35px}
.list-article-tab .type .hover,.list-soft-tab .type .hover{color:#007bf5;border-bottom:3px solid #007bf5;height:40px}
.list-soft-plate{height:385px;overflow:hidden}
.article-plate,.soft-plate{transition:.4s all;width:10000px}
.hot-soft{transition:.5s all;width:10000px}
.soft-plate .plate-list{float:left;width:1010px;height:400px}
.article-plate .plate-list,.soft-plate .plate-list{margin-right:0}
.fl .list-soft-plate .plate-list{display:none}
.list-article-plate .plate-list.ing,.list-soft-plate .plate-list.ing{display:block}
.list-soft-plate .plate-list ul{width:100%;margin:5px 0 0 0}
.list-soft-plate .plate-list ul:nth-child(3n){margin-right:0}
.list-soft-plate .plate-list li{display:block;padding:15px 0;box-sizing:initial;float:left;width:48%;border-bottom:1px solid #f6f6f6}
.list-soft-plate .plate-list li:nth-child(2n){margin-right:0;float:right}
.list-soft-plate .plate-list li .fl{width:65px;height:65px;border-radius:15px;overflow:hidden;border:1px solid #f6f6f6}
.list-soft-plate .plate-list li .fl img{width:65px;height:65px}
.list-soft-plate .plate-list li .fr{width:calc(100% - 80px)}
.list-soft-plate .plate-list li .fr h3{width:75%;font-size:15px;margin:15px 0 0;line-height:18px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}
.list-soft-plate .plate-list li .fr p{font-size:12px;color:#ababab}
.list-soft-plate .plate-list li .fr p span{color:#888;font-size:12px;padding:0 10px}
.list-soft-plate .plate-list li .fr p i{font-style:initial;color:#ffb80f;font-size:14px;margin-right:5px}
.list-soft-plate .plate-list li .fr .down{width:50px;float:right}
.list-soft-plate .plate-list li .fr .down b{font-weight:100;display:block;text-align:right;font-size:13px;color:#888;line-height:25px}
.list-soft-plate .plate-list li .fr .down a{display:block;background:#007bf5;padding:5px 0;text-align:center;color:#fff;margin-top:-30px;border-radius:5px;color:#fff;font-size:12px;transition:all .3s}
.list-soft-plate .plate-list li .fr .down a:hover{color:#fff;background:#0068d6}
/* 热门榜单切换：分段控件（Segmented control）——浅灰白长圆角底 + 淡蓝描边 + 柔阴影，选中为纯蓝底白字 */
.hot-soft .type{display:flex;position:relative;padding:4px;margin-bottom:8px;border:1px solid #dbe7ff;border-radius:999px;background:#f5f7fb;box-shadow:0 4px 12px rgba(52,95,253,.08)}
.hot-soft .type:after{display:none;content:none}
.hot-soft .type a{flex:1 1 0;display:block;height:30px;padding:0;margin:0;border-radius:999px;color:#64748b;font-size:13px;line-height:30px;text-align:center;text-indent:0;cursor:pointer;text-decoration:none;transition:all .25s}
.hot-soft .type a:hover{color:#345ffd;background:#e8efff}
.hot-soft .type a.hover{background:#345ffd;color:#fff;box-shadow:0 6px 14px rgba(52,95,253,.28)}
.hot-soft{width:320px}
.hot-soft .plate-list{width:320px}
.hot-soft .plate-list ul{margin-top:20px}
.hot-soft .plate-list li{width:100%;position:relative;padding:0 0 0 35px;box-sizing:border-box;border:0;margin-bottom:14px}
/* 排名序号：统一主色蓝，底色为同色系浅蓝，突出但不刺眼 */
.hot-soft .plate-list li em{width:25px;height:30px;background:#dbe9ff;color:#007bf5;font-weight:700;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}
.hot-soft .plate-list li p{padding:0 0 5px;overflow:hidden;display:none}
.hot-soft .plate-list .now p{display:block}
.hot-soft .plate-list .now em{height:100%;line-height:90px}
.hot-soft .plate-list li .img{width:60px;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:block;width:50px;height:25px;line-height:25px;text-align:center;border-radius:5px;margin-top:5px;color:#fff;background:#007bf5;transition:all .3s}
.hot-soft .plate-list li p span a:hover{color:#fff;background:#0068d6;transition:all .5s}
.hot-soft .plate-list li i{font-style:normal;font-size:13px;color:#888;display:block;margin:8px 0}
.hot-soft .plate-list li span{float:left;margin-left:10px}
.list-article-plate{height:415px}
.list-article-plate .plate-list{float:left;width:1360px;height:410px;display:none}
.list-article-plate .fl{width:100%;margin-top:20px}
.list-article-plate .fr{width:100%}
.list-article-tab{width:100%}
.list-article-plate .fr{border-top:1px solid #f1f1f1;padding:15px 0 0}
.list-article-plate .fr li{line-height:30px;height:30px;position:relative;width:23%;float:left;margin-right:33px;margin-bottom:5px}
.list-article-plate .fr li:nth-child(4n){float:right;margin-right:0}
.list-article-plate .fr li em{float:left;width:25px;height:30px;line-height:30px;font-size:14px;text-align:center}
.list-article-plate .fr li a{float:left;width:calc(100% - 65px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative;font-size:14px;padding-left:15px}
.list-article-plate .fr li a:before{content:'';width:3px;height:3px;left:2px;background:#e2e2e2;position:absolute;top:14px;border-radius:50%;z-index:9}
.list-article-plate .fr li:hover a:before{display:none}
.list-article-plate .fr li:hover a{width:initial!important;text-overflow:initial;white-space:nowrap;z-index:20;position:absolute;background:#fbfcfe;border:1px solid #f3f3f3;padding-left:14px;padding-right:14px;border-radius:5px;height:26px;line-height:26px;top:1px;overflow:visible;color:#007bf5}
.list-article-plate .fr li span{float:right;font-size:12px;margin-right:5px;color:#ababab}
.list-article-plate .fr li span.news{color:red}
.list-article-plate .fl li{width:260px;margin-bottom:25px;overflow:hidden;margin-right:15px;border-radius:5px;transition:all .5s;float:left}
.list-article-plate .fl li:last-child{margin-right:0}
.list-article-plate .fl li:hover{box-shadow:0 14px 20px -10px rgba(0,0,0,.1);-webkit-transform:translateY(-2px)}
.list-article-plate .fl li:hover span{background:#007bf5}
.list-article-plate .fl li:hover img{transform:scale(1.2)}
.list-article-plate .fl li .img{height:150px;overflow:hidden}
.list-article-plate .fl li img{width:100%;height:100%;transition:all .5s;object-fit:cover}
.list-article-plate .fl li a{height:auto;position:relative;display:block}
.list-article-plate .fl li a span{position:absolute;width:100%;color:#fff;bottom:0;left:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 5%;line-height:35px;height:35px;display:block;background-color:#007bf5}
.index-quan .title{margin-top:30px}
.index-quan .li-quan{margin-right:30px;width:410px;height:140px;display:inline-block;margin-bottom:25px;background-color:#fff;vertical-align:top;transition:all .3s;border-radius:5px;overflow:hidden}
.index-quan .li-quan:nth-child(3n){margin-right:0;float:right}
.index-quan .li-quan:hover{-webkit-transform:translateY(-5px);-webkit-box-shadow:0 34px 20px -24px rgba(0,0,0,.1);box-shadow:0 34px 20px -24px rgba(0,0,0,.1);-webkit-transform:translateY(-5px)}
.index-quan .li-quan .picture-warpper{display:block;float:left;position:relative;width:140px;height:140px;overflow:hidden}
.index-quan .li-quan .picture-warpper .fubaocover{width:140px;height:140px;position:absolute;top:0;left:0}
.index-quan .li-quan .fubaoshadow{width:411px;height:145px;display:none;pointer-events:none}
.index-quan .li-quan .desc-wrap .promotioninfo .promotion{color:#e74737;float:left;font-size:16px;width:240px;height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.index-quan .li-quan .desc-wrap .msginfo-row{height:26px;overflow:hidden;width:100%}
.index-quan .li-quan .desc-wrap .msginfo-row .remaindays{float:left}
.index-quan .li-quan .desc-wrap .aftercoupon{color:#e74737}
.index-quan .li-quan .desc-wrap .aftercoupon>span{font-size:20px}
.index-quan .li-quan .picture-warpper .recommend-product{width:42px;height:42px;position:absolute;right:0;top:0;background:url(/content/images/recommend.png)}
@media only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.index-quan .li-quan .picture-warpper .recommend-product{background:url(/content/images/recommend@2x.png)}
}
.index-quan .li-quan img{width:140px;height:140px}
.index-quan .li-quan .desc-wrap{display:block;float:right;padding:20px 20px 10px 3px;width:230px}
.index-quan .li-quan .desc-wrap .product-title-wrap{overflow:hidden;margin-bottom:20px}
.index-quan .li-quan .desc-wrap .couponlink{width:74px;height:26px;font-size:13px;display:inline-block;background-color:#007bf5;text-align:center;line-height:27px;vertical-align:bottom;color:#fff;border-radius:3px;float:right}
.index-quan .li-quan .desc-wrap .couponlink.hovering{background-color:#e74737;border:none;color:#fff}
.index-quan .li-quan .desc-wrap .couponlink:hover{background-color:#007bf5;color:#fff}
.index-quan .li-quan .desc-wrap .product-title-wrap{height:46px;overflow:hidden}
.index-quan .li-quan .desc-wrap .product-title-wrap .product-title{font-size:14px;color:#585858;line-height:22px;height:44px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.index-quan .li-quan .desc-wrap .product-title-wrap .product-title:hover{color:#007bf5}
.index-quan .li-quan .desc-wrap .msginfo-row .remaindays b{color:#ff002b;padding-right:5px;font-size:18px}
.index-quan .li-quan .desc-wrap .msginfo-row .remaindays s{color:#888;font-size:12px}
.index-quan .loadding{margin:50px auto}
.index-link{margin-top:20px}
.index-link h3{font-size:18px;font-weight:800;margin-bottom:10px}
.index-link li{float:left;margin-right:15px;margin-bottom: 10px}
.index-link ul{background:#fff;padding:20px 20px;border-radius:5px}
.index-link li a{color:#888}
@media screen and (max-width:800px){.index-ad li{width:100%!important;margin:.5rem 0 0!important;height:40px!important;}
.index-ad-txt{margin:.5rem 0 0 0}
.index-ad .google-ad,.index-info .r-list{display:none}
.index-ph{margin:75px 0 20px}
.index-list .list-article, .index-list .list-soft, .index-main, .index-quan, index-list .list-article,.index-list .list-cover{margin-top:10px}
/* 手机端整块隐藏右侧边栏（在线工具 / 轮播图 / 登录模块），列表独占整屏 */
.index-info{display:none!important}
.index-news,.index-news-list,.index-news-list ul li,.list-soft-main .list-soft-tab{width:100%}
.index-news-list{padding:.5rem;height:auto!important;}
.index-news-list ul li{padding:.2rem 0;border-radius:30px;line-height:30px;background:0!important}
.index-news-list ul li:nth-child(2n){border-radius:30px}
.index-news-list ul{margin:0}
.hot-soft,.index-news .title{display:none}
.index-quan .title {margin-top: 0px!important;}
.index-link{margin-top: 10px}
.list-cover .title .more,.index-quan .title .more,.index-link .title .more{position: absolute;right: 1%;font-size: 12px;}
.index-list .title,.index-link .title,.index-quan .title,.index-link .title{float: left;margin-left: 15px;margin-bottom: 10px!important;font-size: 18px;}
.index-news .page a{margin:.5rem}
.index-news .page{background:#f6f6f6;border-radius:10px}
/* 手机上「查看更多」往左挪一点，别贴着灰底框的边缘；字号也收一档 */
.index-news .page .dag-more-btn{right:10px;top:10px;font-size:13px}
.list-soft-plate{height:auto}
.list-article-tab .type,.list-soft-tab .type{width:auto;overflow-x:scroll}
.list-article-tab .type::-webkit-scrollbar,.list-soft-tab .type::-webkit-scrollbar{height:0}
.list-article-tab .type a,.list-soft-tab .type a{white-space:nowrap;display:table-cell;padding:0 .5rem;font-size:14px}
.list-article-plate .plate-list,.list-soft-plate .plate-list li{width:100%}
.list-soft-plate .plate-list li:last-child{border-bottom:0;padding-bottom:0}
.list-article-plate .fl li{width:48%;margin-right:0;display:none}
.list-article-plate .fl li:nth-child(2){margin:0;float:right}
.list-article-plate .fl li:nth-child(1),.list-article-plate .fl li:nth-child(2){display:block}
.list-article-plate .fl li .img{height:7rem}
.list-article-plate .fr li{width:100%}
.list-article-plate .plate-list{overflow:hidden}
.index-quan .li-quan{width:100%;margin-right:0;margin-bottom:2%;height:auto;border-radius:5px;overflow:hidden}
.index-box,.index-box::before{height:20rem;margin-bottom:5px}
.index-box .tit{padding-top:6rem}
.index-box .tit h2{font-size:1.5rem}
.index-box .tit p{font-size:1rem}
.index-box .search-box{width:90%;height:48px;padding:0 4px 0 14px}
.index-box .search-box .txt{height:48px}
.index-box .search-box .dag-search-btn{height:38px;padding:0 16px;font-size:13px}
.index-quan .li-quan{width:100%;margin-right:0;margin-bottom:2%;height:auto;border-radius:5px;overflow:hidden}
.index-quan .li-quan .desc-wrap{width:calc(100% - 160px);padding:1.5rem .5rem 0 0}
/* 手机端：登录模块同样不写死高度，四边内边距一致，靠 flex 居中撑开 */
.index-login{padding:20px}
.index-user-info .dag_side-links{width:96%}
/* 轮播图在手机端宽度铺满（在「在线工具」下面，间距收到 10px） */
.index-tool-banner{margin-top:10px}
.index-tool-banner,.index-tool-banner img{width:100%!important}
.index-tool .title{display:block;font-size:16px;margin:0 0 10px}
.index-tool-list{padding:10px}
.index-tool-list ul{gap:10px}
    .list-cover-main ul li{width:48%;margin-right:0;margin-bottom:10px;}
    .list-cover-main ul li:nth-child(5n){float:left}
    .list-cover-main ul li:nth-child(2n){width:49%;float:right}
    .list-cover-main ul li:nth-child(n+6){margin-bottom:10px;}
    .list-cover-main ul li .img{width:100%;height: 5.1rem;}
    .list-cover-main ul li .tit h3{height: 2.3rem;font-size: 14px}
}
.Links {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 50px;
    background-color: #007bf5;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.jump.jump-pic.jump-block {
    margin-top: 15px;
    grid-template-columns: repeat(6,1fr);
    grid-column-gap: 5px;
}

.jump.jump-pic {
    display: grid;
    grid-row-gap: 5px;
}
.jump {
    display: grid;
    grid-row-gap: 5px;
    margin-top: 5px;
    width: 100%;
}
.jump.jump-pic>a {
    display: block;
    position: relative;
}
.jump.jump-pic.jump-block>a>img {
    height: 100px;
}
.jump.jump-pic>a>img {
    width: 100%;
    height: 70px;
    border-radius: 10px;
}
.jump.jump-pic>a img {
    color: #333;
    transition: all .3s;
}
.jump.jump-pic>a img:hover {
    opacity: 0.8;
}
.jump.jump-pic.jump-bisection {
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 5px;
}
.jump.jump-pic.jump-bisection a:before {
    position: absolute;
    content: " AD";
    width: 35px;
    height: 20px;
    background: #007bf5;
    right: 0;
    font-size: 12px;
    bottom: 0;
    color: #fff;
    border-radius: 5px 0 6px;
    line-height: 20px;
    text-align: center;
}
.jump.jump-pic {
    display: grid;
    grid-row-gap: 5px;
}
.jump.jump-pic>a{
    border-radius: 6px;
}
@media screen and (max-width: 992px){
    .jump.jump-pic.jump-block {
        grid-template-columns: repeat(3,1fr);
    }
    .jump.jump-pic.jump-block>a>img {
        height: 50px;
    }
    .jump.jump-pic>a>img {
        height: 40px;
        border-radius: 6px;
    }
}

/* ==========================================================================
   首页「自定义分类模块」（封面轮播）
   —— 结构由 inc/dagang_index-game.php 输出，切页交互在 static/js/index.js 末尾
   —— 后台每勾选一个分类，首页就多一个这样的模块，模块标题直接用分类名字
   —— 风格与「下载专区 / 文章专区」保持一致：白底卡片 + 20px 内边距，主色 #007bf5
   ========================================================================== */
/* 模块外壳：跟另外两个专区一样，离上一块 30px */
.index-list .list-game{margin-top:30px}
.index-list .list-game-main{border-radius:5px;padding:20px;box-sizing:border-box;background:#fff}

/* 模块标题行（含右上角翻页箭头）统一用 .dag-ms-head / .dag-ms-title，
   三种样式共用一套，原来封面轮播专用的 .title 规则已经删掉 */

/* 轮播：窗口裁切，里面一条横向轨道，每页占满一整屏宽，靠 transform 平移切换 */
.dag-game-carousel{position:relative;overflow:hidden}
.dag-game-track{display:flex;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.dag-game-page{
    flex:0 0 100%;width:100%;margin:0;padding:0;list-style:none;
    display:grid;grid-template-columns:repeat(5,1fr);gap:14px;
}

/* 单张封面卡片：扁平描边风格，鼠标放上去只变描边颜色，不做上浮、不加阴影 */
.dag-game-item{list-style:none}
.dag-game-item>a{
    display:block;width:auto;float:none;margin:0;min-width:0;
    background:#fff;border:1px solid #e1e8f0;border-radius:8px;
    box-shadow:none !important;overflow:hidden;
    transition:border-color .16s ease !important;
}
.dag-game-item>a:hover{border-color:#007bf5;box-shadow:none !important}
/* 封面图：固定宽高比 460/215（原站的比例），用 padding-top 撑高，老浏览器也不会塌 */
.dag-game-item .img{position:relative;width:100%;padding-top:46.7%;overflow:hidden;background:#f1f3f6}
/* 封面图不留任何鼠标悬停动效：鼠标放上去图片不放大、不位移，只有卡片描边变蓝 */
.dag-game-item .img img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
/* 卡片文字：标题最多两行，下面一行小字左「日期」右「阅读量」 */
.dag-game-item .tit{padding:10px}
.dag-game-item .tit h3{
    font-size:15px;font-weight:400;color:#333;line-height:20px;height:40px;margin:0 0 8px;
    overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
}
.dag-game-item .tit .meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#ababab}
.dag-game-item .tit .meta .views{display:inline-flex;align-items:center}
/* 阅读量的眼睛图标不单独上色，跟着右边那行小字的灰色走 */
.dag-game-item .tit .meta .views i{font-size:13px;margin-right:4px}

/* 翻页按钮已经挪到标题行右上角（用的是 .dag-ms-arrow 那套圆形箭头，
   跟「竖向封面卡片」完全一致），所以这里原来的
   .dag-game-arrow（盖在图片上的半透明箭头）
   和 .dag-game-foot / .dag-game-dots / .dag-game-more（底部圆点 + 查看更多）
   全部删掉了。 */

/* 手机（≤800px）：缩成 2 列。
   翻页箭头跟着标题行一起留着（手机上也能点），不再隐藏。 */
@media screen and (max-width:800px){
    .index-list .list-game{margin-top:10px}
    .index-list .list-game-main{padding:10px}
    .dag-game-page{grid-template-columns:repeat(2,1fr);gap:10px}
    .dag-game-item .tit{padding:8px}
    .dag-game-item .tit h3{font-size:14px;line-height:19px;height:38px;margin-bottom:6px}
    .dag-game-item .tit .meta{font-size:11px}
}

/* 夜间模式 */
body.night .index-list .list-game-main{background:#292a2d}
body.night .dag-game-item>a{background:#292a2d;border-color:#3a3a3a}
body.night .dag-game-item>a:hover{border-color:#409eff}
body.night .dag-game-item .img{background:#303741}
body.night .dag-game-item .tit h3{color:#c0c4cc}
body.night .dag-game-item .tit .meta{color:#8b93a0}

/* ---------- 夜间模式：侧边「在线工具」 ---------- */
body.night .index-tool-list{background:#292a2d;border-color:#3b4653}
body.night .index-tool-list li a{background:#303840;border-color:#38434f;color:#bdc7d3}
body.night .index-tool-list li a:hover{background:#33465b;border-color:#46698f;color:#8fc0ff}
/* 图标底托在夜间保留一个浅色小块：
   内置图标是彩色 SVG，里面有纯黑的图标，放深色底上会看不见，浅色小块最稳。 */
body.night .index-tool-list li .index-tool-icon{background:#dfe6f0;border-color:#4a5866}

/* ---------- 夜间模式：下载专区的「本周热门 / 当月最热 / 全站最热」切换 ---------- */
body.night .hot-soft .type{background:#292a2d;border-color:#3a3a3a;box-shadow:none}
body.night .hot-soft .type a{color:#9aa3af}
body.night .hot-soft .type a:hover{background:#33465b;color:#8fc0ff}
body.night .hot-soft .type a.hover{background:#409eff;color:#fff;box-shadow:none}

/* ==========================================================================
   首页「自定义分类模块」· 四种卡片样式
   —— 结构由 inc/dagang_index-game.php 输出；竖向样式的左右箭头、以及分类标签切换在 static/js/index.js 末尾
   —— 哪个模块用哪种样式、显示多少篇，后台「首页设置 → 自定义分类模块」里按
      「模块标题|样式|分类ID,分类ID|篇数」配（一行一个模块）
   ——   .dag-ms0 ＝ 大卡片（一排 5 个，一屏 15 个，右上角两个圆形箭头翻页）
   ——   .dag-ms1 ＝ 横向卡片列表（一排 4 个，一屏 12 个，右上角两个圆形箭头翻页）
   ——   .dag-ms2 ＝ 竖向封面卡片（一屏 8 个，超出部分横向滑动，右上角两个圆形箭头）
   ——   .dag-ms5 ＝ 双列小图列表（一排 2 个、卡片平分整行，右上角两个圆形箭头翻页）
   ——   .dag-ms6 ＝ 纯文字列表（一排 3 个，只有标题 + 日期，没有图片，右上角箭头翻页）
   —— 标题行和卡片都重新取的类名（dag-ms-*），不去动上面封面轮播那套 .title/.dag-game-*，
      这样几种样式跟老样式互不影响，也不用跟旧规则抢优先级
   —— 主色沿用主题统一的 #007bf5
   ========================================================================== */

/* ---------- 公共：标题行 + 右上角「查看更多 / 翻页箭头」 ---------- */
.list-game.dag-ms .dag-ms-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.list-game.dag-ms .dag-ms-title{font-size:20px;font-weight:800;color:#333;line-height:1.2}
/* 三种样式的「分类标签 +（或）翻页箭头」都挤成一组贴在标题行右边：
   用 margin-left:auto 把这一组推到最右，标题留在最左边。 */
.list-game.dag-ms .dag-ms-nav{margin-left:auto;display:flex;align-items:center;gap:10px}

.list-game.dag-ms .dag-ms-more{
    font-size:13px;color:#007bf5;line-height:1;
    display:inline-flex;align-items:center;white-space:nowrap;transition:color .25s;
}
.list-game.dag-ms .dag-ms-more i{font-size:15px;margin-left:3px}
.list-game.dag-ms .dag-ms-more:hover{color:#0068d6}

/* 右上角两个圆形翻页箭头（三种样式都用：大卡片 / 横向卡片整页翻，竖向封面横滑）。
   一进页面时「左」是灰的（已经在最左边 / 第 1 页），之后的灰/亮由 index.js 自动切。 */
.list-game.dag-ms .dag-ms-arrow{
    width:28px;height:28px;padding:0;flex:none;
    display:flex;align-items:center;justify-content:center;
    border:1px solid #e1e8f0;border-radius:50%;background:#fff;color:#555;
    cursor:pointer;transition:background .18s,border-color .18s,opacity .18s;
}
.list-game.dag-ms .dag-ms-arrow:hover{background:#f7f7f7;border-color:#c0c0c0}
.list-game.dag-ms .dag-ms-arrow:disabled{opacity:.35;cursor:default}
.list-game.dag-ms .dag-ms-arrow:disabled:hover{background:#fff;border-color:#e1e8f0}
.list-game.dag-ms .dag-ms-arrow svg{width:12px;height:12px}

/* ---------- 分类切换标签（一个模块里勾了 2 个以上分类时才出现） ----------
   位置：紧挨着右边的翻页箭头，两者合成一组靠右；标题留在最左边不动。
   硬规矩：标签永远只占「一行」—— 一行放不下就在标签条里横向滑动，
   右边用渐隐提示「还能往右滑」，绝对不折行（一折行就把标题挤下去、整块变高）。
   面板的隐藏/显示由 static/js/index.js 末尾那段的标签点击逻辑负责。 */
.list-game.dag-ms .dag-ms-tabs{
    margin-left:auto;min-width:0;
    display:flex;flex-wrap:nowrap;align-items:center;gap:8px;
    overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    /* 右边 18px 渐隐：提示右边还有没露出来的标签 */
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent);
            mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent);
}
.list-game.dag-ms .dag-ms-tabs::-webkit-scrollbar{display:none}
.list-game.dag-ms .dag-ms-tab{
    flex:none;white-space:nowrap;
    padding:5px 14px;border:1px solid #e1e8f0;border-radius:5px;background:#fff;
    color:#5b6472;font-size:13px;line-height:1.4;cursor:pointer;
    transition:color .2s,border-color .2s,background-color .2s;
}
.list-game.dag-ms .dag-ms-tab:hover{border-color:#bcd5f4;color:#007bf5}
.list-game.dag-ms .dag-ms-tab.on{background:#007bf5;border-color:#007bf5;color:#fff;font-weight:600}
/* 有标签时，右边的箭头/查看更多不要再抢「自动外边距」，贴着标签留 8px 就行 */
.list-game.dag-ms .dag-ms-tabs~.dag-ms-nav{margin-left:8px}
/* 标题和箭头都不参与压缩，只有标签条可以伸缩 + 横滑 */
.list-game.dag-ms .dag-ms-title{flex:none;white-space:nowrap}
.list-game.dag-ms .dag-ms-nav{flex:none}

/* ---------- 面板容器：一次只显示一个面板（点上面的标签切换） ---------- */
.list-game.dag-ms .dag-ms-panel[hidden]{display:none!important}

/* ============================================================
   样式一：横向卡片列表 —— 一屏 4 列 × 3 排 ＝ 12 个，右上角箭头翻页
   ============================================================ */
/* 这一块不要外层白底卡片：去掉 .list-game-main 的白底和内边距，
   让里面的卡片直接铺在页面底色上、撑满整块宽度，
   跟另外两个专区的「白底面板」不一样，这里就是「不要背景」的效果。 */
.list-game.dag-ms1 .list-game-main{background:none;padding:0}
/* 翻页类模块「先只显示第 1 页」用的类：
   PHP 输出时会给第 2、3 页的页容器加上 dag-page-off（见 inc/dagang_index-game.php）。
   目的：这几类模块是「一次取 3 页的量、前台靠整条平移翻页」的做法，
   要是第一帧就把三页全按列折行铺出来，看起来就是「骨架卡片比真实篇数多好几倍」，
   等前台脚本跑起来才收回去。加上这个类，第一帧就只有真实的一页。
   前台脚本重新分页时会把这些旧外壳整块换掉，类名跟着外壳一起消失，不影响翻页。
   !important 是必须的：上面那些 .list-game.dag-ms1 .dag-ms-grid 之类的规则自带 display:grid，
   优先级比这一个类名高，不加就藏不住。 */
.dag-page-off{display:none!important}
.list-game.dag-ms1 .dag-ms-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
/* 样式一翻页：外层 .dag-ms1-carousel 挡掉横向溢出，
   内层 .dag-ms1-track 用 flex 把三页横排，翻页时整条平移（translateX），
   做法和右上角封面轮播的 .dag-game-carousel / .dag-game-track 一致。
   【重要】track 一定要写 align-items:flex-start，grid 要写 align-content:start：
   flex 容器默认 align-items:stretch，会把三页拉到「最高那一页」的高度；
   而 grid 默认 align-content:stretch，又会把这多出来的高度摊到每一行上。
   结果就是：文章不够 12 个的最后一页，行数少、卡片被硬撑高，
   看起来和第一页「样式不一样」。加上这两句，短页保持不变形、顶部对齐。 */
.list-game.dag-ms1 .dag-ms1-carousel{position:relative;overflow:hidden}
.list-game.dag-ms1 .dag-ms1-track{display:flex;align-items:flex-start;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.list-game.dag-ms1 .dag-ms1-track .dag-ms-grid{flex:0 0 100%;width:100%;min-width:0;align-content:start}

.list-game.dag-ms1 .dag-ms-card{
    position:relative;display:flex;align-items:stretch;gap:0;
    min-height:100px;padding:0;box-sizing:border-box;
    background:#fff;border:1px solid #e1e8f0;border-radius:6px;
    text-decoration:none;color:inherit;overflow:hidden;
    transition:border-color .18s,box-shadow .18s;
}
/* 鼠标放上去只把描边变深一点、加一层很浅的阴影，不做上浮（跟主题其它卡片一致） */
.list-game.dag-ms1 .dag-ms-card:hover{border-color:#c0c0c0;box-shadow:0 2px 8px rgba(0,0,0,.07)}

/* 左边图片：占卡片左侧一整条，贴到卡片最左边。
   因为卡片是 overflow:hidden + 6px 圆角，左边两个圆角会被卡片自动切出来，
   所以这里不用自己写 border-radius。
   【固定为正方形】容器写死 100×100，并且用 align-self:center 让它上下居中、
   不被 flex 拉伸（原来是 align-self:stretch，高度跟着卡片内容变，
   所以图片框时高时扁，永远不是正方形）。
   【不要图片背景】这里不设任何背景色：图片本身是带透明底的图标，
   之前铺了一层按文章 id 取的渐变色，透明的地方会透出彩色，
   看上去就像给图片加了块背景。现在去掉，透明处直接透出卡片的白色。
   【留点空白】用 padding 把图片往中间收：四周各留 10px，
   所以图片只占中间 80×80 那一块，四周还有 10px 白边，不会顶满整条。 */
.list-game.dag-ms1 .dag-ms-icon{
    position:relative;flex:none;align-self:center;width:100px;height:100px;
    display:flex;align-items:center;justify-content:center;
    padding:10px;box-sizing:border-box;overflow:hidden;
    background:none;
}
/* 图片自己也是固定的 80×80 正方形，比原来实际显示的 72px 大一档。
   cover = 按正方形居中裁切把这块铺满：不管原图是宽图、竖图还是方图，
   露出来永远是一个端正的正方形（这也是「固定为正方形」的做法）。
   border-radius:8px 给图片切个圆角，看着柔和一点
   （手机端那条规则只改尺寸、没写圆角，所以会沿用这个 8px）。
   如果你更想要「图片完整显示、一点不裁切」，把下面的 cover 换成 contain 即可，
   代价是横图/竖图会缩成较小的长方形，不是正方形。 */
.list-game.dag-ms1 .dag-ms-icon img{
    width:80px;height:80px;flex:none;object-fit:cover;display:block;border-radius:8px;
}

/* 右边文字区：标题垂直居中；「日期 + 浏览量」那一行钉在这一列的底部。
   【关键】底部的定位基准是 .dag-ms-meta（下面给了 position:relative），
   不是整张卡片 —— 所以这一行只会待在右边文字区的最下面，
   不会跑到左边图片下面去（早前用卡片做基准就踩过这个坑）。
   底部 padding 留 34px，是给下面那一行腾位置，免得标题压到它。 */
.list-game.dag-ms1 .dag-ms-meta{
    position:relative;flex:1 1 auto;min-width:0;
    padding:12px 14px 34px;
    display:flex;flex-direction:column;justify-content:center;gap:3px;
}
/* 标题：最多两行，超出用省略号。这里不用 nowrap，
   因为站长希望长标题能折成两行显示，卡片高度已由 min-height 撑住、不会忽高忽低。 */
.list-game.dag-ms1 .dag-ms-name{
    font-size:14px;color:#333;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;
}
/* 文章简介不显示（模板里还在输出，只是这里藏起来；
   以后想恢复，把这一行删掉就行） */
.list-game.dag-ms1 .dag-ms-desc{display:none}
/* 底部那一行：左边「更新日期」、右边「浏览量」，两头对齐。
   用绝对定位把它钉在右边文字区的最下面（bottom:12px、左右各 14px，
   跟上面 .dag-ms-meta 的左右内边距对齐），所以不管标题是一行还是两行，
   这一行永远在最底下，不会紧跟在标题后面上下浮动。
   它的定位基准是上面那个 .dag-ms-meta（给了 position:relative），
   所以只会在右边文字区里，不会跑到左边图片下面去。 */
.list-game.dag-ms1 .dag-ms-foot{
    position:absolute;left:14px;right:14px;bottom:12px;
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    font-size:12px;line-height:1.4;color:#98a2b3;
}
.list-game.dag-ms1 .dag-ms-foot .dag-ms-date,
.list-game.dag-ms1 .dag-ms-foot .dag-ms-views{white-space:nowrap}
.list-game.dag-ms1 .dag-ms-foot .dag-ms-views i{margin-right:3px;font-size:12px}

/* ============================================================
   样式二：竖向封面卡片 —— 一屏 8 个，右上角箭头左右翻页
   ============================================================ */
/* 跟样式一一样，这一块也不要外层白底卡片：去掉白底和内边距，卡片直接铺满整块宽度 */
.list-game.dag-ms2 .list-game-main{background:none;padding:0}
.list-game.dag-ms2 .dag-ms-track{
    display:grid;grid-auto-flow:column;
    /* 一屏正好放下 8 个：8 个格子之间只有 7 个间距，
       所以是「总宽减掉 7 个 9px，再除以 8」。
       宽度用 auto-columns 算，不用改 JS，换屏宽也能自适应。
       （跟后台「篇数」的默认值对齐：默认 8 篇 ＝ 一屏，篇数调大点箭头就能翻屏） */
    grid-auto-columns:calc((100% - 7 * 9px) / 8);
    gap:9px;
    overflow-x:auto;scroll-behavior:smooth;
    scrollbar-width:none;-ms-overflow-style:none;
    /* 上下各留 2px 余量：卡片悬停时的阴影和描边不被 overflow 裁掉 */
    padding:2px;margin:-2px;
}
.list-game.dag-ms2 .dag-ms-track::-webkit-scrollbar{display:none}

.list-game.dag-ms2 .dag-ms-tile{
    display:flex;flex-direction:column;min-width:0;
    background:#fff;border:1px solid #e1e8f0;border-radius:5px;overflow:hidden;
    text-decoration:none;color:inherit;transition:border-color .18s,box-shadow .18s;
}
.list-game.dag-ms2 .dag-ms-tile:hover{border-color:#c0c0c0;box-shadow:0 2px 8px rgba(0,0,0,.07)}

/* 封面（精选实用软件）：有背景的样式。
   【关键】这里必须用伪元素 ::before 单独做一层「模糊背景」，
   不能把滤镜直接加在 .dag-ms-cover 上 —— 那样中间那个清晰的图标会被一起模糊掉。
   【做法照微软商店原版】原版的模糊层是这么写的：
       .gradual-blur{
           position:absolute; inset:0;
           background-image: 主题色调层, linear-gradient(transparent,transparent), url(图片);
           background-blend-mode: luminosity, overlay, normal;
           filter: blur(模糊值) saturate(4) contrast(90%);
           transform: scale(1.5);
       }
   真正让照片化成「一片柔和彩色雾气」的是那三样：
     background-blend-mode（混合模式）＋ filter（模糊＋高饱和＋降对比）＋ scale(1.5)。
   只是把图片铺上去、再盖一层半透明颜色，出来的是「照片上蒙了层纱」，
   和这个效果不是一回事 —— 这就是之前一直「背景不对」的原因。
   逐条对应我们的写法：
     1）主题色调层 → --c1/--c2 兑白到 38% 的浅色渐变。用 luminosity 混合模式，
        等于「把底图的明暗换成这层浅色的明暗」，底色就柔柔地偏到主题色系上；
     2）linear-gradient(transparent,transparent) → 透明占位层，原样照抄，
        它不产生颜色，只是占住层序，让三层混合模式和原版对齐；
     3）url(图片) → 文章自己的图片，就是 --dag-cover-image。
   scale(1.5) 是把模糊后发虚的四周放大顶出可视区，露出中间结实的部分，
   免得封面四边出现一圈虚边。overflow:hidden 会把超出的部分裁掉。
   【关于模糊值】原版的模糊值藏在它外层壳子 .blur 里：
       --card-blur-value: var(--blur-value, 25px);
   也就是 25px。这里以前写的是 7px，太小了 —— 照片轮廓还看得清，
   出来还是「照片蒙了层纱」，不是那种化成一片的彩色雾。所以改成 25px。
   原版外层壳子（.blur）只做两件事：overflow:hidden + 定义那两个变量。
   这两件事我们的 .dag-ms-cover（position:relative + overflow:hidden）
   已经做了，所以不用再单独加一层壳子。
   --dag-cover-image 写在 .dag-ms-cover 的内联 style 上，::before 能继承到，
   所以 inc/dagang_index-game.php 不用再改。 */
.list-game.dag-ms2 .dag-ms-cover{
    position:relative;aspect-ratio:1/1;
    display:flex;align-items:center;justify-content:center;
    /* 兜底底色：文章没图、或浏览器不认 color-mix 时，看着才是干净的淡灰蓝 */
    background-color:#f1f4f9;
    border-bottom:1px solid #e1e8f0;overflow:hidden;
}
/* 模糊背景层：铺满整个封面，压在最底下（z-index:0） */
.list-game.dag-ms2 .dag-ms-cover::before{
    content:'';position:absolute;inset:0;z-index:0;
    background-image:
        linear-gradient(135deg,
            color-mix(in srgb,var(--c1,#0a6cff) 38%,#fff),
            color-mix(in srgb,var(--c2,#35c6ff) 38%,#fff)),
        linear-gradient(transparent,transparent),
        var(--dag-cover-image,none);
    background-blend-mode:luminosity,overlay,normal;
    /* 原版是 background-size: 100% var(--card-blur-height)，
       而 --card-blur-height 默认 100%，所以这里就是 100% 100%：
       强行把图片拉伸到铺满整块（不是 cover 那样按比例裁切）。 */
    background-size:100% 100%;
    background-position:center top;
    background-repeat:no-repeat;
    filter:blur(25px) saturate(4) contrast(90%);
    transform:scale(1.5) translate3d(0,0,0);
}
/* 图片占封面的 50%（四周各留 25% 的边），这是站长指定的尺寸。
   图片小一圈，露出来的淡色底就厚一圈，底色更明显。
   position:relative + z-index:1 是让这张清晰的图浮在上一层模糊背景之上
   （不然会被 ::before 盖住，或者跟着一起糊）。
   唯一的差别：演示页用的是 object-fit:contain，这里用 cover。
   因为站长另外要求过「图片固定为正方形」—— cover 会按正方形居中裁切把小框铺满，
   不管原图是宽图、竖图还是方图，露出来永远是一个端正的正方形；
   contain 则是原图什么比例就显示什么比例，横图和竖图就不是方的了。
   另外：这里必须写死百分比宽高。img 是「替换元素」，只写 inset 撑不开它
   —— 会按图片原始尺寸溢出，只看到左上角一块。 */
.list-game.dag-ms2 .dag-ms-cover img{
    position:relative;z-index:1;
    width:50%;height:50%;object-fit:cover;object-position:center;display:block;border-radius:14%;
}

/* 封面下面的文字区：四周留白比原来大一档（原来是 8px 9px 9px），
   标题和底部那行之间的间隔也跟着拉开，整块文字看着松快一点 */
.list-game.dag-ms2 .dag-ms-body{padding:10px 15px 11px;display:flex;flex-direction:column;flex:1}
.list-game.dag-ms2 .dag-ms-tile-name{
    font-size:12px;line-height:1.35;color:#333;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;min-height:32px;      /* 固定两行高度，一排卡片才齐 */
}
/* 卡片底部那一行：左边「更新日期」、右边「浏览量」，两头对齐。
   margin-top:auto 是关键 —— 它把这一行顶到文字区最底下，
   所以不管标题是一行还是两行，日期和浏览量永远贴在卡片底部。
   （原来这里是右下角的「立即查看」，已按要求换掉。）
   一屏挤 8 个时格子窄（约 167px），所以字号压到 11px；
   date 允许收缩省略，万一浏览量位数特别多也不会把卡片撑破。 */
.list-game.dag-ms2 .dag-ms-tile-foot{
    margin-top:auto;padding-top:12px;     /* 跟上面的标题之间留 12px */
    display:flex;align-items:center;justify-content:space-between;gap:5px;
    font-size:11px;line-height:1.4;color:#98a2b3;
}
.list-game.dag-ms2 .dag-ms-tile-foot .dag-ms-tile-date{
    min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.list-game.dag-ms2 .dag-ms-tile-foot .dag-ms-tile-views{white-space:nowrap}
.list-game.dag-ms2 .dag-ms-tile-foot .dag-ms-tile-views i{margin-right:2px;font-size:11px}

/* ============================================================
   样式五：双列小图列表 —— 一排 2 个（卡片平分整行），右上角箭头整页翻页
   每张卡片 = 左边横长方形小图（96×60）+ 右边「标题在顶部 / 底部左日期、右浏览量」
   ============================================================ */
/* 和前两个样式一样，这一块也不要外层白底卡片：去掉白底和内边距，卡片直接铺满整块宽度 */
.list-game.dag-ms5 .list-game-main{background:none;padding:0}
/* 一排 2 个，两列平分整行（不加宽度上限，卡片自然撑满） */
.list-game.dag-ms5 .dag-ms5-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
/* 翻页：外层 .dag-ms5-carousel 挡掉横向溢出，
   内层 .dag-ms5-track 用 flex 把几页横排，翻页时整条平移（translateX），
   做法和样式一 / 大卡片轮播一致。
   track 写 align-items:flex-start、grid 写 align-content:start：
   避免最后不满一页的高度被 flex/grid 拉伸，导致短页卡片被硬撑变形。 */
.list-game.dag-ms5 .dag-ms5-carousel{position:relative;overflow:hidden}
.list-game.dag-ms5 .dag-ms5-track{display:flex;align-items:flex-start;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.list-game.dag-ms5 .dag-ms5-track .dag-ms5-grid{flex:0 0 100%;width:100%;min-width:0;align-content:start}

.list-game.dag-ms5 .dag-ms5-card{
    display:flex;align-items:stretch;gap:12px;
    min-height:84px;padding:12px;box-sizing:border-box;
    background:#fff;border:1px solid #e1e8f0;border-radius:5px;
    text-decoration:none;color:inherit;
    transition:border-color .18s,box-shadow .18s;
}
/* 鼠标放上去只把描边变深一点、加一层很浅的阴影，不做上浮（跟主题其它卡片一致） */
.list-game.dag-ms5 .dag-ms5-card:hover{border-color:#c0c0c0;box-shadow:0 2px 8px rgba(0,0,0,.07)}

/* 左边小图：固定 96×60 的横长方形（不随卡片高度拉伸）。
   兜底底色用浅灰蓝：文章没图、或图片透明/没加载时透出来，看着是干净的一条浅色。
   图片按 cover 铺满这个长方形（不管原图是横图、竖图、方图，露出来永远是同一个形状）。 */
.list-game.dag-ms5 .dag-ms5-thumb{
    flex:none;width:96px;height:60px;align-self:center;
    border-radius:5px;overflow:hidden;
    display:flex;align-items:center;justify-content:center;
    background:#f1f4f9;
}
.list-game.dag-ms5 .dag-ms5-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* 右边文字区：标题在顶部、底部那行（日期 + 浏览量）钉在最下面，两头对齐。
   用 justify-content:space-between 把这两行顶到上下两头，不管标题一行还是两行都稳。 */
.list-game.dag-ms5 .dag-ms5-info{
    flex:1 1 auto;min-width:0;
    display:flex;flex-direction:column;justify-content:space-between;gap:8px;
}
/* 标题：只占一行，超长用省略号 */
.list-game.dag-ms5 .dag-ms5-name{
    font-size:14px;color:#333;line-height:1.35;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
/* 底部一行：左边「更新日期」、右边「浏览量」 */
.list-game.dag-ms5 .dag-ms5-foot{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    font-size:12px;line-height:1.2;color:#98a2b3;
}
.list-game.dag-ms5 .dag-ms5-foot .dag-ms5-date,
.list-game.dag-ms5 .dag-ms5-foot .dag-ms5-views{white-space:nowrap}
.list-game.dag-ms5 .dag-ms5-foot .dag-ms5-views i{margin-right:3px;font-size:12px}

/* ============================================================
   样式六：纯文字列表 —— 一排 3 个（电脑 3 列 / 手机 1 列），右上角箭头整页翻页
   每行 = 主色细箭头 › + 标题（超长省略号）+ 末尾日期（月-日）
   整块内容区是一张白底圆角卡片（沿用主题统一的 .list-game-main 白底 + 20px 内边距，
   夜间自动切成深灰底），标题行和分类标签直接落在页面底色上。
   结构在 inc/dagang_index-text.php，翻页/切标签脚本复用 static/js/index.js 里那套。
   ============================================================ */
/* 一排 3 个，三列平分整行；列与列之间留 24px。
   行与行之间不留 gap（row-gap:0）—— 行间那条细线是直接画在每一行上的，留了 gap 线会离行很远。 */
.list-game.dag-ms6 .dag-tx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;row-gap:0}
/* 翻页：外层 .dag-tx-carousel 挡掉横向溢出，
   内层 .dag-tx-track 用 flex 把几页横排，翻页时整条平移（translateX），
   做法和样式一 / 五一致。track 写 align-items:flex-start、grid 写 align-content:start，
   避免最后不满一页时被拉伸变形。 */
.list-game.dag-ms6 .dag-tx-carousel{position:relative;overflow:hidden}
.list-game.dag-ms6 .dag-tx-track{display:flex;align-items:flex-start;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.list-game.dag-ms6 .dag-tx-track .dag-tx-grid{flex:0 0 100%;width:100%;min-width:0;align-content:start}

/* 一行：箭头 + 标题 + 日期 一条线排开。
   【行间那条浅灰细线怎么来的】用 border-top（上边线），再把「第一排（最多 3 行）」的上边线去掉 ——
   :nth-child(-n+3) 正好盖住第一排。数出来就是：
     · 最上面（第一排）不留线；
     · 第 2 排起每一行上面都有一条线 = 行与行之间的分隔线；
     · 最后一排下面本来就不带线（没用到下边线）。
   为什么不用 border-bottom：那要摘掉「最后一排」的下边线，而最后一排是几行得看总条数
   （3 的整倍数才是满排），纯 CSS 数不出来，要靠 PHP 去算 —— 用 border-top 更省事，
   视觉上和「最后一行不留线」完全一样。 */
.list-game.dag-ms6 .dag-tx-item{
    display:flex;align-items:center;gap:6px;
    padding:11px 0;box-sizing:border-box;
    border-top:1px solid #f0f2f5;
    text-decoration:none;color:inherit;
}
/* 第一排（最多 3 行）不要上边线 */
.list-game.dag-ms6 .dag-tx-item:nth-child(-n+3){border-top:0}

/* 主色细箭头：悬停时往右挪 2px（只做很轻的位移，不做缩放 / 上浮） */
.list-game.dag-ms6 .dag-tx-mk{
    flex:none;width:12px;
    color:#007bf5;font-size:16px;line-height:1;font-weight:400;
    transition:transform .18s;
}
/* 标题：占满中间，只占一行、超长省略号；悬停变主色 */
.list-game.dag-ms6 .dag-tx-nm{
    flex:1 1 auto;min-width:0;
    font-size:14px;color:#333;line-height:1.4;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    transition:color .18s;
}
/* 末尾日期：贴着这一行最右边，不换行 */
.list-game.dag-ms6 .dag-tx-dt{
    flex:none;white-space:nowrap;
    font-size:12px;color:#98a2b3;line-height:1.4;
}
/* 悬停：标题变主色 + 箭头右移 2px */
.list-game.dag-ms6 .dag-tx-item:hover .dag-tx-nm{color:#007bf5}
.list-game.dag-ms6 .dag-tx-item:hover .dag-tx-mk{transform:translateX(2px)}

/* ============================================================
   自适应：1100px 以下收一档，800px（手机）再收一档
   —— 一屏放几个是靠 grid-auto-columns 算的，这里只改「放几个」和列数
   ============================================================ */
@media screen and (max-width:1100px){
    .list-game.dag-ms1 .dag-ms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    /* 竖向封面：窄一点的电脑屏一屏 6 个（6 个格子之间 5 个间距） */
    .list-game.dag-ms2 .dag-ms-track{grid-auto-columns:calc((100% - 5 * 9px) / 6)}
}
@media screen and (max-width:800px){
    .list-game.dag-ms .dag-ms-head{margin-bottom:12px}
    .list-game.dag-ms .dag-ms-title{font-size:16px}
    .list-game.dag-ms .dag-ms-more{font-size:12px}
    /* 手机上标签和标题都收一档，标签条更省地方、更不容易被挤到要滑动 */
    .list-game.dag-ms .dag-ms-head{gap:8px}
    .list-game.dag-ms .dag-ms-tabs{gap:6px}
    .list-game.dag-ms .dag-ms-tab{padding:4px 11px;font-size:12px}
    .list-game.dag-ms1 .dag-ms-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    /* 手机上卡片变窄了：左边图片条收窄一点，但仍然是一个正方形
       （容器 80×80、四周各留 8px，图片 64×64，方向和电脑端一致） */
    .list-game.dag-ms1 .dag-ms-card{min-height:80px}
    .list-game.dag-ms1 .dag-ms-icon{width:80px;height:80px;padding:8px}
    .list-game.dag-ms1 .dag-ms-icon img{width:64px;height:64px}
    /* 手机上内边距收窄，底部那一行的「钉底」坐标也跟着收一档，
       左右各 12px、离底 10px，底部的 30px 留白同样是为了不压住标题 */
    .list-game.dag-ms1 .dag-ms-meta{padding:10px 12px 30px}
    .list-game.dag-ms1 .dag-ms-foot{left:12px;right:12px;bottom:10px}
    .list-game.dag-ms2 .dag-ms-track{grid-auto-columns:calc((100% - 3 * 9px) / 4)}   /* 一屏 4 个 */
    /* 双列小图：手机（≤800）改成一排一个，卡片更宽、标题看得更全 */
    .list-game.dag-ms5 .dag-ms5-grid{grid-template-columns:1fr;gap:10px}
    /* 纯文字：手机（≤800）改成一排一个。
       上面「第一排最多 3 行不留线」是按电脑 3 列算的，这里先把它加回来（第一行除外），
       这样手机端每一行之间都有分隔线、只有最上面一行不留线。 */
    .list-game.dag-ms6 .dag-tx-grid{grid-template-columns:1fr;column-gap:0}
    .list-game.dag-ms6 .dag-tx-item:nth-child(-n+3){border-top:1px solid #f0f2f5}
    .list-game.dag-ms6 .dag-tx-item:first-child{border-top:0}
}
@media screen and (max-width:560px){
    .list-game.dag-ms1 .dag-ms-grid{grid-template-columns:1fr}                      /* 一行一个 */
    /* 一屏只剩 3 个，格子更窄，底部那行字号再收一档 */
    .list-game.dag-ms2 .dag-ms-tile-foot{font-size:10px;gap:4px}
    .list-game.dag-ms2 .dag-ms-track{grid-auto-columns:calc((100% - 2 * 9px) / 3)}   /* 一屏 3 个 */
}

/* ---------- 夜间模式 ---------- */
body.night .list-game.dag-ms .dag-ms-title{color:#e0e6ef}
body.night .list-game.dag-ms .dag-ms-more{color:#409eff}
body.night .list-game.dag-ms .dag-ms-more:hover{color:#66b1ff}
body.night .list-game.dag-ms .dag-ms-arrow{background:#2b2b2b;border-color:#3d3d3d;color:#c0c4cc}
body.night .list-game.dag-ms .dag-ms-arrow:hover{background:#3a3a3a;border-color:#5a5a5a}
body.night .list-game.dag-ms .dag-ms-arrow:disabled:hover{background:#2b2b2b;border-color:#3d3d3d}
/* 夜间：分类标签条 —— 未选中的标签用深底灰字，选中的仍是主题蓝 */
body.night .list-game.dag-ms .dag-ms-tab{background:#2b2b2b;border-color:#3d3d3d;color:#a8b0bd}
body.night .list-game.dag-ms .dag-ms-tab:hover{border-color:#409eff;color:#8fc0ff}
body.night .list-game.dag-ms .dag-ms-tab.on{background:#007bf5;border-color:#007bf5;color:#fff}
/* 【修复】样式一/二白天是「去背景」——去掉 .list-game-main 的白底和内边距，
   让卡片直接铺在页面底色上。但夜间被第 480 行那条
   body.night .index-list .list-game-main{background:#292a2d} 又盖回深灰面板了，
   因为那条选择器里多了个 body 元素、权重更高（(0,0,3,1) 压过了白天的 (0,0,3,0)）。
   结果夜里这两个模块的「缝隙」不是透出页面底色，而是透出深灰 #292a2d，
   看起来就像「改了颜色、没去掉背景」。
   这里补一条同样式、更具体的规则（权重 (0,0,4,1)），
   把样式一/二的套壳背景在夜间也真正设成透明，缝隙就跟白天一样透出页面底色。 */
body.night .list-game.dag-ms1 .list-game-main,
body.night .list-game.dag-ms2 .list-game-main,
body.night .list-game.dag-ms5 .list-game-main{background:none}
body.night .list-game.dag-ms1 .dag-ms-card,
body.night .list-game.dag-ms2 .dag-ms-tile,
body.night .list-game.dag-ms5 .dag-ms5-card{background:#292a2d;border-color:#3a3a3a}
body.night .list-game.dag-ms1 .dag-ms-card:hover,
body.night .list-game.dag-ms2 .dag-ms-tile:hover,
body.night .list-game.dag-ms5 .dag-ms5-card:hover{border-color:#409eff;box-shadow:0 2px 8px rgba(0,0,0,.4)}
body.night .list-game.dag-ms1 .dag-ms-name,
body.night .list-game.dag-ms2 .dag-ms-tile-name,
body.night .list-game.dag-ms5 .dag-ms5-name{color:#c0c4cc}
/* 双列小图：小图的兜底底色换成深灰，底部那行（日期 + 浏览量）压暗一点 */
body.night .list-game.dag-ms5 .dag-ms5-thumb{background:#2f3236}
body.night .list-game.dag-ms5 .dag-ms5-foot{color:#7f8794}
/* 两张卡片底部那行「日期 + 浏览量」在夜间模式下压暗一点 */
body.night .list-game.dag-ms2 .dag-ms-tile-foot{color:#7f8794}
/* 纯文字：白底卡片在夜间自动变深灰（靠 body.night .index-list .list-game-main 那条），
   这里只把文字 / 日期 / 分隔线 / 箭头换成夜间配色。 */
body.night .list-game.dag-ms6 .dag-tx-item{border-top-color:#3a3a3a}
body.night .list-game.dag-ms6 .dag-tx-nm{color:#c0c4cc}
body.night .list-game.dag-ms6 .dag-tx-dt{color:#7f8794}
body.night .list-game.dag-ms6 .dag-tx-mk{color:#409eff}
body.night .list-game.dag-ms6 .dag-tx-item:hover .dag-tx-nm{color:#409eff}
body.night .list-game.dag-ms1 .dag-ms-desc{color:#8b93a0}
/* 卡片底部「日期 + 浏览量」在夜间模式下再压暗一点 */
body.night .list-game.dag-ms1 .dag-ms-foot{color:#7f8794}
/* 【样式一的图片不要背景】夜里也不用管它，
   原来这里有一条把渐变色兑进深色底的规则，已经跟着背景一起去掉了 */
/* 夜间：模糊层的色调层换成「深灰版」（兑 #2b2b2b 而不是兑白），
   底下的照片在夜里就被压暗，不会亮得刺眼。
   混合模式、滤镜、scale 都跟白天的规则一致，这里只改色调层这一层。 */
body.night .list-game.dag-ms2 .dag-ms-cover{
    background-color:#2f3236;
    border-bottom-color:#4a4a4a;
}
body.night .list-game.dag-ms2 .dag-ms-cover::before{
    background-image:
        linear-gradient(135deg,
            color-mix(in srgb,var(--c1,#0a6cff) 34%,#2b2b2b),
            color-mix(in srgb,var(--c2,#35c6ff) 34%,#2b2b2b)),
        linear-gradient(transparent,transparent),
        var(--dag-cover-image,none);
}