@charset "utf-8";
/* ==========================================================================
   PC 首页改版：TapTap 式留白布局 + 黄色主题
   --------------------------------------------------------------------------
   这是一层覆盖样式，加载在 style.css 之后，只作用于首页。
   回滚方式：删除 templates/pc/index/index.html 里对 tap.css 的引用即可。
   设计基准：
     主色 #FFC300（黄）/ 悬停 #E8AE00
     正文 #1D2129 / 次 #4E5969 / 弱 #86909C
     描边 #E5E6EB / 分隔 #F2F3F5
     圆角 12px（卡片）16px（大区块）
     阴影 0 2px 12px rgba(0,0,0,.06)
   ========================================================================== */

:root {
    --tap-primary: #FFC300;
    --tap-primary-dark: #E8AE00;
    --tap-primary-light: #FFF7DB;
    --tap-primary-soft: #FFFBF0;

    --tap-text-1: #1D2129;
    --tap-text-2: #4E5969;
    --tap-text-3: #86909C;

    --tap-border: #E5E6EB;
    --tap-line: #F2F3F5;
    --tap-bg: #F7F8FA;

    --tap-radius: 12px;
    --tap-radius-lg: 16px;
    --tap-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    --tap-shadow-hover: 0 8px 24px rgba(0, 0, 0, .10);
}

/* ---------- 全局底色与字体 ---------- */
body {
    background: var(--tap-bg) !important;
    background-image: none !important;
    color: var(--tap-text-1);
    font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a:link, a:visited { color: var(--tap-text-2); }
a:hover { color: var(--tap-primary-dark); }

/* 选中文字（复制时的高亮）：恢复浏览器原生的蓝底白字，不再跟随主题主色 */
::selection { background: #3390ff; color: #fff; }
::-moz-selection { background: #3390ff; color: #fff; }

/* ==========================================================================
   1. 顶部工具条
   ========================================================================== */
.top {
    background: var(--tap-primary-soft) !important;
    border-bottom: 1px solid var(--tap-line);
    height: 36px;
    line-height: 36px;
    font-size: 12px;
}
.top a:link, .top a:visited { color: var(--tap-text-3); }
.top a:hover { color: var(--tap-primary-dark); }
.top .wrap { height: 36px; }
.top .t-left li, .top .t-right li { line-height: 36px; }

/* 顶部“全部游戏”悬停面板 */
.top .game-list {
    border: 1px solid var(--tap-border);
    border-radius: var(--tap-radius);
    box-shadow: var(--tap-shadow-hover);
    padding: 12px;
    background: #fff;
}

/* ==========================================================================
   2. 主导航
   ========================================================================== */
.m-head {
    height: 72px !important;
    background: #fff !important;
    border-bottom: 1px solid var(--tap-line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
}
.m-head .w-logo {
    height: 44px !important;
    margin-top: 14px !important;
    background-size: contain !important;
    background-position: left center !important;
    width: 170px !important;
}
.m-head .w-nav {
    height: 72px !important;
    margin-top: 0 !important;
    margin-left: 32px !important;
}
.m-head .w-nav li span {
    height: 72px !important;
    line-height: 72px !important;
    font-size: 15px !important;
    color: var(--tap-text-2) !important;
    font-weight: 500;
    transition: color .2s;
}
.m-head .w-nav li a:hover span { color: var(--tap-primary-dark) !important; }

/* 导航选中态：底部黄色短条 */
.m-head .w-nav li.on a, .m-head .w-nav li.current a {
    position: relative;
}
.m-head .w-nav li.on a::after, .m-head .w-nav li.current a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 20px;
    height: 3px;
    margin-left: -10px;
    background: var(--tap-primary);
    border-radius: 2px;
}

/* 取消原有的旋转花活 */
.m-head .w-nav li a:hover i.ico {
    transform: none !important;
    -webkit-transform: none !important;
}

/* 搜索框 */
.m-head .m-search {
    margin-top: 18px;
}
.m-head .m-search input[type="text"], .m-head .m-search input[type="search"] {
    height: 36px !important;
    line-height: 36px !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: 18px 0 0 18px !important;
    background: var(--tap-bg) !important;
    padding: 0 16px !important;
    font-size: 13px;
    color: var(--tap-text-1);
    outline: none;
}
.m-head .m-search input:focus {
    border-color: var(--tap-primary) !important;
    background: #fff !important;
}
.m-head .btnSearch {
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 0 18px 18px 0 !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 600;
    border: none !important;
    padding: 0 22px !important;
}
.m-head .btnSearch:hover {
    background: var(--tap-primary-dark) !important;
}

/* ==========================================================================
   3. 首屏轮播：从全宽贴边改为 1200 圆角内嵌
   ========================================================================== */
.banner {
    background: transparent !important;
    padding: 24px 0 0 !important;
    height: auto !important;
    overflow: visible !important;
}
.banner .swiper-container {
    width: 1180px;
    margin: 0 auto;
    border-radius: var(--tap-radius-lg);
    overflow: hidden;
    box-shadow: var(--tap-shadow);
    background: #fff;
}
.banner .swiper-container,
.banner .swiper-slide {
    height: 340px !important;
}
.banner .swiper-slide a { display: block; width: 100%; height: 100%; }
.banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner .swiper-pagination { bottom: 14px !important; }
.banner .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
    border-radius: 3px;
    transition: all .25s;
}
.banner .swiper-pagination-bullet-active {
    width: 20px;
    background: var(--tap-primary);
}
.banner .swiper-button-next, .banner .swiper-button-prev {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, .28);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.banner .swiper-button-next:after, .banner .swiper-button-prev:after {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

/* 关键:老样式用 -348px 把主内容压在 banner 上,改版后取消重叠 */
.container {
    margin-top: 0 !important;
    padding-top: 24px;
    background: none;
}

/* ==========================================================================
   4. 首屏模块（左小轮播 + 三张推荐 + 新闻）
   ========================================================================== */
/* 首屏三块拼图：544 + 314 + 322 = 1180，宽度必须锁死，改宽会整块错位 */
.l-kuHot {
    width: 1180px !important;
    height: 344px !important;
    background: #fff !important;
    margin: 0 auto !important;
    border-radius: var(--tap-radius-lg);
    overflow: hidden;
    box-shadow: var(--tap-shadow);
}

/* 左侧小轮播：544px，是拼接块的一部分，不要再加圆角和阴影 */
.m-slideBox {
    width: 544px;
    height: 344px;
}
.m-slideBox .bd img { border-radius: 0; }
.m-slideBox .hd { bottom: 14px !important; }
.m-slideBox .hd ul li {
    width: 6px !important;
    height: 6px !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, .65) !important;
    margin: 0 3px !important;
    transition: all .2s;
}
.m-slideBox .hd ul li.on {
    width: 20px !important;
    background: var(--tap-primary) !important;
}

/* 中间三行推荐：314px，左侧 20px 竖排标签是原设计，只换配色 */
.m-pdrc {
    width: 314px !important;
    background: #fff !important;
    height: 354px !important;
    margin-top: -10px !important;
}
.m-pdrc li {
    height: 118px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}
.m-pdrc li:hover {
    box-shadow: none !important;
    transform: none !important;
}
.m-pdrc li .hd {
    float: left;
    width: 20px;
    height: 80px;
    padding: 20px 12px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #1D2129 !important;
    font-weight: 600;
    border-radius: 0;
}
.m-pdrc li .hd.se1 { background: var(--tap-primary) !important; }
.m-pdrc li .hd.se2 { background: #FFD54F !important; }
.m-pdrc li .hd.se3 { background: #FFE9A8 !important; }
.m-pdrc li .bd {
    float: left;
    width: 242px;
    margin-left: 8px;
    padding: 25px 0 25px 8px;
    background: #fff !important;
    border: none !important;
}
.m-pdrc li + li .bd {
    border-top: 1px solid var(--tap-line) !important;
    padding-top: 24px;
}
.m-pdrc li .bd img {
    width: 70px;
    height: 70px;
    border-radius: 14px !important;
    margin-right: 24px;
}
.m-pdrc li .bd span.tit {
    font-size: 16px !important;
    color: var(--tap-text-1) !important;
    font-weight: 600;
    height: 26px !important;
    line-height: 26px !important;
}
.m-pdrc li .bd span.type {
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
}
.m-pdrc li .bd:hover span.tit { color: var(--tap-primary-dark) !important; }
.m-pdrc li.edge { display: none; }

/* 右侧新闻区：322px */
.m-sea-games { width: 322px; }
.m-sea-games .mod-news {
    width: 100% !important;
    float: none !important;
    height: 344px;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 18px !important;
}
.m-sea-games .mod-news .mod-hd {
    border-bottom: 1px solid var(--tap-line) !important;
    margin-bottom: 4px;
}

/* ==========================================================================
   5. 模块标题（全站统一）
   ========================================================================== */
.r-tit1 {
    height: 44px !important;
    line-height: 44px !important;
    padding-left: 0;
    margin-bottom: 4px;
}
.r-tit1 h4, .r-tit1 h5 {
    font-size: 20px !important;
    line-height: 44px !important;
    height: 44px !important;
    color: var(--tap-text-1) !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    position: relative;
    padding-left: 14px;
    margin-top: 0 !important;
}
.r-tit1 h4::before, .r-tit1 h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
    width: 4px;
    height: 18px;
    background: var(--tap-primary);
    border-radius: 2px;
}
/* 老样式的小图标全部隐藏 */
.r-tit1 h4 em, .r-tit1 h5 em {
    display: none !important;
}
.r-tit1 .more, .r-tit1 a.more {
    font-size: 13px;
    color: var(--tap-text-3) !important;
}
.r-tit1 .more:hover { color: var(--tap-primary-dark) !important; }

/* ==========================================================================
   6. 通用板块容器：去掉旧的门户色块
   ========================================================================== */
.pd10 { padding: 10px 0 !important; }
.rBg { background: transparent !important; }
.ovh { overflow: hidden; }

/* 各内容白卡 */
.col-gd-9 > .rBg,
.m-tabWrap, .m-gamesTable, .m-pdEliteWrap,
.activity_wrap, .newgame_wrap, .strategy_wrap {
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-shadow: var(--tap-shadow);
    padding: 16px 18px;
    box-sizing: border-box;
}

/* 栏目内的标签页 */
.m-tabWrap .hd li, .m-pdElite .hd li {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    color: var(--tap-text-2) !important;
    background: transparent !important;
    border: none !important;
    transition: all .2s;
}
.m-tabWrap .hd li:hover { color: var(--tap-primary-dark) !important; }
.m-tabWrap .hd li.on {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 600;
}

/* ==========================================================================
   7. 游戏卡片（热门分类 / 每日精选 / 搜索结果等）
   ========================================================================== */
.m-tabWrap .bd li, .game-list li, .m-gamesList li {
    border-radius: var(--tap-radius);
    transition: transform .25s, box-shadow .25s;
}
.m-tabWrap .bd li:hover, .game-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--tap-shadow-hover);
}
.m-tabWrap .bd li img, .game-list li img {
    border-radius: 10px;
}

/* 游戏名与副标题 */
.m-tabWrap .bd li .tit, .game-list li .tit {
    color: var(--tap-text-1) !important;
    font-weight: 600;
}
.m-tabWrap .bd li .type, .game-list li .type {
    color: var(--tap-text-3) !important;
}

/* 徽标 / 标签 / 评分统一黄色 */
.tips, .tag, .bq, .score, .pf {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border-radius: 4px;
    font-weight: 600;
}

/* ==========================================================================
   8. 开服表 / 排行表
   ========================================================================== */
.m-gamesTable .m-gamesTable-ul {
    height: auto !important;
    max-height: 560px;
    overflow: hidden;
}
.m-gamesTable .m-gamesTable-ul li {
    position: relative;
    height: 58px !important;
    line-height: normal !important;
    padding: 10px 0 0 !important;
    box-sizing: border-box;
    border-bottom: 1px solid var(--tap-line);
}
.m-gamesTable .m-gamesTable-ul li:last-child { border-bottom: none; }
.m-gamesTable .m-gamesTable-ul li > div {
    float: none !important;
    height: auto !important;
    overflow: visible !important;
}
/* 小圆点去掉，改用行内留白 */
.m-gamesTable .m-gamesTable-ul li .dot { display: none !important; }
/* 日期：左侧两行（日期 / 时间），给足 46px */
.m-gamesTable .m-gamesTable-ul li .date {
    position: absolute;
    left: 0;
    top: 15px;
    width: 46px !important;
    font-size: 11px !important;
    color: var(--tap-text-3) !important;
    line-height: 13px !important;
    text-align: left !important;
    white-space: normal !important;
}
/* 游戏名：单行省略 */
.m-gamesTable .m-gamesTable-ul li .name {
    width: auto !important;
    margin: 0 50px 0 54px !important;
    height: 20px;
    line-height: 20px !important;
    font-size: 13px !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-gamesTable .m-gamesTable-ul li .name a {
    color: var(--tap-text-1) !important;
}
.m-gamesTable .m-gamesTable-ul li .name a:hover {
    color: var(--tap-primary-dark) !important;
}
/* 类型：游戏名下方 */
.m-gamesTable .m-gamesTable-ul li .status {
    position: absolute;
    left: 54px;
    bottom: 9px;
    width: auto !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 14px !important;
    color: var(--tap-text-3) !important;
    white-space: nowrap;
    overflow: hidden;
    max-width: 120px;
}
/* 打开按钮：右侧胶囊 */
.m-gamesTable .m-gamesTable-ul li .btn {
    position: absolute;
    right: 0;
    top: 12px;
    float: none !important;
}
.m-gamesTable .m-gamesTable-ul li .btn a {
    width: 46px !important;
    height: 24px !important;
    line-height: 24px !important;
    border: none !important;
    border-radius: 12px !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-size: 12px !important;
    font-weight: 600;
    margin-top: 0 !important;
}
.m-gamesTable .m-gamesTable-ul li .btn a:hover {
    background: var(--tap-primary-dark) !important;
}
.m-gamesTable .m-gamesTable-ul li:hover {
    background: var(--tap-primary-soft);
}

.m-gamesTable th {
    background: var(--tap-bg) !important;
    color: var(--tap-text-3) !important;
    font-weight: 500;
    font-size: 12px;
    height: 36px;
    border: none !important;
}
.m-gamesTable td {
    border: none !important;
    border-bottom: 1px solid var(--tap-line) !important;
    height: 44px;
    font-size: 13px;
    color: var(--tap-text-2);
}
.m-gamesTable tr:last-child td { border-bottom: none !important; }
.m-gamesTable tr:hover td { background: var(--tap-primary-soft) !important; }

/* 开服/开测按钮 */
.btn-open, .open-btn, .m-gamesTable .btn {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border: none !important;
    border-radius: 14px !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    font-weight: 600;
}
.btn-open:hover, .open-btn:hover, .m-gamesTable .btn:hover {
    background: var(--tap-primary-dark) !important;
}

/* 排行榜名次 */
.ranking li .num, .rank-num, .top3 {
    color: var(--tap-primary-dark) !important;
    font-weight: 700;
}
.ranking li:nth-child(1) .num { color: #FF8A00 !important; }

/* ==========================================================================
   8.1 游戏攻略：原本是 kwicks 手风琴，插件在这里拿不到容器宽度（全是 70px 挤在一起），
       改版直接铺成等宽卡片网格，不再依赖 JS 计算。
   ========================================================================== */
.activity_wrap .activity_kwicks {
    display: flex !important;
    gap: 12px;
    height: auto !important;
    padding-top: 0 !important;
    overflow: visible !important;
}
.activity_wrap .activity_kwicks li {
    position: static !important;
    float: none !important;
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    height: 210px !important;
    border-radius: var(--tap-radius);
    overflow: hidden;
    transition: transform .25s;
}
.activity_wrap .activity_kwicks li:hover {
    transform: translateY(-3px);
}
.activity_wrap .activity_kwicks li a {
    height: 210px !important;
    border-radius: var(--tap-radius);
    overflow: hidden;
}
/* 小图隐藏，统一用大图铺满 */
.activity_wrap .activity_kwicks li .min { display: none !important; }
.activity_wrap .activity_kwicks li .max {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 210px !important;
    opacity: 1 !important;
    display: block !important;
}
.activity_wrap .activity_kwicks li .max img {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover;
    display: block;
}
/* 标题压在图片底部，加渐变让文字可读 */
.activity_wrap .activity_kwicks li h4 {
    margin-top: 132px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    padding: 0 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.activity_wrap .activity_kwicks li p {
    color: rgba(255, 255, 255, .85) !important;
    font-size: 12px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    padding: 0 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.activity_wrap .activity_kwicks li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent);
    z-index: 2;
    pointer-events: none;
}

/* ==========================================================================
   9. 新闻 / 资讯列表
   ========================================================================== */
.mod-news {
    background: #fff !important;
    border-radius: var(--tap-radius-lg);
    box-shadow: var(--tap-shadow);
    padding: 16px 20px !important;
    box-sizing: border-box;
}
.mod-news .mod-hd { border-bottom: 1px solid var(--tap-line) !important; }
.mod-news .news_p {
    font-size: 16px !important;
    color: var(--tap-text-3) !important;
    font-weight: 600;
    padding-bottom: 12px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
.mod-news .news_p.active { color: var(--tap-text-1) !important; }
.mod-news .news_p.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--tap-primary);
    border-radius: 1px;
}
.txt-list li {
    height: 36px !important;
    line-height: 36px !important;
    border-bottom: 1px solid var(--tap-line);
}
.txt-list li:last-child { border-bottom: none; }
.txt-list li a {
    font-size: 13px !important;
    color: var(--tap-text-2) !important;
}
.txt-list li a:hover { color: var(--tap-primary-dark) !important; }
.txt-list li a.red { color: var(--tap-text-2) !important; }
.txt-list li span { color: var(--tap-text-3) !important; font-size: 12px !important; }

/* ==========================================================================
   10. 客服中心 / 快捷入口
   ========================================================================== */
.mod-kfzx {
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-shadow: var(--tap-shadow);
    padding: 16px 20px;
}
.customer_left li {
    height: 40px !important;
    line-height: 40px !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: 20px !important;
    margin: 0 10px 10px 0 !important;
    padding: 0 18px 0 14px !important;
    font-size: 13px !important;
    color: var(--tap-text-2) !important;
    transition: all .2s;
}
.customer_left li:hover {
    border-color: var(--tap-primary) !important;
    background: var(--tap-primary-light) !important;
    color: var(--tap-text-1) !important;
}
.customer_fr li {
    background: var(--tap-primary-light);
    border-radius: var(--tap-radius);
    padding: 16px 20px;
}
.customer_fr p { color: var(--tap-text-2); font-size: 13px; }
.customer_fr p span { color: var(--tap-text-1); font-size: 18px; font-weight: 700; }

/* ==========================================================================
   11. 右侧悬浮导航
   ========================================================================== */
.leftnav ul {
    background: #fff;
    border-radius: var(--tap-radius);
    box-shadow: var(--tap-shadow);
    padding: 6px;
}
.leftnav li { border-radius: 8px; overflow: hidden; }
.leftnav li a {
    color: var(--tap-text-3) !important;
    font-size: 12px;
    transition: all .2s;
}
.leftnav li a:hover, .leftnav li.current a {
    background: var(--tap-primary-light) !important;
    color: var(--tap-text-1) !important;
}

/* ==========================================================================
   12. 页脚
   ========================================================================== */
.footer, .m-footer, .footer-wrap {
    background: #fff !important;
    border-top: 1px solid var(--tap-line);
    margin-top: 32px;
    padding: 32px 0 24px;
}
.footer a, .footer p, .footer span, .footer li {
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
}
.footer a:hover { color: var(--tap-primary-dark) !important; }
.footer h3, .footer h4, .footer .tit {
    color: var(--tap-text-1) !important;
    font-size: 14px !important;
    font-weight: 600;
}

/* ==========================================================================
   13. 底部广告条：TapTap 式布局没有这种贴边广告，先隐藏
   （需要保留广告时删掉这一段即可）
   ========================================================================== */
.bg_div { display: none !important; }

/* ==========================================================================
   14. 细节清理
   ========================================================================== */
/* 去掉老式的虚线/斜纹背景 */
.column, .xian { background: none !important; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #D9DBE0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #C2C5CC; }

/* 图片懒加载淡入更柔和 */
img.lazy, img[data-original] { transition: opacity .3s; }

/* ==========================================================================
   ============  以下为「全站」扩展层（首页之外）  ==========================
   --------------------------------------------------------------------------
   设计语言：大留白、12~16px 圆角、纯白卡片、轻阴影、单一黄色强调色。
   全部为自写规则，只覆盖颜色/间距/圆角，不改动原有布局算法。
   回滚：删除各模板中的 tap.css 引用即可。
   ========================================================================== */

/* ==========================================================================
   15. 全站公共：容器、面包屑、按钮、分页、表单
   ========================================================================== */

/* 让所有页面主内容区上下有呼吸空间 */
.container.wrapper,
.wrapper.gonglue-list,
.gifts-games-list {
    padding-top: 16px;
}

/* 面包屑：改成浅色胶囊 */
.m-bread-cut {
    background: #fff !important;
    border: 1px solid var(--tap-border);
    border-radius: 999px;
    display: inline-block;
    height: 34px !important;
    line-height: 32px !important;
    padding: 0 16px !important;
    font-size: 13px;
    color: var(--tap-text-3) !important;
    margin: 8px 0 12px;
}
.m-bread-cut a:link, .m-bread-cut a:visited { color: var(--tap-text-2) !important; }
.m-bread-cut a:hover { color: var(--tap-primary-dark) !important; }

/* 通用按钮：圆角 + 黄色 */
.btn_search, .btnSearch, .btn-search, .search-btn {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 600;
    padding: 0 22px !important;
    height: 36px !important;
    line-height: 36px !important;
    transition: background .2s;
}
.btn_search:hover, .btnSearch:hover, .btn-search:hover { background: var(--tap-primary-dark) !important; }

/* 搜索输入框统一 */
.input_search, .inputSearch, .m-search input[type=text], .search input[type=text] {
    border-radius: 999px !important;
    border: 1px solid var(--tap-border) !important;
    background: #fff !important;
    height: 36px !important;
    line-height: 34px !important;
    padding: 0 16px !important;
    color: var(--tap-text-1) !important;
    box-sizing: border-box;
}
.input_search:focus, .inputSearch:focus {
    border-color: var(--tap-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, .18);
}

/* 分页 */
.pages li {
    border-radius: 8px !important;
    border: 1px solid var(--tap-border) !important;
    background: #fff !important;
    color: var(--tap-text-2) !important;
    padding: 5px 12px !important;
    margin-right: 6px !important;
    font-size: 13px;
    transition: all .2s;
}
.pages li:hover { border-color: var(--tap-primary) !important; }
.pages li a { color: var(--tap-text-2) !important; }
.pages li a:hover { color: var(--tap-primary-dark) !important; }
.pages li.thisclass {
    background: var(--tap-primary) !important;
    border-color: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 700;
}
.pages li.thisclass a { color: #1D2129 !important; }

/* 把所有“渐变彩字”标题统一成纯色深字（旧模板里有大量 background-clip:text） */
.arc-tit,
.m-cwdbLink,
.rec_p .game_lb,
.box4 .r-tit1 h4 {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--tap-text-1) !important;
    color: var(--tap-text-1) !important;
    text-shadow: none !important;
}

/* ==========================================================================
   16. 列表页：找游戏（筛选区 + 游戏卡片）
   ========================================================================== */

/* 筛选区整体做成白卡 */
.game-select-box {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 8px 22px 14px !important;
    box-sizing: border-box;
    margin-bottom: 18px;
    overflow: hidden;          /* 兜住内部 float，避免白卡断成两截 */
}
.game-select-box .game-type,
.game-select-box .game-theme { margin: 0 !important; }
.game-type, .game-theme {
    border-bottom: 1px solid var(--tap-line);
    padding: 12px 0 !important;
    min-height: 0 !important;
}
.game-theme:last-child, .game-type:last-child { border-bottom: none; }

.game-select-box .game-type-title {
    width: 74px !important;
    margin: 0 8px 0 0 !important;
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
    line-height: 32px !important;
    float: left;
}

/* 标签：胶囊化 */
.game-select-box a {
    display: inline-block !important;
    border: none !important;
    background: #F2F3F5 !important;
    color: var(--tap-text-2) !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    padding: 6px 15px !important;
    margin: 3px 8px 3px 0 !important;
    line-height: 20px !important;
    transition: background .18s, color .18s;
}
.game-select-box a:hover { background: var(--tap-primary-light) !important; color: var(--tap-text-1) !important; }
.game-select-box a.active,
.game-select-box a.on {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 700;
}
.game-select-box .game-type-list { width: auto !important; overflow: hidden; }
.game-select-box .game-quantity { color: var(--tap-text-3) !important; font-size: 13px !important; line-height: 34px !important; float: right; }

/* 游戏卡片：白底 + 圆角 + 悬浮
   注意：li 上有内联 width:382px，必须用 !important 覆盖，
   并让容器负 margin 多出 16px 余量，否则 3 列刚好等于 1200 会掉行。 */
#gameslist.games-list-box { margin: 0 -8px !important; }
#gameslist > li {
    width: calc(33.3333% - 16px) !important;
    background: #fff !important;
    border-radius: var(--tap-radius) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    margin: 0 8px 18px !important;
    transition: transform .22s, box-shadow .22s;
    box-sizing: border-box;
}
#gameslist > li:hover {
    transform: translateY(-3px);
    box-shadow: var(--tap-shadow-hover);
}
#gameslist > li .games-ico { border-radius: 14px !important; }
#gameslist > li .games-nams-des strong { color: var(--tap-text-1) !important; font-weight: 600 !important; font-size: 16px !important; }
#gameslist > li .games-nams-des span { color: var(--tap-text-3) !important; font-size: 12px !important; }

/* 卡片内的“游戏详情/下载游戏”小按钮 */
#gameslist .games-btn,
#gameslist .games-l-gw,
#gameslist .games-l-xz {
    border-radius: 999px !important;
    font-size: 12px !important;
    height: 26px !important;
    line-height: 26px !important;
    background: #F2F3F5 !important;
    color: var(--tap-text-2) !important;
    border: none !important;
    text-align: center;
    transition: background .2s, color .2s;
}
#gameslist .games-btn:hover,
#gameslist .games-l-xz:hover {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
}

/* 列表页顶部的系统切换（iOS/Android/H5）方块 */
.gamesWrap { background: #fff; border-radius: var(--tap-radius-lg); box-shadow: var(--tap-shadow); padding: 14px 16px; }
.gamesWrap .hd li { border-radius: 10px !important; }
.gamesWrap .hd li.on, .gamesWrap .hd li:hover { background: var(--tap-primary-light) !important; }
.gamesWrap .bd ul li a { color: var(--tap-text-2) !important; }

/* ==========================================================================
   17. 列表页：礼包中心
   --------------------------------------------------------------------------
   原卡片是 368x102 的绝对定位布局（图标 92x102 / 名称 left:92 top:22 /
   描述 left:92 top:48 / 右侧 54px 宽领奖竖条），所以这里只换皮肤，
   不动宽高和 margin，避免整列崩掉。
   ========================================================================== */

/* 外层大容器：去掉整块白底，让卡片自己撑起层次 */
.gifts-games-list { background: transparent !important; padding-top: 0 !important; }
.gifts-games-list .gifts-list-box { width: 1182px !important; }

.gifts-games-list .gifts-list-box li {
    background: #fff !important;
    border: 1px solid var(--tap-line) !important;
    border-radius: var(--tap-radius) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    box-sizing: border-box;
}
.gifts-games-list .gifts-list-box li:hover {
    transform: translateY(-2px);
    box-shadow: var(--tap-shadow-hover);
    border-color: var(--tap-border) !important;
}
/* 底部那层灰底（列表区背景）也去掉 */
.gifts-games-list .gifts-list-box .gift-list,
#gift-list { background: transparent !important; }

/* 图标 */
.gifts-games-list .gifts-list-box li .gift-img {
    border-radius: 12px !important;
    object-fit: cover;
}

/* 礼包名 */
.gifts-games-list .gifts-list-box .gift-name { top: 18px !important; width: 200px !important; height: 24px !important; }
.gifts-games-list .gifts-list-box .gift-name strong,
.gifts-games-list .gifts-list-box .gift-name p {
    color: var(--tap-text-1) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    white-space: nowrap;
}
/* 礼包内容描述：两行截断，给右下按钮让出位置 */
.gifts-games-list .gifts-list-box .gift-tab-cont {
    top: 44px !important;
    width: 128px !important;
    height: 40px !important;
    line-height: 20px !important;
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 领取按钮：原来是 54x102 的整条竖图，改成右下角小胶囊 */
.gifts-games-list .gifts-list-box a.get-gifts-btn,
.gifts-games-list .gifts-list-box a.get-gifts {
    position: absolute !important;
    width: 62px !important;
    height: 26px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 12px !important;
    background: var(--tap-primary) !important;
    border-radius: 999px !important;
    color: #1D2129 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 26px !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: background .2s;
}
.gifts-games-list .gifts-list-box a.get-gifts-btn:hover,
.gifts-games-list .gifts-list-box a.get-gifts:hover { background: var(--tap-primary-dark) !important; }
/* 按钮文字原本画在背景图里，这里补回来 */
.gifts-games-list .gifts-list-box a.get-gifts-btn::after {
    content: "领取";
    display: block;
    width: 100%;
    text-align: center;
    color: #1D2129;
}
/* 已领完 / 不可领 */
.gifts-games-list .gifts-list-box a.get-gifts-btn-b {
    background: #F2F3F5 !important;
    color: var(--tap-text-3) !important;
    font-weight: 500 !important;
}
.gifts-games-list .gifts-list-box a.get-gifts-btn-b::after {
    content: "已领完";
    color: var(--tap-text-3);
    font-weight: 500;
}

/* 区服下拉 */
.gifts-games-list .gifts-list-box select {
    border-radius: 999px !important;
    border: 1px solid var(--tap-border) !important;
    background: #F7F8FA !important;
    color: var(--tap-text-2) !important;
    font-size: 12px !important;
    height: 26px !important;
    max-width: 130px;
}

/* ==========================================================================
   18. 列表页：新闻 / 攻略
   ========================================================================== */

/* 子导航（最新发布 / 游戏攻略 …）改成白卡胶囊条 */
.topbar-gl {
    background: #fff !important;
    border-bottom: 1px solid var(--tap-line) !important;
    height: auto !important;
    padding: 0 !important;
}
.topbar-gl .topbar-glb {
    width: 1200px !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
    height: auto !important;
}
.topbar-gl .topbar-glb .topbar-glb-r { float: left !important; }
.topbar-gl .topbar-glb-r { height: auto !important; }
.topbar-gl .topbar-glb .topbar-glb-r li,
.topbar-gl .topbar-glb-r li {
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 6px 0 0 !important;
    float: none !important;
    display: inline-block !important;
}
.topbar-gl .topbar-glb-r li a {
    display: inline-block !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    color: var(--tap-text-2) !important;
    background: transparent !important;
    border: none !important;
    transition: background .18s, color .18s;
}
.topbar-gl .topbar-glb-r li a:hover { background: var(--tap-primary-light) !important; color: var(--tap-text-1) !important; }
.topbar-gl .topbar-glb-r li a em { display: none !important; }   /* 原小方块装饰 */
/* 当前栏目高亮（a 上的 on 类由模板输出） */
.topbar-gl .topbar-glb-r li a.on {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 700;
}
.topbar-gl .topbar-glb-r li a.on:hover {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
}

/* 搜索条（原来是深灰底） */
.gl-top {
    background: transparent !important;
    height: auto !important;
    padding: 16px 0 4px !important;
    width: 1200px !important;
    margin: 0 auto !important;
}
.gl-top .serach-ico { display: none !important; }      /* 旧标题小图 */
.gl-top .search {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 10px 14px !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100% !important;
}
.gl-top .search .input_search {
    flex: 1;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}
.gl-top .search .btn_search {
    margin: 0 !important;
    flex: 0 0 auto;
    width: 88px !important;
    height: 36px !important;
    line-height: 36px !important;
}

/* 新闻列表
   注意：style.css 里 .game-activity .m-gift-box .m-gift-x li a 是 display:block; height:116px，
   特异性比普通类选择器高，这里必须同长度或加 !important，否则 flex 不生效。 */
.gonglue-list .game-activity {
    background: transparent !important;
    width: auto !important;
}
.gonglue-list .m-gift-box { background: transparent !important; }
.gonglue-list .game-activity .m-gift-box .m-gift-x {
    padding: 0 !important;
    float: none !important;
    overflow: visible !important;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li {
    background: #fff !important;
    border-radius: var(--tap-radius) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    margin: 0 0 12px !important;
    padding: 0 !important;
    list-style: none;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li:hover {
    transform: translateY(-2px);
    box-shadow: var(--tap-shadow-hover);
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li > a {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 20px !important;
    overflow: visible !important;
    box-sizing: border-box;
    gap: 18px;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li img {
    width: 182px !important;
    height: 122px !important;
    object-fit: cover;
    border-radius: 10px !important;
    float: none !important;
    flex: 0 0 auto;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li .info {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li .tit {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--tap-text-1) !important;
    line-height: 26px !important;
    height: auto !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li .cfg {
    height: auto !important;
    line-height: 20px !important;
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li .cfgs em {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border-radius: 999px !important;
    font-weight: 600;
}
.gonglue-list .game-activity .m-gift-box .m-gift-x > li .giftName {
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
    line-height: 22px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   19. 列表页：排行榜
   ========================================================================== */

.panking-ou { padding-bottom: 30px; }
.panking-ou .b1-left { background: transparent !important; }

/* 年度热门：三张竖卡 */
.panking-ou .rec_p { margin: 0 -8px; }
.panking-ou .rec_p li,
.panking-ou .rec_p > li {
    background: #fff !important;
    border-radius: var(--tap-radius) !important;
    box-shadow: var(--tap-shadow);
    margin: 0 8px 16px !important;
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
}
.panking-ou .rec_p li:hover { transform: translateY(-3px); box-shadow: var(--tap-shadow-hover); }
.panking-ou .rec_p .pank-img { margin: 0 !important; }
.panking-ou .rec_p .pank-img img,
.panking-ou .rec_p .rec_p_img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 150px !important;
    object-fit: cover;
    display: block;
}
.panking-ou .rec_p .pank-tit {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--tap-text-1) !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 榜单容器卡片 */
.panking-ou .box4 {
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-shadow: var(--tap-shadow);
    /* 三个榜单是 380px x 3 = 1140，左右 padding 不能超过 30px，否则第三列会被挤到下一行 */
    padding: 8px 0 20px;
    margin-top: 16px;
    box-sizing: border-box;
    overflow: hidden;
}
/* 内层 tab 容器已由 .box4 提供白卡，去掉重复的背景和 padding，
   否则 1180 - 36 = 1144 装不下三个 380 宽的榜单列 */
.panking-ou .box4 .m-tabWrap {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 20px !important;
    width: auto !important;
}
.panking-ou .listcontent { padding: 0 !important; }

/* 榜单页的分类标签区（原来极密） */
.game-pank-select { padding: 10px 0 4px !important; background: transparent !important; }
.game-pank-select .game-type { border-bottom: 1px dashed var(--tap-line); padding: 8px 0 !important; }
.game-pank-select a {
    font-size: 13px !important;
    padding: 6px 14px !important;
    margin: 3px 8px 3px 0 !important;
    border-radius: 999px !important;
    border: none !important;
    background: #F2F3F5 !important;
    color: var(--tap-text-2) !important;
}
.game-pank-select a:hover { background: var(--tap-primary-light) !important; }
.game-pank-select a.active { background: var(--tap-primary) !important; color: #1D2129 !important; font-weight: 700; }

/* 三个 tab（安卓游戏/苹果游戏/H5） */
.game-pank-select .m-tabWrap .hd,
.pank-table .hd { background: transparent !important; border: none !important; }
.pank-table .hd li,
.pank-table .hd ul li {
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    color: var(--tap-text-2) !important;
    background: #F2F3F5 !important;
    margin-right: 8px !important;
    border: none !important;
}
.pank-table .hd li.on {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-weight: 700;
}

/* 榜单小标题（原为红/黄/绿渐变艺术字）→ 统一深色 + 黄色竖条 */
.pank-table-ul > .r-tit2,
.panking-ou .r-tit2 {
    background: none !important;
    height: 46px !important;
    line-height: 46px !important;
    border: none !important;
}
.pank-table-ul > .r-tit2 h4,
.panking-ou .r-tit2 h4 { color: var(--tap-text-1) !important; }

/* 榜单行 */
/* 三个榜单并排：原样式写死 380px，加上间隙会超出容器导致第三列掉行，
   这里改成三等分，li 内部是 350px 绝对定位，装得下 */
.pank-table .pank-table-ul {
    width: 33.3333% !important;
    height: auto !important;
    min-height: 300px;
    box-sizing: border-box;
}
.pank-table .pank-table-ul > .r-tit2 { height: 64px !important; line-height: 64px !important; }

.pank-table-ul > li {
    border-bottom: 1px solid var(--tap-line) !important;
    padding: 10px 0 !important;
    transition: background .18s;
}
.pank-table-ul > li:last-child { border-bottom: none !important; }
.pank-table-ul > li:hover { background: #FAFBFC; }
.pank-table-ul .games-ico img,
.pank-table-ul li img { border-radius: 12px !important; }
.pank-table .pank-table-ul .games-name,
.pank-table-ul li p {
    color: var(--tap-text-1) !important;
    font-size: 14px !important;
    font-weight: 600;
}
.pank-table .pank-table-ul .games-name { width: 132px !important; }
.pank-table-ul .pank-go { right: 4px !important; }
.pank-table-ul .pank-go .pank-go-a {
    border-radius: 999px !important;
    border: 1px solid var(--tap-border) !important;
    color: var(--tap-text-2) !important;
    font-size: 12px !important;
    height: 26px !important;
    line-height: 24px !important;
}
.pank-table-ul .pank-go .pank-go-a:hover {
    background: var(--tap-primary) !important;
    border-color: var(--tap-primary) !important;
    color: #1D2129 !important;
}
.pank-table-ul .gl-t1 { color: var(--tap-text-3) !important; font-size: 12px !important; }

/* 底部横向游戏墙的图片 */
.panking-ou .m-gamesList li img,
.m-gamesList li img { border-radius: 12px !important; }

/* ==========================================================================
   20. 列表页：积分商城
   ========================================================================== */

.shops { padding-bottom: 30px; }
.shops .game_rec {
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-shadow: var(--tap-shadow);
    padding: 8px 20px 16px;
    margin-bottom: 16px;
}
.shops .rec_p { margin: 0 -8px; }
.shops .rec_p li {
    background: #fff !important;
    border-radius: var(--tap-radius) !important;
    margin: 0 8px 16px !important;
    padding: 12px !important;
    box-sizing: border-box;
    transition: box-shadow .2s, transform .2s;
}
.shops .rec_p li:hover { box-shadow: var(--tap-shadow-hover); transform: translateY(-2px); }
.games-details .game_rec .rec_p_img { border-radius: 10px !important; }
.games-details .game_rec .game_lb { color: var(--tap-text-1) !important; font-size: 14px !important; font-weight: 600; }
.shops .rec_p .game_safe span { color: #E5484D !important; font-weight: 700; }
.shops .rec_p .game_xq { color: var(--tap-text-3) !important; }

/* 商城搜索区：flex 排，否则按钮被挤成两行竖排 */
.shops .r-ser { border: none !important; }
.r-ser .m-search {
    display: flex !important;
    align-items: center;
    gap: 0;
    float: right !important;
    width: auto !important;
    background: transparent !important;
}
.r-ser .m-search .input_search {
    width: 220px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 999px 0 0 999px !important;
    border-right: none !important;
    padding: 0 14px !important;
    box-sizing: border-box;
}
.r-ser .m-search .btn_search {
    border-radius: 0 999px 999px 0 !important;
    height: 34px !important;
    line-height: 34px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    padding: 0 !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    overflow: visible;
    flex: 0 0 78px;
    display: inline-block;
}

/* 商城分类标签 */
.games-details .game-type a,
.games-details .game-select-box a {
    border-radius: 999px !important;
    border: none !important;
    background: #F2F3F5 !important;
}

/* 商品卡：a 包 li 的写法，统一做成白卡 */
.shops .game_rec {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 6px 20px 18px !important;
    margin-bottom: 18px !important;
    box-sizing: border-box;
}
.shops .rec_p { margin: 0 -8px !important; }
.game_rec a[href*="goods_id"] { display: inline-block; float: left; text-decoration: none; }
.games-details .game_rec li {
    width: 196px !important;
    height: auto !important;
    min-height: 0 !important;
    float: left !important;
    margin: 0 8px 16px !important;
    padding: 12px !important;
    background: #fff !important;
    border: 1px solid var(--tap-line) !important;
    border-radius: var(--tap-radius) !important;
    box-sizing: border-box;
    transition: transform .2s, box-shadow .2s;
}
.games-details .game_rec li:hover {
    transform: translateY(-2px);
    box-shadow: var(--tap-shadow-hover);
}
.games-details .game_rec .game_ac {
    background: transparent !important;
    display: block;
    width: auto !important;
    height: auto !important;
}

/* shop.css 里商品卡的 <li div> 是 absolute + #eee 底色（宽 270 溢出卡宽），
   把包住"名称/积分/剩余"的灰块压扁了，这里恢复成正常流 */
.games-details .game_rec li div {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    bottom: auto !important;
}
/* <h3> 原本是 100px 宽橙底，"加入购物车"只是里面一个链接，改成整行胶囊 */
.games-details .game_rec li h3 {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: normal !important;
}
.games-details .game_rec .rec_p_img {
    width: 100% !important;
    height: 150px !important;
    object-fit: contain;
    border-radius: 10px !important;
    background: #FAFBFC;
}
.games-details .game_rec .game_lb {
    display: block;
    color: var(--tap-text-1) !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 22px !important;
    margin: 8px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.games-details .game_rec .game_safe,
.games-details .game_rec .game_safe span { color: var(--tap-primary-dark) !important; font-weight: 700; font-size: 15px !important; }
.games-details .game_rec .game_xq {
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
    position: static !important;
    display: block !important;
    line-height: 20px !important;
    height: auto !important;
    margin-top: 2px;
}
.games-details .game_rec li h3 a {
    display: block;
    margin-top: 10px;
    height: 30px;
    line-height: 30px;
    border-radius: 999px;
    background: var(--tap-primary);
    color: #1D2129 !important;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}
.games-details .game_rec li h3 a:hover { background: var(--tap-primary-dark); }

/* 商城顶部广告：压低高度、圆角 */
.ad_long.shop_long,
.shops .ad_long {
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden !important;
    max-height: 110px;
    margin-bottom: 14px;
}

/* ==========================================================================
   21. 内容页：游戏详情
   --------------------------------------------------------------------------
   原结构：.m-games（200px 高）
             .w-bgimg（模糊背景图，top:-500px）
             .w-bgcov（深灰遮罩 opacity:.7）
             .w-gamesInfo（图标 118 + dd 580）
   保留"背景图 + 遮罩"的思路，只换配色和排版：遮罩改成渐变，标题改白，
   标签/按钮全部收进黄色体系，右栏统一白卡。
   ========================================================================== */

/* 顶部通栏广告：压低高度，不抢主体 */
.games-details .ad_long {
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    max-height: 110px;
    background: #fff !important;
}
.games-details .ad_long img { max-height: 110px; object-fit: cover; }

/* 头部整体：圆角白卡容器 */
.games-details .rBg-hs {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--tap-shadow);
    margin-bottom: 16px;
}

/* 面包屑移到白底上，用中性样式（头部遮罩不再盖住它） */
.games-details .m-bread-cut {
    margin: 14px 0 0 20px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: 20px !important;
    line-height: 20px !important;
}

/* 头部大图区 */
.games-details .m-games {
    height: 236px !important;
    border-radius: var(--tap-radius) var(--tap-radius) 0 0;
    overflow: hidden;
    margin-top: 10px;
}
.games-details .m-games .w-bgimg { filter: blur(14px) brightness(.85); }
/* 遮罩：从深到透的横向渐变，保证左侧文字可读，右侧露出氛围图 */
.games-details .m-games .w-bgcov {
    background: linear-gradient(96deg, rgba(22, 24, 29, .93) 0%, rgba(22, 24, 29, .86) 42%, rgba(22, 24, 29, .42) 74%, rgba(22, 24, 29, .18) 100%) !important;
    opacity: 1 !important;
    height: 236px !important;
}

/* 图标 */
.games-details .m-games .w-gamesInfo { padding: 30px 0 0 28px !important; }
.games-details .m-games .w-gamesInfo dt { width: 104px !important; height: 104px !important; margin-right: 20px !important; }
.games-details .m-games .w-gamesInfo dt img {
    border-radius: 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    border: none !important;
}

/* 标题区：给足宽度，标题白色 */
.games-details .m-games .w-gamesInfo dd { width: auto !important; max-width: 640px; }
.games-details .m-games .w-gamesInfo dd .info { height: auto !important; overflow: visible !important; }
.games-details .m-games .w-gamesInfo dd .info h1 {
    width: auto !important;
    max-width: 100%;
    float: left;
    height: auto !important;
    line-height: 34px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 折扣标签（内联 red 背景）：统一黄底深字 */
.games-details .m-games .w-gamesInfo dd .info > span {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 10px !important;
}

/* 礼包 / 攻略 小链接 */
.games-details .m-games .interfix-pd a {
    display: inline-block;
    height: 22px;
    line-height: 22px;
    padding: 0 10px;
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff !important;
    font-size: 12px !important;
}
.games-details .m-games .interfix-pd a:hover { background: var(--tap-primary); color: #1D2129 !important; }

/* 类型 / 版本 / 评分：半透明胶囊 */
.games-details .m-games .w-gamesInfo .bin { clear: both; padding-top: 12px !important; }
.games-details .m-games .w-gamesInfo .bin li {
    display: inline-block;
    float: none !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    margin: 0 8px 0 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .82) !important;
    font-size: 12px !important;
}
.games-details .m-games .w-gamesInfo .bin li a { color: #fff !important; }
.games-details .m-games .w-gamesInfo .bin li i { color: var(--tap-primary) !important; font-style: normal; font-weight: 700; }

/* 下载按钮：黄色大胶囊 */
.games-details .m-games .btnWrap { clear: both; margin-top: 16px !important; }
.games-details .m-games .btnWrap > li {
    height: 42px !important;
    border-radius: 999px !important;
    overflow: hidden;
    margin-right: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
}
.games-details .m-games .btnWrap > li > a {
    display: inline-block !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 26px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    text-align: center;
}
.games-details .m-games .btnWrap > li > a:hover { background: var(--tap-primary-dark) !important; }
.games-details .m-games .btnWrap > li > a .ico { display: none !important; }
.games-details .m-games .btnWrap > li > a .tit { color: #1D2129 !important; font-size: 15px !important; }

/* 二维码区（dd.d2）*/
.games-details .m-games .w-gamesInfo dd.d2 {
    float: right !important;
    width: auto !important;
    margin: 20px 26px 0 0 !important;
    position: relative;
    z-index: 4;
}
/* 右上角的“年份榜”装饰徽章与二维码重叠，去掉（评分在左侧胶囊里已有） */
.games-details .m-rank-medal { display: none !important; }
.games-details .qrcode-box {
    background: #fff !important;
    border-radius: var(--tap-radius) !important;
    padding: 6px !important;
    width: 108px;
    height: 108px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.games-details .qrcode-box img,
.games-details #qrcode { max-width: 96px; max-height: 96px; display: block; }
.games-details .qrcode-container .tip {
    background: transparent !important;
    color: rgba(255, 255, 255, .75) !important;
    font-size: 12px !important;
    text-align: center;
    margin-top: 8px !important;
}

/* 内容区白卡：游戏介绍 / 截图 / 礼包 / 活动 */
.games-details .w-bgimgBox + .rBg,
.games-details .rBg.pd10,
.games-details .rBg.ovh,
.games-details .rBg.pd10.ovh {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 18px 20px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box;
}
.games-details .hr_10 { display: none !important; }

/* 介绍正文 */
.games-details .m-cwdbLink,
.games-details .col-gd-ny-9 p,
.games-details .intro-box p {
    color: var(--tap-text-2) !important;
    font-size: 14px !important;
    line-height: 26px !important;
}

/* 截图 / 礼包 / 活动卡片 */
.games-details .m-gift-box li,
.games-details .m-gift-x li {
    border-radius: var(--tap-radius) !important;
    border: 1px solid var(--tap-line) !important;
    transition: box-shadow .2s;
}
.games-details .m-gift-x li:hover { box-shadow: var(--tap-shadow); }
.games-details .m-gift-x li img { border-radius: 10px !important; }
.games-details .m-gift-x li .tit { color: var(--tap-text-1) !important; font-weight: 600 !important; }

/* 右栏：原来没有 .fr，实际容器是 .col-gd-ny-3.col-right-n */
.games-details .col-right-n > div {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
    box-sizing: border-box;
}
.games-details .col-right-n .r-tit1 { height: 34px !important; line-height: 34px !important; }
.games-details .col-right-n .r-tit1 h4 { font-size: 16px !important; line-height: 34px !important; height: 34px !important; }
.games-details .col-right-n img { border-radius: 8px !important; }
.games-details .col-right-n a { color: var(--tap-text-2) !important; }
.games-details .col-right-n a:hover { color: var(--tap-primary-dark) !important; }
.games-details .col-right-n .gl-s li,
.games-details .col-right-n li { border-bottom: 1px solid var(--tap-line); padding: 8px 0; }
.games-details .col-right-n li:last-child { border-bottom: none; }

/* 底部相关推荐 */
.games-details .m-gamesList li img,
.games-details .friends-box img { border-radius: 12px !important; }

/* ==========================================================================
   22. 内容页：资讯详情（阅读体验）
   ========================================================================== */

.games-details .main-l {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 32px 40px 40px !important;
    box-sizing: border-box;
}
/* 正文标题：去掉渐变发光字 */
.games-details .arc-tit {
    font-size: 28px !important;
    line-height: 42px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
    text-align: left !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: none !important;
    -webkit-text-fill-color: var(--tap-text-1) !important;
    text-shadow: none !important;
}
.games-details .arc-info {
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
    text-align: left !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--tap-line);
    margin: 0 0 22px !important;
}
/* 正文排版：加大行高、限制行宽、段间距 */
.games-details .arc-body .cont {
    font-size: 16px !important;
    line-height: 1.95 !important;
    color: #2B3038 !important;
    max-width: 720px;
    text-align: justify;
}
.games-details .arc-body .cont p {
    margin: 0 0 1.15em !important;
    font-size: 16px !important;
    line-height: 1.95 !important;
    color: #2B3038 !important;
}
.games-details .arc-body .cont img {
    border-radius: var(--tap-radius) !important;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto !important;
}
.games-details .arc-body .cont h2,
.games-details .arc-body .cont h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
    margin: 28px 0 14px !important;
    line-height: 1.6 !important;
}
.games-details .arc-body .cont strong { color: var(--tap-text-1) !important; }

/* “大家都在玩”横向区 */
.about-games {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 14px 20px 18px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box;
}
.about-games .m-gamesList li a { color: var(--tap-text-2) !important; font-size: 12px !important; }
.about-games .m-gamesList li img { border-radius: 12px !important; }

/* 右侧“其他攻略” */
.oth-gl {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow);
    padding: 16px !important;
    box-sizing: border-box;
}
.oth-gl-list { padding: 0 !important; }
.oth-gl-list li { border-bottom: 1px solid var(--tap-line); padding: 10px 0 !important; }
.oth-gl-list li:last-child { border-bottom: none; }
.oth-gl-list li a { color: var(--tap-text-2) !important; font-size: 14px !important; line-height: 22px !important; }
.oth-gl-list li a:hover { color: var(--tap-primary-dark) !important; }
.oth-ico { border-radius: var(--tap-radius) !important; background: #FAFBFC !important; padding: 12px !important; }

/* ==========================================================================
   23. 细节清理（全站）
   ========================================================================== */

/* 旧模板里大量 em/i 小方块装饰，去掉以免和黄色主题打架 */
.r-tit2 em, .r-tit1 em { display: none !important; }

/* 页面里残留的暖色底块统一成中性 */
.content + .wrapper,
.pd10 { background: transparent !important; }

/* ==========================================================================
   24. 空图片兜底
   --------------------------------------------------------------------------
   部分栏目的封面字段是空的（img src=""），浏览器会显示破图图标。
   这里给空 src 的图片铺一层浅灰底，视觉上当作占位。
   ========================================================================== */
/* 空封面占位：只针对排行榜「年度热门」的三张空图，
   不要写成 img[src=""]/img:not([src]) 这种全局选择器——
   首页大量懒加载图片初始没有 src，会被撑成 40px 高，整个图标网格就散了。 */
.panking-ou .rec_p .rec_p_img[src=""],
.panking-ou .rec_p li img[src=""] {
    opacity: 0;
}
.panking-ou .rec_p .pank-img {
    min-height: 150px;
    background: #F2F3F5;
}

/* 榜单标题是彩色艺术字图片（红/黄/绿），和黄色主色冲突，统一去色 */
.pank-table-ul > .r-tit2 img,
.panking-ou .r-tit2 img {
    filter: grayscale(1) opacity(.9);
}

/* ==========================================================================
   25. 列表页：0.1 折专区（模板内联样式，需要用 !important 覆盖）
   ========================================================================== */
.game_list { width: 1200px; padding: 6px 0 30px; }
.game_list > li {
    background: #fff !important;
    border: 1px solid var(--tap-line) !important;
    box-shadow: var(--tap-shadow);
    height: auto !important;
    min-height: 322px;
    box-sizing: border-box;
    transition: box-shadow .22s, border-color .22s;
}
.game_list > li:hover {
    box-shadow: var(--tap-shadow-hover) !important;
    border-color: var(--tap-border) !important;
}
.game_list_right > p:first-of-type {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
    line-height: 28px !important;
}
.game_list_right_biaoqian span,
.game_list_right_biaoqian span:nth-of-type(2),
.game_list_right_biaoqian span:nth-of-type(3) {
    border: none !important;
    background: #F2F3F5 !important;
    color: var(--tap-text-2) !important;
    border-radius: 999px !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
}
.game_list_right_content {
    color: var(--tap-text-3) !important;
    line-height: 22px !important;
    font-size: 13px !important;
    -webkit-line-clamp: 3;
}
/* 下载按钮：橙色渐变 -> 黄色胶囊 */
.game_list .down_sub {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 34px !important;
    line-height: 34px !important;
    width: 84px !important;
    box-shadow: none !important;
}
.game_list .down_sub:hover { background: var(--tap-primary-dark) !important; }
/* 卡片内的小截图统一圆角 */
.game_list > li img { border-radius: 12px !important; }

/* ==========================================================================
   26. 页脚：全站统一布局（不依赖 common.css）
   --------------------------------------------------------------------------
   背景一：h5game / webgame / shouyou / news 子频道 / mall / service / account
   等 29 个模板引用了 common/footer.html，但 <head> 只加载 /static/newpc/ 那套
   老资源，没加载 /static/new_pc/css/common.css —— 而页脚的全部栅格恰好定义在
   common.css 里（.footer_pr 1200px、.footer_mid 浮动、.jr_1 定宽、.coinfo…）。
   结果这些页面页脚处于"零样式"状态：Logo 按原图尺寸铺满、链接竖排成一条窄列。

   背景二：加载了 common.css 的 39 个页面，页脚也有几处对不齐 ——
   版权块被锁成 975px 居中再左缩进 30px（比友情链接右移 143px）、
   Logo 右侧差 134px 没贴边、列宽只有 78px 却留着 126px 外边距。

   所以这里直接给出一套自包含布局，全站生效：三列链接均分 + 二维码 + 右对齐
   Logo，下半区友情链接与版权统一左对齐到 1200px 容器。
   用 .m-footer 作作用域前缀，特异性(0,2,0) 高于 common.css 的 (0,1,0)，
   不需要额外堆 !important。
   ========================================================================== */

.m-footer {
    background: #fff !important;
    border-top: 1px solid var(--tap-line);
    margin-top: 40px;
    padding: 0 !important;
}
/* 把第 12 节给 .footer 加的 padding/border 在本文档结构里清掉
   （这里的 .footer 是页脚内部的 clearfix 包裹层，不是整条页脚） */
.m-footer .footer {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.m-footer .warpper {
    display: block;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* ---- 上半区：三列链接 + 两个二维码 + 右侧 Logo ---- */
.m-footer .footer_pr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 44px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 40px 0 34px;
    box-sizing: border-box;
}

/* 三列均分剩余宽度，避免列都挤在左边、右侧空一大块 */
.m-footer .footer_mid {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 190px;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    float: none !important;
    list-style: none;
}
.m-footer .footer_mid li {
    float: none;
    color: var(--tap-text-3);
    font-size: 13px !important;
    line-height: 30px;
}
/* 每个 ul 的第一个 li 其实是空占位，真正的列标题由 CSS 补 */
.m-footer .footer_mid li:first-child {
    color: var(--tap-text-1);
    font-size: 15px !important;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 2px;
}
.m-footer .footer_mid li a {
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
    line-height: 30px;
    transition: color .15s;
}
.m-footer .footer_mid li a:hover { color: var(--tap-primary-dark) !important; }

/* 二维码 */
.m-footer .footer_last {
    flex: 0 0 auto;
    width: 88px;
    margin: 0 !important;
    padding: 0;
    float: none !important;
    text-align: center;
    list-style: none;
}
.m-footer .footer_last li { list-style: none; }
.m-footer .footer_last img {
    width: 88px !important;
    height: 88px !important;
    margin: 0 0 6px !important;
    padding: 0;
    border: 1px solid var(--tap-line);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-sizing: border-box;
}
.m-footer .footer_last a {
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
    line-height: 20px;
}

/* 右侧 Logo：靠右对齐，尺寸锁死（这一块原来没样式，按原图尺寸铺满） */
.m-footer .footer_pr .jr_1 {
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
}
.m-footer .footer_pr .jr_1 img {
    display: block;
    width: 148px !important;
    height: auto !important;
    max-width: 148px !important;
    margin: 0 !important;
    border-radius: 10px;
}
/* 6 个空 <a>，无内容，隐藏避免占位 */
.m-footer .ser_mid { display: none !important; }

/* ---- 下半区：友情链接 + 版权 ---- */
.m-footer .bottom_toolbar {
    background: var(--tap-bg);
    border-top: 1px solid var(--tap-line);
}
.m-footer .footer-box {
    display: block;
    width: 1200px;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
    padding: 18px 0 22px;
    box-sizing: border-box;
}
.m-footer .friends-box { margin-bottom: 10px; }
.m-footer .friends-box .links-list {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    height: auto !important;
    line-height: 26px;
    overflow: visible !important;
}
.m-footer .friends-box .links-list > span {
    flex: 0 0 auto;
    float: none !important;
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
}
.m-footer .friends-box .links-list .lbox {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    column-gap: 18px;
}
.m-footer .friends-box .links-list a {
    margin: 0 !important;
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
    line-height: 26px;
    white-space: nowrap;
}
.m-footer .friends-box .links-list a:hover { color: var(--tap-primary-dark) !important; }
.m-footer .friends-box .more { display: none !important; }

.m-footer .coinfo {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.m-footer .coinfo .info { margin: 0 !important; }
.m-footer .coinfo a,
.m-footer .coinfo p,
.m-footer .coinfo span,
.m-footer .coinfo div {
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
    line-height: 24px;
}
.m-footer .coinfo a { display: inline; }
.m-footer .coinfo a:hover { color: var(--tap-primary-dark) !important; }
.m-footer .coinfo br { line-height: 0; }

/* 窄屏兜底：1200px 固定容器在小窗口下换行，不至于横向滚动 */
.m-footer .footer_pr { gap: 8px 28px; }

/* ==========================================================================
   27. 首页首屏：TapTap 式「大图 + 右栏推荐 + 整行资讯」
   --------------------------------------------------------------------------
   原首屏是 544 + 314 + 322 = 1180 的三块横拼（第 4 节把宽度锁死了）。
   这里改成 flex：主视觉 844 + 右栏 308（与下方 #nav-1 的 844/48/308 栅格一致），
   资讯条 flex-basis:100% 自动换行到下面一整行。

   .m-slideBox 的 544 宽、ul 的 left:-544px 都是模板里的 inline style，
   而且这个"轮播"没有任何 JS 初始化（页面里搜不到 .slide() 调用），
   所以直接 !important 改宽度不会打断任何脚本。
   ========================================================================== */
.l-kuHot {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 20px 48px !important;
    width: 1200px !important;
    height: auto !important;
    margin: 24px 0 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* ---- 左：主视觉大图 ---- */
.l-kuHot .m-slideBox {
    flex: 0 0 844px;
    width: 844px !important;
    height: 400px !important;
    float: none !important;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--tap-shadow) !important;
    position: relative;
}
.l-kuHot .m-slideBox .bd { width: 100% !important; height: 100% !important; }
.l-kuHot .m-slideBox .tempWrap { width: 100% !important; height: 400px !important; }
.l-kuHot .m-slideBox .tempWrap > ul {
    width: 100% !important;
    height: 400px !important;
    left: 0 !important;            /* 模板写死 left:-544px，会整块偏出去 */
}
.l-kuHot .m-slideBox .tempWrap > ul > li {
    width: 100% !important;
    height: 400px !important;
    float: none !important;
}
.l-kuHot .m-slideBox .tempWrap > ul > li img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    display: block;
}
/* 图上的游戏名做成左下角半透明胶囊 */
.l-kuHot .m-slideBox .tempWrap > ul > li span {
    left: 20px !important;
    bottom: 20px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .45) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 14px !important;
}
.l-kuHot .m-slideBox .tempWrap > ul > li span i,
.l-kuHot .m-slideBox .tempWrap > ul > li span i a { color: #fff !important; font-style: normal !important; }
.l-kuHot .m-slideBox .hd { bottom: 22px !important; right: 20px !important; left: auto !important; }

/* ---- 右：三条推荐（竖排白卡） ---- */
.l-kuHot .m-pdrc {
    flex: 0 0 308px;
    width: 308px !important;
    height: 400px !important;
    margin-top: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    background: transparent !important;
}
.l-kuHot .m-pdrc > li {
    flex: 1 1 0;
    min-height: 0;
    height: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: #fff !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    box-shadow: var(--tap-shadow) !important;
    box-sizing: border-box;
    overflow: hidden;
    border: 0 !important;
}
.l-kuHot .m-pdrc > li:hover { box-shadow: var(--tap-shadow-hover) !important; }

/* 原来是 20px 宽的竖排文字标签，改成小胶囊 */
.l-kuHot .m-pdrc > li .hd {
    float: none !important;
    display: inline-block;
    align-self: flex-start;
    width: auto !important;
    height: auto !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-dark) !important;
}
.l-kuHot .m-pdrc > li .hd.se1 {
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
}

/* 封面 + 名称/类型 两行网格 */
.l-kuHot .m-pdrc > li .bd {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    display: grid !important;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
}
.l-kuHot .m-pdrc > li .bd img {
    grid-row: 1 / span 2;
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    object-fit: cover;
    display: block;
}
.l-kuHot .m-pdrc > li .bd span.tit {
    grid-column: 2;
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.l-kuHot .m-pdrc > li .bd span.type {
    grid-column: 2;
    display: block !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: var(--tap-text-3) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 下方：资讯条整行 ---- */
.l-kuHot .m-sea-games {
    flex: 1 1 100%;
    width: 100% !important;
    float: none !important;
}
.l-kuHot .m-sea-games .mod-news {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow) !important;
    padding: 20px 24px 18px !important;
    box-sizing: border-box;
}
.l-kuHot .m-sea-games .mod-hd {
    display: flex !important;
    align-items: flex-end;
    gap: 24px;
    height: auto !important;
    border-bottom: 1px solid var(--tap-line) !important;
    padding-bottom: 0 !important;
    margin-bottom: 4px !important;
}
.l-kuHot .m-sea-games .mod-hd .mod-select { display: inline-block; }
.l-kuHot .m-sea-games .mod-hd .news_p {
    display: inline-block;
    position: relative;
    padding: 0 0 12px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: var(--tap-text-3) !important;
    cursor: pointer;
}
.l-kuHot .m-sea-games .mod-hd .news_p.active {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
}
.l-kuHot .m-sea-games .mod-hd .news_p.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--tap-primary);
}
/* 两列排布：display 由 jQuery 切换，不能用 grid，改用多列 */
.l-kuHot .m-sea-games .txt-list {
    column-count: 2;
    column-gap: 48px;
    padding: 0 !important;
    margin: 0 !important;
}
.l-kuHot .m-sea-games .txt-list > li {
    break-inside: avoid;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border-bottom: 1px solid var(--tap-line) !important;
}
.l-kuHot .m-sea-games .txt-list > li a {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px !important;
    line-height: 40px !important;
    color: var(--tap-text-2) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.l-kuHot .m-sea-games .txt-list > li a:hover { color: var(--tap-primary-dark) !important; }
.l-kuHot .m-sea-games .txt-list > li > span {
    flex: 0 0 auto;
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
}
.l-kuHot .m-sea-games .txt-list > li .column { display: none !important; }

/* ==========================================================================
   28. 模块标题：TapTap 式纯文字标题（去掉左侧黄色竖条）
   ========================================================================== */
.r-tit1 {
    height: 52px !important;
    line-height: 52px !important;
    margin-bottom: 8px !important;
}
.r-tit1 h4, .r-tit1 h5 {
    font-size: 22px !important;
    line-height: 52px !important;
    height: 52px !important;
    font-weight: 700 !important;
    padding-left: 0 !important;
    letter-spacing: 0;
}
.r-tit1 h4::before, .r-tit1 h5::before { display: none !important; }
.r-tit1 .more,
.r-tit1 a.more,
.r-tit1 .r-moreGames {
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
    line-height: 52px !important;
}

/* ==========================================================================
   29. 首屏收尾：隐藏 1920 溢出轮播 + 修资讯条深色残留
   --------------------------------------------------------------------------
   slide.html 的 .banner 是 width:1920px 的整屏轮播，收到 1200 容器里必然露边。
   首屏主视觉已经由 .m-slideBox（844×400）承担，这里直接收起整屏轮播。
   需要恢复广告位时删掉下面这一条即可。
   ========================================================================== */
.banner { display: none !important; }

/* 资讯条：原来是 #333 深底 + #4b4b4b 标题条 + 320×294 写死高度 */
.l-kuHot .m-sea-games .mod,
.l-kuHot .m-sea-games .mod-news { background: #fff !important; }
.l-kuHot .m-sea-games .mod .mod-hd {
    background: transparent !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}
.l-kuHot .m-sea-games .mod-hd .ritem,
.l-kuHot .m-sea-games .mod-hd .more { display: none !important; }
.l-kuHot .m-sea-games .post {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}
.l-kuHot .m-sea-games .post-list { position: static !important; }
.l-kuHot .m-sea-games .post-list > ul,
.l-kuHot .m-sea-games .slide-wrap > ul {
    background: transparent !important;
    height: auto !important;
    float: none !important;
    width: 100% !important;
}

/* ==========================================================================
   30. 首屏资讯条压成一行 · 开服列表行式化 · 热门分类整行铺开
   ========================================================================== */

/* ---- 资讯条：标题在左、新闻三列在右，整体压到 70px 高 ---- */
.l-kuHot .m-sea-games .mod-news {
    display: flex !important;
    align-items: center;
    gap: 36px;
    padding: 16px 24px !important;
    border-radius: 14px !important;
}
.l-kuHot .m-sea-games .mod-hd {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    gap: 12px;
    border-bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.l-kuHot .m-sea-games .mod-hd .news_p {
    padding: 7px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: var(--tap-text-3) !important;
    border-radius: 999px !important;
    white-space: nowrap;
}
.l-kuHot .m-sea-games .mod-hd .news_p.active {
    font-size: 14px !important;
    color: #1D2129 !important;
    background: var(--tap-primary) !important;
}
.l-kuHot .m-sea-games .mod-hd .news_p.active::after { display: none !important; }
.l-kuHot .m-sea-games .post {
    flex: 1 1 auto;
    min-width: 0;
}
.l-kuHot .m-sea-games .txt-list {
    column-count: 3 !important;
    column-gap: 36px !important;
}
.l-kuHot .m-sea-games .txt-list > li {
    height: 32px !important;
    line-height: 32px !important;
    border-bottom: 0 !important;
}
.l-kuHot .m-sea-games .txt-list > li a { line-height: 32px !important; }

/* ---- 游戏开服：改成「日期 | 名称/类型 | 打开」的整行样式 ---- */
.col-gd-3 .m-gamesTable-ul > li {
    float: none !important;
    width: 100% !important;
    height: 54px !important;
    display: grid !important;
    grid-template-columns: 54px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--tap-line);
    box-sizing: border-box;
}
.col-gd-3 .m-gamesTable-ul > li .dot { display: none !important; }
.col-gd-3 .m-gamesTable-ul > li .date {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto !important;
    margin: 0 !important;
    text-align: center;
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: var(--tap-text-3) !important;
}
.col-gd-3 .m-gamesTable-ul > li .name {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.col-gd-3 .m-gamesTable-ul > li .name a {
    color: var(--tap-text-1) !important;
    font-size: 13px !important;
}
.col-gd-3 .m-gamesTable-ul > li .status {
    grid-column: 2;
    grid-row: 2;
    width: auto !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: var(--tap-text-3) !important;
}
.col-gd-3 .m-gamesTable-ul > li .btn {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
}
.col-gd-3 .m-gamesTable-ul > li .btn a {
    display: inline-block;
    padding: 0 12px !important;
    height: 26px !important;
    line-height: 26px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}
.col-gd-3 .m-gamesTable-ul > li .btn a:hover { background: var(--tap-primary-dark) !important; }

/* ---- 热门分类：筛选胶囊整行，图标网格铺满 844 ---- */
.col-gd-9 .m-tabWrap .col-gd-n1 {
    width: 100% !important;
    height: auto !important;
    float: none !important;
}
.col-gd-9 .m-tabWrap .col-gd-n1 .hd { float: none !important; }
.col-gd-9 .m-tabWrap .col-gd-n1 .m-hotGames {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    height: auto !important;
}
.col-gd-9 .m-tabWrap .col-gd-n1 .m-hotGames > li {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
}
.col-gd-9 .m-tabWrap .col-gd-n2 {
    width: 100% !important;
    float: none !important;
    clear: both;
    margin-top: 18px !important;
}
.col-gd-9 .m-tabWrap .m-gamesList {
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px 12px;
    width: 100% !important;
    height: auto !important;
}
.col-gd-9 .m-tabWrap .m-gamesList > li {
    float: none !important;
    width: 96px !important;
    margin: 0 !important;
    height: auto !important;
}
.col-gd-9 .m-tabWrap .m-gamesList > li img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 16px !important;
    object-fit: cover;
    display: block;
}
.col-gd-9 .m-tabWrap .m-gamesList > li span {
    display: block;
    margin-top: 6px;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: var(--tap-text-2) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   31. 首屏收尾二：资讯条定高 · 热门专题回到文档流
   ========================================================================== */
/* 资讯条：残留 height/min-height 会把整条撑到 300+，直接定高 */
.l-kuHot .m-sea-games .mod-news {
    height: 72px !important;
    min-height: 0 !important;
    overflow: hidden;
}
.l-kuHot .m-sea-games .mod-hd,
.l-kuHot .m-sea-games .post { height: auto !important; }

/* 热门专题：原本 absolute 定位，现在会飘到分类网格上，拉回文档流 */
.col-gd-9 .m-pdEliteWrap {
    position: static !important;
    width: auto !important;
    float: none !important;
    margin: 20px 0 0 !important;
    clear: both;
}
.col-gd-9 .m-pdElite {
    height: auto !important;
}

/* ==========================================================================
   32. 首屏收尾三：资讯条两行三列 · 分类网格自适应铺满 · 开服按钮不越界
   ========================================================================== */
/* 资讯条：定高 100，新闻按 3 列 2 行排（display 由 jQuery 切，不能用 flex/grid） */
.l-kuHot .m-sea-games .mod-news { height: 100px !important; }
.l-kuHot .m-sea-games .post {
    max-height: 68px !important;
    overflow: hidden !important;
}
.l-kuHot .m-sea-games .txt-list {
    column-count: auto !important;
    column-gap: 0 !important;
}
.l-kuHot .m-sea-games .txt-list > li {
    float: left !important;
    width: 33.3333% !important;
    padding: 0 24px 0 0 !important;
    box-sizing: border-box;
    height: 34px !important;
    line-height: 34px !important;
}
.l-kuHot .m-sea-games .txt-list > li a { line-height: 34px !important; }

/* 热门分类图标：8 列自适应铺满 844 */
.col-gd-9 .m-tabWrap .m-gamesList > li {
    flex: 1 1 calc(12.5% - 11px);
    width: auto !important;
    max-width: calc(12.5% - 11px);
    min-width: 0;
}
.col-gd-9 .m-tabWrap .m-gamesList > li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

/* 开服列表：给右侧按钮留出安全边距 */
.col-gd-3 .m-gamesTable-ul > li { padding-right: 6px !important; }

/* 资讯列表是 float 布局，父级高度塌陷成 0 会被 overflow 全裁掉，这里建 BFC 包住。
   ★ 千万不要在这里写 display:block !important ——
   tab 切换是靠 jQuery 给 .txt-list01/02 加 inline display:block/none 实现的，
   !important 会盖掉 inline 值，两个列表会同时显示、切换失效。 */
.l-kuHot .m-sea-games .txt-list,
.l-kuHot .m-sea-games .slide-wrap {
    overflow: hidden !important;
    height: auto !important;
}

/* ==========================================================================
   33. 隐藏首页右侧页内锚点导航
   --------------------------------------------------------------------------
   .leftnav 是 index.html 里的浮层（right:176.5px 固定定位，随滚动高亮当前模块）。
   1200 容器右侧只剩 39px 余量，68px 宽必然压住「游戏开服」卡片，TapTap 布局也没有
   这种浮条，直接收起。需要恢复时删掉这一条。
   ========================================================================== */
.leftnav { display: none !important; }

/* ==========================================================================
   34. 资讯条定位链修正
   --------------------------------------------------------------------------
   .post-content 是 flex 容器的直接子元素（不是 .post），之前没设 flex，
   导致 .post 只有 320px 宽；且这一层带负偏移，把列表推到容器上边界外，
   再被 .mod-news 的 overflow:hidden 整块裁掉 —— 所以资讯条一直是空白。
   ========================================================================== */
.l-kuHot .m-sea-games .post-content {
    flex: 1 1 auto;
    min-width: 0;
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
}
.l-kuHot .m-sea-games .post,
.l-kuHot .m-sea-games .slide-wrap,
.l-kuHot .m-sea-games .txt-list {
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin-top: 0 !important;
    transform: none !important;
}
.l-kuHot .m-sea-games .post { max-height: 70px !important; overflow: hidden !important; }
.l-kuHot .m-sea-games .post,
.l-kuHot .m-sea-games .slide-wrap,
.l-kuHot .m-sea-games .txt-list01,
.l-kuHot .m-sea-games .txt-list02 { width: 100% !important; }

/* ==========================================================================
   35. 首页中下部：攻略 / 排行榜 / 视频 / 客服 改成整行堆叠
   --------------------------------------------------------------------------
   gonglue.html 根是 .struct_left（浮动左栏，528），ranking.html 的 .col-gd-2
   三列在它右边挤着，导致攻略区右侧空一大块、排行榜三列过窄文字被截断。
   这里统一改成整行 block + 三列均分。
   ========================================================================== */
#nav-2 .struct_left {
    float: none !important;
    width: 100% !important;
    margin: 0 0 24px !important;
}
#nav-2 .activity_wrap,
#nav-2 .strategy_wrap { width: 100% !important; }

#nav-2 #nav-4 { clear: both; }

/* 排行榜：三列均分整行 */
#nav-2 .row.clearfix { width: 100% !important; }
#nav-2 .col-gd-2 {
    float: left !important;
    width: calc((100% - 48px) / 3) !important;
    margin: 0 !important;
}
#nav-2 .col-gd-2 + .col-gd-2 { margin-left: 24px !important; }
#nav-2 .col-gd-2 .pank-table-ul,
#nav-2 .col-gd-2 .pank-table { width: 100% !important; }

/* 排行榜列表项：字号放大一点，别一个字一个字折行 */
#nav-2 .col-gd-2 .pank-table li,
#nav-2 .col-gd-2 .pank-table-ul li { font-size: 13px !important; }

/* 视频区整行 */
#nav-2 .box5 { width: 100% !important; }

/* 每个大区块之间留出 TapTap 那种节奏 */
#nav-2 > .pd10,
#nav-2 > .pd10 + .pd10 { margin-top: 24px !important; padding: 0 !important; }

/* ==========================================================================
   36. 礼包整行 + 排行榜列表整行 + 热门专题图铺满
   ========================================================================== */
/* 礼包模块原本在右侧浮动，会飘到排行榜第三列上面 */
#nav-2 .col-gd-3 {
    float: none !important;
    width: 100% !important;
    clear: both;
    margin: 24px 0 0 !important;
}

/* 排行榜：普通名次行改单列整行，别再挤成两列截断 */
.m-ranking > li {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
}
/* 前两名的大卡：封面 + 名称/类型 + 下载 */
.m-ranking > li.hb > a {
    display: grid !important;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
}
.m-ranking > li.hb .rk {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 13px !important;
    text-align: center;
    background: none !important;
    color: var(--tap-text-3) !important;
}
.m-ranking > li.hb .info {
    grid-column: 1 / span 3;
    display: grid !important;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding-left: 0 !important;
}
.m-ranking > li.hb .info img {
    grid-row: 1 / span 2;
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    object-fit: cover;
}
.m-ranking > li.hb .info .tit {
    grid-column: 2;
    font-size: 14px !important;
    font-weight: 600 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.m-ranking > li.hb .info .type {
    grid-column: 2;
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
}
.m-ranking > li.hb .info .btn {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -14px;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.m-ranking > li.hb > a { position: relative; }

/* 热门专题：图铺满 808，别只占 280 */
.m-pdElite .bd a,
.m-pdElite .bd a img {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}
.m-pdEliteWrap,
.m-pdElite { width: 100% !important; }

/* ==========================================================================
   37. 排行榜列表彻底重写
   --------------------------------------------------------------------------
   原样式：.m-ranking .rk{float:left;18px} + .info{float:right;width:180px}
   → 每行被拆成"左圆点 + 右 180px 文字"，中间空一大截；
   加上容器被分成了多列，编号才会 1、3、5… 和 2、4、6… 交错。
   这里统一成单列整行：序号 · 封面 · 名称/类型 · 按钮。
   ========================================================================== */
.m-ranking {
    column-count: 1 !important;
    height: auto !important;
}
.m-ranking > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    height: auto !important;
    min-height: 40px;
    padding: 0 !important;
    margin: 0 !important;
}
/* 普通名次行 */
.m-ranking .rk {
    float: left !important;
    width: 18px !important;
    height: 18px !important;
    margin: 11px 10px 0 0 !important;
    border-radius: 50% !important;
    background: var(--tap-line) !important;
    color: var(--tap-text-3) !important;
    font-size: 11px !important;
    line-height: 18px !important;
    text-align: center !important;
}
.m-ranking .info {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
}
.m-ranking .tit {
    width: auto !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13px !important;
    color: var(--tap-text-2) !important;
}
.m-ranking > li:hover .tit { color: var(--tap-primary-dark) !important; }

/* 前两名大卡：序号 · 封面 · 名称/类型 · 下载 */
.m-ranking > li.hb > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 6px 0 !important;
    position: relative;
}
.m-ranking > li.hb .rk {
    flex: 0 0 auto;
    margin: 0 !important;
}
.m-ranking > li.hb .info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 10px;
    grid-column: auto !important;
    grid-template-columns: none !important;
}
.m-ranking > li.hb .info img {
    display: block !important;
    flex: 0 0 auto;
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    object-fit: cover;
}
.m-ranking > li.hb .info .tit {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    height: auto !important;
    line-height: 1.35 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.m-ranking > li.hb .info .type {
    display: block !important;
    flex: 0 0 auto;
    font-size: 11px !important;
    color: var(--tap-text-3) !important;
}
.m-ranking > li.hb .info .btn {
    display: block !important;
    position: static !important;
    flex: 0 0 auto;
    margin: 0 !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: #1D2129 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   38. 礼包 / 视频：改成横向卡片流
   ========================================================================== */
/* 游戏礼包：整行 6 列 */
#nav-2 .m-gift-a {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px 16px;
    height: auto !important;
    width: 100% !important;
}
#nav-2 .m-gift-a > li {
    float: none !important;
    width: calc((100% - 80px) / 6) !important;
    margin: 0 !important;
    height: auto !important;
}
#nav-2 .m-gift-a > li a { display: block; }
#nav-2 .m-gift-a > li img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    display: block;
}
/* 礼包卡上原来压着文案图，这里保持原样只做圆角 */

/* 游戏视频：整行 4 列卡片 */
#nav-5 .b5-r-sp,
#nav-5 .b5-sp-list {
    width: 100% !important;
    height: auto !important;
}
#nav-5 .b5-sp-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
}
#nav-5 .b5-sp-list > li {
    float: none !important;
    width: calc((100% - 60px) / 4) !important;
    margin: 0 !important;
    height: auto !important;
}
#nav-5 .b5-img-box {
    display: block;
    width: 100% !important;
    height: 150px !important;
    border-radius: 12px;
    overflow: hidden;
}
#nav-5 .b5-img-box img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover;
}
#nav-5 .b5-sp-info {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
}
