@charset "utf-8";
/* ==========================================================================
   x7.css —— 三栏骨架样式层
   --------------------------------------------------------------------------
   加载顺序：reset.css → style.css → common.css → tap.css → x7.css（本文件）

   职责划分：
     tap.css  负责「组件皮肤」（按钮、白卡、胶囊标签、列表项、页脚）
     x7.css   负责「整体骨架」——左导航 + 中列 + 右栏，以及主色重定义

   之所以不重写一份：tap.css 已经把原站大量写死宽高的旧模块掰直了，
   推倒重来会把那些坑重新踩一遍。这里只重定义变量 + 覆盖布局容器。

   版权说明：所有类名、尺寸、间距均为自写实现，未复制任何第三方站点源码。
   布局比例（240 / 780 / 400、80px 吸顶、20px 圆角）属通用信息流站型，
   仅作视觉语言参考。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   --------------------------------------------------------------------------
   数值取自参考站公开样式（entry.css + 页面内联样式），单位 px：
     版心 1544 = 左内边距 32 + 左导航 240 + 内容 1032 + 右内边距 15
     内容 1180 = 中列 780 + 间距 24 + 右栏 400
     中列 780 内再留 32 左右内边距，实际内容卡 716
     吸顶栏 80、导航项 48 / 圆角 14 / 字号 18、卡片圆角 20
   -------------------------------------------------------------------------- */
:root {
    /* 主色：红橙 */
    --tap-primary: #ff5a1f;
    --tap-primary-dark: #e8430d;
    --tap-primary-light: #fff0e8;
    --tap-primary-soft: #fff7f3;
    --x7-primary-rgb: 255, 90, 31;

    /* 强调：黄（同 logo） */
    --x7-yellow: #f9da01;
    --x7-yellow-dark: #a07c00;   /* 淡黄底上的文字/图标，深一档才看得清 */
    --x7-yellow-light: #fffbd7;

    /* 中性色阶 */
    --tap-text-1: #333333;
    --tap-text-2: #666666;
    --tap-text-3: #999999;
    --tap-border: #ebebeb;
    --tap-line: #f0f0f0;
    --tap-bg: #f5f5f5;      /* 内部占位底色（图标底、骨架块） */
    --tap-page-bg: #ffffff; /* 页面底色 */
    --tap-card-bg: #ffffff; /* 卡片底色 */

    /* 圆角体系 */
    --tap-radius: 14px;
    --tap-radius-lg: 20px;
    --x7-radius-sm: 10px;
    --x7-radius-pill: 999px;

    /* 阴影 */
    --tap-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    --tap-shadow-hover: 0 6px 18px rgba(0, 0, 0, .07);

    /* 栅格 */
    --x7-shell-w: 1544px;      /* 版心 */
    --x7-pad-l: 32px;          /* 版心左内边距 */
    --x7-pad-r: 15px;          /* 版心右内边距 */
    --x7-nav-w: 240px;         /* 左导航 */
    --x7-center-w: 780px;      /* 中列外框 */
    --x7-col-w: 716px;         /* 中列内容卡 = 780 - 32*2 */
    --x7-side-w: 400px;        /* 右栏 */
    --x7-gap: 24px;            /* 中列与右栏间距 */
    --x7-bar-h: 80px;          /* 吸顶栏高 */
    --x7-card-gap: 16px;       /* 卡片纵向间距 */
    --x7-x: max(16px, calc((100vw - var(--x7-shell-w)) / 2 + var(--x7-pad-l)));
    --x7-y: max(8px, calc((100vw - var(--x7-shell-w)) / 2 + var(--x7-pad-r)));
}

/* --------------------------------------------------------------------------
   2. 全局底板
   -------------------------------------------------------------------------- */
body {
    min-width: 0 !important;
    background: var(--tap-page-bg) !important;
    color: var(--tap-text-1);
    padding-left: calc(var(--x7-x) + var(--x7-nav-w)) !important;
    padding-right: var(--x7-y) !important;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.wrap,
.wrapper,
.warpper {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* 原站为盖住整屏轮播加的负上边距，三栏版式不需要 */
.container,
.container.wrapper {
    width: auto !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: transparent !important;
}

/* 整屏轮播、右侧锚点浮条、旧顶部小条：三栏版式里不保留 */
.banner,
.leftnav,
.top {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. 左侧固定导航（240 / 项高 48 / 圆角 14 / 字号 18 / 间距 8）
   -------------------------------------------------------------------------- */
.x7-side {
    position: fixed;
    left: var(--x7-x);
    top: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    width: var(--x7-nav-w);
    height: 100vh;
    padding: 0 0 24px;
    background: var(--tap-page-bg);
    box-sizing: border-box;
}

.x7-logo {
    display: flex !important;
    align-items: center;
    flex: 0 0 var(--x7-bar-h);
    height: var(--x7-bar-h);
    padding-left: 14px;
    margin: 0 !important;
    float: none !important;
    max-width: none !important;
    overflow: hidden;
}

.x7-logo img {
    display: block;
    width: auto !important;
    max-width: 144px !important;
    max-height: 36px !important;
    object-fit: contain;
}

.x7-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0 !important;
    float: none !important;
    height: auto !important;
    overflow: visible !important;
}

.x7-nav-item {
    display: flex !important;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: var(--x7-nav-w);
    height: 48px;
    padding: 0 22px;
    border-radius: var(--tap-radius);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #1f2329 !important;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color .18s ease, color .18s ease;
}

.x7-nav-item:hover {
    background: #ebebeb;
    color: var(--tap-text-1) !important;
}

.x7-nav-item.on {
    background: #fff;
    color: #1f2329 !important;
}

/* 复用原站 20×20 图标精灵（home_nav.png） */
.x7-nav-item .ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    background-image: url(../images/home_nav.png) !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
    background-position-y: 0;
    transform-origin: 50% 50%;
    transition: transform .35s ease;
}

.x7-nav-item:hover .ico {
    transform: scale(1.1);
}

.x7-nav-item span {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 18px !important;
    color: inherit !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x7-nav-item .ico1 { background-position: 0 0; }
.x7-nav-item .ico2 { background-position: -40px 0; }
.x7-nav-item .ico3 { background-position: -75px 0; }
.x7-nav-item .ico4 { background-position: -115px 0; }
.x7-nav-item .ico5 { background-position: -150px 0; }
.x7-nav-item .ico6 { background-position: -190px 0; }
.x7-nav-item .ico7 { background-position: -225px 0; }
.x7-nav-item .ico8 { background-position: -295px 0; }

/* --------------------------------------------------------------------------
   4. 顶部吸顶搜索条（高 80，搜索框对齐中列内容卡 608）
   -------------------------------------------------------------------------- */
.x7-topbar {
    position: fixed;
    left: calc(var(--x7-x) + var(--x7-nav-w));
    right: var(--x7-y);
    top: 0;
    z-index: 300;
    height: var(--x7-bar-h);
    background: var(--tap-page-bg);
}

.x7-topbar-in {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 calc((100% - var(--x7-center-w) - var(--x7-side-w)) / 2 + 32px);
    box-sizing: border-box;
    justify-content: flex-start;
}

.x7-search {
    flex: 0 0 var(--x7-col-w);
    display: flex !important;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 6px 11px 6px 16px;
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
}

.x7-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0 !important;
    background: transparent !important;
    font-size: 14px;
    color: var(--tap-text-1);
    outline: 0;
}

.x7-search input[type="text"]::placeholder {
    color: var(--tap-text-3);
}

.x7-search button {
    flex: 0 0 auto;
    height: 28px;
    padding: 5px 14px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary));
    color: var(--tap-on-primary);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    cursor: pointer;
}

.x7-search button:hover {
    background: linear-gradient(315deg, var(--tap-primary), var(--tap-primary-dark));
}

/* --------------------------------------------------------------------------
   5. 三栏容器：672 + 24 + 360 = 1056
   -------------------------------------------------------------------------- */
.x7-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: var(--x7-bar-h) 0 60px;
    box-sizing: border-box;
    justify-content: flex-end;
}

/* 中列：672 外框，左右各 32 内边距 → 内容卡 608 */
.x7-layout > .x7-main {
    flex: 0 0 var(--x7-center-w);
    width: var(--x7-center-w) !important;
    min-width: 0;
    margin: 0 auto !important;
    padding: 0 calc((var(--x7-center-w) - var(--x7-col-w)) / 2) !important;
    box-sizing: border-box;
}

/* 右栏：360，跟随滚动 */
.x7-layout > .x7-aside {
    flex: 0 0 var(--x7-side-w);
    width: var(--x7-side-w) !important;
    align-self: flex-start;
    position: sticky;
    /* 吸顶位置与中列滚到顶部时的边界一致（顶栏下沿 80），两栏上边对齐 */
    top: var(--x7-bar-h);
}

/* 小屏：右栏收起，中列居中 */
@media screen and (max-width: 1439px) {
    .x7-layout > .x7-aside { display: none; }
    .x7-layout { justify-content: center; }
    .x7-topbar-in { padding-left: calc((100% - var(--x7-center-w)) / 2 + 32px); }
}

@media screen and (max-width: 1199px) {
    :root { --x7-x: 8px; }
}

@media screen and (max-width: 1099px) {
    :root {
        --x7-nav-w: 88px;
        --x7-x: 0px;
    }
    .x7-logo { padding-left: 0; justify-content: center; }
    .x7-logo img { max-width: 48px !important; }
    .x7-nav-item { justify-content: center; padding: 0; }
    .x7-nav-item span { display: none; }
    .x7-topbar-in { padding-left: 0; }
    .x7-search { flex: 1 1 auto; }
    .x7-layout { padding-top: var(--x7-bar-h); }
}

/* --------------------------------------------------------------------------
   6. 中列模块单列化
   --------------------------------------------------------------------------
   tap.css 里的模块宽度是按 1200 容器 + 844/308 双栏算的，塞进 672 会溢出。
   这里统一改成单列白卡堆叠。
   -------------------------------------------------------------------------- */

/* 首屏：原来 flex 844 + 308，改竖排 */
body .l-kuHot {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

/* 主视觉：672 内留白，圆角 20 */
body .l-kuHot .m-slideBox {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 0 20px !important;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    box-shadow: none;
}
body .l-kuHot .m-slideBox .bd,
body .l-kuHot .m-slideBox .tempWrap { width: 100% !important; height: 360px !important; }
body .l-kuHot .m-slideBox .tempWrap > ul { width: 100% !important; height: 360px !important; left: 0 !important; }
body .l-kuHot .m-slideBox .tempWrap > ul > li { width: 100% !important; height: 360px !important; }
body .l-kuHot .m-slideBox .tempWrap > ul > li img {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover;
    display: block;
}

/* 三个推荐位：原来是 308 宽的右栏，改成一排三个小卡 */
body .l-kuHot .m-pdrc {
    display: flex !important;
    flex-direction: row;
    gap: 12px;
    flex: none !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    background: transparent !important;
}
body .l-kuHot .m-pdrc > li {
    flex: 1 1 0;
    min-width: 0;
    height: auto !important;
    float: none !important;
    padding: 14px 16px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
}
/* 第 3 个推荐位无数据、第 4 个是占位 edge，一并收起，避免右侧留两个空白卡 */
body .l-kuHot .m-pdrc > li.edge,
body .l-kuHot .m-pdrc > li:not(:has(.bd)) {
    display: none !important;
}
/* 第三个推荐位在窄容器里放不下「标签 + 封面 + 两行文字 + 按钮」，先并排三个 */
body .l-kuHot .m-pdrc > li .bd {
    grid-template-columns: 44px 1fr !important;
    column-gap: 10px !important;
}
body .l-kuHot .m-pdrc > li .bd img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
}

/* 资讯条：整行 */
body .l-kuHot .m-sea-games {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* ---- #nav-1 / #nav-2 等模块：白卡竖排 ---- */
body .pd10 {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 20px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg);
    box-sizing: border-box;
    overflow: visible !important;
}

/* 栅格全部拉平 */
body .row,
body .col-gd-9,
body .col-gd-3,
body .col-gd-n1,
body .col-gd-n2,
body .struct_left,
body .activity_wrap,
body .strategy_wrap {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
}

/* 游戏开服：还留在中列，先整行放在热门分类下面 */
body .col-gd-3 {
    margin-top: 20px !important;
    clear: both;
}

/* 排行榜三列 → 单列（672 宽放三列每列只有 208，文字全折行） */
body .col-gd-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
}
body .col-gd-2 + .col-gd-2 { margin-left: 0 !important; }

/* 模块标题：x7sy 是 18px 粗体，比 TapTap 版小一号 */
body .r-tit1 {
    height: 40px !important;
    line-height: 40px !important;
    margin-bottom: 12px !important;
}
body .r-tit1 h4,
body .r-tit1 h5 {
    height: 40px !important;
    line-height: 40px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   7. 中列防溢出
   --------------------------------------------------------------------------
   原站按 1200 排，模块内大量写死 880 / 528 / 560 等宽度。
   这些在 672 中列里会撑破容器、进而把整个 body 拉出横向滚动条
   （实测把页面撑到 1922px），所以这里统一兜底。
   -------------------------------------------------------------------------- */
body .customer_left,
body .customer_fr,
body .customer,
body .mod-kfzx {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 中列内任何媒体都不许超出容器 */
body img,
body video,
body iframe {
    max-width: 100%;
}

/* 页脚容器：1200 在窄视口下要收 */
.m-footer .warpper,
.m-footer .footer-box {
    width: 1200px;
    max-width: calc(100% - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   8. body 定位归位
   --------------------------------------------------------------------------
   遗留样式里有一条 body{position:absolute;left:200px;right:0;...;width:auto}，
   是旧版弹窗遮罩用的，会让 body 脱离文档流并把宽度算错
   （实测 body 被算成 1922px，比视口宽 322px，全站出现横向滚动条）。
   -------------------------------------------------------------------------- */
body {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    min-width: 0 !important;
    /* 用 clip 不用 hidden：hidden 会把 body 变成滚动容器，右栏 position:sticky 直接失效 */
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    body { overflow-x: hidden; }
}

/* --------------------------------------------------------------------------
   9. 宽度硬约束
   --------------------------------------------------------------------------
   上面第 8 节把 body 定位归位后，body 的计算宽度仍然失真
   （实测 1922px，比 html 的 1594px 宽 328px，原因在旧样式对身体宽度的叠加）。
   这里不再依赖百分比链，直接用 100vw 硬算，保证不出现横向滚动条。
   -------------------------------------------------------------------------- */
.x7-layout {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.m-footer {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --------------------------------------------------------------------------
   10. 关掉全站缩放
   --------------------------------------------------------------------------
   老站有一段响应式脚本会按视口给 body 设 zoom（实测 0.829167）。
   1200 设计稿在小视口下靠它硬塞，代价是整个页面等比缩小：
   672 的列在视觉上只剩 557，右栏、字号全部失真。
   三栏版型本身自适应，不需要这层缩放。
   -------------------------------------------------------------------------- */
body {
    zoom: 1 !important;
    -moz-transform: none !important;
}

/* --------------------------------------------------------------------------
   11. 右侧栏
   --------------------------------------------------------------------------
   360 宽，白卡圆角 20，与中列间距 24。
   下拉吸顶：页面往下滚时右栏（热门游戏 / 下载 / 关于我们）保持不动，
   停在顶栏下方 24px（与中列首块 top 104 对齐），中列到底才一起结束。
   早期为了绕开 flex 下 sticky 不生效写死了 static，反而让整栏跟着页面滚走。
   -------------------------------------------------------------------------- */
body .x7-aside {
    position: -webkit-sticky !important;
    position: sticky !important;
    /* 中列拉到顶时内容边界就在顶栏下沿，右栏吸顶也贴到同一位置，避免两栏差 24px */
    top: var(--x7-bar-h) !important;
    align-self: flex-start !important;
    z-index: 5;
    /* 右栏总高（热门游戏 + 下载 + 关于我们 ≈ 990）高于一屏，限制在一屏内，
       栏内自身可滚（回到跟随页面滚动同步之前的方案）。 */
    max-height: calc(100vh - var(--x7-bar-h) - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    /* 滚动条隐藏（把手指针会破坏右栏留白），滚轮/触控板照常可滚；
       不占位，避免 6px 宽度差让卡片内容重新回流 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body .x7-aside::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.x7-card {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    padding: 6px 20px 16px !important;
    margin: 0 0 16px !important;
    box-sizing: border-box;
    overflow: hidden;
}

.x7-aside .x7-card:last-child { margin-bottom: 0; }

/* 卡片标题 */
.x7-card .r-tit1 {
    height: 44px !important;
    line-height: 44px !important;
    margin: 0 0 4px !important;
    border-bottom: 0 !important;
}
.x7-card .r-tit1 h4,
.x7-card .r-tit1 h5 {
    height: 44px !important;
    line-height: 44px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
}
.x7-card .r-tit1 .r-moreGames,
.x7-card .r-tit1 .more {
    font-size: 12px !important;
    line-height: 44px !important;
    color: var(--tap-text-3) !important;
}

/* 模块本体铺满 360 */
.x7-aside .col-gd-3,
.x7-aside .col-gd-4,
.x7-aside .m-tabWrap,
.x7-aside .m-gamesTable,
.x7-aside .m-gamesTable .bd,
.x7-aside .m-gamesTable .con,
.x7-aside .m-gamesTable-ul {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
}

/* 已开服 / 未开服 两个小胶囊 */
.x7-aside .m-gamesTable .hd {
    height: auto !important;
    margin: 0 0 8px !important;
    border-bottom: 0 !important;
}
.x7-aside .m-gamesTable .hd ul {
    display: flex !important;
    gap: 8px;
    height: auto !important;
}
.x7-aside .m-gamesTable .hd li {
    float: none !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-bg) !important;
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
    cursor: pointer;
}
.x7-aside .m-gamesTable .hd li.on {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-weight: 600;
}

/* 开服条目：日期 / 名称+区服 / 状态 */
.x7-aside .m-gamesTable-ul > li {
    display: grid !important;
    grid-template-columns: 42px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    width: 100% !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--tap-line) !important;
    box-sizing: border-box;
}
.x7-aside .m-gamesTable-ul > li .dot { display: none !important; }
.x7-aside .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.4 !important;
    color: var(--tap-text-3) !important;
}
.x7-aside .m-gamesTable-ul > li .name {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.x7-aside .m-gamesTable-ul > li .name a {
    color: var(--tap-text-1) !important;
    font-size: 13px !important;
}
.x7-aside .m-gamesTable-ul > li .status {
    grid-column: 2;
    grid-row: 2;
    width: auto !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: var(--tap-text-3) !important;
}
.x7-aside .m-gamesTable-ul > li .btn {
    grid-column: 3;
    grid-row: 1 / span 2;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}
.x7-aside .m-gamesTable-ul > li .btn a {
    display: inline-block;
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 10px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-size: 12px !important;
    font-weight: 600;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. 右栏卡片标题与开服列表（覆盖 tap.css 的等效规则）
   --------------------------------------------------------------------------
   servers.html 自带的 .r-tit1 在 360 宽卡片里会塌掉，改用自写标题，
   这里把原标题隐藏掉。
   -------------------------------------------------------------------------- */
.x7-aside .r-tit1 { display: none !important; }

.x7-card-hd {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 48px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
}
.x7-card-hd h3 {
    display: block !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: var(--tap-text-1) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.x7-card-hd a {
    font-size: 12px;
    color: var(--tap-text-3);
}
.x7-card-hd a:hover { color: var(--tap-primary-ink); }

/* 列表项：加高到 56，三列结构不变，但给文字松绑 */
.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li {
    display: grid !important;
    grid-template-columns: 46px 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--tap-line) !important;
    box-sizing: border-box;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li:last-child {
    border-bottom: 0 !important;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .date {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: var(--tap-text-3) !important;
    word-break: normal;
    overflow-wrap: normal;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block !important;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .name a {
    display: block;
    color: var(--tap-text-1) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .status {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    color: var(--tap-text-3) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .btn {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .btn a {
    display: inline-block !important;
    width: auto !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    text-indent: 0 !important;
}

.x7-aside .x7-card .m-tabWrap .m-gamesTable-ul > li .btn a:hover {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

/* --------------------------------------------------------------------------
   13. 未改造页面的主容器收窄
   --------------------------------------------------------------------------
   首页走 .x7-layout 三栏；其余页面没有这层包裹，主容器仍是 1200 的
   .container.wrapper 之类。这里按 body 直接子元素收窄到 672 居中，
   让全站保持同一条内容轴。

   注意：首页的 .container.wrapper 在 .x7-layout 内部，不会被 body > 匹配到。
   -------------------------------------------------------------------------- */
body > .container,
body > .container.wrapper,
body > .wrapper,
body > .listcontent,
body > .rel.mgt35.listcontent,
body > .games-details {
    width: var(--x7-col-w) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
    background: transparent !important;
    box-sizing: border-box;
}

/* 这些页面里如果还残留 1200 的浮动双栏，一并拉平 */
body > .container .col-gd-9,
body > .container .col-gd-3,
body > .container .col-gd-2,
body > .listcontent .b-list-box {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* 页内的固定/绝对浮层（原站点右锚点导航、回到顶部）不要压住内容 */
.leftnav { display: none !important; }

/* --------------------------------------------------------------------------
   14. 热门分类网格 / 热门专题大图
   --------------------------------------------------------------------------
   ① 分类图标：tap.css 按 844 宽度算的 8 列，在 672 里会溢出到右栏下面，
      改成按容器百分比算，8 列固定。
   ② 热门专题：.m-pdElite 的图是竖版长图，铺满 672 会撑出 900+ 高度，
      改成定高 240 + object-fit cover。
   -------------------------------------------------------------------------- */
body .m-tabWrap {
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
}

body .m-tabWrap .m-gamesList {
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px 12px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

body .m-tabWrap .m-gamesList > li {
    flex: 0 0 calc((100% - 60px) / 6) !important;
    max-width: calc((100% - 60px) / 6) !important;
    min-width: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
}

body .m-tabWrap .m-gamesList > li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 14px !important;
    object-fit: cover;
    display: block;
}

body .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;
}

/* 热门专题 */
body .m-pdEliteWrap,
body .m-pdElite {
    width: 100% !important;
    height: auto !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    position: static !important;
}

body .m-pdElite .bd,
body .m-pdElite .bd a {
    display: block;
    width: 100% !important;
    height: auto !important;
}

body .m-pdElite .bd a img {
    display: block;
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 16px;
}

/* --------------------------------------------------------------------------
   15. 排行榜：三列改两列
   --------------------------------------------------------------------------
   672 里三列每列只有 195，游戏名基本只能显示 3 个字就被省略。
   改成两列各 300+，同时把前两名的「封面 + 名称 + 下载」拉成一行。
   -------------------------------------------------------------------------- */
body #nav-2 .col-gd-2 {
    float: left !important;
    width: calc((100% - 24px) / 2) !important;
    margin: 0 !important;
}
body #nav-2 .col-gd-2 + .col-gd-2 { margin-left: 24px !important; }

/* 第三列（H5 榜）没有数据时收起 */
body #nav-2 .col-gd-2:nth-child(3):empty { display: none !important; }

/* 前两名：封面 40 + 名称/类型 + 下载按钮，一行排开 */
body .m-ranking > li.hb > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 6px 0 !important;
    position: relative;
}
body .m-ranking > li.hb .rk {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: var(--tap-line) !important;
    color: var(--tap-text-3) !important;
    font-size: 11px !important;
    text-align: center !important;
}
body .m-ranking > li.hb .info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 10px;
    float: none !important;
    width: auto !important;
    grid-template-columns: none !important;
}
body .m-ranking > li.hb .info img {
    flex: 0 0 auto;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    object-fit: cover;
}
body .m-ranking > li.hb .info .tit {
    flex: 1 1 auto;
    min-width: 0;
    display: block !important;
    height: auto !important;
    line-height: 1.35 !important;
    font-size: 13px !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body .m-ranking > li.hb .info .type {
    display: none !important;
}
body .m-ranking > li.hb .info .btn,
body .m-ranking > li.hb .btn {
    flex: 0 0 auto;
    display: block !important;
    position: static !important;
    width: auto !important;
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 12px !important;
    font-weight: 600;
}

/* 普通名次行：序号 + 名称，单行省略 */
body .m-ranking > li {
    width: 100% !important;
    height: 34px !important;
    line-height: 34px !important;
}
body .m-ranking .rk {
    float: left !important;
    width: 18px !important;
    height: 18px !important;
    margin: 8px 10px 0 0 !important;
    line-height: 18px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--tap-text-3) !important;
    font-size: 11px !important;
    text-align: center !important;
}
body .m-ranking .info { float: none !important; width: auto !important; }
body .m-ranking .tit {
    height: 34px !important;
    line-height: 34px !important;
    font-size: 13px !important;
    color: var(--tap-text-2) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 前两名条目有 40px 封面，不能再吃 34px 的行高，否则会和下一行重叠 */
body .m-ranking > li.hb {
    height: auto !important;
    min-height: 52px;
    line-height: normal !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
}

/* 榜单列如果没有条目（只有标题），整列收起，避免留下空白列 */
body #nav-2 .col-gd-2:not(:has(li)) {
    display: none !important;
}

/* --------------------------------------------------------------------------
   16. 客服中心：按钮网格 4 列，右侧不再被裁
   --------------------------------------------------------------------------
   原结构 .customer_left(880) + .customer_fr(浮动右)，在 672 里必然溢出。
   改成整行 + 4 列按钮网格。
   -------------------------------------------------------------------------- */
body .mod-kfzx .r-tit1.wid,
body .mod-kfzx .r-tit1 {
    width: 100% !important;
}

body .mod-kfzx .customer {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

body .mod-kfzx .customer_left,
body .mod-kfzx .customer_fr {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

body .mod-kfzx .customer_left ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .mod-kfzx .customer_left li {
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: calc((100% - 36px) / 4) !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: var(--tap-radius) !important;
    background: var(--tap-primary-soft) !important;
    color: var(--tap-text-1) !important;
    font-size: 14px !important;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .18s, box-shadow .18s;
}

body .mod-kfzx .customer_left li:hover {
    background: var(--tap-primary-light) !important;
    box-shadow: var(--tap-shadow-hover);
}

body .mod-kfzx .customer_fr {
    margin-top: 20px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}

body .mod-kfzx .customer_fr li {
    display: flex !important;
    align-items: center;
    gap: 10px;
    float: none !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: var(--tap-radius) !important;
    background: var(--tap-primary-soft) !important;
    box-sizing: border-box;
    list-style: none;
}

body .mod-kfzx .customer_fr p {
    font-size: 14px !important;
    color: var(--tap-text-2) !important;
}

body .mod-kfzx .customer_fr p span {
    margin-left: 8px;
    color: var(--tap-primary-ink) !important;
    font-weight: 600;
}

/* ==========================================================================
   17. 列表页 / 详情页：内层写死宽度的钳制
   --------------------------------------------------------------------------
   原站主容器 1200，内层还有一批写死 1200 / 1160 的块（.listcontent、
   .game-select-box、.games-list-box、.ad_long…）。外层收到 672 之后这些
   内层块仍然按 1200 撑开，表现为内容溢出到屏幕外、右侧筛选条被裁切。
   这里统一钳到母容器宽度。
   ========================================================================== */
body .listcontent,
body .container .listcontent,
body .container .ad_long,
body .container .game-select-box,
body .container .games-list-box,
body .container .rBg-hs,
body .container .about-games,
body .container .m-games,
body .listcontent .b-list-box,
body .listcontent .game-select-box,
body .listcontent .games-list-box {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* 双栏残留（.col-gd-ny-9 + .col-gd-ny-3 之类）在 672 里放不下，拉平 */
body .container .col-gd-ny-9,
body .container .col-gd-ny-3,
body .container .col-gd-7,
body .container .col-gd-5 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

body .container .col-gd-ny-3,
body .container .col-right-n {
    margin-top: 24px !important;
}

/* 筛选区：标签与选项改为自动换行，不再横向溢出 */
body .game-select-box {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    padding: 8px 20px 16px !important;
    border: 1px solid var(--tap-border) !important;
}

body .game-select-box .game-type,
body .game-select-box .game-theme,
body .game-select-box .game-initial,
body .game-select-box dl,
body .game-select-box ul {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    float: none !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

body .game-select-box dt,
body .game-select-box .tit,
body .game-select-box .name {
    float: none !important;
    flex: 0 0 auto;
    height: 32px !important;
    line-height: 32px !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    color: var(--tap-text-3) !important;
    font-size: 13px !important;
}

body .game-select-box dd,
body .game-select-box li {
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

body .game-select-box a {
    display: inline-block !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 14px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-bg) !important;
    color: var(--tap-text-2) !important;
    font-size: 13px !important;
}

body .game-select-box a.on,
body .game-select-box a:hover {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

body .game-select-box a.on:hover {
    background: var(--tap-primary-dark) !important;
}

/* ==========================================================================
   18. 找游戏页的搜索小组件（原为 #FFB60A 黄色横条）
   ========================================================================== */
body .m-sea-games {
    margin-top: 16px !important;
}

body .m-sea-games .searchWrap {
    height: auto !important;
    padding: 16px 20px 10px !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
    position: relative;
}

body .m-sea-games .searchWrap .m-ser-gamelist {
    width: 100% !important;
    position: relative;
}

body .m-sea-games .searchWrap .m-ser-gamelist .clearfix {
    position: relative;
    width: 100% !important;
}

body .m-sea-games .searchWrap .inputSearch {
    float: none !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 44px 0 18px !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-bg) !important;
    font-size: 14px !important;
    box-sizing: border-box;
}

body .m-sea-games .searchWrap .inputSearch:focus {
    border-color: var(--tap-primary-ink) !important;
    background: #fff !important;
    outline: none;
}

body .m-sea-games .searchWrap .btnSearch {
    width: 44px !important;
    height: 44px !important;
    float: none !important;
    position: absolute;
    right: 4px;
    top: 0;
    border-radius: 50% !important;
    background: transparent !important;
}

body .m-sea-games .searchWrap .seaKey {
    height: auto !important;
    line-height: 22px !important;
    margin-top: 12px;
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
    white-space: normal;
}

body .m-sea-games .searchWrap .seaKey span,
body .m-sea-games .searchWrap .seaKey a {
    float: none !important;
    display: inline-block;
}

body .m-sea-games .searchWrap .seaKey a {
    color: var(--tap-text-2) !important;
    margin: 0 12px 0 0 !important;
}

body .m-sea-games .searchWrap .seaKey a:hover {
    color: var(--tap-primary-ink) !important;
}

/* 搜索联想下拉 */
body .m-sea-games .gamelist_dnl {
    border-radius: var(--tap-radius) !important;
    box-shadow: var(--tap-shadow-hover) !important;
}

/* ==========================================================================
   19. 列表页空数据兜底
   ========================================================================== */
body .games-list-box:empty::after {
    content: '暂无游戏，敬请期待';
    display: block;
    padding: 60px 0;
    text-align: center;
    color: var(--tap-text-3);
    font-size: 14px;
}

/* ==========================================================================
   20. 游戏详情页头部：从 1200 版心改成 672 版心
   --------------------------------------------------------------------------
   tap.css 里头部是写死 236px 高、图标 104、二维码右浮的 1200 布局，
   收窄到 672 后下载按钮被 overflow 裁掉、二维码挤到下一行。改成
   flex 三段式：图标 / 信息 / 二维码。
   ========================================================================== */
body .games-details .m-games {
    height: auto !important;
    min-height: 0 !important;
    padding: 26px 24px !important;
    box-sizing: border-box;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
}

body .games-details .m-games .w-bgimgBox,
body .games-details .m-games .w-bgimg,
body .games-details .m-games .w-bgcov {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

body .games-details .m-games .w-bgimg {
    object-fit: cover;
    filter: blur(16px) brightness(.8);
}

body .games-details .m-games .w-gamesInfo {
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}

body .games-details .m-games .w-gamesInfo > dt {
    flex: 0 0 92px;
    width: 92px !important;
    height: 92px !important;
    margin: 0 !important;
    float: none !important;
}

body .games-details .m-games .w-gamesInfo > dt img {
    width: 92px !important;
    height: 92px !important;
    border-radius: 18px !important;
}

body .games-details .m-games .w-gamesInfo > dd {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

/* 二维码第三段：不再右浮，占固定 100px */
body .games-details .m-games .w-gamesInfo > dd.d2 {
    flex: 0 0 100px;
    width: 100px !important;
    margin: 0 !important;
    float: none !important;
}

body .games-details .qrcode-box {
    width: 100px !important;
    height: 100px !important;
    padding: 5px !important;
}

body .games-details .qrcode-box img,
body .games-details #qrcode {
    max-width: 90px !important;
    max-height: 90px !important;
}

body .games-details .qrcode-container .tip {
    margin-top: 6px !important;
    font-size: 11px !important;
    white-space: nowrap;
}

/* 标题与标签行 */
body .games-details .m-games .w-gamesInfo dd .info h1 {
    font-size: 22px !important;
    line-height: 30px !important;
}

body .games-details .m-games .w-gamesInfo .bin {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 10px !important;
    margin: 0 !important;
    height: auto !important;
}

body .games-details .m-games .w-gamesInfo .bin > li {
    float: none !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: var(--x7-radius-pill) !important;
    background: rgba(255, 255, 255, .12) !important;
    font-size: 12px !important;
}

body .games-details .m-games .btnWrap {
    margin-top: 16px !important;
    height: auto !important;
    display: flex !important;
    gap: 10px;
    flex-wrap: wrap;
}

body .games-details .m-games .btnWrap > li {
    float: none !important;
    margin: 0 !important;
}

body .games-details .m-games .btnWrap > li > a {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 26px !important;
    border-radius: var(--x7-radius-pill) !important;
}

/* 顶部通栏广告：等比缩放，别横向拉伸 */
body .ad_long {
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    margin-bottom: 16px !important;
}

body .ad_long img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

/* ==========================================================================
   21. 游戏截图：原为 JS coverflow（内联 height:550 / li left:236 的 3D 轮播），
       672 版心放不下，直接改成等高 3 列静态画廊
   ========================================================================== */
body .snapShotWrap {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .snapShotCont {
    display: flex !important;
    gap: 12px;
    height: auto !important;
    position: static !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

body .snapShotCont > li.snopshot {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: calc((100% - 24px) / 3) !important;
    height: 240px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: auto !important;
    border-radius: var(--tap-radius) !important;
    overflow: hidden;
    box-sizing: border-box;
}

body .snapShotCont > li.snopshot img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: var(--tap-radius);
}

/* 3D 轮播的左右箭头不再需要 */
body .snap-shot-btn {
    display: none !important;
}

/* 截图容器吃满宽度（原来靠 JS 算 375 的固定宽） */
body .newlbfcen.pic-c,
body .newlbfcen {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    position: static !important;
}

body .snapShotCont {
    width: 100% !important;
}

/* 二维码：去掉橙色底与多余描边 */
body .games-details .qrcode-container,
body .games-details .qrcode-box {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

body .games-details .qrcode-box .light-line {
    display: none !important;
}

/* 游戏礼包 / 游戏活动：行式列表（原为 1200 下的绝对定位） */
body .m-gift-b {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .m-gift-b > li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--tap-radius) !important;
    box-sizing: border-box;
    list-style: none;
}

body .m-gift-b > li > a {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 16px !important;
    height: auto !important;
    box-sizing: border-box;
}

body .m-gift-b > li > a > img {
    flex: 0 0 52px;
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

body .m-gift-b > li .info {
    flex: 1 1 auto;
    min-width: 0;
    position: static !important;
    width: auto !important;
    float: none !important;
    display: block;
    padding: 0 !important;
    text-align: left;
}

body .m-gift-b > li .info .tit {
    display: block;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 24px !important;
    margin: 0 0 4px !important;
    color: var(--tap-text-1) !important;
}

body .m-gift-b > li .info .cfg {
    display: block;
    font-size: 12px !important;
    line-height: 20px !important;
    color: var(--tap-primary-ink) !important;
}

body .m-gift-b > li .info .giftName {
    display: block;
    font-size: 12px !important;
    line-height: 20px !important;
    color: var(--tap-text-3) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .m-gift-b > li .btn {
    flex: 0 0 auto;
    position: static !important;
    float: none !important;
    display: inline-block !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 20px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 13px !important;
    text-align: center;
}

/* --------------------------------------------------------------------------
   22. 详情页收尾修正
   -------------------------------------------------------------------------- */

/* 二维码块原来带相对位移，收到 dd.d2 顶部 */
body .games-details .qrcode-container {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100px !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    background: transparent !important;
}

body .games-details .qrcode-container .tip {
    width: 100px !important;
}

/* 头部下载按钮行别超出 dd */
body .games-details .m-games .btnWrap {
    width: 100% !important;
}

/* 截图区上级容器写死 793 宽，逐层放开 */
body .newmlz,
body .newlfb,
body .newlbfcen,
body .newlbfcen.pic-c {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: static !important;
    box-sizing: border-box;
}

/* 5 张截图不挤压：固定 3 列宽，横向可滚动 */
body .snapShotCont {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding-bottom: 6px !important;
    width: 100% !important;
}

body .snapShotCont > li.snopshot {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
}

/* 滚动条做细一点 */
body .snapShotCont::-webkit-scrollbar {
    height: 6px;
}

body .snapShotCont::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 999px;
}

/* 截图是竖屏长图，别用固定 240 高裁成横条：保持比例完整显示 */
body .snapShotCont > li.snopshot {
    height: auto !important;
    background: var(--tap-bg) !important;
}

body .snapShotCont > li.snopshot img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* --------------------------------------------------------------------------
   23. 遗留的多余头部（攻略站的 .topbar-gl / .gl-top）
   --------------------------------------------------------------------------
   这几个页面在 header.html 之后又各自输出了一条旧顶栏（1200 宽、自带搜索
   按钮），会和新的吸顶搜索条叠在一起，表现为顶部一条白带 + 两个青绿方块。
   -------------------------------------------------------------------------- */
body .topbar-gl,
body .gl-top {
    display: none !important;
}

/* ==========================================================================
   24. 0.1 折专区（templates/pc/index/zhekou.html 自带内联样式）
   --------------------------------------------------------------------------
   该页在 head 里写死 .game_list{width:1200}.game_list>li{width:530;float:left}，
   且偶数项 float:right。672 版心下改为单列列表卡。
   ========================================================================== */
body .game_list {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
}

body .game_list > li {
    width: auto !important;
    float: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 20px !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
    overflow: hidden;
}

body .game_list > li:hover {
    box-shadow: var(--tap-shadow-hover) !important;
    border-color: transparent !important;
}

body .game_list > li > div:first-of-type {
    width: 88px !important;
    height: auto !important;
    float: left !important;
}

body .game_list > li .game_list_icon {
    width: 88px !important;
    height: 88px !important;
    border-radius: 18px !important;
    display: block;
}

body .game_list > li > div:nth-of-type(2) {
    width: calc(100% - 104px) !important;
    height: auto !important;
    float: left !important;
    margin-left: 16px !important;
}

body .game_list .down_sub {
    width: 76px !important;
    height: 32px !important;
    line-height: 32px !important;
    margin-top: 12px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary) !important;
    font-size: 13px !important;
}

body .game_list_right > p:first-of-type {
    font-size: 17px !important;
    line-height: 26px !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .game_list_right_biaoqian span {
    border-color: var(--tap-primary-ink) !important;
    color: var(--tap-primary-ink) !important;
    background: var(--tap-primary-soft) !important;
    border-radius: var(--x7-radius-pill) !important;
}

/* 卡片内那三张竖版截图：等比缩，别撑破 */
body .game_list_right img[style*="178px"] {
    width: calc((100% - 24px) / 3) !important;
    height: auto !important;
    max-height: 200px;
    object-fit: cover;
    margin-top: 10px;
}

/* 本页顶部 1200 宽的横幅图 */
body .container.wrapper > img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: var(--tap-radius-lg);
}

/* 折扣卡里那排竖版截图（内联写死 125×178）统一按 3 列等比缩 */
body .game_list_right div > img,
body .game_list_right img {
    width: calc((100% - 24px) / 3) !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: cover;
    border-radius: var(--tap-radius) !important;
}

body .game_list_right {
    overflow: hidden;
}

/* .game_list 的父级是个无类的满宽 div，直接铺满即可，居中会偏移 */
body .game_list {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 内联给了 margin-right:10px，3 张加起来超一行，这里重算间距 */
body .game_list_right img {
    margin-right: 12px !important;
}

body .game_list_right img:last-of-type {
    margin-right: 0 !important;
}

/* ==========================================================================
   25. 抢礼包 / 排行榜 / 客服中心：把 1200 版心统一收到 672
   ========================================================================== */

/* ---- 25.1 抢礼包 ---- */
body .gl-sign,
body .gifts-games-list,
body .gifts-games-list .gifts-list-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* 礼包卡：1182 的 6 列改成 2 列 */
body .gifts-games-list .gifts-list-box > li {
    float: none !important;
    width: calc((100% - 16px) / 2) !important;
    margin: 0 0 16px !important;
    display: inline-block !important;
    vertical-align: top;
}

body .gifts-games-list .gifts-list-box {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

body .gifts-games-list .gifts-list-box > li {
    margin-bottom: 0 !important;
}

body .gifts-games-list .gifts-list-box .r-tit1 {
    flex: 0 0 100%;
    width: 100%;
}

body .gifts-games-list .gifts-list-box .gift-name {
    width: calc(100% - 96px) !important;
}

body .gifts-games-list .gifts-list-box .gift-tab-cont {
    width: calc(100% - 96px) !important;
}

/* ---- 25.2 排行榜 ---- */
body .rel.content,
body .wrapper.panking-ou,
body .b1-left,
body .b1-right,
body .game_rec.panking {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

body .rel.content {
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
}

/* 三个榜单并排改成纵向三块 */
body .pank-table,
body .col-gd-4.fr,
body .col-gd-4 {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
}

/* 顶部的「年度热门游戏」三张卡 */
body .rec_p > li {
    float: none !important;
    width: calc((100% - 24px) / 3) !important;
    display: inline-block !important;
    vertical-align: top;
}

body .rec_p {
    display: flex !important;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---- 25.3 客服中心 ---- */
body .kefu-b,
body .kefu-b .box1,
body .kefu-b .eq-box,
body .eq-box.clearfix {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* 常用服务 / 常见问题：4 列改 2 列 */
body .kefu-b .eq-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body .kefu-b .eq-li,
body .kefu-b .eq {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
}

body .kefu-b .eq-box > * {
    min-width: 0;
}

/* 客服页顶部那张通栏黄图等比缩 */
body .kefu-b > img,
body .kefu-b img {
    max-width: 100% !important;
    height: auto !important;
}

/* 礼包页外层容器也是满宽父级，直接钉版心宽 */
body .gifts-games-list,
body .gl-sign {
    width: var(--x7-col-w) !important;
    max-width: 100% !important;
}

body .gl-sign {
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    margin: 0 auto 16px !important;
}

body .gl-sign img {
    max-width: 100% !important;
    height: auto !important;
}

/* 礼包卡内部是绝对定位，坐标按 1182 的旧格算的；这里按 2 列宽度重钉 */
body .gifts-games-list .gifts-list-box > li {
    height: 104px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden;
}

body .gifts-games-list .gifts-list-box > li .gift-img {
    left: 16px !important;
    top: 18px !important;
    width: 68px !important;
    height: 68px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-name {
    left: 96px !important;
    top: 18px !important;
    width: calc(100% - 112px) !important;
    height: 24px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-name strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-tab-cont {
    left: 96px !important;
    top: 46px !important;
    width: calc(100% - 172px) !important;
    height: 38px !important;
    font-size: 12px !important;
    line-height: 19px !important;
}

body .gifts-games-list .gifts-list-box > li a.get-gifts-btn,
body .gifts-games-list .gifts-list-box > li a.get-gifts {
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    left: auto !important;
}

/* 图标被内联/原有样式撑到 92，强制压回 68 并留出文字位 */
body .gifts-games-list .gifts-list-box > li .gift-img {
    width: 68px !important;
    min-width: 0 !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 0 !important;
    max-height: 68px !important;
    object-fit: cover;
    padding: 0 !important;
    border: 0 !important;
}

body .gifts-games-list .gifts-list-box > li {
    height: 116px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-name {
    left: 100px !important;
    top: 20px !important;
    width: calc(100% - 180px) !important;
}

body .gifts-games-list .gifts-list-box > li .gift-tab-cont {
    left: 100px !important;
    top: 48px !important;
    width: calc(100% - 180px) !important;
    height: 40px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-time {
    left: 100px !important;
    top: 92px !important;
    font-size: 11px !important;
    color: var(--tap-text-3) !important;
}

body .gifts-games-list .gifts-list-box > li a.get-gifts-btn,
body .gifts-games-list .gifts-list-box > li a.get-gifts {
    right: 14px !important;
    bottom: 16px !important;
}

/* 礼包卡最终布局：图标左 / 名称右上 / 按钮右上角 / 描述两行通铺 */
body .gifts-games-list .gifts-list-box > li {
    height: 118px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-name {
    left: 100px !important;
    top: 18px !important;
    width: calc(100% - 194px) !important;
    height: 22px !important;
}

body .gifts-games-list .gifts-list-box > li .gift-tab-cont {
    left: 100px !important;
    top: 46px !important;
    width: calc(100% - 116px) !important;
    height: 40px !important;
    line-height: 19px !important;
}

body .gifts-games-list .gifts-list-box > li a.get-gifts-btn,
body .gifts-games-list .gifts-list-box > li a.get-gifts {
    right: 14px !important;
    top: 16px !important;
    bottom: auto !important;
    left: auto !important;
    width: 64px !important;
    height: 26px !important;
    line-height: 26px !important;
}

/* 按钮文字（原样式依赖背景图，这里用伪元素补） */
body .gifts-games-list .gifts-list-box > li a.get-gifts-btn::after,
body .gifts-games-list .gifts-list-box > li a.get-gifts::after {
    content: "领取" !important;
    display: block !important;
    line-height: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
    color: var(--tap-on-primary) !important;
    text-align: center !important;
    background: none !important;
    position: static !important;
}

/* 描述区避开右上角按钮 */
body .gifts-games-list .gifts-list-box > li .gift-tab-cont {
    width: calc(100% - 190px) !important;
    top: 48px !important;
}

/* 标题：strong 带 float:left 会按内容宽度撑到 220px，越过父容器压到右上角「领取」按钮下面，
   强制取消浮动并铺满父宽，超出用省略号截断 */
body .gifts-games-list .gifts-list-box > li .gift-name strong {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .gifts-games-list .gifts-list-box > li .gift-name > div {
    overflow: hidden;
}

/* 礼包页顶部那条旧的“热门游戏 + 站内搜索”横幅与吸顶搜索条重复，收起 */
body .gl-sign {
    display: none !important;
}

/* 领取按钮文字：用绝对定位居中，避免被原有伪元素/缩进挤掉 */
body .gifts-games-list .gifts-list-box > li a.get-gifts-btn::after,
body .gifts-games-list .gifts-list-box > li a.get-gifts::after {
    content: "领取" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--tap-on-primary) !important;
    background: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
}

/* 礼包页内容要给吸顶条让位 */
body .gifts-games-list {
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
}

body .gifts-games-list .r-tit1 {
    margin-bottom: 12px !important;
}

/* ==========================================================================
   26. 客服中心 / 排行榜：容器父级是满宽，直接钉版心宽
   ========================================================================== */
/* kefu-b 在 .container.wrapper 内（已有标准定位），保持铺满即可；
   rel.content 是排行榜页最外层容器，直接套标准容器定位（与第 40 节一致） */
body .kefu-b {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body .rel.content {
    width: var(--x7-center-w) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: calc((100% - var(--x7-center-w) - var(--x7-side-w)) / 2) !important;
    margin-right: 0 !important;
    padding-left: calc((var(--x7-center-w) - var(--x7-col-w)) / 2) !important;
    padding-right: calc((var(--x7-center-w) - var(--x7-col-w)) / 2) !important;
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
    box-sizing: border-box;
}

@media screen and (max-width: 1439px) {
    body .rel.content {
        margin-left: calc((100% - var(--x7-center-w)) / 2) !important;
    }
}

/* 商城等页面里 .rel.content 嵌在 .container.wrapper 内，此时只做铺满 */
body .container.wrapper .rel.content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

body .container.wrapper .rel.content .wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

body .kefu-b .box1,
body .kefu-b .eq-box,
body .wrapper.panking-ou,
body .games-list-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* 客服页：常用服务 4 卡确实是 .eq-li，收紧为 2 列 */
body .kefu-b .box1 > div,
body .kefu-b .box1 > ul {
    width: 100% !important;
}

/* 排行榜：三个榜原本并排，改成纵向三段 */
body .pank-table .hd,
body .pank-table .hd ul {
    width: 100% !important;
}

body .pank-table .hd ul {
    display: flex !important;
    justify-content: center;
    gap: 8px;
}

body .pank-table .hd ul a {
    flex: 0 0 auto;
    float: none !important;
}

body .pank-table .bd .con {
    display: block !important;
}

body .pank-table-ul {
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin: 0 0 24px !important;
}

body .pank-table-ul > li {
    width: 100% !important;
}

/* 榜单条目：序号 / 图标 / 名字 / 两个按钮 */
body .pank-table-ul .pank-go {
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 0 !important;
    border-bottom: 1px dashed var(--tap-line);
}

body .pank-table-ul .pank-go-a,
body .pank-table-ul .pank-go-b {
    float: none !important;
    flex: 0 0 auto;
}

/* .box1 / .eq-box 与 .kefu-b 是兄弟节点，单独钉宽 */
body .box1,
body .eq-box {
    width: var(--x7-col-w) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* 注意：不要给 .box1 > div 统一设 grid —— .b1-left / .b1-right 是左右两栏的
   大块容器，被设成 grid 会把里面的「常用服务」「热门游戏」压成半宽。
   这里只让它们各自占满一行。 */
body .box1 > .b1-left,
body .box1 > .b1-right {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body .eq-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body .eq-li,
body .eq-box > * {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

/* 排行榜顶部三张卡：去掉额外外边距，保证一行三张 */
body .rec_p {
    gap: 12px !important;
}

body .rec_p > li {
    margin: 0 !important;
}

/* 客服页「常用服务」4 个入口 → 2 列 */
body .service_rec > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100% !important;
}

body .service_rec > ul > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
}

body .service_rec > ul > li > a {
    display: block;
    width: 100% !important;
    height: 100%;
    box-sizing: border-box;
}

body .kefu-b .b1-left,
body .kefu-b .b1-right {
    float: none !important;
    width: 100% !important;
}

body .service_rec > ul > li {
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
}

body .service_rec > ul > li img,
body .service_rec > ul > li .service-t {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

body .service_rec > ul > li p,
body .service_rec > ul > li span {
    white-space: normal !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    text-align: center;
}

body .service_rec,
body .service_rec > ul {
    overflow: hidden;
}

/* ==========================================================================
   27. 客服中心「常用服务」
   --------------------------------------------------------------------------
   style-service.css 里是 .b1-left .service_rec{width:1160px}、
   .b1-left .service_rec ul{width:1040px}、li{width:170;height:200;margin:0 45px}
   的 1200 版心写法，特异性 (0,2,0) 压过 body .service_rec，所以外层收到 672
   之后这一块仍然 1160 宽、右侧溢出。这里用同等特异性覆盖，并改成 4 列快捷卡。
   ========================================================================== */
body #nav-1 .b1-left .service_rec,
body #nav-1 .service_rec {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}

body #nav-1 .b1-left .service_rec .headline,
body #nav-1 .service_rec .headline {
    width: 100% !important;
    float: none !important;
    line-height: 1 !important;
    margin: 0 0 16px !important;
    font-size: 18px !important;
    color: var(--tap-text-1) !important;
}

body #nav-1 .b1-left .service_rec ul,
body #nav-1 .service_rec ul {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body #nav-1 .b1-left .service_rec ul li,
body #nav-1 .service_rec ul li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 22px 8px 18px !important;
    position: static !important;
    border-radius: var(--tap-radius) !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    box-sizing: border-box;
    text-align: center;
    transition: box-shadow .18s, transform .18s;
}

body #nav-1 .b1-left .service_rec ul li:hover,
body #nav-1 .service_rec ul li:hover {
    box-shadow: var(--tap-shadow-hover) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}

body #nav-1 .service_rec ul li a {
    display: block;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

body #nav-1 .b1-left .service_rec ul li img,
body #nav-1 .service_rec ul li img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 12px !important;
    padding: 0 !important;
    object-fit: contain;
}

body #nav-1 .b1-left .service_rec ul li p,
body #nav-1 .service_rec ul li p {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 20px !important;
    height: auto !important;
    margin: 0 0 4px !important;
    color: var(--tap-text-1) !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body #nav-1 .b1-left .service_rec ul li span,
body #nav-1 .service_rec ul li span {
    display: block !important;
    width: auto !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 18px !important;
    color: var(--tap-text-3) !important;
    white-space: normal;
    padding: 0 2px;
}

/* ---- 客服中心「热门游戏」：同为 1200 写死，改 3 列 ---- */
body #nav-1 .b1-left .game_rec,
body #nav-1 .game_rec {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}

body #nav-1 .b1-left .game_rec .headline,
body #nav-1 .game_rec .headline {
    width: 100% !important;
    float: none !important;
    line-height: 1 !important;
    margin: 0 0 16px !important;
}

body #nav-1 .b1-left .game_rec ul,
body #nav-1 .game_rec ul {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body #nav-1 .b1-left .game_rec ul li,
body #nav-1 .game_rec ul li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    position: static !important;
    border-radius: var(--tap-radius) !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    box-sizing: border-box;
    text-align: center;
}

body #nav-1 .game_rec ul li img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 200px;
    object-fit: cover;
    padding: 0 !important;
}

body #nav-1 .game_rec ul li p {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 22px !important;
    height: auto !important;
    margin: 8px 0 2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
}

body #nav-1 .game_rec ul li span {
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 20px !important;
    color: var(--tap-text-3) !important;
    padding-bottom: 10px !important;
}

/* .b1-left / .b1-right 若还残留浮动，拉直 */
body #nav-1 .box1 .b1-left,
body #nav-1 .box1 .b1-right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* 顶部客服横幅等比缩 */
body .kefu-b > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: var(--tap-radius-lg);
}

body .kefu-b {
    padding: 0 !important;
    margin: 0 auto 16px !important;
    background: transparent !important;
}

/* ==========================================================================
   28. 客服中心「常见问题」
   --------------------------------------------------------------------------
   模板结构是 .eq-box > ul.eq × 4，每个 ul 里：
     li.eq-li > p（标题） / div[style=height:200px] > li（条目） / a.asd（更多）
   那个内联 height:200px 是死占位，条目只有 1 条时也留 200px 空白；标题条
   是 #333 黑底，与青绿主色不搭。这里改成浅青绿标题 + 自适应高度卡片。
   ========================================================================== */
body .eq-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    width: var(--x7-col-w) !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body .eq-box > ul.eq,
body .eq-box ul.eq {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* 标题条 */
body .eq-box .eq > .eq-li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    background: var(--tap-primary-soft) !important;
    border-bottom: 1px solid var(--tap-primary-light) !important;
    box-sizing: border-box;
}

body .eq-box .eq > .eq-li p {
    height: 44px !important;
    line-height: 44px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--tap-primary-ink) !important;
    text-align: left !important;
}

/* 条目容器：干掉内联 200px 死高度 */
body .eq-box .eq > div {
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 0 !important;
    box-sizing: border-box;
}

body .eq-box .eq > div > li {
    width: 100% !important;
    height: auto !important;
    line-height: 24px !important;
    margin: 0 !important;
    padding: 7px 18px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box;
    list-style: none;
}

body .eq-box .eq > div > li > em {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
    background: var(--tap-primary);
    float: none !important;
}

body .eq-box .eq > div > li > a {
    display: inline;
    font-size: 13px !important;
    line-height: 24px !important;
    color: var(--tap-text-2) !important;
    vertical-align: middle;
}

body .eq-box .eq > div > li:hover > a {
    color: var(--tap-primary-ink) !important;
}

/* 「更多」按钮 */
body .eq-box .eq > a.asd {
    display: block !important;
    width: auto !important;
    height: 28px !important;
    line-height: 28px !important;
    margin: 10px 16px 0 auto !important;
    padding: 0 16px !important;
    position: static !important;
    float: none !important;
    background: var(--x7-yellow-light) !important;
    color: var(--x7-yellow-dark) !important;
    border-radius: var(--x7-radius-pill) !important;
    font-size: 12px !important;
    font-weight: 600;
    text-align: center !important;
    box-sizing: border-box;
}

body .eq-box .eq > a.asd:hover {
    background: var(--x7-yellow) !important;
    color: var(--tap-on-primary) !important;
}

/* style-service.css 里 .eq-box .eq 是写死 height:340px 的固定卡（原来 4 列并排
   需要等高），条目少的时候就是一大片空白。改成高度自适应。 */
body .eq-box .eq,
body .eq-box > ul.eq {
    height: auto !important;
    min-height: 0 !important;
}

/* 「更多」按钮不要撑满整行 */
body .eq-box .eq > a.asd {
    width: fit-content !important;
    min-width: 64px !important;
    margin: 12px 16px 4px auto !important;
}

/* 标题条内的 p 原为 52px 高白字居中，这里已是浅底深字 */
body .eq-box .eq > .eq-li p {
    height: 44px !important;
    line-height: 44px !important;
    text-indent: 0 !important;
}

/* 条目行的图标（cir.png 圆点）位置也重算 */
body .eq-box .eq > div > li > em {
    margin: 0 8px 0 0 !important;
    background: var(--tap-primary) !important;
    background-image: none !important;
    border-radius: 50%;
}

/* 常用服务 4 张卡等高（grid stretch 被 height:auto 打断，这里补回） */
body #nav-1 .service_rec ul {
    align-items: stretch;
}

body #nav-1 .b1-left .service_rec ul li,
body #nav-1 .service_rec ul li {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body #nav-1 .service_rec ul li a {
    flex: 1 1 auto;
}

/* ==========================================================================
   29. 右栏「热门榜单」卡（首页 index.html 新增）
   ========================================================================== */
body .x7-card-rank {
    margin-top: 16px !important;
}

body .x7-ranklist {
    margin: 0 !important;
    padding: 8px 0 12px !important;
    list-style: none;
}

body .x7-ranklist > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-ranklist > li > a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 18px !important;
    text-decoration: none;
    transition: background .16s;
}

body .x7-ranklist > li > a:hover {
    background: var(--tap-primary-soft) !important;
}

body .x7-ranklist .rk {
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--tap-text-3);
    font-style: normal;
}

body .x7-ranklist .rk.top {
    color: var(--tap-on-primary);
    background: var(--x7-yellow);
    border-radius: 6px;
    font-size: 11px;
}

/* 前三名分档：.rk 是 a 的第一个元素，:nth-child(1) 会命中全部，必须从 li 上判断 */
body .x7-ranklist > li:nth-child(1) .rk {
    background: linear-gradient(135deg, #ff7a45, #ff4d0f);
    color: #fff;
}

body .x7-ranklist > li:nth-child(2) .rk {
    background: linear-gradient(135deg, #ffa173, #ff7a45);
    color: #fff;
}

body .x7-ranklist > li:nth-child(3) .rk {
    background: linear-gradient(135deg, #ffd0b8, #ffa173);
    color: #a33a0a;
}

body .x7-ranklist img {
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
    object-fit: cover;
    display: block;
}

body .x7-ranklist .info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body .x7-ranklist .info .tit {
    display: block;
    font-size: 16px !important;
    line-height: 22px !important;
    font-weight: 400 !important;
    color: var(--tap-text-1) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-ranklist .info .type {
    display: block;
    font-size: 12px !important;
    line-height: 19px !important;
    color: var(--tap-text-3) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-ranklist .btn {
    flex: 0 0 auto;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    border-radius: var(--x7-radius-pill) !important;
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-size: 12px !important;
    text-align: center;
    white-space: nowrap;
    font-style: normal;
}

body .x7-ranklist > li > a:hover .btn {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

/* ==========================================================================
   30. 排行榜页「年度热门游戏」三张卡
   --------------------------------------------------------------------------
   li 带 margin:0 8px（来自 style.css / shop.css 的 .game_rec .rec_p li），
   3×(208+16)=672 加上 gap 就超行，第三个被挤到第二行。用 flex-basis 钉死。
   ========================================================================== */
body .game_rec .rec_p,
body .panking .rec_p,
body .rec_p {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body .game_rec .rec_p > li,
body .panking .rec_p > li,
body .rec_p > li {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
    max-width: calc((100% - 24px) / 3) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    height: auto !important;
    position: static !important;
    border-radius: var(--tap-radius) !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    box-sizing: border-box;
}

body .rec_p > li > a {
    display: block;
    width: 100% !important;
    height: auto !important;
}

/* 图片框与图片都改成宽度自适应（原为 268×180 / 250×180 固定） */
body .rec_p > li .pank-img,
body .rec_p > li p.pank-img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    overflow: hidden;
    background: var(--tap-bg) !important;
    border-radius: var(--tap-radius) var(--tap-radius) 0 0;
}

body .rec_p > li .rec_p_img,
body .rec_p > li .pank-img img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
}

body .rec_p > li .pank-tit,
body .rec_p > li p.pank-tit {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 20px !important;
    color: var(--tap-text-1) !important;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   31. 首页游戏推荐流（中列主视觉）
   --------------------------------------------------------------------------
   版式：56 图标 + 名称/标签 + 右侧胶囊按钮，一行一款，长列表铺满中列。
   -------------------------------------------------------------------------- */
body .x7-feed-card {
    padding: 8px 12px 14px !important;
    margin-bottom: 20px !important;
}

body .x7-feed-card .x7-card-hd {
    padding: 0 10px;
}

body .x7-feed-list {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-feed-list > li {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100% !important;
    height: auto !important;
    min-height: 76px;
    margin: 0 !important;
    padding: 10px !important;
    float: none !important;
    border-radius: var(--tap-radius);
    box-sizing: border-box;
    transition: background-color .16s ease;
}

body .x7-feed-list > li:hover {
    background: #fafafa;
}

body .x7-feed-list > li + li {
    box-shadow: inset 0 1px 0 var(--tap-line);
}

body .x7-feed-list .f-ico {
    flex: 0 0 56px;
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px;
    overflow: hidden;
    background: var(--tap-bg);
}

body .x7-feed-list .f-ico img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 14px;
}

body .x7-feed-list .f-info {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-feed-list .f-tit {
    display: block;
    max-width: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: var(--tap-text-1) !important;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-feed-list .f-tit:hover {
    color: var(--tap-text-1) !important; /* hover 保持游戏名本身颜色，不变黄 */
}

body .x7-feed-list .f-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0 !important;
    font-size: 12px;
    line-height: 16px;
    color: var(--tap-text-3);
}

body .x7-feed-list .f-meta span {
    display: inline-block;
    max-width: 160px;
    padding: 0 8px;
    height: 20px;
    line-height: 20px;
    border-radius: 6px;
    background: #f5f5f5;
    color: var(--tap-text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 折扣标记用琥珀黄，与橙色主色区分开 */
body .x7-feed-list .f-meta span.zhe {
    background: var(--x7-yellow-light);
    color: var(--x7-yellow-dark);
    font-weight: 700;
}

body .x7-feed-list .f-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 20px;
    border-radius: var(--x7-radius-pill);
    background: var(--tap-primary);
    color: var(--tap-on-primary) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease;
}

body .x7-feed-list .f-btn:hover {
    background: var(--tap-primary-dark);
}

/* 空数据兜底 */
body .x7-feed-list .f-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--tap-text-3);
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   32. 右栏「盒子下载」卡
   -------------------------------------------------------------------------- */
body .x7-dlcard {
    padding: 18px 18px 16px !important;
    background: linear-gradient(135deg, #ff8a3d 0%, var(--tap-primary) 55%, var(--tap-primary-dark) 100%) !important;
    color: var(--tap-on-primary);
}

body .x7-dlcard .x7-dlcard-in {
    display: flex;
    align-items: center;
    gap: 14px;
}

body .x7-dlcard .x7-dlcard-txt {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-dlcard h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #fff;
}

body .x7-dlcard p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, .85);
}

body .x7-dlcard .x7-dlcard-qr {
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px !important;
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

body .x7-dlcard .x7-dlcard-qr img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

body .x7-dlcard .x7-dlcard-btn {
    display: block;
    height: 38px;
    margin-top: 14px;
    border-radius: var(--x7-radius-pill);
    background: #fff;
    color: var(--tap-primary-ink) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
}

body .x7-dlcard .x7-dlcard-btn:hover {
    background: #fff6f0;
}

/* --------------------------------------------------------------------------
   33. 找游戏页：分类胶囊（对齐参考版式的单行标签组）
   -------------------------------------------------------------------------- */
body .x7-chips {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    float: none !important;
    width: 100% !important;
    height: auto !important;
}

body .x7-chips > a {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: #f5f5f5 !important;
    color: var(--tap-text-1) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

body .x7-chips > a:hover {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
}

body .x7-chips > a.active,
body .x7-chips > a.on {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-weight: 700 !important;
}

/* 找游戏页筛选卡：白卡 + 分类置顶 */
body .listcontent .game-select-box {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    height: auto !important;
    padding: 20px 22px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
}

body .listcontent .game-select-box > div {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 0 !important;
}

/* 游戏类型整行提到最上面（第 2 个 div） */
body .listcontent .game-select-box > div:nth-child(2) {
    order: -1;
    padding-bottom: 4px;
}

body .listcontent .game-select-box > div:nth-child(2) .game-type-title {
    display: none !important;
}

/* 其余筛选项收成一行小字 */
body .listcontent .game-select-box .game-type-title {
    float: none !important;
    display: inline-block;
    min-width: 70px;
    height: auto !important;
    line-height: 26px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--tap-text-3) !important;
}

body .listcontent .game-select-box .game-type-list:not(.x7-chips) > a {
    display: inline-block !important;
    float: none !important;
    height: 26px !important;
    padding: 0 10px !important;
    margin: 0 4px 4px 0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 26px !important;
    color: var(--tap-text-2) !important;
    background: transparent !important;
}

body .listcontent .game-select-box .game-type-list:not(.x7-chips) > a.active,
body .listcontent .game-select-box .game-type-list:not(.x7-chips) > a.on {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-weight: 600 !important;
}

body .listcontent .game-select-box .game-quantity {
    float: right !important;
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
}

/* 找游戏页顶部：只保留搜索条，收起装饰性推荐位与热门宫格 */
body.pg-find #slideBox,
body.pg-find .m-pdrc,
body.pg-find .m-sea-games .gamesWrap {
    display: none !important;
}

/* --------------------------------------------------------------------------
   34. 橙色收尾：把原站黄色/青绿残留的按钮底色统一到主色
   -------------------------------------------------------------------------- */
body .x7-search button,
body .x7-nav-item.on .ico,
body .pages .on,
body .pages a:hover {
    color: #fff;
}

body .pages .on,
body .pages a.on {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

body .x7-chip-btn,
body .ico-btn-ani.games-l-xz {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
}

/* --------------------------------------------------------------------------
   35. 找游戏页细节修正
   -------------------------------------------------------------------------- */

/* 筛选行：标题必须排在选项前面（原 css 让 .game-type-list 浮动，标题被挤到行尾） */
body .listcontent .game-select-box > div {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

body .listcontent .game-select-box > div:nth-child(2) {
    display: block !important;
}

body .listcontent .game-select-box .game-quantity {
    margin-left: auto !important;
    line-height: 26px !important;
}

/* 游戏列表：3 列等分，去掉负 margin，避免第 3 列被裁 */
body #gameslist.games-list-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body #gameslist > li {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

@media screen and (max-width: 1359px) {
    body #gameslist.games-list-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 首页首屏幻灯：独立出来后给一点下间距 */
body > .x7-layout .x7-main > #slideBox,
body .x7-main > #slideBox {
    margin: 0 0 20px !important;
    border-radius: var(--tap-radius-lg);
    overflow: hidden;
    background: #fff;
}

/* 二维码接口在部分环境不可用时的兜底 */
body .x7-dlcard .x7-dlcard-qr.noqr {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--tap-primary-ink);
    letter-spacing: .5px;
}

body .x7-dlcard .x7-dlcard-qr.noqr img {
    display: none !important;
}

body .x7-dlcard .x7-dlcard-qr.noqr::after {
    content: "扫码下载";
}

/* --------------------------------------------------------------------------
   36. 首屏幻灯独立成块（.x7-hero）
   --------------------------------------------------------------------------
   幻灯原本嵌在 .l-kuHot 里，靠 .l-kuHot .m-slideBox 的规则撑满中列。
   现在它被提到推荐流上方，需要一套等价的独立规则。
   -------------------------------------------------------------------------- */
body .x7-main > .x7-hero {
    display: block !important;
    position: relative;
    float: none !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 0 20px !important;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    background: #fff;
}

body .x7-main > .x7-hero .hd,
body .x7-main > .x7-hero .bd,
body .x7-main > .x7-hero .tempWrap {
    width: 100% !important;
    height: 360px !important;
}

body .x7-main > .x7-hero .tempWrap {
    left: 0 !important;
    overflow: hidden !important;
}

body .x7-main > .x7-hero .tempWrap > ul {
    width: 100% !important;
    height: 360px !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .x7-main > .x7-hero .tempWrap > ul > li {
    width: 100% !important;
    height: 360px !important;
    float: none !important;
}

body .x7-main > .x7-hero .tempWrap > ul > li img {
    display: block;
    width: 100% !important;
    height: 360px !important;
    object-fit: cover;
}

body .x7-main > .x7-hero .hd {
    position: absolute;
    left: 0;
    bottom: 14px;
    height: auto !important;
    text-align: center;
    z-index: 3;
}

body .x7-main > .x7-hero .hd ul {
    display: inline-flex;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   37. 找游戏列表：改成单列长条（与首页推荐流一致）
   --------------------------------------------------------------------------
   原卡片是 382×… 的绝对定位版式，塞进 672 中列会互相压叠。这里把 li 拉直成
   flex 行：图标 + 名称/标签 + 右侧按钮，尺寸全部交给 flex 计算。
   -------------------------------------------------------------------------- */
body #gameslist.games-list-box {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body #gameslist > li {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100% !important;
    height: auto !important;
    min-height: 88px;
    margin: 0 0 12px !important;
    padding: 12px 16px !important;
    float: none !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box;
}

body #gameslist > li > a {
    position: static !important;
    flex: 0 0 auto;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body #gameslist > li > a:first-of-type {
    flex: 0 0 64px;
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px;
    overflow: hidden;
    background: var(--tap-bg);
}

body #gameslist > li > a:first-of-type img,
body #gameslist > li .games-ico {
    position: static !important;
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
    object-fit: cover;
}

body #gameslist > li .games-nams-des {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body #gameslist > li .games-nams-des strong {
    display: block;
    font-size: 15px !important;
    line-height: 22px !important;
    color: var(--tap-text-1) !important;
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body #gameslist > li .games-nams-des span {
    display: block;
    margin-top: 4px;
    font-size: 12px !important;
    line-height: 18px !important;
    color: var(--tap-text-3) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分类 / 平台那张小表：只留分类文字，其余隐去，避免行高被撑乱 */
body #gameslist > li .games-info-table {
    position: static !important;
    display: block !important;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

body #gameslist > li .games-info-table tr:nth-child(2),
body #gameslist > li .games-info-table .gl-t2 {
    display: none !important;
}

body #gameslist > li .games-info-table .gl-t1 {
    display: inline-block;
    height: 20px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 12px !important;
    line-height: 20px !important;
    color: var(--tap-text-3) !important;
}

/* 右侧按钮组 */
body #gameslist > li .games-link-box {
    position: static !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
}

body #gameslist > li .games-link-box .games-l-gw,
body #gameslist > li .games-link-box .games-l-xz {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: var(--x7-radius-pill) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center;
    white-space: nowrap;
    border: 0 !important;
    background: #f2f2f2 !important;
    color: var(--tap-text-2) !important;
}

/* 下载/开始游戏保持主色实心，作为主按钮 */
body #gameslist > li .games-link-box .games-l-xz {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

body #gameslist > li .games-link-box .games-l-xz:hover {
    background: var(--tap-primary-dark) !important;
}

/* 悬停扫二维码的浮层：位置改为按钮正上方 */
body #gameslist > li .sweep_code {
    left: auto !important;
    right: 0 !important;
    top: -140px !important;
}

/* --------------------------------------------------------------------------
   38. 排行榜页：tab 与「热门游戏榜」头图重叠修正
   -------------------------------------------------------------------------- */
body .pank-table .hd {
    position: static !important;
    height: auto !important;
    margin: 0 0 14px !important;
    overflow: visible !important;
}

body .pank-table .hd ul {
    justify-content: flex-start !important;
    height: auto !important;
}

body .pank-table .bd {
    padding-top: 0 !important;
}

body .pank-table-ul > .r-tit2,
body .pank-table-ul > .r-tit1.r-tit2 {
    position: static !important;
    margin: 0 0 6px !important;
    height: 36px !important;
    line-height: 36px !important;
    overflow: hidden !important;
}

body .pank-table-ul > .r-tit2 img {
    display: block;
    max-height: 26px;
    width: auto;
    margin: 5px 0 0;
}

/* 榜单列表原本被 tap.css 限成 33%（三等分并排时代的写法），单栏版式下放开 */
body .pank-table .pank-table-ul,
body .pank-table .bd .con .pank-table-ul {
    width: 100% !important;
    min-height: 0 !important;
}

/* ==========================================================================
   39. 归一：卡片语言 / 首页首屏 / 列表行（按原站比例微调）
   ========================================================================== */

/* ---- 卡片：圆角 20、白底、纵向间距 16 ---- */
body .x7-card {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    padding: 10px 14px 24px 20px !important;
    margin: 0 0 var(--x7-card-gap) !important;
    box-sizing: border-box;
}

body .x7-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 6px 0 2px;
    margin: 0 0 12px !important;
}

body .x7-card-hd h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    color: var(--tap-text-1) !important;
}

body .x7-card-hd > a {
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
    text-decoration: none;
}

body .x7-card-hd > a:hover {
    color: var(--tap-primary-ink) !important;
}

/* ---- 首页首屏轮播：560×374，圆角 20，居中 ---- */
body .x7-main > .x7-hero {
    display: block !important;
    position: relative;
    float: none !important;
    width: 560px !important;
    max-width: 100% !important;
    height: 374px !important;
    margin: 0 auto 28px !important;
    border-radius: var(--tap-radius-lg) !important;
    overflow: hidden;
    background: #fff;
}

body .x7-main > .x7-hero .hd,
body .x7-main > .x7-hero .bd,
body .x7-main > .x7-hero .tempWrap,
body .x7-main > .x7-hero .tempWrap > ul > li {
    width: 560px !important;
    max-width: 100% !important;
    height: 374px !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* 轮播位移由脚本写在 ul 的 style 上，这里不能锁死 left / width，
   否则第一页之外的其他 banner 永远切不过去（曾被误锁成 left:0）。 */
body .x7-main > .x7-hero .tempWrap > ul {
    width: auto !important;
    max-width: none !important;
    height: 374px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body .x7-main > .x7-hero .tempWrap {
    overflow: hidden !important;
}

body .x7-main > .x7-hero .tempWrap > ul > li img {
    display: block;
    width: 100% !important;
    height: 374px !important;
    object-fit: cover;
}

body .x7-main > .x7-hero .hd {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: auto !important;
    text-align: center;
    z-index: 3;
}

body .x7-main > .x7-hero .hd ul {
    display: inline-flex;
    gap: 6px;
}

/* ---- 首页推荐流：图标 72 / 名称 19 / 元信息 12 / 按钮 80×32 ---- */
body .x7-feed-card {
    padding: 8px 8px 12px !important;
    margin-bottom: var(--x7-card-gap) !important;
}

body .x7-feed-card .x7-card-hd {
    padding: 0 14px;
}

body .x7-feed-list > li {
    display: flex !important;
    align-items: center;
    gap: 16px;
    width: 100% !important;
    height: auto !important;
    min-height: 104px;
    margin: 0 !important;
    padding: 14px 14px !important;
    float: none !important;
    border-radius: var(--tap-radius) !important;
    box-sizing: border-box;
}

body .x7-feed-list > li + li {
    box-shadow: inset 0 1px 0 var(--tap-line);
}

body .x7-feed-list .f-ico {
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px;
    overflow: hidden;
    background: var(--tap-bg);
}

body .x7-feed-list .f-ico img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 18px;
    object-fit: cover;
}

body .x7-feed-list .f-tit {
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: var(--tap-text-1) !important;
}

body .x7-feed-list .f-tit:hover {
    color: var(--tap-text-1) !important; /* hover 保持游戏名本身颜色，不变黄 */
}

body .x7-feed-list .f-meta {
    margin: 10px 0 0 !important;
    font-size: 12px !important;
    line-height: 18px !important;
    color: var(--tap-text-3) !important;
    gap: 0 !important;
}

body .x7-feed-list .f-meta span {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 18px !important;
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
    max-width: none !important;
}

body .x7-feed-list .f-meta span + span::before {
    content: "|";
    padding: 0 8px;
    color: #e2e2e2;
    font-weight: 400;
}

body .x7-feed-list .f-meta span.zhe {
    color: var(--tap-primary-ink) !important;
    font-weight: 700;
}

body .x7-feed-list .f-btn {
    flex: 0 0 80px;
    width: 80px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary)) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--tap-on-primary) !important;
}

body .x7-feed-list .f-btn:hover {
    background: linear-gradient(315deg, var(--tap-primary), var(--tap-primary-dark)) !important;
}

/* ---- 右栏：榜单 / 下载卡 ---- */
body .x7-ranklist > li > a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 6px !important;
    border-radius: var(--tap-radius);
}

body .x7-ranklist > li > a:hover {
    background: #fafafa;
}

body .x7-ranklist > li .rk {
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    border-radius: 6px;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 20px !important;
    text-align: center;
    background: #f2f2f2;
    color: #999;
}

body .x7-ranklist > li:nth-child(1) .rk { background: linear-gradient(135deg, #ff7a45, #ff4d0f); color: #fff; }
body .x7-ranklist > li:nth-child(2) .rk { background: linear-gradient(135deg, #ffa173, #ff7a45); color: #fff; }
body .x7-ranklist > li:nth-child(3) .rk { background: linear-gradient(135deg, #ffd0b8, #ffa173); color: #a33a0a; }

body .x7-ranklist > li img {
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px;
    object-fit: cover;
}

body .x7-ranklist > li .tit {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--tap-text-1) !important;
}

body .x7-ranklist > li .type {
    font-size: 12px !important;
    color: var(--tap-text-3) !important;
    line-height: 18px !important;
}

body .x7-ranklist > li .btn {
    flex: 0 0 auto;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 14px !important;
    border-radius: 20px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 12px !important;
    text-align: center;
}

/* 下载卡 */
body .x7-dlcard {
    padding: 18px 20px 20px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
}

body .x7-dlcard h4 {
    color: var(--tap-text-1) !important;
    font-size: 16px !important;
}

body .x7-dlcard p {
    color: var(--tap-text-3) !important;
}

body .x7-dlcard .x7-dlcard-qr {
    border: 1px solid var(--tap-border);
}

body .x7-dlcard .x7-dlcard-btn {
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary)) !important;
    color: var(--tap-on-primary) !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0;
}

/* ---- 找游戏列表：与首页同一套行语言 ---- */
body #gameslist > li {
    min-height: 104px;
    padding: 14px 16px !important;
    border-radius: var(--tap-radius-lg) !important;
}

body #gameslist > li > a:first-of-type,
body #gameslist > li > a:first-of-type img,
body #gameslist > li .games-ico {
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
}

body #gameslist > li .games-nams-des strong {
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
}

body #gameslist > li .games-info-table .gl-t1 {
    background: transparent !important;
    padding: 0 !important;
    color: var(--tap-text-3) !important;
    font-size: 12px !important;
}

body #gameslist > li .games-link-box .games-l-gw {
    background: transparent !important;
    color: var(--tap-text-3) !important;
    padding: 0 10px !important;
}

body #gameslist > li .games-link-box .games-l-xz {
    width: 80px;
    padding: 0 !important;
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary)) !important;
    font-weight: 400 !important;
}

/* ---- 找游戏筛选卡：白卡 + 分类胶囊（胶囊高 40、圆角 20） ---- */
body .listcontent .game-select-box {
    padding: 20px 24px 24px !important;
    margin-bottom: var(--x7-card-gap) !important;
}

body .x7-chips > a {
    height: 40px !important;
    padding: 0 22px !important;
    border-radius: 20px !important;
    font-size: 15px !important;
}

body .inside-search,
body .searchWrap {
    border-radius: var(--tap-radius-lg) !important;
}

/* --------------------------------------------------------------------------
   40. 非首页页面的中列定位
   --------------------------------------------------------------------------
   只有首页包了 .x7-layout。其余页面直接挂在 .container.wrapper 上，样式表里
   还带着原来的 `width:1200px; margin:0 auto`，会把内容推到版心中间并溢出。
   这里统一改成「与首页中列同一 x 坐标」，保证首页 / 列表 / 内容页左边缘对齐。
   -------------------------------------------------------------------------- */
body .container.wrapper:not(.x7-main),
body .wrapper:not(.x7-main):not(.panking-ou),
body .warpper:not(.x7-main),
body .wid12,
body .w1200,
body .gifts-games-list.wid12 {
    width: var(--x7-center-w) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: calc((100% - var(--x7-center-w) - var(--x7-side-w)) / 2) !important;
    margin-right: 0 !important;
    padding-left: calc((var(--x7-center-w) - var(--x7-col-w)) / 2) !important;
    padding-right: calc((var(--x7-center-w) - var(--x7-col-w)) / 2) !important;
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
    box-sizing: border-box;
}

@media screen and (max-width: 1439px) {
    body .container.wrapper:not(.x7-main),
    body .wrapper:not(.x7-main):not(.panking-ou),
    body .warpper:not(.x7-main),
    body .wid12,
    body .w1200,
    body .gifts-games-list.wid12 {
        margin-left: calc((100% - var(--x7-center-w)) / 2) !important;
    }
}

/* 内容页/列表页顶部的旧面包屑与小标题统一到卡片语言 */
body .container.wrapper:not(.x7-main) > .pd10,
body .container.wrapper:not(.x7-main) > .rBg {
    background: transparent !important;
    padding: 0 !important;
}

/* 列表页：去掉 .listcontent 的 20px 内边距，让筛选卡 / 列表 / 顶部搜索卡同宽 608 */
body .listcontent {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 找游戏页不再重复一个搜索模块（顶栏已有），直接从分类卡开始 */
body.pg-find .m-sea-games {
    display: none !important;
}

body.pg-find .listcontent {
    margin-top: 0 !important;
}

/* 找游戏行：名称链接必须可收缩，否则长标题把按钮顶出卡片 */
body #gameslist > li > a:nth-of-type(2) {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden;
}

body #gameslist > li .games-nams-des,
body #gameslist > li .games-nams-des strong {
    max-width: 100%;
}

body #gameslist > li .games-link-box {
    flex: 0 0 auto;
}

/* 按钮组不再用 auto 外边距抢空间，改由名称列自然撑开 */
body #gameslist > li .games-link-box {
    margin: 0 !important;
}

/* 找游戏列表：整列做成一张白卡（与首页推荐流一致），行之间用细线分隔 */
body #gameslist.games-list-box {
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    padding: 8px !important;
    margin: 0 0 var(--x7-card-gap) !important;
    box-sizing: border-box;
}

body #gameslist > li {
    background: transparent !important;
    border-radius: var(--tap-radius) !important;
    margin: 0 !important;
    box-shadow: none !important;
}

body #gameslist > li:hover {
    background: #fafafa !important;
    transform: none !important;
}

body #gameslist > li + li {
    box-shadow: inset 0 1px 0 var(--tap-line) !important;
}

/* 商城「推荐单品」卡被旧样式定成 1160px，铺满中列即可 */
body .game_rec_b {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   41. 白底 + 红橙主色
   --------------------------------------------------------------------------
   页面底色改为白色后，原本「灰底衬白卡」的层次会塌掉，这里给所有卡片面
   补 1px 描边，并把导航选中态从「白底」改为浅红橙底。
   ========================================================================== */

/* ---- 页面底 ---- */
body,
.x7-side,
.x7-topbar {
    background: var(--tap-page-bg) !important;
}

/* ---- 左导航：白底下的选中态 ---- */
.x7-nav-item.on {
    background: var(--tap-primary-light) !important;
    color: #1f2329 !important;
}

.x7-nav-item.on .ico {
    filter: saturate(1.15);
}

.x7-nav-item:hover {
    background: #f7f7f7;
}

/* ---- 顶部搜索条：白底需要描边 ---- */
.x7-search {
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
}

/* ---- 卡片面统一描边 ---- */
body .x7-card,
body .x7-feed-card,
body .x7-dlcard,
body .listcontent .game-select-box,
body #gameslist.games-list-box,
body .pank-table,
body .game_rec_b,
body .eq-box,
body .gifts-games-list .gifts-list-box,
body .rec_p > li {
    border: 1px solid var(--tap-border) !important;
    box-sizing: border-box;
}

/* 首页轮播本身有图，加浅描边更整齐 */
body .x7-main > .x7-hero {
    border: 1px solid var(--tap-border);
}

/* ---- 列表行：白卡之间用分隔线，避免全白 ---- */
body .x7-feed-list > li + li,
body #gameslist > li + li {
    box-shadow: inset 0 1px 0 var(--tap-line) !important;
}

body .x7-feed-list > li:hover,
body #gameslist > li:hover {
    background: #fffaf7 !important;
}

/* ---- 榜单序号配色跟随红橙主色 ---- */
body .x7-ranklist > li:nth-child(1) .rk { background: linear-gradient(135deg, #ff7a45, #ff4d0f); }
body .x7-ranklist > li:nth-child(2) .rk { background: linear-gradient(135deg, #ffa173, #ff7a45); }
body .x7-ranklist > li:nth-child(3) .rk { background: linear-gradient(135deg, #ffd0b8, #ffa173); color: #a33a0a; }

/* ---- 分类胶囊选中态用浅红橙 ---- */
body .x7-chips > a.active,
body .x7-chips > a.on,
body .listcontent .game-select-box .game-type-list:not(.x7-chips) > a.active,
body .listcontent .game-select-box .game-type-list:not(.x7-chips) > a.on {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
}

/* ---- 主按钮统一红橙渐变 ---- */
body .x7-search button,
body .x7-feed-list .f-btn,
body .x7-dlcard .x7-dlcard-btn,
body #gameslist > li .games-link-box .games-l-xz,
body .game_list .down_sub,
body .pages .on,
body .pages a.on,
body .x7-chip-btn {
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary)) !important;
    border-color: var(--tap-primary-ink) !important;
    color: var(--tap-on-primary) !important;
}

body .x7-search button:hover,
body .x7-feed-list .f-btn:hover,
body #gameslist > li .games-link-box .games-l-xz:hover {
    background: linear-gradient(315deg, var(--tap-primary), var(--tap-primary-dark)) !important;
}

/* ---- 右栏「下载」小按钮 ---- */
body .x7-ranklist > li .btn {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

/* 排行榜「年度热门游戏」外层自带 20px 内边距，比同列卡片窄一圈，去掉 */
body .wrapper.panking-ou {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* 老样式自带 30px 上边距，会让榜单比其它页低一截，全站统一贴到 104 */
    margin-top: 0 !important;
    margin-bottom: var(--x7-card-gap) !important;
}

body .wrapper.panking-ou > .b1-left {
    width: 100% !important;
}

/* ==========================================================================
   42. x7sy 原站细节对齐（导航层 / 吸顶层 / 轮播 / 榜单）
   -------------------------------------------------------------------------- */

/* ---- 42.1 左侧导航列 + 顶部吸顶条：还原原站的浅灰底 ----
   原站 .nav_container / .content_bar / .right_bar 背景都是 #f5f5f5，
   白色只出现在卡片上。页面主体保持白底，这里把导航列与吸顶条改回浅灰，
   卡片靠 1px 描边区分层次。 */
.x7-side {
    background: #f5f5f5 !important;
}

.x7-topbar {
    background: #f5f5f5 !important;
}

/* 选中项：原站是白底 + 主色字 */
.x7-nav-item.on {
    background: #fff !important;
    color: #1f2329 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.x7-nav-item:hover {
    background: #ebebeb !important;
    color: var(--tap-text-1) !important;
}

/* 灰条上的搜索框仍是白色胶囊 */
.x7-search {
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
}

/* ---- 42.2 首页轮播：与下方内容卡同宽（原站 hero 是满栏的） ---- */
body .x7-main > .x7-hero {
    width: 100% !important;
    max-width: 100% !important;
    height: 406px !important;
}

body .x7-main > .x7-hero .hd,
body .x7-main > .x7-hero .bd,
body .x7-main > .x7-hero .tempWrap,
body .x7-main > .x7-hero .tempWrap > ul > li {
    width: 100% !important;
    max-width: 100% !important;
    height: 406px !important;
}

body .x7-main > .x7-hero .tempWrap > ul > li img {
    height: 406px !important;
}

/* ---- 42.3 排行榜 tab：原站是紧凑小胶囊，不要拉成一整排大按钮 ---- */
body .pank-table .hd ul {
    gap: 10px !important;
    justify-content: flex-start !important;
}

body .pank-table .hd ul li {
    width: 100px !important;
    box-sizing: border-box;
    min-width: 100px;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    border-radius: 15px !important;
    background: #f5f5f5 !important;
    color: var(--tap-text-2) !important;
    float: none !important;
}

body .pank-table .hd ul li.on {
    background: linear-gradient(315deg, #ff8a3d, var(--tap-primary)) !important;
    color: var(--tap-on-primary) !important;
}

/* ---- 42.4 排行榜标题：彩色艺术字换成原站的文字标题 ---- */
body .pank-table-ul > .r-tit2 {
    height: 46px !important;
    line-height: 46px !important;
    margin: 0 0 6px !important;
    border: 0 !important;
    background: none !important;
    text-align: left !important;
}

body .pank-table-ul > .r-tit2 img {
    display: none !important;
}

body .pank-table-ul > .r-tit2::after {
    display: block;
    font-size: 18px !important;
    font-weight: 700;
    color: var(--tap-text-1);
}

body .pank-table-ul > .pk-tit-hot::after { content: "热门游戏榜"; }
body .pank-table-ul > .pk-tit-new::after { content: "新游期待榜"; }
body .pank-table-ul > .pk-tit-most::after { content: "玩家最期待榜"; }

/* ---- 42.5 排行榜条目：flex 排版 + 左侧圆形序号（原站是序号在左、按钮在右） ---- */
body .pank-table .pank-table-ul {
    counter-reset: x7rank;
}

body .pank-table .pank-table-ul > li {
    position: relative;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    height: auto !important;
    min-height: 76px;
    padding: 12px 0 12px 30px !important;
    margin: 0 !important;
    counter-increment: x7rank;
}

/* 封面 / 名称+类型 / 按钮：三列定位，类型与评分落到名称下方 */
body .pank-table .pank-table-ul > li .games-ico {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: static !important;
    flex: 0 0 56px;
    width: 56px !important;
    height: 56px !important;
}

body .pank-table .pank-table-ul > li::before {
    content: counter(x7rank);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background: #c1c1cb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

body .pank-table .pank-table-ul > li:nth-child(1)::before { background: linear-gradient(135deg, #ff7a45, #ff4d0f); }
body .pank-table .pank-table-ul > li:nth-child(2)::before { background: linear-gradient(135deg, #ffa173, #ff7a45); }
body .pank-table .pank-table-ul > li:nth-child(3)::before { background: linear-gradient(135deg, #ffd0b8, #ffa173); color: #a33a0a; }

/* 原来的序号贴图（会压住封面）不再使用 */
body .pank-table .pank-table-ul > li .pk-sx {
    display: none !important;
}

body .pank-table .pank-table-ul > li .games-ico {
    position: static !important;
    flex: 0 0 56px;
    width: 56px !important;
    height: 56px !important;
}

body .pank-table .pank-table-ul > li .games-ico img {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover;
    border-radius: 12px !important;
}

/* 名称列占满剩余空间，不再被写死成 132px 而截断 */
body .pank-table .pank-table-ul > li > a:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: block;
}

body .pank-table .pank-table-ul > li p.games-name {
    position: static !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    line-height: 1.4 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .pank-table .pank-table-ul > li table {
    grid-column: 2;
    grid-row: 2;
    position: static !important;
    width: auto !important;
}

body .pank-table .pank-table-ul > li .pank-go {
    grid-column: 3;
    grid-row: 1 / span 2;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    gap: 8px;
    padding: 0 !important;
    border-bottom: 0 !important;
}

body .pank-table .pank-table-ul > li .pank-go-a {
    width: auto !important;
    min-width: 76px;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 12px !important;
    white-space: nowrap;
    border-radius: 999px !important;
    border: 1px solid var(--tap-border) !important;
    color: var(--tap-text-2) !important;
    font-size: 12px !important;
}

body .pank-table .pank-table-ul > li .pank-go-a:hover {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* ---- 42.6 白底页面：原来的白卡没有描边会「陷」进背景，补 1px 边框 ---- */
body .pd10,
body .rBg.pd10,
body .rel.content > .pd10,
body .games-details .pd10 {
    border: 1px solid var(--tap-border) !important;
    box-sizing: border-box;
}

/* ---- 42.7 详情页：小标题（游戏介绍 / 游戏截图…）跟原站一样是左对齐黑体 ---- */
body .r-tit1.r-tit2 {
    text-align: left !important;
}

body .r-tit1.r-tit2 h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--tap-text-1) !important;
    line-height: 40px !important;
    height: 40px !important;
}

/* ---- 42.8 详情页游戏头部：原站是浅色卡片，这里把深色大图换成白卡 ---- */
body .m-games {
    height: auto !important;
    min-height: 0 !important;
    background: #fff !important;
    border: 1px solid var(--tap-border) !important;
    border-radius: var(--tap-radius-lg);
    padding: 20px !important;
    box-sizing: border-box;
    margin-bottom: var(--x7-card-gap) !important;
}

body .m-games .w-bgimgBox,
body .m-games .w-bgcov,
body .m-games .m-rank-medal {
    display: none !important;
}

body .m-games .w-gamesInfo {
    position: relative;
    z-index: 2;
}

body .m-games .w-gamesInfo dt img {
    border-radius: 12px;
}

body .m-games .w-gamesInfo h1 {
    color: var(--tap-text-1) !important;
}

body .m-games .w-gamesInfo .bin li {
    color: var(--tap-text-3) !important;
}

body .m-games .w-gamesInfo .bin li a {
    color: var(--tap-text-2) !important;
}

body .m-games .w-gamesInfo .interfix-pd a {
    color: var(--tap-text-2) !important;
    border-color: var(--tap-border) !important;
    background: #f5f5f5 !important;
}

body .m-games .w-gamesInfo .interfix-pd a:hover {
    background: #ebebeb !important;
}

/* 深色大图换成白卡后，里面的文字/胶囊要一起换成深色（选择器与 tap.css 对齐） */
body .games-details .m-games .w-gamesInfo dd .info h1 {
    color: var(--tap-text-1) !important;
    text-shadow: none !important;
}

body .games-details .m-games .w-gamesInfo .bin li {
    background: #f5f5f5 !important;
    color: var(--tap-text-2) !important;
}

body .games-details .m-games .w-gamesInfo .bin li a {
    color: var(--tap-text-1) !important;
}

body .games-details .m-games .interfix-pd a {
    background: #f5f5f5 !important;
    color: var(--tap-text-2) !important;
}

body .games-details .m-games .interfix-pd a:hover {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

/* ==========================================================================
   43. 版式按参考截图重做：暖黄底 + 白卡 + 青绿主色
   --------------------------------------------------------------------------
   与上一版（白底 + 红橙）的差别，全部集中在这一节：
     1. 页面底色 #fff6dc（暖黄），只有卡片是白的（圆角 16），导航列不再是白条
     2. 左导航：无卡片底，选中项是白色胶囊 + 青绿字，图标灰化、选中转青绿
     3. 顶部搜索：白色胶囊（48 高、无描边），放大镜在左、无文字按钮
     4. 中列一张白卡：推荐标题 + 满栏 hero（今日首发角标）+ 88px 大图标列表
     5. 右栏：热门游戏（无序号）+ 下载卡（二维码 + 青绿按钮）
   回滚到红橙：把 --tap-primary 三个变量换回 #ff5a1f / #e8430d / #fff0e8
   ========================================================================== */

/* ---- 43.1 变量 ---- */
:root {
    --tap-primary: #f9da01;      /* 品牌主色：logo 黄（取自 App 图标 #F9DA01） */
    --tap-primary-dark: #e8c400; /* hover / 深一档填充 */
    --tap-primary-ink: #a07c00;  /* 主色作「文字 / 图标」时的深金，保证可读 */
    --tap-on-primary: #111111;   /* 黄底上的文字：黑字（按用户要求） */
    --tap-primary-light: #fffbd7;
    --tap-primary-soft: #fffef0;
    --x7-primary-rgb: 249, 218, 1;

    --x7-orange: #ff9a1f;        /* 只用于「福利」这类点缀字 */

    --tap-text-1: #1f2329;
    --tap-text-2: #4b5563;
    --tap-text-3: #9aa0a6;
    --tap-border: #ececf0;
    --tap-line: #f2f3f5;

    --tap-page-bg: #f0f1f4;   /* 全站页面底色（灰底白卡，已还原） */
    --x7-bar-bg: #ffffff;     /* 顶部通栏：白，与卡片一致 */
    --tap-card-bg: #fff;
    --tap-radius-lg: 16px;
}

/* ---- 43.2 底板：整页浅灰，导航列透明 ---- */
body {
    background: var(--tap-page-bg) !important;
}

.x7-side {
    background: transparent !important;
}

.x7-topbar {
    background: #fff !important;
    box-shadow: inset 0 -1px 0 rgba(23, 43, 63, .06);
}

.x7-logo {
    padding-left: 16px;
    margin-bottom: 10px !important;
}

.x7-logo img {
    max-width: 132px !important;
    max-height: 34px !important;
    border-radius: 10px;
}

/* ---- 43.3 左导航：胶囊项 / 选中白底青绿字 ---- */
.x7-nav {
    gap: 2px;
}

.x7-nav-item {
    height: 50px;
    padding: 0 16px;
    border-radius: 999px !important;
    color: #1f2329 !important;
    font-weight: 600;
}

.x7-nav-item span {
    font-size: 17px !important;
    font-weight: 600;
    padding-left: 14px !important;
}

/* 黄色线稿图标：未选中灰化，选中转青绿 */
.x7-nav-item .ico {
    filter: grayscale(1) brightness(.72) opacity(.55);
    transition: filter .18s ease, transform .18s ease;
}

.x7-nav-item:hover {
    background: #fff !important;
    color: var(--tap-text-1) !important;
}

.x7-nav-item:hover .ico {
    filter: grayscale(1) brightness(.55) opacity(.75);
}

.x7-nav-item.on {
    background: #fff !important;
    color: #1f2329 !important;
    box-shadow: 0 2px 10px rgba(23, 43, 63, .06) !important;
}

.x7-nav-item.on .ico {
    filter: grayscale(0) brightness(1) saturate(1.1);
    opacity: 1;
}

/* ---- 43.4 顶部搜索：白色胶囊，放大镜在左，无文字按钮 ---- */
.x7-search {
    position: relative;
    flex: 0 0 var(--x7-col-w);
    height: 48px;
    padding: 0 20px 0 52px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    gap: 0;
    box-shadow: 0 1px 2px rgba(23, 43, 63, .03);
}

.x7-search::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9aeb8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.8'/%3E%3Cpath d='M15.6 15.6 20.5 20.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.x7-search input[type="text"] {
    height: 100%;
    font-size: 15px;
    color: var(--tap-text-1);
}

.x7-search input[type="text"]::placeholder {
    color: #a9aeb8;
}

/* 文字按钮隐藏，放大镜区域就是提交按钮 */
.x7-search button {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 44px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent !important;
    font-size: 0;
    color: transparent;
    cursor: pointer;
}

.x7-search button:hover {
    background: transparent !important;
}

/* ---- 43.5 卡片：白底、16 圆角、无描边（灰底已足够分层） ---- */
body .x7-card,
body .x7-feed-card,
body .x7-dlcard {
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: none !important;
    padding: 18px 20px 12px !important;
}

body .x7-card-hd {
    height: 34px;
    padding: 0 !important;
    margin: 0 0 10px !important;
}

body .x7-card-hd h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    color: var(--tap-text-1) !important;
    letter-spacing: .2px;
}

body .x7-card-hd > a {
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
}

body .x7-card-hd > a::after {
    content: "›";
    margin-left: 3px;
    font-size: 15px;
    vertical-align: -1px;
}

/* ---- 43.6 中列 hero：卡片内满栏，今日首发角标 + 底部渐隐标题 ---- */
body .x7-feed-card .x7-hero,
body .x7-main > .x7-hero {
    display: block !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 302px !important;
    margin: 0 0 4px !important;
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: #eef0f2;
}

/* 注意：ul / li 的宽度必须交给 SuperSlide 脚本算（脚本按 li 实际宽度求总宽），
   CSS 里只能锁高度，否则 li 会被挤成竖排、切换后只剩空白。 */
body .x7-feed-card .x7-hero .bd,
body .x7-feed-card .x7-hero .tempWrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 302px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .x7-feed-card .x7-hero .tempWrap > ul {
    height: 302px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .x7-feed-card .x7-hero .tempWrap > ul > li {
    /* 固定 = 中列内容宽 - 卡片左右内边距 20*2，与 Hero 同宽。
       必须写死像素：SuperSlide 用 parseInt 读内联样式，calc() 会得到 NaN，
       算出的总宽和位移就错位，每页会露出相邻的两张。
       716 - 40 = 676（≤1679 屏的 636 在 43.19 里覆盖） */
    width: 676px !important;
    height: 302px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .x7-feed-card .x7-hero .tempWrap > ul > li > a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

body .x7-feed-card .x7-hero .tempWrap > ul > li img {
    display: block;
    width: 100% !important;
    height: 302px !important;
    object-fit: cover;
    border-radius: 0 !important;
}

/* 今日首发 */
body .x7-hero .x7-hero-tag {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    padding: 9px 18px;
    border-radius: 14px 0 14px 0;
    background: rgba(126, 96, 72, .92);
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

/* 底部渐隐 + 游戏名 */
body .x7-hero .tempWrap > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .52) 100%);
    pointer-events: none;
}

body .x7-hero .tempWrap > ul > li > a > span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 3;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    text-align: left;
    font-size: 18px !important;
    line-height: 24px !important;
    color: #fff !important;
}

body .x7-hero .tempWrap > ul > li > a > span i {
    font-style: normal;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

/* 分页点：右下角小胶囊 */
body .x7-hero .hd {
    position: absolute;
    left: auto !important;
    right: 20px;
    bottom: 18px;
    height: auto !important;
    z-index: 4;
    text-align: right;
}

body .x7-hero .hd ul {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body .x7-hero .hd ul li {
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55) !important;
    font-size: 0;
    transition: width .2s ease, background-color .2s ease;
}

body .x7-hero .hd ul li.on {
    width: 18px !important;
    background: #fff !important;
}

/* ---- 43.7 推荐列表：88 图标 / 18 名称 / 13 元信息 / 青绿徽章 ---- */
body .x7-feed-card {
    padding: 18px 20px 10px !important;
}

body .x7-feed-card .x7-card-hd {
    height: 30px;
    margin: 0 0 6px !important;
}

body .x7-feed-card .x7-card-hd h3 {
    font-size: 20px !important;
    line-height: 30px !important;
}

body .x7-feed-list {
    margin: 0 !important;
}

body .x7-feed-list > li {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 15px 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body .x7-feed-list > li + li {
    box-shadow: none !important;
}

body .x7-feed-list > li:hover {
    background: transparent !important;
}

body .x7-feed-list .f-ico {
    flex: 0 0 88px;
    width: 88px !important;
    height: 88px !important;
    border-radius: 22px;
    overflow: hidden;
    background: var(--tap-line);
}

body .x7-feed-list .f-ico img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 22px;
    object-fit: cover;
}

body .x7-feed-list .f-info {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

body .x7-feed-list .f-tit {
    display: block;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .x7-feed-list .f-tit:hover {
    color: var(--tap-text-1) !important; /* hover 保持游戏名本身颜色，不变黄 */
}

body .x7-feed-list .f-meta {
    display: flex;
    align-items: center;
    margin: 7px 0 0 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    color: var(--tap-text-3) !important;
}

body .x7-feed-list .f-meta span {
    font-size: 13px !important;
    line-height: 20px !important;
    color: var(--tap-text-3) !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

body .x7-feed-list .f-meta span + span::before {
    content: "|";
    padding: 0 8px;
    color: #dcdfe4;
}

/* 右侧徽章：实心黄底 + 黑字、无边框（「免费版」/「0.1折」统一） */
body .x7-feed-list .f-btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    padding: 7px 15px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

body .x7-feed-list .f-btn:hover {
    background: var(--tap-primary-dark) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* 折扣款用实底，和「免费版」区分开 */
body .x7-feed-list .f-btn.is-zk {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* ---- 43.8 右栏：热门游戏列表（无序号） ---- */
body .x7-aside .x7-card {
    margin-bottom: 14px !important;
}

body .x7-card-rank {
    padding: 18px 16px 8px !important;
}

body .x7-ranklist {
    margin: 0 !important;
}

body .x7-ranklist > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .x7-ranklist > li > a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 4px !important;
    border-radius: 12px;
}

body .x7-ranklist > li > a:hover {
    background: #f7f8fa !important;
}

body .x7-ranklist > li .rk {
    display: none !important;
}

body .x7-ranklist > li img {
    flex: 0 0 58px;
    width: 58px !important;
    height: 58px !important;
    border-radius: 15px;
    object-fit: cover;
}

body .x7-ranklist > li .info {
    flex: 1 1 auto;
    min-width: 0;
    display: block !important;
}

body .x7-ranklist > li .tit {
    display: block;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 21px !important;
    color: var(--tap-text-1) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .x7-ranklist > li .type {
    display: block;
    margin-top: 3px;
    font-size: 12px !important;
    line-height: 17px !important;
    color: var(--tap-text-3) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .x7-ranklist > li .btn {
    flex: 0 0 auto;
    height: auto !important;
    line-height: 1 !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

/* ---- 43.9 右栏下载卡 ---- */
body .x7-dlcard {
    padding: 18px 18px 16px !important;
}

body .x7-dlcard-in {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.x7-dlcard-txt h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 26px !important;
    color: var(--tap-text-1) !important;
}

.x7-dlcard-logo {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffe14d, #f9da01);
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
}

.x7-dlcard-txt p {
    margin: 6px 0 0 !important;
    font-size: 13px !important;
    line-height: 19px !important;
    color: var(--tap-text-2) !important;
}

.x7-dlcard-txt p em {
    color: var(--x7-orange);
    font-style: normal;
    font-weight: 700;
}

body .x7-dlcard .x7-dlcard-qr,
body .x7-dlcard .x7-dlcard-qr img {
    flex: 0 0 76px;
    width: 76px !important;
    height: 76px !important;
    border: 0 !important;
    border-radius: 8px;
}

body .x7-dlcard .x7-dlcard-btn {
    display: block;
    margin-top: 14px;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center;
}

body .x7-dlcard .x7-dlcard-btn:hover {
    background: var(--tap-primary-dark) !important;
}

/* ---- 43.10 开服卡与备案 ---- */
body .x7-card-servers {
    padding: 16px 16px 6px !important;
}

.x7-icp {
    padding: 2px 6px 0;
    font-size: 12px;
    line-height: 20px;
    color: #a8adb7;
}

.x7-icp p {
    margin: 0;
}

.x7-icp a {
    color: #a8adb7;
    text-decoration: none;
}

/* ---- 43.11 其余页面的卡片面：灰底上统一白卡 ---- */
body .listcontent .game-select-box,
body #gameslist.games-list-box,
body .pank-table,
body .game_rec_b,
body .eq-box,
body .gifts-games-list .gifts-list-box,
body .rec_p > li,
body .x7-chips {
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: none !important;
}

/* 主按钮 / 胶囊统一青绿 */
body .x7-chip-btn,
body .x7-feed-list .f-btn,
body .pages .on,
body .pages a.on,
body .games-link-box .games-l-xz,
body .game_list .down_sub {
    border-radius: 999px !important;
}

body .pages .on,
body .pages a.on,
body .game_list .down_sub,
body .games-link-box .games-l-xz {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* ---- 43.12 找游戏顶部：一行文字分类 tab（选中浅青底） ---- */
body .listcontent .game-select-box {
    padding: 6px 20px 12px !important;
    margin: 0 0 14px !important;
    border: 0 !important;
    border-radius: var(--tap-radius-lg) !important;
    background: #fff !important;
    box-sizing: border-box;
}

body .game-select-box .game-type {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .game-select-box .game-type-main {
    min-height: 46px;
}

body .game-select-box .game-type-title {
    flex: 0 0 68px;
    font-size: 13px !important;
    line-height: 20px !important;
    color: #a9aeb8 !important;
}

/* 分类 tab：横排、可横向滚动，不换行 */
body .x7-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 6px 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
}

body .x7-chips::-webkit-scrollbar {
    display: none;
}

body .x7-chips > a {
    flex: 0 0 auto;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #5b616e !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    white-space: nowrap;
}

body .x7-chips > a:hover {
    color: var(--tap-primary-ink) !important;
}

body .x7-chips > a.on,
body .x7-chips > a.active {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
    font-weight: 700 !important;
}

/* 其它筛选行：小号文字链接，不用胶囊 */
body .game-select-box .game-type-list:not(.x7-chips) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 18px;
}

body .game-select-box .game-type-list:not(.x7-chips) > a {
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 13px !important;
}

body .game-select-box .game-type-list:not(.x7-chips) > a:hover {
    color: var(--tap-primary-ink) !important;
}

body .game-select-box .game-type-list:not(.x7-chips) > a.on,
body .game-select-box .game-type-list:not(.x7-chips) > a.active {
    background: transparent !important;
    color: var(--tap-primary-ink) !important;
    font-weight: 700 !important;
}

body .game-select-box .game-quantity {
    margin-left: auto;
    font-size: 12px !important;
    color: #a9aeb8 !important;
}

/* ---- 43.13 找游戏列表：与首页同一套行语言（选择器带上 #gameslist 压过第 39 节） ---- */
body .listcontent .game-select-box .game-type-title {
    display: inline-block !important;
}

body #gameslist.x7-feed-list > li,
body #gameslist > li {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-height: 0 !important;
    padding: 15px 0 !important;
    background: transparent !important;
}

body #gameslist > li > a.f-ico,
body #gameslist > li > a:first-of-type,
body #gameslist > li .games-ico {
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 88px !important;
    border-radius: 22px !important;
    overflow: hidden;
}

body #gameslist > li > a.f-ico img,
body #gameslist > li > a:first-of-type img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 22px !important;
    object-fit: cover;
}

body #gameslist .f-tit,
body #gameslist > li .games-nams-des strong {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    color: var(--tap-text-1) !important;
}

body #gameslist .f-meta {
    margin-top: 7px !important;
    font-size: 13px !important;
    color: var(--tap-text-3) !important;
}

body #gameslist .f-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 7px 15px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body #gameslist .f-btn:hover {
    background: var(--tap-primary-dark) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* 页脚翻页按钮跟随青绿 */
body .games-list-pages .on,
body .games-list-pages a.on {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

/* 「运营平台:」等行标签：压过第 39 节按 nth-child 隐藏的规则 */
body .listcontent .game-select-box > div:nth-child(2) .game-type-title,
body .listcontent .game-select-box > div .game-type-title {
    display: inline-block !important;
    flex: 0 0 68px;
    float: none !important;
}

/* 筛选行顺序回到 DOM 顺序（旧规则把第 2 行强制提到最前），并统一 flex 布局 */
body .listcontent .game-select-box > div {
    order: 0 !important;
}

body .listcontent .game-select-box > div.game-type,
body .listcontent .game-select-box > div.game-theme {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
}

/* 首字母等长列表：标签顶对齐，字母多行自然换行 */
body .listcontent .game-select-box > div.game-theme {
    align-items: flex-start !important;
    padding: 4px 0 !important;
}

body .listcontent .game-select-box > div.game-theme .game-type-title {
    line-height: 24px !important;
    min-width: 68px;
}

body .listcontent .game-select-box > div.game-theme .game-type-list:not(.x7-chips) {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
}

/* ---- 43.14 游戏详情页：整幅头图 + 大图标 + 福利条 + 大下载按钮 ---- */
body .rBg-hs {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

/* 头图 */
body .x7-detail-banner {
    position: relative;
    width: 100%;
    height: 322px;
    margin: 0 0 14px !important;
    border-radius: var(--tap-radius-lg);
    overflow: hidden;
    background: #eef0f2;
}

body .x7-detail-banner img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body .x7-detail-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    margin: -33px 0 0 -33px;
    border-radius: 50%;
    background: rgba(20, 24, 30, .5);
    backdrop-filter: blur(2px);
}

body .x7-detail-play i {
    position: absolute;
    left: 26px;
    top: 21px;
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* 面包屑 */
body .m-bread-cut {
    padding: 0 2px 12px !important;
    font-size: 12px !important;
    line-height: 18px;
    color: #a9aeb8 !important;
    background: transparent !important;
    border: 0 !important;
}

body .m-bread-cut a {
    color: #a9aeb8 !important;
    font-size: 12px !important;
}

/* 游戏信息卡 */
body .m-games {
    position: relative;
    padding: 22px 22px 20px !important;
    margin: 0 0 14px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
}

body .m-games .w-gamesInfo {
    display: flex !important;
    align-items: flex-start;
    gap: 18px;
    width: 100% !important;
    margin: 0 !important;
}

body .m-games .w-gamesInfo dt {
    flex: 0 0 88px !important;
    width: 88px !important;
    margin: 0 !important;
    float: none !important;
}

body .m-games .w-gamesInfo dt img {
    width: 88px !important;
    height: 88px !important;
    border-radius: 20px !important;
    object-fit: cover;
    border: 0 !important;
}

body .m-games .w-gamesInfo dd {
    flex: 1 1 auto !important;
    min-width: 0;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

body .games-details .m-games .w-gamesInfo dd .info h1,
body .m-games .w-gamesInfo h1 {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    color: var(--tap-text-1) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 礼包 / 攻略 两个小胶囊 */
body .m-games .interfix-pd {
    display: inline-flex;
    gap: 8px;
    margin-top: 8px !important;
    float: none !important;
}

body .m-games .interfix-pd a {
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #f2f3f5 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
}

body .m-games .interfix-pd a:hover {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
}

/* 类型 / 版本 / 评分 */
body .m-games .w-gamesInfo .bin {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

body .m-games .w-gamesInfo .bin li {
    height: auto !important;
    line-height: 1.2 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: #f5f6f8 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
}

body .m-games .w-gamesInfo .bin li a {
    color: var(--tap-text-2) !important;
    font-size: 12px !important;
}

body .m-games .w-gamesInfo .bin li i {
    font-style: normal;
    color: var(--tap-primary-ink) !important;
    font-weight: 700;
}

/* 下载按钮：安卓主按钮通栏，苹果次按钮描边 */
body .m-games .w-gamesInfo .btnWrap {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
}

body .m-games .w-gamesInfo .btnWrap li {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    float: none !important;
}

body .m-games .w-gamesInfo .btnWrap li a {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-sizing: border-box;
}

body .m-games .w-gamesInfo .btnWrap li a:hover {
    background: var(--tap-primary-dark) !important;
}

body .m-games .w-gamesInfo .btnWrap li.iosBtn a {
    background: #fff !important;
    color: var(--tap-primary-ink) !important;
    border: 1px solid rgba(249, 218, 1, .5) !important;
}

body .m-games .w-gamesInfo .btnWrap li a .ico {
    display: none !important;
}

body .m-games .w-gamesInfo .btnWrap li a .tit {
    display: inline !important;
    width: auto !important;
    float: none !important;
    color: inherit !important;
    font-size: 15px !important;
}

/* 二维码列不需要（按钮已通栏） */
body .m-games .w-gamesInfo .d2 {
    display: none !important;
}

/* 福利条 */
body .x7-detail-strip {
    display: flex !important;
    align-items: center;
    padding: 18px 0 !important;
    margin: 0 0 14px !important;
    background: var(--tap-primary-soft) !important;
    border-radius: var(--tap-radius-lg) !important;
}

body .x7-detail-strip-col {
    flex: 1 1 0;
    text-align: center;
}

body .x7-detail-strip-col strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: var(--tap-text-1);
}

body .x7-detail-strip-col p {
    margin: 4px 0 0 !important;
    font-size: 12px;
    line-height: 18px;
    color: #8d929b;
}

body .x7-detail-strip-line {
    flex: 0 0 1px;
    width: 1px;
    height: 34px;
    background: #d7f0ea;
}

/* 详情页下方各内容块：白卡 */
body .rBg.pd10,
body .rBg.pad20 {
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--tap-radius-lg) !important;
    box-sizing: border-box;
}

/* 详情页头部细调：名称行内联折扣标、信息胶囊不拉伸 */
body .m-games .w-gamesInfo .info.infoh {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    float: none !important;
}

body .m-games .w-gamesInfo .info.infoh h1 {
    flex: 0 1 auto;
    margin: 0 !important;
}

/* 名称后面那个内联折扣标（模板里写的行内样式） */
body .m-games .w-gamesInfo .info.infoh > span {
    float: none !important;
    display: inline-block !important;
    height: 22px !important;
    line-height: 22px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border-radius: 7px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 12px !important;
    font-weight: 700;
}

body .m-games .w-gamesInfo .bin li {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
}

/* 类型 / 版本 / 评分：改成一行灰字，不再用胶囊 */
body .m-games .w-gamesInfo .bin {
    gap: 0 20px !important;
    margin: 10px 0 0 !important;
}

body .m-games .w-gamesInfo .bin li {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #9aa0a6 !important;
    font-size: 13px !important;
    line-height: 20px !important;
}

body .m-games .w-gamesInfo .bin li a {
    color: #6b7280 !important;
}

body .m-games .w-gamesInfo .bin li i {
    font-style: normal;
    color: var(--tap-primary-ink) !important;
    font-weight: 700;
}

/* 筛选行标签不换行，右侧列表吃满剩余宽度并自然换行 */
body .listcontent .game-select-box .game-type-title {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: auto !important;
    white-space: nowrap;
    padding-right: 12px;
}

body .listcontent .game-select-box > div.game-theme .game-type-list:not(.x7-chips) {
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* 商城商品卡的「加入购物车」按钮：原来被压成 60×20 截断，这里放开 */
body .shops .rec_p h3 a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    white-space: nowrap;
}

/* ============================================================
   43.15 右栏下侧：平台下载卡 + 关于我们（参考 wehayoo 版式）
   ============================================================ */
body .x7-aside .x7-sidedl {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px !important;
    box-sizing: border-box;
}

body .x7-aside .x7-sidedl-l {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}

body .x7-aside .x7-sidedl-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body .x7-aside .x7-sidedl-logo {
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
    object-fit: cover;
    background: #f4f7fa;
    display: block;
}

body .x7-aside .x7-sidedl-brand b {
    display: block;
    font-size: 17px;
    font-weight: 800;
    line-height: 24px;
    color: var(--tap-on-primary);
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-aside .x7-sidedl-tip {
    margin: 16px 0 0 !important;
    font-size: 13px;
    line-height: 19px;
    color: var(--tap-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-aside .x7-sidedl-r {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

body .x7-aside .x7-sidedl-qr {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .x7-aside .x7-sidedl-qr canvas,
body .x7-aside .x7-sidedl-qr table,
body .x7-aside .x7-sidedl-qr img {
    width: 92px !important;
    height: 92px !important;
    display: block;
}

body .x7-aside .x7-sidedl-qr-ph {
    font-size: 12px;
    color: #b6bcc6;
    letter-spacing: .5px;
}

/* 二维码画布生成后隐藏占位文字 */
body .x7-aside .x7-sidedl-qr.has-qr .x7-sidedl-qr-ph {
    display: none;
}

/* 按钮独占一行并在卡片中间居中，尺寸收小成胶囊（不铺满整行） */
body .x7-aside .x7-sidedl-act {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

body .x7-aside .x7-sidedl-btn {
    display: inline-block;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    height: 34px;
    line-height: 34px !important;
    margin: 0 !important;
    padding: 0 28px;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
}

body .x7-aside .x7-sidedl-btn:hover {
    background: var(--tap-primary-dark) !important;
}

/* ---- 关于我们 ---- */
body .x7-aside .x7-about {
    padding: 16px 18px 18px !important;
}

body .x7-aside .x7-about-title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    color: var(--tap-text-1) !important;
}

body .x7-aside .x7-about-body {
    font-size: 12.5px;
    line-height: 22px;
    color: #9aa0aa;
    word-break: break-all;
}

body .x7-aside .x7-about-body p {
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 22px !important;
    color: #9aa0aa !important;
}

body .x7-aside .x7-about-body a {
    color: #9aa0aa !important;
    text-decoration: none !important;
}

body .x7-aside .x7-about-body a:hover {
    color: var(--tap-primary-ink) !important;
}

body .x7-aside .x7-about-body .x7-about-blk {
    margin-top: 10px;
}

/* ============================================================
   43.16 右下角悬浮球：回到顶部 + 客服（尺寸/位置对齐 wehayoo 原站）
   原站：容器 right:40px bottom:80px，按钮 50×50，图标 20×20，间距 10px
   ============================================================ */
.x7-float {
    position: fixed;
    right: 40px;
    bottom: 80px;
    z-index: 9999;
    display: block;
}

a.x7-float-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    text-decoration: none !important;
    transition: box-shadow .2s;
}

a.x7-float-btn + a.x7-float-btn {
    margin-top: 10px;
}

a.x7-float-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

a.x7-float-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #525252;
    transition: color .2s;
}

a.x7-float-btn:hover svg {
    color: var(--tap-primary-ink);
}

/* ============================================================
   43.17 顶部通栏（TapTap 版式）：汉堡 + logo + 灰胶囊搜索 + 右侧按钮组
   ============================================================ */
body .x7-side {
    top: var(--x7-bar-h) !important;
    height: calc(100vh - var(--x7-bar-h)) !important;
    padding: 24px 0 24px !important;
    overflow: auto;
}

body .x7-topbar {
    left: var(--x7-x) !important;
    right: var(--x7-y) !important;
    background: var(--x7-bar-bg) !important;
    border-radius: 0 0 16px 16px;
}

body .x7-topbar-in {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px 0 10px !important;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* 左段：汉堡 + logo（宽度与左导航一致） */
body .x7-tb-left {
    flex: 0 0 var(--x7-nav-w);
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

body .x7-burger {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--tap-text-1);
    cursor: pointer;
    transition: background-color .18s;
}

body .x7-burger:hover {
    background: #f2f2f2;
}

body .x7-burger svg {
    width: 22px;
    height: 22px;
    display: block;
}

body .x7-tb-left .x7-logo {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    flex: 0 1 auto;
    overflow: hidden;
}

body .x7-tb-left .x7-logo img {
    max-width: 118px !important;
    max-height: 34px !important;
    border-radius: 8px;
}

/* 中段：浅灰胶囊搜索框 */
body .x7-search {
    position: relative;
    flex: 1 1 auto !important;
    max-width: 600px;
    height: 44px !important;
    margin: 0 auto !important;
    padding: 0 6px 0 16px !important;
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    background: #f5f5f5 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

body .x7-search::before {
    display: none !important;
    content: none !important;
}

body .x7-search-ico {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #9aa0aa;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .x7-search-ico svg {
    width: 18px;
    height: 18px;
    display: block;
}

body .x7-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100% !important;
    font-size: 14px !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0;
}

body .x7-search input[type="text"]::placeholder {
    color: #9aa0aa !important;
}

body .x7-search button {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 0 !important;
    cursor: pointer;
    transition: background-color .18s;
}

body .x7-search button svg {
    width: 15px;
    height: 15px;
    display: block;
    stroke: var(--tap-on-primary);
}

body .x7-search button:hover {
    background: var(--tap-primary-dark) !important;
}

/* 右段：下载 / 开服表 / 登录 */
body .x7-tb-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

body a.x7-tb-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid rgba(249, 218, 1, .55) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--tap-primary-ink) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color .18s;
}

body a.x7-tb-btn:hover {
    background: var(--tap-primary-light) !important;
}

body a.x7-tb-btn.is-primary {
    background: var(--tap-primary) !important;
    border-color: transparent !important;
    color: var(--tap-on-primary) !important;
}

body a.x7-tb-btn.is-primary:hover {
    background: var(--tap-primary-dark) !important;
    border-color: transparent !important;
}

body a.x7-tb-user {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(249, 218, 1, .55) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--tap-primary-ink) !important;
    text-decoration: none !important;
    transition: background-color .18s;
}

body a.x7-tb-user:hover {
    background: var(--tap-primary-light) !important;
}

body a.x7-tb-user svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* 收起导航 */
body.x7-nav-hide {
    padding-left: var(--x7-y) !important;
}

body.x7-nav-hide .x7-side {
    display: none !important;
}

/* 中等屏：隐藏次要按钮，搜索框收窄 */
@media (max-width: 1440px) {
    body a.x7-tb-btn:not(.is-primary) {
        display: none !important;
    }

    body .x7-search {
        max-width: 480px;
    }
}

/* 收起导航后，三栏回到版心居中，避免整体右偏 */
body.x7-nav-hide .x7-layout {
    justify-content: center !important;
}

/* 中列/右栏与顶栏之间留出与左导航一致的空隙（24px） */
body .x7-layout {
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
}

/* ============================================================
   43.18 下载弹窗：手机版扫码 / 电脑版（参考 3387 的双栏版式）
   ============================================================ */
.x7-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}

.x7-modal.is-open {
    display: block;
}

.x7-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 32, .45);
    animation: x7ModalFade .18s ease;
}

.x7-modal-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(17, 24, 32, .18);
    padding: 26px 0 22px;
    box-sizing: border-box;
    display: flex;
    animation: x7ModalPop .2s ease;
}

@keyframes x7ModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes x7ModalPop {
    from { opacity: 0; transform: translate(-50%, -48%) scale(.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.x7-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b3b8c0;
    cursor: pointer;
    transition: color .18s, background-color .18s;
}

.x7-modal-close:hover {
    color: #6b7280;
    background: #f4f5f7;
}

.x7-modal-close svg {
    width: 18px;
    height: 18px;
    display: block;
}

.x7-modal-col {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0 18px;
    box-sizing: border-box;
}

.x7-modal-col-l {
    flex: 0 0 236px;
    border-right: 1px solid #f0f1f3;
}

.x7-modal-col h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #1f2329;
}

.x7-modal-tip {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: #9aa0aa;
}

.x7-modal-qr {
    width: 150px;
    height: 150px;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.x7-modal-qr canvas,
.x7-modal-qr table,
.x7-modal-qr img {
    width: 150px !important;
    height: 150px !important;
    display: block;
}

.x7-modal-qr-ph {
    font-size: 12px;
    color: #b6bcc6;
}

.x7-modal-qr.has-qr .x7-modal-qr-ph {
    display: none;
}

.x7-modal-help {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 18px;
}

.x7-modal-help a {
    color: #9aa0aa !important;
    text-decoration: none !important;
}

.x7-modal-help a:hover {
    color: var(--tap-primary-ink) !important;
}

.x7-modal-icon {
    width: 84px;
    height: 84px;
    margin: 18px auto 0;
}

.x7-modal-icon img {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 6px 16px rgba(17, 24, 32, .12);
}

a.x7-modal-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 38px;
    margin: 20px auto 0;
    padding: 0 22px;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .18s;
}

a.x7-modal-btn:hover {
    background: var(--tap-primary-dark) !important;
}

.x7-modal-mumu {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 19px;
    color: #9aa0aa;
}

.x7-modal-mumu a {
    color: var(--tap-primary-ink) !important;
    text-decoration: none !important;
}

.x7-modal-mumu a:hover {
    text-decoration: underline !important;
}

.x7-modal-mumu span {
    color: #b6bcc6;
}

/* ============================================================
   43.19 三栏加宽（中列 780 / 右栏 400）
   ------------------------------------------------------------
   1440~1679 屏可用宽度只有 1176 左右，用 780+400=1180 会溢出 4px
   导致横向滚动条，这个区间收到 740/676/370；1680 以上用全宽。
   ============================================================ */
@media (min-width: 1440px) and (max-width: 1679px) {
    :root {
        --x7-center-w: 740px;
        --x7-col-w: 676px;
        --x7-side-w: 370px;
    }
}

@media (min-width: 1440px) and (max-width: 1679px) {
    body .x7-feed-card .x7-hero .tempWrap > ul > li {
        width: 636px !important;   /* 中列 676 - 卡片内边距 40 */
    }
}

/* ============================================================
   43.20 推荐流游戏名 17px
   ------------------------------------------------------------
   #gameslist 的规则用了 id 选择器，优先级高于 .x7-feed-list，
   所以首页推荐流与找游戏列表都要显式写一遍。
   ============================================================ */
body .x7-feed-list .f-tit,
body #gameslist .f-tit,
body #gameslist > li .games-nams-des strong {
    font-size: 17px !important;
    line-height: 24px !important;
}

/* ============================================================
   43.21 列表行 hover 底色（对齐右栏热门游戏）
   ------------------------------------------------------------
   右栏用的是 #f7f8fa + 12px 圆角，这里给推荐流和找游戏列表同一套。
   不加左右内缩：块的左右边界就是内容区，和右栏视觉一致，也不会
   把图标往外顶导致和上方大图错位。
   ============================================================ */
body .x7-feed-list > li,
body #gameslist > li {
    border-radius: 12px !important;
    transition: background-color .18s ease;
}

body .x7-feed-list > li:hover,
body #gameslist > li:hover,
body #gameslist > li.active {
    background: #f7f8fa !important;
}

/* ============================================================
   43.22 列表行：hover 底色加深 + 整行可点
   ------------------------------------------------------------
   1) 底色 #f7f8fa → #f0f2f5，右栏热门游戏同步，避免两处不一致。
   2) 整行可点：用 f-tit 的 ::after 铺满整行做点击热区，鼠标在
      图标右侧的空白处、行的上下内边距里都能进详情；下载按钮
      单独抬到上层，保证仍然点得到。
   ============================================================ */
body .x7-feed-list > li {
    position: relative;
    cursor: pointer;
}

body .x7-feed-list > li:hover,
body #gameslist > li:hover,
body #gameslist > li.active {
    background: #f0f2f5 !important;
}

body .x7-ranklist > li > a:hover {
    background: #f0f2f5 !important;
}

/* 整行热区：挂在游戏名链接上，铺满 li */
body .x7-feed-list .f-tit::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px;
    z-index: 1;
}

/* 按钮必须在热区之上，否则点不到 */
body .x7-feed-list .f-btn,
body .x7-feed-list .f-ico {
    position: relative;
    z-index: 2;
}

/* ============================================================
   43.23 列表副信息（xx人在玩 · 标签）字号 +1：13px → 14px
   ------------------------------------------------------------
   #gameslist 的 .f-meta 用的是 id 选择器，优先级高于 .x7-feed-list，
   两条都写，保证首页与找游戏页一致。
   ============================================================ */
body .x7-feed-list .f-meta,
body #gameslist .f-meta {
    font-size: 15px !important;
    line-height: 22px !important;
}

/* 副信息里的 span（"xx人在玩"、"标签"）自己有 12/13px 的 !important，
   只改父级 .f-meta 不会影响它们，这里单独跟上 */
body .x7-feed-list .f-meta span,
body #gameslist .f-meta span {
    font-size: 15px !important;
    line-height: 22px !important;
}

/* 竖线分隔符不跟着放大，否则一整条太抢眼 */
body .x7-feed-list .f-meta span + span::before,
body #gameslist .f-meta span + span::before {
    font-size: 13px !important;
}

/* ============================================================
   43.25 找游戏列表对齐首页推荐流：行间距 + 按钮收成小胶囊
   ------------------------------------------------------------
   1) 行与行之间留 10px，hover 时就是一块独立的圆角灰卡，
      和首页推荐流、右栏热门游戏同一套视觉。
   2) 按钮之前被 flex:1 1 auto 拉开成 186px 的长条，改成
      0 0 auto 让它按内容自适应，与首页「0.1折 / 免费版」同尺寸。
   ============================================================ */
body #gameslist > li {
    margin: 0 0 10px !important;
}

body #gameslist > li:last-child {
    margin-bottom: 0 !important;
}

body #gameslist .f-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 84px !important;
    padding: 8px 18px !important;
}

/* 历史规则 body #gameslist > li > a:nth-of-type(2) 把「下载」按钮也设成了
   flex:1 1 auto（它误命中按钮），specificity 比 .f-btn 高，这里按结构
   选择器压回去，按钮才不会拉成 186px 的长条 */
body #gameslist > li > a.f-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    width: 80px !important;
    min-width: 0 !important;
    padding: 8px 0 !important;
    box-sizing: border-box;
    white-space: nowrap;
}

/* ============================================================
   43.26 内容区白块改圆角
   ------------------------------------------------------------
   找游戏 / H5 / 商城 / 攻略等列表页，主内容是一整块白底
   （.listcontent），原来是直角，跟卡片圆角的整体风格不搭。
   这里给 24px 圆角（与 --tap-radius-lg 一致），并用 overflow
   兜底，避免内层同色白块把圆角切成小角。
   ============================================================ */
body .listcontent {
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* 首尾子块跟着圆角走，避免白底直角盖住父级圆角 */
body .listcontent > :first-child {
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
}

body .listcontent > :last-child {
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
}

/* ============================================================
   43.27 找游戏列表左右留白对齐首页推荐（8px → 20px）
   ------------------------------------------------------------
   首页 li 距卡片左右各 20px（li 宽 676），找游戏只有 8px（700）。
   这里把列表左右内边距补到 20px，图标左基准线与首页完全重合，
   hover 灰块的宽度也与首页一致。
   ============================================================ */
body #gameslist.games-list-box,
body #gameslist.x7-feed-list,
body .games-list-box.x7-feed-list {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ============================================================
   43.28 首页幻灯改 TapTap 版式（主卡 + 右侧露边 + 自动播放）
   ------------------------------------------------------------
   结构换成 Swiper（swiper-bundle 6.0.4 已在 head 引入），
   不再用 SuperSlide 的 hd/bd/tempWrap，所以旧 .x7-hero 规则
   自然失效，不会互相打架。
   ============================================================ */
body .x7-hero-tap {
    margin: 0 0 26px;
}

body .x7-hero-swiper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

body .x7-hero-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* 主卡 72% 宽 + 右侧露下一张的边（TapTap 式）；高度 344 固定 */
body .x7-hero-swiper .swiper-slide {
    flex: 0 0 auto;
    width: 72% !important;
    height: 344px;
}

body .x7-hero-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #eceef1;
}

/* 媒体层：图片铺满整卡，视频盖在图上（默认透明，悬停淡入） */
body .x7-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

body .x7-hero-media > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

body .x7-hero-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    background: #000;
}

body .x7-hero-card.is-video .x7-hero-video {
    opacity: 1;
}

/* 兼容旧结构（卡片下直接放 img） */
body .x7-hero-card > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

/* 左下角游戏名：压一层黑到透明的渐变，保证任何底图上都读得清 */
body .x7-hero-name {
    display: block;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 底部控件：箭头 + 胶囊进度条 ---- */
body .x7-hero-ctrl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

body .x7-hero-prev,
body .x7-hero-next {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #e6e8ec;
    border-radius: 50%;
    background: #fff;
    color: #9aa0aa;
    cursor: pointer;
    transition: color .18s, border-color .18s, background-color .18s;
}

body .x7-hero-prev:hover,
body .x7-hero-next:hover {
    color: var(--tap-primary-ink);
    border-color: rgba(249, 218, 1, .5);
    background: var(--tap-primary-light);
}

body .x7-hero-prev.swiper-button-disabled,
body .x7-hero-next.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

body .x7-hero-pg.swift-pg,
body .x7-hero-pg {
    position: relative;
    flex: 0 0 auto;
    width: 190px;
    height: 4px;
    border-radius: 999px;
    background: #e3e6ea;
    overflow: hidden;
}

body .x7-hero-pg .swiper-pagination-progressbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: var(--tap-primary);
    transform-origin: left top;
}

/* ============================================================
   43.29 幻灯卡片：图上文案 + 底部信息条（对齐 TapTap，不含评分）
   ------------------------------------------------------------
   1) 图：铺满卡片（72% 宽主卡 + 右侧露边，图 cover 裁切）；有视频时悬停淡入播放
   2) 图上左下：一句话概括（白色粗体，最多两行）——不放假标签
   3) 图底：logo + 游戏名 + 标签（不加半透明底，只靠文字阴影压光）
   评分位留空不显示——站内没有真实评分，不摆假数字。
   ============================================================ */
body .x7-hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 68px;
    z-index: 2;
    padding: 46px 15px 0;
}

body .x7-hero-slogan {
    margin: 0;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    max-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 14px rgba(0, 0, 0, .3);
}

body .x7-hero-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 68px;
    padding: 0 15px;
    box-sizing: border-box;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

body .x7-hero-logo {
    flex: 0 0 auto;
    display: block;
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    object-fit: cover;
    background: transparent;
    border: none;
    box-shadow: none;
}

body .x7-hero-txt {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-hero-name {
    display: block;
    font-size: 17px;
    line-height: 22px;
}

body .x7-hero-tags {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .8) !important;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 没有一句话概括的幻灯：不渲染 .x7-hero-copy，图上只留底部信息条 */

/* ============================================================
   44. 游戏详情页：对齐首页白卡风格 + 玩家评价
   ------------------------------------------------------------
   1) 版心：原模板是 col-gd-ny-9（9/12 栏）导致右侧空一大块，
      这里直接把内容列拉满并收窄整页宽度
   2) 各内容块：白卡 + 20 圆角 + 统一标题条（青绿小竖条）
   3) 新增 .x7-eval 玩家评价卡
   ============================================================ */
/* 容器宽度：详情页的版心规则已统一收到第 61 段（与首页两栏同一套算法），
   这里原来写死 1000px + margin-left:0，会把整页卡得比其他页窄一截，已删除。
   注意它的选择器优先级（4 个类）高于第 61 段，留着就会盖掉新规则。 */

body .games-details .col-gd-ny-9 {
    width: 100% !important;
    float: none !important;
}

/* 头图：贴住卡片上沿，不要四周留边 */
body .games-details .x7-detail-banner {
    margin: 0 0 18px !important;
    border-radius: 20px !important;
    height: 300px;
}

body .games-details .m-games {
    padding: 0 4px !important;
}

body .games-details .m-games .w-gamesInfo dt img {
    width: 88px !important;
    height: 88px !important;
    border-radius: 18px !important;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 14px rgba(17, 24, 32, .1);
}

body .games-details .m-games .w-gamesInfo h1 {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    color: #1b2026 !important;
}

body .games-details .m-games .w-gamesInfo .bin li {
    color: #8b9199 !important;
    font-size: 13px !important;
    line-height: 20px !important;
}

/* 章节标题：青绿竖条 + 17px 粗体，和首页卡片标题一致 */
body .games-details .r-tit1 h4 {
    position: relative;
    padding-left: 11px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1b2026 !important;
    line-height: 24px !important;
}

body .games-details .r-tit1 h4 em {
    position: absolute !important;
    left: 0;
    top: 50%;
    width: 4px !important;
    height: 15px !important;
    margin: -7.5px 0 0 !important;
    border-radius: 2px;
    background: var(--tap-primary) !important;
    background-image: none !important;
}

/* 游戏介绍正文 */
body .games-details .m-games-introduce .box-introduce {
    font-size: 14px !important;
    line-height: 26px !important;
    color: #4b5158 !important;
}

body .games-details .w-more .games-introduce-btn {
    color: #4a4f57 !important;
    background: transparent !important;
    font-size: 13px !important;
}

/* 游戏截图：原来的 550 高太大，收到 320 并加圆角 */
body .games-details .snapShotWrap,
body .games-details .snapShotWrap ul.snapShotCont,
body .games-details .snapShotCont li.snopshot {
    height: 320px !important;
}

body .games-details .snapShotCont li.snopshot img {
    border-radius: 14px !important;
    overflow: hidden;
}

/* 礼包 / 活动：整行白块，hover 变浅灰 */
body .games-details .m-gift-b li a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: #fafbfc !important;
    transition: background-color .18s;
}

body .games-details .m-gift-b li a:hover {
    background: #f0f2f5 !important;
}

body .games-details .m-gift-b li a img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
}

body .games-details .m-gift-b .tit {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1b2026 !important;
}

body .games-details .m-gift-b .cfg,
body .games-details .m-gift-b .giftName {
    font-size: 12px !important;
    color: #8b9199 !important;
}

body .games-details .m-gift-b .btn {
    flex: 0 0 auto;
    padding: 6px 16px !important;
    border-radius: 999px !important;
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-size: 13px !important;
    line-height: 18px !important;
}

/* 相关推荐：一行 6 个，圆角图标 */
body .games-details .about-games .m-gamesList li {
    width: 16.66% !important;
    padding: 0 6px !important;
    box-sizing: border-box;
}

body .games-details .about-games .m-gamesList li img {
    border-radius: 16px !important;
}

/* ---------- 玩家评价 ---------- */
body .x7-eval {
    margin: 22px 0 4px;
    padding: 18px 20px 8px;
    border-radius: 18px;
    background: #fafbfc;
}

body .x7-eval-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}

body .x7-eval-hd h4 {
    position: relative;
    margin: 0;
    padding-left: 11px;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    color: #1b2026;
}

body .x7-eval-hd h4 em {
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 15px;
    margin-top: -7.5px;
    border-radius: 2px;
    background: var(--tap-primary);
}

body .x7-eval-cnt {
    color: #9aa0aa;
    font-size: 12px;
}

body .x7-eval-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    margin: 0 0 12px;
    border-radius: 14px;
    background: #fff;
}

body .x7-eval-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex: 0 0 auto;
}

body .x7-eval-score strong {
    font-size: 34px;
    font-weight: 700;
    line-height: 40px;
    color: var(--tap-primary-ink);
    font-family: "DIN Alternate", Arial, sans-serif;
}

body .x7-eval-score i {
    font-style: normal;
    color: #b9bec6;
    font-size: 13px;
    margin-right: 8px;
}

body .x7-eval-remark {
    flex: 1 1 auto;
    margin: 0;
    color: #7d838c;
    font-size: 13px;
    line-height: 20px;
}

/* 星星：底灰 + 按百分比裁切的黄色覆盖层 */
body .x7-stars {
    position: relative;
    display: inline-block;
    height: 16px;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    color: #e3e6ea;
    vertical-align: middle;
}

body .x7-stars::before {
    content: "★★★★★";
}

body .x7-stars i {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: var(--pct, 100%);
    height: 16px;
    overflow: hidden;
    color: #ffb020;
    font-style: normal;
}

body .x7-stars i::before {
    content: "★★★★★";
    letter-spacing: 2px;
}

body .x7-stars.sm {
    height: 14px;
    font-size: 12px;
    line-height: 14px;
}

body .x7-stars.sm i {
    height: 14px;
}

body .x7-eval-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .x7-eval-list > li {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #eef0f3;
}

body .x7-eval-list > li:first-child {
    border-top: 0;
}

body .x7-eval-av {
    flex: 0 0 auto;
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--tap-primary-light);
    color: var(--tap-primary-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
}

body .x7-eval-body {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-eval-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

body .x7-eval-meta b {
    font-size: 13px;
    font-weight: 600;
    color: #3b4148;
}

body .x7-eval-meta em {
    font-style: normal;
    color: #aab0b8;
    font-size: 12px;
    margin-left: auto;
}

body .x7-eval-txt {
    margin: 4px 0 0;
    color: #4b5158;
    font-size: 14px;
    line-height: 22px;
    word-break: break-word;
}

body .x7-eval-empty {
    padding: 22px 0 26px;
    text-align: center;
    color: #a3a9b2;
    font-size: 13px;
}

/* 详情页内容卡原来写死 906px（.wid-l），改成撑满版心 */
body .games-details .wid-l {
    width: 100% !important;
    float: none !important;
}

/* 游戏截图：横向滚动图墙，替代原来的 3D 轮播 */
body .x7-shots {
    display: flex;
    gap: 12px;
    padding: 2px 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

body .x7-shots::-webkit-scrollbar {
    height: 6px;
}

body .x7-shots::-webkit-scrollbar-thumb {
    background: #dfe3e8;
    border-radius: 3px;
}

body .x7-shot {
    flex: 0 0 auto;
    display: block;
    width: 240px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef0f3;
    scroll-snap-align: start;
}

body .x7-shot img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 14px !important;
    transition: transform .3s ease;
}

body .x7-shot:hover img {
    transform: scale(1.04);
}

body .x7-shot-empty {
    padding: 26px 0;
    color: #a3a9b2;
    font-size: 13px;
}

/* 详情页头部与节奏微调 */
body .games-details .m-games .w-gamesInfo h1 {
    font-size: 22px !important;
}

body .games-details .btnWrap {
    max-width: 340px;
}

body .games-details .btnWrap li a {
    height: 46px !important;
    line-height: 46px !important;
    border-radius: 999px !important;
}

body .games-details .r-tit1 {
    margin: 30px 0 14px !important;
}

body .games-details .x7-eval {
    margin: 30px 0 4px;
}

/* 没有评价时的分数占位 */
body .x7-eval-score strong.none {
    color: #c4c9d0;
    font-size: 30px;
}

/* ============================================================
   45. 游戏详情页顶部条：返回 + 详情 / 评价
   ------------------------------------------------------------
   参考 wehayoo gDetail：白卡最上面一行是「‹ 详情 评价¹²」，
   和下面的封面区连成一张卡；往下滚时整条吸顶，此时四角补圆 + 投影，
   看起来是一条独立的浮条。吸顶数值与首页标题条一致（bar-h - 2px）。
   ============================================================ */
body .x7-dt-top {
    position: sticky;
    top: calc(var(--x7-bar-h) - 2px);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 26px;
    height: 54px;
    margin: 0;
    padding: 0 18px;
    background: #fff;
    border-radius: var(--tap-radius-lg) var(--tap-radius-lg) 0 0;
    transition: box-shadow .2s ease;
    box-sizing: border-box;
}

/* 吸顶后脱离卡片：四角圆回来 + 投影 */
body .x7-dt-top.is-stuck {
    border-radius: var(--tap-radius-lg);
    box-shadow: 0 8px 22px rgba(17, 24, 32, .14);
}

body .x7-dt-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 14px;
    color: #3a4048 !important;
    text-decoration: none !important;
    transition: color .18s;
}

body .x7-dt-back svg {
    display: block;
    width: 19px;
    height: 19px;
}

body .x7-dt-back:hover {
    color: var(--tap-primary-ink) !important;
}

body .x7-dt-top .x7-dtab {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 54px;
    color: #6f757d !important;
    font-size: 17px;
    font-weight: 500;
    line-height: 54px;
    text-decoration: none !important;
    transition: color .18s;
}

body .x7-dt-top .x7-dtab:hover {
    color: #262b31 !important;
}

/* 选中：加粗变深，不加下划线（参考站就是这样） */
body .x7-dt-top .x7-dtab.is-on {
    color: #262b31 !important;
    font-weight: 700;
}

/* 数量：纯文字上标，不做胶囊 */
body .x7-dt-top .x7-dtab-num {
    display: inline-block;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin-left: 2px;
    background: none !important;
    color: #aab0b8 !important;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1 !important;
    vertical-align: super;
    position: relative;
    top: -7px;
    border-radius: 0 !important;
    box-sizing: content-box;
}

body .x7-dt-top .x7-dtab.is-on .x7-dtab-num {
    background: none !important;
    color: #9a9fa7 !important;
}

/* 顶部条正下方就是封面卡：上沿直角，两张拼成一张卡 */
body .x7-dt-top + .x7-dt-hero {
    margin-top: 0;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

body .x7-dpanel[hidden] {
    display: none !important;
}

/* ---------- 评价面板 ---------- */
/* ---- 评价卡：参考站形式（头像 + 昵称 / 星级 / 正文 / 大图 / 发布于X + 回复·赞） ---- */
body .x7-eval-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 26px 26px !important;
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 10px rgba(17, 24, 32, .04);
    box-sizing: border-box;
}

body .x7-eval-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .x7-eval-list > li.x7-ev {
    display: block;
    padding: 30px 0 0;
}

body .x7-eval-list > li.x7-ev:first-child {
    padding-top: 26px;
}

body .x7-ev.is-hide {
    display: none !important;
}

body .x7-ev-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .x7-ev-av {
    flex: 0 0 auto;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--tap-primary-light);
    color: var(--tap-primary-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
    overflow: hidden;
}

body .x7-ev-who {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

body .x7-ev-name {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 340px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #22262b;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

body .x7-ev-best {
    flex: 0 0 auto;
    padding: 0 5px;
    height: 16px;
    border-radius: 4px;
    background: #fff5e2;
    color: #d98600;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

body .x7-ev-who .x7-stars {
    height: 15px;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: 1px;
    color: #e6e8ec;
}

body .x7-ev-who .x7-stars i,
body .x7-ev-who .x7-stars i::before {
    height: 15px;
    letter-spacing: 1px;
}

body .x7-ev-txt {
    margin: 14px 0 0;
    color: #3a4048;
    font-size: 15px;
    line-height: 28px;
    word-break: break-word;
}

body .x7-ev-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

body .x7-ev-imgs a {
    display: block;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f3f5;
}

body .x7-ev-imgs img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 0 !important;
}

body .x7-ev-foot {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0 0;
    color: #a8aeb6;
    font-size: 13px;
    line-height: 18px;
}

body .x7-ev-time {
    flex: 1 1 auto;
}

body .x7-ev-act {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #a8aeb6;
    font-size: 13px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-transition: color .16s;
    transition: color .16s;
}

body .x7-ev-act:hover {
    color: var(--tap-primary-ink);
}

body .x7-ev-act svg {
    display: block;
    width: 16px;
    height: 16px;
}

body .x7-eval-more {
    padding: 24px 0 4px;
    text-align: center;
}

body .x7-eval-more a {
    display: inline-block;
    padding: 0 24px;
    height: 36px;
    border-radius: 999px;
    background: #f5f6f8;
    color: #4b5158 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 36px;
    text-decoration: none !important;
    transition: background-color .18s;
}

body .x7-eval-more a:hover {
    background: #eceef1;
}

body .x7-eval-more a em {
    color: #a3a9b2;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

body .x7-eval-empty {
    padding: 50px 0 44px;
    text-align: center;
}

body .x7-eval-empty p {
    margin: 0;
    color: #6f757d;
    font-size: 15px;
    font-weight: 600;
}

body .x7-eval-empty span {
    display: block;
    margin-top: 6px;
    color: #a3a9b2;
    font-size: 12px;
}

/* 详情页整块外层是 overflow:hidden（旧浮层清理用），会把吸顶页签裁掉；
   改成 visible 并用 ::after 清浮动，保持原有包裹关系 */
body .games-details .rBg-hs.ovh {
    overflow: visible !important;
}

body .games-details .rBg-hs.ovh::after {
    content: "";
    display: block;
    clear: both;
}

/* --------------------------------------------------------------------------
   46. 左栏新增「游戏开服」入口（2026-11-17）
   - 图标用独立 png（与 home_nav.png 同色 #FFB60A、同 20×20），不用精灵位
   - 导航条目增至 10 条，矮屏（<720）收一点行高，避免溢出侧栏
   -------------------------------------------------------------------------- */
.x7-nav-item .ico9 {
    background-image: url(../images/nav_kaifu.png) !important;
    background-position: 0 0 !important;
    background-size: 20px 20px !important;
    background-repeat: no-repeat !important;
}

@media (max-height: 760px) {
    body .x7-nav {
        gap: 6px;
    }
    body .x7-nav-item {
        height: 44px;
    }
}

/* 导航条目增至 10 条后，极矮视口（<640）允许侧栏导航自身滚动，避免被裁到视口外 */
body .x7-nav {
    flex: 1 1 auto;
    min-height: 0;
}
@media (max-height: 640px) {
    body .x7-nav {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    body .x7-nav::-webkit-scrollbar {
        width: 4px;
    }
    body .x7-nav::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .16);
        border-radius: 2px;
    }
}

/* --------------------------------------------------------------------------
   47. 开服表页（/?ct=news&type=kaifu）新版式 2026-11-17
   - 独立板块 x7-kf-*，不复用老的 .kaifu-list 卡片墙与坏掉的 swiper 日期条
   - 版心让出左侧固定导航，内部 1120 居中，与其它列表页左边界一致
   -------------------------------------------------------------------------- */
.x7-kf-page {
    /* body 已有 padding-left: x + nav（见第 2 节），这里不再重复让位 */
    padding: calc(var(--x7-bar-h) + 24px) var(--x7-y) 56px 0;
    box-sizing: border-box;
}

.x7-kf-board {
    max-width: 1120px;
    margin: 0 auto;
}

/* 页头 */
.x7-kf-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px 16px;
}

.x7-kf-hd h1 {
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tap-text-1);
}

.x7-kf-hd p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tap-text-3);
}

.x7-kf-hd-s {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.x7-kf-chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: var(--x7-radius-pill);
    background: #fff;
    font-size: 13px;
    color: var(--tap-text-2);
}

.x7-kf-chip b {
    margin-right: 4px;
    font-size: 15px;
    color: var(--tap-primary-ink);
}

.x7-kf-chip.is-wait b {
    color: #a07c00;
}

/* 主体白卡 */
.x7-kf-panel {
    padding: 4px 20px 8px;
    border-radius: var(--tap-radius-lg);
    background: #fff;
    box-shadow: var(--tap-shadow);
    box-sizing: border-box;
}

/* 日期条 + 状态筛选 */
.x7-kf-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--tap-line);
}

.x7-kf-dates {
    display: flex;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.x7-kf-dates::-webkit-scrollbar {
    display: none;
}

.x7-kf-date {
    flex: 0 0 auto;
    width: 76px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f5f6f8;
    text-decoration: none;
    transition: background-color .18s ease;
}

.x7-kf-date em {
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    color: var(--tap-text-1);
    font-variant-numeric: tabular-nums;
}

.x7-kf-date i {
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    color: var(--tap-text-3);
}

.x7-kf-date:hover {
    background: #eef0f3;
}

.x7-kf-date.is-on {
    background: var(--tap-primary);
}

.x7-kf-date.is-on em,
.x7-kf-date.is-on i {
    color: #fff !important;
}

.x7-kf-seg {
    display: flex;
    flex: 0 0 auto;
    padding: 4px;
    border-radius: var(--x7-radius-pill);
    background: #f5f6f8;
}

.x7-kf-seg button {
    height: 30px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--x7-radius-pill);
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    color: var(--tap-text-2);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.x7-kf-seg button.is-on {
    background: #fff;
    color: var(--tap-text-1);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* 列表行 */
.x7-kf-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.x7-kf-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--tap-line);
}

.x7-kf-row:last-child {
    border-bottom: 0;
}

.x7-kf-row:hover {
    background: #fafbfc;
}

.x7-kf-when {
    flex: 0 0 62px;
    text-align: center;
}

.x7-kf-when b {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tap-text-1);
    font-variant-numeric: tabular-nums;
}

.x7-kf-when i {
    font-style: normal;
    font-size: 12px;
    color: var(--tap-text-3);
}

.x7-kf-ico {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tap-bg);
}

.x7-kf-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.x7-kf-main {
    flex: 1 1 auto;
    min-width: 0;
}

.x7-kf-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: var(--tap-text-1);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x7-kf-name:hover {
    color: var(--tap-primary-ink);
}

.x7-kf-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--tap-text-3);
}

.x7-kf-meta span {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f5f6f8;
    font-size: 12px;
    color: var(--tap-text-2);
}

.x7-kf-meta .x7-kf-plat {
    background: transparent;
    padding: 0;
    color: var(--tap-text-3);
}

.x7-kf-srv {
    flex: 0 0 148px;
    min-width: 0;
    font-size: 12px;
    color: var(--tap-text-3);
}

.x7-kf-srv b {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--tap-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x7-kf-st {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: var(--x7-radius-pill);
    background: #f2f3f5;
    font-size: 12px;
    color: var(--tap-text-3);
}

.x7-kf-row.is-open .x7-kf-st {
    background: var(--tap-primary-light);
    color: var(--tap-primary-ink);
}

.x7-kf-row.is-wait .x7-kf-st {
    background: var(--x7-yellow-light);
    color: #a07c00;
}

.x7-kf-go {
    flex: 0 0 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: var(--x7-radius-pill);
    background: var(--tap-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--tap-on-primary) !important;
    text-decoration: none;
    transition: opacity .18s ease;
}

.x7-kf-go:hover {
    opacity: .88;
}

.x7-kf-go.is-ghost {
    background: #f5f6f8;
    color: var(--tap-text-2) !important;
}

/* 空态 */
.x7-kf-none {
    padding: 64px 0 72px;
    text-align: center;
    font-size: 14px;
    color: var(--tap-text-3);
}

.x7-kf-none-ico {
    display: block;
    margin-bottom: 12px;
    color: #c8cdd4;
}

.x7-kf-none-ico svg {
    display: block;
    margin: 0 auto;
}

.x7-kf-none p {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--tap-text-2);
}

.x7-kf-none a {
    font-size: 13px;
    color: var(--tap-primary-ink);
    text-decoration: none;
}

.x7-kf-empty {
    padding: 48px 0;
    text-align: center;
    font-size: 14px;
    color: var(--tap-text-3);
}

.x7-kf-empty[hidden] {
    display: none !important;
}

/* 分页 */
.x7-kf-pager {
    display: flex;
    justify-content: center;
    padding: 18px 0 12px;
}

.x7-kf-pager ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.x7-kf-pager a,
.x7-kf-pager span,
.x7-kf-pager li {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 10px;
    background: #f5f6f8;
    font-size: 13px;
    color: var(--tap-text-2);
    text-decoration: none;
    box-sizing: border-box;
}

.x7-kf-pager .on,
.x7-kf-pager .active,
.x7-kf-pager .current {
    background: var(--tap-primary);
    color: var(--tap-on-primary);
}

/* 窄屏：先收「区服」列，再收页头统计 */
@media screen and (max-width: 1279px) {
    .x7-kf-srv {
        display: none;
    }
}

@media screen and (max-width: 1099px) {
    .x7-kf-page {
        padding-left: 8px;
        padding-right: 8px;
    }
    .x7-kf-hd {
        flex-direction: column;
        align-items: flex-start;
    }
    .x7-kf-when {
        flex: 0 0 54px;
    }
    .x7-kf-go {
        flex: 0 0 76px;
    }
}

/* 日期条在中等宽度下容不下 9 个胶囊，收窄 + 缩间距，保证一行放下 */
@media screen and (max-width: 1339px) {
    .x7-kf-dates {
        gap: 6px;
    }
    .x7-kf-date {
        width: 62px;
        height: 54px;
        border-radius: 12px;
    }
    .x7-kf-date em {
        font-size: 14px;
    }
    .x7-kf-date i {
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   48. 找游戏页（/?ct=indexsearch）右栏「热门游戏」卡 2026-11-17
   - 取代原来的「游戏开服」卡（开服已统一走左栏导航入口）
   - 复用首页 .x7-ranklist 的条目样式，只补顶部间距与空态
   -------------------------------------------------------------------------- */
body .x7-hot-none {
    padding: 28px 0 32px;
    text-align: center;
    font-size: 13px;
    color: var(--tap-text-3);
}

/* --------------------------------------------------------------------------
   49. 全站内容页顶部间距统一 = 首页（顶栏 80 + 24 = 104）2026-11-17
   - 老模板的卡片自带 margin-top，会让内容比首页低一截（新闻/攻略详情 20px）
   - 容器已经有 104 的上内边距，首个子块不再重复留白
   -------------------------------------------------------------------------- */
body .container.wrapper.games-details > .about-games:first-child,
body .games-details > .about-games:first-child {
    margin-top: 0 !important;
}

/* 礼包详情 / 用户中心类页面：主容器是 .g-user-center-wrap，之前没有顶部让位，内容会被顶栏压住 */
body > .g-user-center-wrap,
body .clear-fix.g-user-center-wrap {
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
    box-sizing: border-box;
}

/* 用户中心（我的礼包/我的金币/账号绑定等）：.main 原本 margin-top:40，被顶栏压住，统一贴到 104 */
body > .main.clearfix {
    margin-top: calc(var(--x7-bar-h) + 24px) !important;
}

/* --------------------------------------------------------------------------
   50. 礼包页 / 开服表：标题与内容收进同一张白卡框架 2026-11-17
   - 礼包页原来标题浮在灰底上、礼包各自一张小白卡，现在整块一张白卡，条目改浅灰
   - 开服表原来只有日期条+列表在白卡里，标题与统计浮在外面，现在并入同一张卡
   -------------------------------------------------------------------------- */

/* 礼包大全 */
body .gifts-games-list.wid12 {
    margin-top: calc(var(--x7-bar-h) + 24px) !important;
    padding: 20px 24px 24px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow) !important;
    box-sizing: border-box;
}

body .gifts-games-list .gifts-list-box > li {
    background: var(--tap-bg) !important;
    box-shadow: none !important;
}

body .gifts-games-list .r-tit1 {
    margin-bottom: 6px !important;
}

/* 游戏开服表 */
body .x7-kf-board {
    padding: 0 20px 10px !important;
    background: #fff !important;
    border-radius: var(--tap-radius-lg) !important;
    box-shadow: var(--tap-shadow) !important;
    box-sizing: border-box;
}

body .x7-kf-panel {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body .x7-kf-hd {
    padding: 20px 0 14px !important;
}

/* --------------------------------------------------------------------------
   51. 列表页翻页（.pagenumber）：旧组件是橙色方块，统一成青绿胶囊 2026-11-17
   - 礼包 / 找游戏 / 商城 共用同一套分页 HTML
   -------------------------------------------------------------------------- */
body .pagenumber {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    float: none !important;
    width: 100% !important;
    padding: 18px 0 6px;
}

body .pagenumber > a,
body .pagenumber > span.current {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f5f6f8 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    color: var(--tap-text-2) !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

body .pagenumber > span.current {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-weight: 700 !important;
}

body .pagenumber > a:hover {
    background: var(--tap-primary-light) !important;
    color: var(--tap-primary-ink) !important;
}

body .pagenumber > span:not(.current) {
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--tap-text-3) !important;
}

/* --------------------------------------------------------------------------
   52. 礼包页改为滚动加载（下拉到底自动取下一批）2026-11-17
   - 底部分页由脚本隐藏，改成「加载中 / 到底啦」两种状态条
   -------------------------------------------------------------------------- */
body .x7-lb-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 6px;
    font-size: 13px;
    color: var(--tap-text-3);
}

body .x7-lb-loading[hidden] {
    display: none !important;
}

body .x7-lb-loading i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--tap-primary-light);
    border-top-color: var(--tap-primary-ink);
    animation: x7LbSpin .7s linear infinite;
}

@keyframes x7LbSpin {
    to { transform: rotate(360deg); }
}

body .x7-lb-loading .x7-lb-retry {
    color: var(--tap-primary-ink);
    text-decoration: none;
}

body .x7-lb-end {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 0 12px;
    font-size: 13px;
    color: var(--tap-text-2);
    letter-spacing: 1px;
}

body .x7-lb-end[hidden] {
    display: none !important;
}

body .x7-lb-end::before,
body .x7-lb-end::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e3e7ec;
}

/* --------------------------------------------------------------------------
   53. 礼包条目：白底 + hover 反馈 2026-11-17
   - 之前是浅灰底、无 hover；改成白底 + 淡描边，鼠标移上去描边转青绿并轻微浮起
   -------------------------------------------------------------------------- */
body .gifts-games-list .gifts-list-box > li {
    background: #fff !important;
    border: 1px solid #e8ecf1 !important;
    box-shadow: none !important;
    -webkit-transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, -webkit-transform .18s ease;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body .gifts-games-list .gifts-list-box > li:hover {
    background: #fbfdfc !important;
    border-color: rgba(249, 218, 1, .45) !important;
    box-shadow: 0 8px 22px rgba(16, 42, 38, .08) !important;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    z-index: 2;
}

/* --------------------------------------------------------------------------
   54. 礼包大全：标题行 + 礼包小搜索 2026-11-17
   - 搜索框与标题同排，右侧对齐；输入框胶囊形，聚焦描边转青绿
   - 搜索态下为平铺结果，空态给一条提示
   -------------------------------------------------------------------------- */
body .x7-lb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 48px;
    margin-bottom: 8px;
}

body .x7-lb-head .r-tit1 {
    flex: 0 1 auto;
    min-width: 0;
    height: 48px;
}

body .x7-lb-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
}

body .x7-lb-search input[type="text"] {
    width: 196px;
    height: 36px;
    line-height: 36px;
    padding: 0 14px;
    border: 1px solid #e3e7ec;
    border-radius: 18px;
    background: #f7f9fa;
    font-size: 13px;
    color: var(--tap-text-1);
    outline: none;
    -webkit-appearance: none;
    -webkit-transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body .x7-lb-search input[type="text"]:focus {
    background: #fff;
    border-color: rgba(249, 218, 1, .5);
    box-shadow: 0 0 0 3px rgba(249, 218, 1, .10);
}

body .x7-lb-search input[type="text"]::-webkit-input-placeholder {
    color: var(--tap-text-3);
}

body .x7-lb-search button {
    height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: var(--tap-primary);
    color: var(--tap-on-primary);
    font-size: 13px;
    line-height: 36px;
    cursor: pointer;
    -webkit-transition: background-color .18s ease;
    transition: background-color .18s ease;
}

body .x7-lb-search button:hover {
    background: var(--tap-primary-dark);
}

body .x7-lb-inp {
    position: relative;
    display: block;
}

body .x7-lb-inp input[type="text"] {
    padding-right: 34px;
}

body .x7-lb-search .x7-lb-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    line-height: 17px;
    text-align: center;
    border-radius: 50%;
    background: #dbe1e7;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    -webkit-transition: background-color .18s ease;
    transition: background-color .18s ease;
}

body .x7-lb-search .x7-lb-clear:hover {
    background: var(--tap-primary);
    color: var(--tap-on-primary);
}

/* 搜索无结果 */
body .gifts-games-list .gifts-list-box > li.x7-lb-empty {
    float: none;
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    margin: 20px 0 8px;
    padding: 48px 20px;
    border: 1px dashed #e3e7ec !important;
    background: #fff !important;
    text-align: center;
    box-shadow: none !important;
}

body .gifts-games-list .gifts-list-box > li.x7-lb-empty:hover {
    -webkit-transform: none;
    transform: none;
    border-color: #e3e7ec !important;
    box-shadow: none !important;
}

body .x7-lb-empty p {
    font-size: 15px;
    color: var(--tap-text-2);
    line-height: 24px;
    margin-bottom: 10px;
}

body .x7-lb-empty a {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    padding: 0 20px;
    border-radius: 17px;
    background: var(--tap-primary-light);
    color: var(--tap-primary-ink);
    font-size: 13px;
    text-decoration: none;
}

body .x7-lb-empty a:hover {
    background: var(--tap-primary);
    color: var(--tap-on-primary);
}

@media (max-width: 1200px) {
    body .x7-lb-search input[type="text"] {
        width: 168px;
    }
}

@media (max-width: 900px) {
    body .x7-lb-head {
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding-bottom: 6px;
    }

    body .x7-lb-search input[type="text"] {
        width: 200px;
    }
}

/* --------------------------------------------------------------------------
   55. 找游戏页：分类筛选条（灰底胶囊 + 下拉吸顶）2026-11-17
   - 白卡内灰底胶囊（#f4f5f7），选中实心主题色、白字
   - 滚动超过首屏后整条吸附在顶栏下沿（top = 顶栏 80），只保留一行，
     右侧出现箭头，点开在下方浮出全部分类（不推动列表）
   -------------------------------------------------------------------------- */
/* .listcontent 自带 overflow:hidden（原站用来清浮动），会把它变成滚动容器，
   sticky 的 top 于是变成固定偏移（整条被顶下 80px）——这里放开 */
body.pg-find .listcontent {
    overflow: visible !important;
}

/* 关键：浏览器滚动锚定（scroll anchoring）
   吸顶条高度从 104（两行）收到 66（一行）时，文档变短 38px，浏览器会为了
   「保持视口内容不动」自动改写 scrollTop，于是 stuck 判据在阈值两侧来回跳，
   肉眼看到吸顶条和右栏一起闪动。禁掉锚定后滚动位置不受影响，高度变化只发生一次。 */
html,
body {
    overflow-anchor: none;
}

body .x7-ff {
    position: -webkit-sticky;
    position: sticky;
    top: var(--x7-bar-h);
    z-index: 200;
    display: block;
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-sizing: border-box;
    /* 自然高度由 JS 量出来写进 --x7-ff-h（换行行数随宽度变），吸顶态再收到 66。
       只对 height 做过渡：回拉到顶时下方列表平滑让位，不再瞬间跳 88px“抖一下”。 */
    height: var(--x7-ff-h, auto);
    overflow: hidden;
    -webkit-transition: height .24s cubic-bezier(.25, .8, .35, 1);
    transition: height .24s cubic-bezier(.25, .8, .35, 1);
    /* 注意：box-shadow / border-radius 故意不做过渡。
       半透明阴影在白卡上是下方那层浅灰，淡出时会被看成一根灰线闪一下再消失。 */
}

body .x7-ff .x7-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 10px;
    float: none !important;
    width: 100% !important;
    /* 自然高度同样由 JS 量进 --x7-ff-ch，吸顶态裁到 34（一行），
       与条本身同步做 height 过渡，胶囊被逐行裁掉而不是整块消失 */
    height: var(--x7-ff-ch, auto) !important;
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: hidden !important;
    /* 吸顶态要加 padding-right 让出箭头位置，不加 border-box 会顶出卡片右边缘 96px */
    box-sizing: border-box;
    -webkit-transition: height .24s cubic-bezier(.25, .8, .35, 1);
    transition: height .24s cubic-bezier(.25, .8, .35, 1);
}

body .x7-ff .x7-chips > a {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 34px !important;
    padding: 0 17px !important;
    margin: 0 !important;
    border: 0;
    border-radius: 17px !important;
    background: #f4f5f7 !important;
    color: #3f444b !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap;
    text-decoration: none;
    -webkit-transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

body .x7-ff .x7-chips > a:hover {
    background: #e9ecef !important;
    color: #1b2027 !important;
}

body .x7-ff .x7-chips > a.active,
body .x7-ff .x7-chips > a.on {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 14px rgba(249, 218, 1, .26);
}

/* 吸顶态：定高 66，只露第一行，右端渐隐 + 箭头 */
body .x7-ff.is-stuck {
    height: 66px;
    border-radius: 0 0 var(--tap-radius-lg) var(--tap-radius-lg);
    box-shadow: 0 10px 24px rgba(16, 42, 38, .10);
}

/* 保持换行、只把容器高度裁到一行：
   切态时不再从 wrap 变 nowrap，胶囊位置不会整块重排，只有高度在动 */
body .x7-ff.is-stuck .x7-chips {
    flex-wrap: wrap !important;
    height: 34px !important;
    overflow: hidden !important;
    padding-right: 96px !important;
}
body .x7-ff.is-stuck .x7-chips > a {
    flex: 0 0 auto;
}

body .x7-ff-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 168px;
    height: auto;
    padding: 0 16px 0 84px;
    border: 0;
    border-radius: 0 0 var(--tap-radius-lg) 0;
    /* 渐隐要盖住“裁掉的半个胶囊”的硬边：不透明部分要落在 chips 的裁切线以左 */
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 34%, #fff 100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 34%, #fff 100%);
    cursor: pointer;
    outline: none;
}

body .x7-ff.is-stuck .x7-ff-toggle {
    display: -webkit-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body .x7-ff-toggle i {
    display: -webkit-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f2f4;
    color: #5c646d;
    -webkit-transition: transform .2s ease, background-color .2s ease;
    transition: transform .2s ease, background-color .2s ease;
}

body .x7-ff-toggle:hover i {
    background: #e6e9ec;
}

body .x7-ff.is-open .x7-ff-toggle i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* 展开态：条自身撑开、多行铺开
   原方案把 chips 绝对定位到条下方做浮层，结果吸顶条内只剩一个箭头（空一大块），
   这里改成条本体展开，高度自适应，下方列表顺延 —— 条内不会出现空白。 */
body .x7-ff.is-open {
    height: auto;
    max-height: 66vh;
    overflow: hidden;
    border-radius: var(--tap-radius-lg);
    box-shadow: 0 16px 30px rgba(16, 42, 38, .12);
}

body .x7-ff.is-open .x7-chips {
    position: static;
    flex-wrap: wrap !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: calc(66vh - 34px);
    padding: 0 96px 0 0 !important;
    background: transparent !important;
    box-shadow: none;
}

/* 展开时箭头固定在右上角，不随条一起拉高 */
body .x7-ff.is-open .x7-ff-toggle {
    top: 0;
    bottom: auto;
    height: 66px;
}

/* 排序行（不吸顶）：排序按钮已去掉，只留计数并靠右 */
body .x7-ff-sort {
    display: -webkit-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 12px 4px 10px;
}

body .x7-ff-sort .x7-sorts {
    display: -webkit-box;
    display: flex;
    align-items: center;
    gap: 22px;
}

body .x7-ff-sort .x7-sorts > a {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    color: var(--tap-text-2);
    text-decoration: none;
    -webkit-transition: color .16s ease;
    transition: color .16s ease;
}

body .x7-ff-sort .x7-sorts > a:hover {
    color: var(--tap-text-1);
}

body .x7-ff-sort .x7-sorts > a.active,
body .x7-ff-sort .x7-sorts > a.on {
    color: var(--tap-primary-ink);
    font-weight: 700;
}

body .x7-ff-sort .game-quantity {
    font-size: 13px;
    color: var(--tap-text-3);
}

@media (max-width: 900px) {
    body .x7-ff {
        padding: 12px 14px;
    }

    body .x7-ff.is-stuck {
        height: 58px;
    }

    body .x7-ff .x7-chips {
        gap: 8px;
    }

    body .x7-ff .x7-chips > a {
        height: 32px;
        padding: 0 14px !important;
        font-size: 14px !important;
        border-radius: 16px !important;
    }

    body .x7-ff.is-stuck .x7-chips {
        padding-right: 90px;
    }

    body .x7-ff-toggle {
        width: 104px;
        padding-left: 46px;
    }

    body .x7-ff-sort .x7-sorts {
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   57. 首页「推荐」卡片标题条：滚动时吸顶（2026-11-17）
   - 高度不变（40），只切背景/圆角/阴影，避免像找游戏筛选条那样高度突变
   - 卡片左右 padding 12，标题条用负边距拉满整卡宽度，
     否则列表从两侧露出来一条
   -------------------------------------------------------------------------- */
body .x7-feed-card {
    /* 卡片自带 overflow:hidden，会把自己变成滚动容器，里面的 sticky 直接失效 */
    overflow: visible !important;
}

body .x7-feed-card .x7-card-hd {
    position: -webkit-sticky;
    position: sticky;
    /* 往上压 2px 缩进顶栏下面：吸顶时如果正好卡在 80 上，顶栏和这条之间会露出一条
       页面底色的细缝（浏览器取整 / 系统 125% 缩放时特别明显）。压进去就看不到了 */
    top: calc(var(--x7-bar-h) - 2px);
    z-index: 90;
    /* 卡片左右 padding 20、标题条原本 padding 14：负边距拉满整卡，内边距补回 34，
       这样滚动时列表不会从标题条两侧露出来，文字位置也不变 */
    margin: 0 -20px 6px -20px !important;
    padding: 0 34px !important;
    background: #fff;
    border-radius: var(--tap-radius-lg) var(--tap-radius-lg) 0 0;
    box-sizing: border-box;
    /* 高度要说变就变会顶动列表，所以只给 height 做过渡 */
    -webkit-transition: height .24s cubic-bezier(.25, .8, .35, 1);
    transition: height .24s cubic-bezier(.25, .8, .35, 1);
}

/* 吸顶态：压紧到 34（文字上留白 12 → 5），纯白贴平，不加阴影、不留圆角 */
body .x7-feed-card .x7-card-hd.is-stuck {
    height: 34px !important;
    border-radius: 0;
    box-shadow: none;
}

/* ==========================================================================
   58. 0.1 折专区列表：紧凑横排卡（2026-11-17）
   --------------------------------------------------------------------------
   旧版是「88 图标 + 三张 178 高竖版截图」的单列大卡，一张 400 高，一屏看不到两个。
   改成横向一行：64 图标 + 标题/评分标签/两行简介 + 右侧下载按钮，一行约 104 高。
   原内联样式与 §24 的 .game_list 规则已随模板一起弃用（markup 换成 x7-zk-*）。
   ========================================================================== */
body .x7-zk-wrap {
    padding-bottom: 36px;
}

body .x7-zk-banner {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    margin: 0 0 14px;
    border-radius: var(--tap-radius-lg);
}

body .x7-zk-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-zk-item {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid var(--tap-border);
    border-radius: var(--tap-radius-lg);
    -webkit-transition: box-shadow .18s ease, border-color .18s ease, -webkit-transform .18s ease;
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

body .x7-zk-item:hover {
    border-color: transparent;
    box-shadow: var(--tap-shadow-hover);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

body .x7-zk-link {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: inherit;
    color: inherit;
    text-decoration: none !important;
}

body .x7-zk-icon {
    display: block;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 64px;
    flex: 0 0 64px;
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px;
    background: #f5f5f7;
    object-fit: cover;
}

body .x7-zk-main {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-zk-name {
    margin: 0 0 3px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--tap-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color .18s ease;
    transition: color .18s ease;
}

body .x7-zk-meta {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 4px !important;
    font-size: 12px;
    line-height: 17px;
    color: var(--tap-text-3);
}

body .x7-zk-info {
    margin-right: 2px;
}

body .x7-zk-meta em {
    font-style: normal;
    font-weight: 600;
    color: #ff8a00;
}

body .x7-zk-tag {
    padding: 0 8px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    border-radius: 9px;
    color: var(--tap-primary-ink);
    background: rgba(249, 218, 1, .10);
}

body .x7-zk-desc {
    margin: 0 !important;
    font-size: 12px;
    line-height: 18px;
    color: var(--tap-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body .x7-zk-btn {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 72px;
    flex: 0 0 72px;
    width: 72px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 13px;
    color: var(--tap-on-primary) !important;
    background: var(--tap-primary);
    border-radius: 16px;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-zk-item:hover .x7-zk-btn {
    background: var(--tap-primary-dark);
}

body .x7-zk-item:hover .x7-zk-name {
    color: var(--tap-primary-ink);
}

/* ==========================================================================
   59. 左栏临时下线的栏目：0.1折 / 逛商城 / 攻略站 / 客服中心（2026-11-17、11-19）
   --------------------------------------------------------------------------
   只做展示层隐藏，模板里的入口和对应页面都还在，要恢复删掉这一段即可。
   按 href 和 title 双重匹配：静态导航是 ?ct=indexsearch&ac=zhekou / ?ct=mall /
   ?ct=news&type=gl / ?ct=kefu，后台自定义导航若换成 /zhekou.html 之类的地址，
   靠 title 也能命中。
   ========================================================================== */
body .x7-nav-item[href*="ac=zhekou"],
body .x7-nav-item[href*="ct=zhekou"],
body .x7-nav-item[title="0.1折"],
body .x7-nav-item[href*="ct=mall"],
body .x7-nav-item[href*="type=gl"],
body .x7-nav-item[href*="ct=kefu"],
body .x7-nav-item[title="逛商城"],
body .x7-nav-item[title="攻略站"],
body .x7-nav-item[title="客服中心"] {
    display: none !important;
}

/* ==========================================================================
   60. 排行榜（templates/pc/allgameph/index.html）整页重排（2026-11-17）
   --------------------------------------------------------------------------
   旧版是 1200 版心 + 表格布局：三张 3:2 大封面（且取 image_sl_pc，数据为空 → 灰块）、
   15 个分类平铺 4 行、榜单行里名称和两个按钮隔了半屏。
   新版统一成「白卡 + 分节」：16:9 封面卡、胶囊筛选、紧凑榜单行、分类九宫格。
   ========================================================================== */
body .x7-rk {
    padding-bottom: 36px;
}

body .x7-rk-card {
    margin: 0 0 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--tap-border);
    border-radius: var(--tap-radius-lg);
    box-sizing: border-box;
}

body .x7-rk-title,
body .x7-rk-sub {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    color: var(--tap-text-1);
}

body .x7-rk-title::before,
body .x7-rk-sub::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--tap-primary);
}

body .x7-rk-sub {
    font-size: 14px !important;
    line-height: 20px !important;
}

body .x7-rk-sub::before {
    height: 12px;
}

/* ---- 年度热门：16:9 封面 + 底部渐隐压名字 ---- */
body .x7-rk-hot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-rk-hot > li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

body .x7-rk-hot-a {
    display: block;
    text-decoration: none !important;
}

body .x7-rk-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f3f5;
}

body .x7-rk-cover img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    -webkit-transition: -webkit-transform .35s ease;
    transition: transform .35s ease;
}

body .x7-rk-hot-a:hover .x7-rk-cover img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

body .x7-rk-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 7px;
    background: rgba(16, 24, 32, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

body .x7-rk-badge.b1 {
    background: -webkit-linear-gradient(top, #ffb14d, #ff8a00);
    background: linear-gradient(180deg, #ffb14d, #ff8a00);
}

body .x7-rk-badge.b2 {
    background: -webkit-linear-gradient(top, #b9c4d2, #8b99ab);
    background: linear-gradient(180deg, #b9c4d2, #8b99ab);
}

body .x7-rk-badge.b3 {
    background: -webkit-linear-gradient(top, #e5ad7d, #c4814e);
    background: linear-gradient(180deg, #e5ad7d, #c4814e);
}

body .x7-rk-hot-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 10px 7px;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- 分类胶囊 ---- */
body .x7-rk-filter {
    padding: 12px 16px;
}

body .x7-rk-chips {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}

body .x7-rk-chips > a {
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--tap-text-2);
    background: #f4f5f7;
    border-radius: 15px;
    text-decoration: none !important;
    -webkit-transition: background .18s ease, color .18s ease;
    transition: background .18s ease, color .18s ease;
}

body .x7-rk-chips > a:hover {
    background: #eceef1;
    color: var(--tap-text-1);
}

body .x7-rk-chips > a.on {
    background: var(--tap-primary);
    color: var(--tap-on-primary);
    font-weight: 600;
}

/* ---- 榜单行 ---- */
body .x7-rk-block {
    margin-top: 18px;
}

/* 平台切换已下线：首个区块贴到卡片内边距即可，不要多出 18px */
body .x7-rk-block:first-of-type {
    margin-top: 0;
}

body .x7-rk-list {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-rk-list > li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f2f3f5;
    box-sizing: border-box;
}

body .x7-rk-list > li:last-child {
    border-bottom: 0;
}

body .x7-rk-no {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 22px;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #b3b8be;
    background: #f4f5f7;
    border-radius: 7px;
}

body .x7-rk-no.top1 {
    background: -webkit-linear-gradient(top, #ffb14d, #ff8a00);
    background: linear-gradient(180deg, #ffb14d, #ff8a00);
    color: #fff;
}

body .x7-rk-no.top2 {
    background: -webkit-linear-gradient(top, #b9c4d2, #8b99ab);
    background: linear-gradient(180deg, #b9c4d2, #8b99ab);
    color: #fff;
}

body .x7-rk-no.top3 {
    background: -webkit-linear-gradient(top, #e5ad7d, #c4814e);
    background: linear-gradient(180deg, #e5ad7d, #c4814e);
    color: #fff;
}

body .x7-rk-icon {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 48px;
    flex: 0 0 48px;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
}

body .x7-rk-icon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body .x7-rk-main {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-rk-name {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--tap-text-1);
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color .18s ease;
    transition: color .18s ease;
}

body .x7-rk-name:hover {
    color: var(--tap-text-1) !important; /* hover 保持游戏名本身颜色，不变黄 */
}

body .x7-rk-meta {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
    margin: 2px 0 0 !important;
    font-size: 12px;
    line-height: 17px;
    color: var(--tap-text-3);
    white-space: nowrap;
    overflow: hidden;
}

body .x7-rk-meta em {
    font-style: normal;
    font-weight: 600;
    color: #ff8a00;
}

body .x7-rk-acts {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 8px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}

body .x7-rk-btn {
    display: block;
    width: 64px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--tap-on-primary) !important;
    background: var(--tap-primary);
    border-radius: 15px;
    text-decoration: none !important;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-rk-btn:hover {
    background: var(--tap-primary-dark);
}

body .x7-rk-empty {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 22px 0 !important;
    font-size: 13px;
    color: var(--tap-text-3);
    border-bottom: 0 !important;
}

/* ---- 分类排行榜九宫格 ---- */
body .x7-rk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-rk-grid > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .x7-rk-grid a {
    display: block;
    text-align: left;
    text-decoration: none !important;
}

body .x7-rk-gicon {
    position: relative;
    display: block;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f7;
}

body .x7-rk-gicon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body .x7-rk-gicon em {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(16, 24, 32, .55);
    border-radius: 6px;
}

body .x7-rk-gname {
    display: -webkit-box;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--tap-text-2);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

/* ==========================================================================
   61. 游戏详情页整页重排（templates/pc/shouyou/info.html，2026-11-17）
   --------------------------------------------------------------------------
   旧版是全宽单列：整幅 banner（630 高）→ 图标信息 → 两个大按钮 → 福利条 →
   详情 tab → 介绍/截图/礼包/活动 → 右栏攻略/排行 → 相关推荐，一屏信息过散。
   新版对齐参考站结构：主列 1fr + 右栏 400，头部「截图轮播 + 图标信息 + 标签 +
   下载」，下面三个快捷入口，再是 tab 与内容卡；右栏放扫码、热门游戏、游戏信息、
   底部加常驻下载条。
   ========================================================================== */
/* 版心与首页 / 找游戏完全一致（2026-11-17 二次对齐）
   容器铺满 body 内容区（左导航右侧 → 右内边距），中列 780/740 在「容器 - 右栏」
   的剩余空间里左右 auto 居中，右栏 400/370 贴右 —— 与 .x7-layout > .x7-main/.x7-aside
   同一套算法。改前这里是硬算 780+400+32 宽 + 右栏写死 320，结果主列比其他页窄 84px、
   左边缘偏 74px，右栏整体早结束 289px，一屏就能看出没对齐。 */
body .container.wrapper.games-details {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    /* body 已经留了 padding-left（=--x7-x + 导航宽），容器不能再让位一次，左右都写 0 */
    padding: calc(var(--x7-bar-h) + 24px) 0 60px !important;
    box-sizing: border-box !important;
}

body .x7-dt {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

/* 主列：外框 780/740，左右各 (外框 - 内容) / 2 内边距 → 内容卡 716/676 */
body .x7-dt-main {
    flex: 0 0 var(--x7-center-w);
    width: var(--x7-center-w);
    min-width: 0;
    margin: 0 auto;
    padding: 0 calc((var(--x7-center-w) - var(--x7-col-w)) / 2);
    box-sizing: border-box;
}

/* 详情页右栏直接复用首页 x7-aside 的那套卡片（热门游戏 / 下载 / 关于我们），
   这里只补容器几何；注意不能用 flex column —— 卡片会被 max-height 压缩、
   内容被 overflow:hidden 切掉（下载按钮只露一半），块级堆叠 + 卡自带外边距才是首页的表现。 */
body .x7-dt-side {
    flex: 0 0 var(--x7-side-w);
    width: var(--x7-side-w) !important;
    position: -webkit-sticky;
    position: sticky;
    top: var(--x7-bar-h);
    align-self: flex-start;
    max-height: calc(100vh - var(--x7-bar-h) - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

body .x7-dt-side::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* ---- 头部卡 ---- */
body .x7-dt-hero {
    margin-bottom: 14px;
    padding: 16px;
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-sizing: border-box;
}

body .x7-dt-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #eef0f3;
}

body .x7-dt-stage img.x7-dt-shot {
    position: relative;
    z-index: 1;
    display: block;
    width: 100% !important;
    height: 100% !important;
    /* 截图是 480×800 竖版手机图，cover 会把它放大 2 倍裁成一条 → 改成整张完整显示 */
    object-fit: contain;
}

/* 竖版截图完整显示后两侧留白：用同一张图放大模糊垫底，不留灰块 */
body .x7-dt-stage img.x7-dt-bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    /* 放大 1.15 盖住模糊边缘的半透明圈，省掉左右各 -5% 的偏移 */
    transform: scale(1.15);
    filter: blur(20px) saturate(1.2) brightness(.92);
    opacity: .9;
}

body .x7-dt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(12, 20, 26, .45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

body .x7-dt-play i {
    position: absolute;
    left: 21px;
    top: 17px;
    width: 0;
    height: 0;
    border-left: 15px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

body .x7-dt-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 2px;
    overflow-x: auto;
}

body .x7-dt-thumbs::-webkit-scrollbar {
    height: 5px;
}

body .x7-dt-thumbs::-webkit-scrollbar-thumb {
    background: #dfe3e8;
    border-radius: 3px;
}

body .x7-dt-thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #eef0f3;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
}

body .x7-dt-thumb.is-on {
    border-color: var(--tap-primary-ink);
}

body .x7-dt-thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    /* 格子 92×52 正好是 16:9：封面整张填满；竖版截图取上半部分（顶部有标题/UI），
       比塞成一条细缝更好认 */
    object-fit: cover;
    object-position: center top;
}

/* 视频位：缩略图排在最前，中间一个播放角标；点开后主图区替换成 <video> */
body .x7-dt-thumb.is-video {
    position: relative;
}

body .x7-dt-thumb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: rgba(12, 20, 26, .55);
    box-shadow: 0 1px 6px rgba(17, 24, 32, .22);
}

body .x7-dt-thumb-play i {
    position: absolute;
    left: 10px;
    top: 8px;
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

body .x7-dt-thumb.is-video.is-on .x7-dt-thumb-play {
    background: var(--tap-primary);
}

body .x7-dt-stage .x7-dt-video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    display: none;
    width: 100%;
    height: 100%;
    /* 透明底：单列时主图区是 2:1，16:9 的视频两侧留白处露出下面那层模糊底图，
       不会出现两条生硬的黑边 */
    background: transparent;
    object-fit: contain;
}

/* 视频模式下只藏图片主体，模糊底图留着给视频做左右垫底 */
body .x7-dt-stage.is-video img.x7-dt-shot {
    visibility: hidden;
}

body .x7-dt-stage.is-video .x7-dt-video {
    display: block;
}

body .x7-dt-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

body .x7-dt-icon {
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px;
    object-fit: cover;
    background: #f4f5f7;
}

body .x7-dt-tit {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-dt-tit h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 27px !important;
    color: var(--tap-text-1);
}

body .x7-dt-off {
    flex: 0 0 auto;
    padding: 0 7px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    color: #fff;
    background: -webkit-linear-gradient(left, #ff8a4d, #f5222d);
    background: linear-gradient(90deg, #ff8a4d, #f5222d);
    border-radius: 6px;
}

body .x7-dt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 0 !important;
    font-size: 12px;
    line-height: 17px;
    color: var(--tap-text-3);
}

body .x7-dt-meta em {
    font-style: normal;
    /* 与「人在玩」完全一致：同色、同字重，避免数字看起来被强调 */
    font-weight: 400;
    color: inherit;
}

body .x7-dt-score {
    flex: 0 0 auto;
    padding-left: 12px;
    text-align: right;
    border-left: 1px solid #f0f2f5;
}

body .x7-dt-score strong {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    /* 按要求去掉黄色观感（原为主色深金），改用正文深色 */
    color: #1f2329;
    background: none;
}

body .x7-dt-score em {
    margin-left: 2px;
    font-size: 11px;
    font-style: normal;
    color: var(--tap-text-3);
}

body .x7-dt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

body .x7-dt-tags > span,
body .x7-dt-tags > a {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    font-size: 12px;
    color: var(--tap-text-2);
    background: #f4f5f7;
    border-radius: 13px;
    text-decoration: none !important;
    -webkit-transition: color .18s, background-color .18s;
    transition: color .18s, background-color .18s;
}

/* 分类标签可点：跳该分类的游戏列表 */
body .x7-dt-tags > a.x7-dt-cate {
    color: var(--tap-text-2);
    font-weight: 600;
    cursor: pointer;
}

body .x7-dt-tags > a.x7-dt-cate:hover {
    color: var(--tap-primary-ink);
    background: var(--tap-primary-light);
}

body .x7-dt-btn {
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tap-on-primary) !important;
    background: var(--tap-primary);
    border-radius: 21px;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-dt-btn:hover {
    background: var(--tap-primary-dark);
}

body .x7-dt-btn.ghost {
    color: var(--tap-primary-ink) !important;
    background: rgba(249, 218, 1, .10);
}

body .x7-dt-btn.ghost:hover {
    background: rgba(249, 218, 1, .18);
}

body .x7-dt-btn.is-off {
    color: var(--tap-text-3) !important;
    background: #f4f5f7;
    font-weight: 500;
}

/* ---- 内容卡 ---- */
body .x7-dt-card {
    margin-bottom: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-sizing: border-box;
}

body .x7-dt-hd {
    display: flex;
    align-items: center;
    margin: 0 0 14px;
}

body .x7-dt-hd h3 {
    position: relative;
    margin: 0 !important;
    padding-left: 11px;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    color: var(--tap-text-1);
}

body .x7-dt-hd h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: var(--tap-primary);
}

body .x7-dt-hd .more {
    margin-left: auto;
    font-size: 12px;
    color: var(--tap-text-3) !important;
    text-decoration: none !important;
}

body .x7-dt-hd .more:hover {
    color: var(--tap-primary-ink) !important;
}

body .x7-dt-empty {
    padding: 18px 0;
    font-size: 13px;
    color: var(--tap-text-3);
}

/* 介绍正文：正文段落行高与转行，避免整段挤成一团 */
body .x7-dt .m-games-introduce {
    margin: 0 !important;
}

body .x7-dt .box-introduce {
    font-size: 14px;
    line-height: 26px;
    color: var(--tap-text-2);
    word-break: break-word;
}

/* 简介折叠：默认只露 2 行（2×26px），底部渐隐，右下角「展开详情」切换 */
body .x7-dt .x7-intro .w-con {
    position: relative;
    height: auto;
    max-height: 52px;
    overflow: hidden;
    -webkit-transition: max-height .28s ease;
    transition: max-height .28s ease;
}

body .x7-dt .x7-intro .w-con:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 14px;
    pointer-events: none;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

body .x7-dt .x7-intro.is-open .w-con {
    max-height: none;
}

body .x7-dt .x7-intro.is-open .w-con:after {
    display: none;
}

body .x7-dt .w-more {
    margin-top: 10px;
    text-align: right;
    text-indent: 0;
}

body .x7-dt .games-introduce-btn,
body .x7-dt .x7-dt-intro-btn {
    display: inline-block;
    height: 26px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 26px;
    /* 按要求去掉浅黄底色，改为纯文字按钮 */
    color: #4a4f57 !important;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    margin: 0 !important;
    text-decoration: none !important;
    text-indent: 0;
    cursor: pointer;
    -webkit-transition: color .18s;
    transition: color .18s;
}

body .x7-dt .x7-dt-intro-btn:hover {
    color: #1f2329 !important;
    background: transparent;
    text-decoration: underline !important;
}

/* 礼包 / 活动：沿用旧的 m-gift-b 卡片，但去掉额外上边距 */
body .x7-dt .m-gift-box {
    margin: 0 !important;
}

/* 礼包行的「领取」按钮：旧样式是绝对定位，改成静态后残留 margin:42px 12px 0 0，
   按钮在卡片里整体往下掉、文字也压在上半截。这里统一成 48 高胶囊，
   垂直居中、靠右对齐，line-height 与高度一致让「领取」两字真正居中。 */
body .m-gift-b > li > a > .btn,
body .x7-dt .m-gift-b > li > a > .btn {
    display: inline-block !important;
    margin: 0 0 0 auto !important;
    box-sizing: border-box !important;
    height: 40px !important;
    line-height: 40px !important;
    min-width: 88px;
    padding: 0 18px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    text-align: center !important;
    align-self: center !important;
}

body .x7-dt .m-gift-b {
    margin: 0 !important;
}

/* ---- 评价面板：详情页内原地切换 ---- */
body .x7-dt-evalcard .x7-cm-list > li.x7-ev {
    padding: 20px 0;
}

body .x7-dt-evalcard .x7-cm-empty {
    padding: 34px 0 46px;
}

body .x7-dt-evalcard .x7-eval-more {
    padding: 18px 0 4px;
}

/* ---- 下载按钮：内容卡内（主） ---- */
body .x7-dt-dlcard {
    padding: 20px 26px;
    border: 1px solid var(--tap-line);
}

body .x7-dt-dlcard #x7DlInline {
    display: block;
}

body .x7-dt-bar-btn {
    display: block;
    height: 60px;
    line-height: 60px;
    padding: 0 24px;
    box-sizing: border-box;
    border-radius: 30px;
    background: var(--tap-primary);
    color: var(--tap-on-primary) !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-dt-bar-btn:hover {
    background: var(--tap-primary-dark);
}

body .x7-dt-bar-btn.is-off {
    background: #e6e9ee;
    color: #8f97a3 !important;
    cursor: default;
}

/* ---- 悬浮兜底：仅当框内按钮滚出视野时出现在底部，宽度与内容卡对齐 ---- */
body .x7-dt-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 320;
    background: transparent;
    pointer-events: none;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: opacity .24s ease, -webkit-transform .28s cubic-bezier(.4, 0, .2, 1);
    transition: opacity .24s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}

body .x7-dt-bar.is-hide {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(120%);
    transform: translateY(120%);
}

body .x7-dt-bar-in {
    position: relative;
    width: var(--x7-col-w);
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(16, 42, 38, .16);
    pointer-events: auto;
}

/* ---- 窄屏：右栏收起，主列维持内容宽居中 ---- */
@media screen and (max-width: 1439px) {
    body .x7-dt {
        justify-content: center;
    }

    body .x7-dt-main {
        flex: 0 0 var(--x7-col-w);
        width: var(--x7-col-w);
        padding: 0;
        margin: 0 auto;
    }

    body .x7-dt-stage {
        aspect-ratio: 2 / 1;
    }

    body .x7-dt-side {
        display: none;
    }
}

/* ============================================================
   46. 玩家评价独立页 /shouyou_{id}_comment.html
   ------------------------------------------------------------
   参考 wehayoo /gDetail/{id}/comment：评价从详情页的页签里拆出来，
   单独一页放一张白卡 —— 顶部「‹ 详情 评价」、中间评价列表（空态居中）、
   底部固定下载按钮；右侧沿用详情页的推荐栏（热门游戏 / 下载 / 关于我们），
   主列与右栏几何完全复用 .x7-dt-main / .x7-dt-side。
   卡片最小高度撑到视口底部，短内容也不会只占半屏。
   ============================================================ */
body .container.wrapper.games-details.x7-cm-page {
    padding: calc(var(--x7-bar-h) + 24px) 0 24px !important;
}

body .x7-cm-card {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    /* 宽度交给外层 .x7-dt-main（780/740 外框 + 左右内边距 → 716/676），
       与详情页同一套算法，右侧留出 400/370 给推荐栏 */
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - var(--x7-bar-h) - 48px);
    background: #fff;
    border-radius: var(--tap-radius-lg);
    box-shadow: 0 2px 10px rgba(17, 24, 32, .04);
    box-sizing: border-box;
}

/* 顶部条：沿用详情页那套（sticky + 吸顶补圆角投影），这里只把上圆角留住 */
body .x7-cm-card > .x7-dt-top {
    border-radius: var(--tap-radius-lg) var(--tap-radius-lg) 0 0;
}

body .x7-cm-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 0;
    padding: 2px 30px 0;
    box-sizing: border-box;
}

/* 评价列表：每条之间一条细分割线，比详情页里堆在一起更清楚 */
body .x7-cm-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .x7-cm-list > li.x7-ev,
body .x7-cm-list > li.x7-ev:first-child {
    padding: 24px 0;
    border-top: 1px solid #f2f4f7;
}

body .x7-cm-list > li.x7-ev:first-child {
    border-top: 0;
}

body .x7-cm-body .x7-eval-more {
    padding: 4px 0 22px;
}

/* 空态：整块居中（截图里的「暂无评论」+ 空盒图标） */
body .x7-cm-empty {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 40px 0 60px;
    text-align: center;
}

body .x7-cm-empty-ico {
    display: block;
    width: 92px;
    height: 92px;
    margin-bottom: 14px;
}

body .x7-cm-empty-txt {
    margin: 0;
    color: #a3a9b2;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* 底部下载：贴在卡片底部，内容长时吸在视口底部 */
body .x7-cm-foot {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 150;
    margin-top: auto;
    padding: 16px 30px 22px;
    background: #fff;
    border-top: 1px solid #f2f4f7;
    border-radius: 0 0 var(--tap-radius-lg) var(--tap-radius-lg);
    box-sizing: border-box;
}

body .x7-cm-dl {
    display: block;
    height: 56px;
    border-radius: var(--x7-radius-pill);
    background: var(--tap-primary);
    color: var(--tap-on-primary) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 56px;
    text-align: center;
    text-decoration: none !important;
    letter-spacing: .5px;
    -webkit-transition: background-color .18s;
    transition: background-color .18s;
}

body .x7-cm-dl:hover {
    background: var(--tap-primary-dark);
}

body .x7-cm-dl.is-off {
    background: #eceef2;
    color: #9aa0a8 !important;
    cursor: default;
}

@media screen and (max-width: 900px) {
    body .x7-cm-body {
        padding: 2px 18px 0;
    }

    body .x7-cm-foot {
        padding: 12px 18px 16px;
    }

    body .x7-cm-dl {
        height: 50px;
        font-size: 16px;
        line-height: 50px;
    }

    body .x7-cm-empty-ico {
        width: 78px;
        height: 78px;
    }
}

/* ==========================================================================
   61. 单游戏礼包页 /lb_{id}.html（2026-11-19 改用「找游戏」页框架）
   --------------------------------------------------------------------------
   版心与 /?ct=indexsearch 完全一致：.x7-layout > .x7-main(740/676) + .x7-aside(370)，
   中列一张白卡：顶部游戏信息 + 行式礼包列表（图标 / 礼包名 / 剩余+礼包内容 / 领取）。
   上一版的「独立游戏头卡 + 两列小卡片」已废弃，样式一并删除。
   ========================================================================== */

/* 中列白卡：圆角 24，与找游戏页的 .listcontent 对齐 */
body .x7-lb-panel {
    background: #fff;
    border-radius: 24px;
    padding: 4px 0 12px;
    box-sizing: border-box;
}

/* ---- 顶部游戏信息：与列表同卡，底部一条分隔线 ---- */
body .x7-lb-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 18px;
    margin: 0;
    border-bottom: 1px solid var(--tap-line);
}

body .x7-lb-cover {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    background: #f2f4f7;
}

body .x7-lb-meta {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-lb-title {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 26px;
    font-weight: 700;
    color: var(--tap-text-1, #1b2026);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .x7-lb-sub {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: var(--tap-text-3, #98a1ab);
}

body .x7-lb-sub em {
    margin: 0 2px;
    font-style: normal;
    font-weight: 700;
    color: var(--tap-primary-ink);
}

body .x7-lb-open {
    flex: 0 0 auto;
    height: 40px;
    line-height: 40px;
    padding: 0 22px;
    border-radius: 20px;
    background: var(--tap-primary);
    color: var(--tap-on-primary) !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-lb-open:hover {
    background: var(--tap-primary-dark);
}

/* ---- 礼包行：复用找游戏的 .x7-feed-list 骨架，图标和行高收窄一点 ---- */
body .x7-lb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 4px;
}

body .x7-lb-bar-t {
    position: relative;
    margin: 0;
    padding-left: 11px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: var(--tap-text-1, #1b2026);
}

body .x7-lb-bar-t:before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--tap-primary);
}

body .x7-lb-bar-more {
    font-size: 12px;
    line-height: 20px;
    color: var(--tap-text-3, #98a1ab) !important;
    text-decoration: none !important;
}

body .x7-lb-bar-more:hover {
    color: var(--tap-primary-ink) !important;
}

body .x7-lb-list {
    margin: 0 !important;
    padding: 2px 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

body .x7-lb-list > li {
    padding: 15px 20px !important;
    gap: 16px !important;
    min-height: 0 !important;
}

body .x7-lb-list .f-ico {
    flex: 0 0 64px;
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px;
    overflow: hidden;
    background: #f2f4f7;
}

body .x7-lb-list .f-ico img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px;
    object-fit: cover;
}

body .x7-lb-list .f-tit {
    font-size: 17px !important;
    line-height: 24px !important;
}

body .x7-lb-list .f-meta {
    display: flex;
    flex-wrap: nowrap;
    /* 内容换行成多行时，左侧「剩余 x%」与第一行对齐 */
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    margin: 5px 0 0 !important;
}

/* 「|」分隔符原本是内容 span 的 ::before，会把内容首行推右 19px，
   而换行后的第二行从头开始，两行就对不齐。这里把它挪到「剩余 x%」后面，
   内容区的每一行都从同一左边缘开始。 */
body .x7-lb-list .f-meta > span.x7-lb-ct::before {
    content: none !important;
    padding: 0 !important;
}

body .x7-lb-list .f-meta > span:first-child::after {
    content: "|";
    padding: 0 8px;
    color: #dcdfe4;
    font-weight: 400;
}

body .x7-lb-list .f-meta > span {
    flex: 0 0 auto;
}

/* 礼包内容：放不下就换到下一行完整显示，不再截断成省略号；
   多行时与第一行内容的左边缘对齐 */
body .x7-lb-list .f-meta > span.x7-lb-ct {
    flex: 1 1 0%;
    min-width: 0;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: break-word;
    line-height: 22px !important;
    color: var(--tap-text-2, #6b7280) !important;
}

/* 礼包内容按「、」切成的段：段内不换行，换行只发生在段之间 */
body .x7-lb-list .x7-lb-ct .x7-lb-seg {
    display: inline-block;
    font-style: normal;
    max-width: 100%;
}

/* 领取按钮：压掉旧版 18px 高的雪碧图按钮 */
/* 礼包行的文字区不接收指针事件：实测真实鼠标点击会被 .f-tit/.f-meta 抢走，
   elementFromPoint 落在文字上导致按钮 onclick 不触发（脚本 el.click() 测不出来） */
body .x7-lb-list .f-info,
body .x7-lb-list .f-tit,
body .x7-lb-list .f-meta,
body .x7-lb-list .f-meta span,
body .x7-lb-list .x7-lb-ct {
    pointer-events: none !important;
}

body .x7-lb-take,
body .x7-lb-take.get-gifts,
body .x7-lb-take.get-gifts-btn,
body .x7-lb-take.get-gifts-btn-b {
    position: relative !important;
    z-index: 3;
    float: none !important;
    flex: 0 0 auto;
    width: auto !important;
    height: 40px !important;
    min-width: 84px;
    line-height: 40px !important;
    padding: 0 18px !important;
    box-sizing: border-box;
    border-radius: 20px !important;
    background: var(--tap-primary) !important;
    background-image: none !important;
    color: var(--tap-on-primary) !important;
    font-size: 14px !important;
    text-align: center;
    text-decoration: none !important;
    opacity: 1 !important;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-lb-take:hover {
    background: var(--tap-primary-dark) !important;
}

body .x7-lb-take.is-off {
    background: #eef1f4 !important;
    color: #9aa1a9 !important;
    pointer-events: none;
}

body .x7-lb-take span {
    display: none;
}

body .x7-lb-empty {
    padding: 44px 0 46px;
    font-size: 14px;
    color: var(--tap-text-3, #98a1ab);
    text-align: center;
}

@media screen and (max-width: 1024px) {
    body .x7-lb-panel {
        border-radius: 18px;
    }

    body .x7-lb-hero {
        gap: 14px;
        padding: 14px 16px 16px;
    }

    body .x7-lb-cover {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    body .x7-lb-title {
        font-size: 17px;
        line-height: 24px;
    }

    body .x7-lb-open {
        height: 36px;
        line-height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }

    body .x7-lb-list > li {
        padding: 13px 16px !important;
    }

    body .x7-lb-list .f-ico {
        flex: 0 0 56px;
        width: 56px !important;
        height: 56px !important;
        border-radius: 14px;
    }

    body .x7-lb-list .f-tit {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    body .x7-lb-take,
    body .x7-lb-take.get-gifts,
    body .x7-lb-take.get-gifts-btn,
    body .x7-lb-take.get-gifts-btn-b {
        height: 36px !important;
        line-height: 36px !important;
        min-width: 74px;
        padding: 0 14px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   62. 礼包领取弹窗（2026-11-19 重做）
   --------------------------------------------------------------------------
   旧弹窗是 466x352 的图片背景 + 橙色小按钮，且 zhekou_get/zhekou_quiet
   在本页模板里没有定义，点按钮会报错。新版改用白卡 + 绿色主按钮，
   弹窗里直接给游戏下载入口。
   ========================================================================== */
body .x7-lb-mask {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    /* 左侧固定导航(.x7-side z=400)、右栏粘性卡都在这之上，遮罩必须压过全站浮层 */
    z-index: 10000 !important;
    background: rgba(17, 24, 39, .45);
}

body .x7-lb-dlg {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    width: 430px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 24px 26px 22px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(17, 24, 39, .26);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10001 !important;
    text-align: left;
}

body .x7-lb-dlg-x {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 15px;
    background: #f2f4f7;
    color: #98a1ab !important;
    font-size: 20px;
    text-align: center;
    text-decoration: none !important;
}

body .x7-lb-dlg-x:hover {
    background: #e8ebef;
    color: #6b7280 !important;
}

body .x7-lb-dlg-hd {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 34px 16px 0;
    border-bottom: 1px solid var(--tap-line);
}

body .x7-lb-dlg-ico {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    background: #f2f4f7;
}

body .x7-lb-dlg-tt {
    flex: 1 1 auto;
    min-width: 0;
}

body .x7-lb-dlg-game {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    color: var(--tap-text-1, #1b2026);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .x7-lb-dlg-gift {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: var(--tap-text-2, #6b7280);
}

body .x7-lb-dlg-list {
    margin: 16px 0 18px;
    padding: 8px 16px;
    list-style: none;
    background: #f7f9fa;
    border-radius: 12px;
}

body .x7-lb-dlg-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #e6eaee;
    font-size: 13px;
    line-height: 20px;
}

body .x7-lb-dlg-list li:last-child {
    border-bottom: 0;
}

body .x7-lb-dlg-list li > span {
    flex: 0 0 62px;
    color: var(--tap-text-3, #98a1ab);
}

body .x7-lb-dlg-list li > em {
    flex: 1 1 auto;
    min-width: 0;
    font-style: normal;
    color: var(--tap-text-1, #1b2026);
    /* 弹窗内的奖励内容超长时按词换行，不硬拆英文/数字 */
    word-break: normal;
    overflow-wrap: break-word;
}

body .x7-lb-dlg-list li > em b {
    font-weight: 700;
    color: var(--tap-primary-ink);
}

/* 数量单位（个 / %），不做斜体 */
body .x7-lb-dlg-list li > em i.x7-lb-u {
    font-style: normal;
    font-weight: 400;
    color: var(--tap-text-2);
}

body .x7-lb-dlg-list li.is-code > em {
    font-family: Consolas, Menlo, monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--tap-primary-ink);
}

/* 未拿到礼包码时的提示文字（未登录 / 已抢光 / 已领取） */
body .x7-lb-dlg-list li.is-code > em.is-tip {
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--tap-text-3);
}

body .x7-lb-copy {
    flex: 0 0 auto;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    background: rgba(249, 218, 1, .12);
    color: var(--tap-primary-ink) !important;
    font-size: 12px;
    text-decoration: none !important;
}

body .x7-lb-copy:hover {
    background: rgba(249, 218, 1, .2);
}

body .x7-lb-dlg-ft {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .x7-lb-dlg-main {
    flex: 1 1 auto;
    height: 46px;
    line-height: 46px;
    border-radius: 23px;
    background: var(--tap-primary);
    color: var(--tap-on-primary) !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background .18s ease;
    transition: background .18s ease;
}

body .x7-lb-dlg-main:hover {
    background: var(--tap-primary-dark);
}

body .x7-lb-dlg-sub {
    flex: 0 0 92px;
    height: 46px;
    line-height: 46px;
    border-radius: 23px;
    background: #f2f4f7;
    color: var(--tap-text-2, #6b7280) !important;
    font-size: 15px;
    text-align: center;
    text-decoration: none !important;
}

body .x7-lb-dlg-sub:hover {
    background: #e8ebef;
}

@media screen and (max-width: 760px) {
    body .x7-lb-dlg {
        width: calc(100% - 32px) !important;
        padding: 20px 18px 18px;
    }

    body .x7-lb-dlg-list li > span {
        flex: 0 0 56px;
    }

    body .x7-lb-dlg-main,
    body .x7-lb-dlg-sub {
        height: 42px;
        line-height: 42px;
        font-size: 15px;
    }
}

/* ============================================================
   43.21 右栏吸顶对齐（2026-11-19）
   只做一件事：把 .x7-layout / 详情页容器的下内边距对齐到右栏
   max-height 里预留的 24px —— flex 容器里 sticky 元素的约束边是容器
   内容盒底边（页面底 − 该内边距），原来的 60px 会让右栏在滚到页面最底
   时被往上顶 29~36px。卡片尺寸、间距、热门游戏条数一律不动，保持原样式。
   ============================================================ */
body .x7-layout,
body > .container.wrapper.games-details {
    padding-bottom: 24px !important;
}

/* 1920 宽（全站主力分辨率）下右栏比一屏只多 12px：热门游戏每行上下内边距
   各收 1px（9→8），整栏刚好放进一屏，肉眼几乎无差别；更窄/更矮的窗口
   仍可在栏内滚动。卡片的字号、图标、留白一律不动。 */
body .x7-ranklist > li > a {
    padding: 8px 4px !important;
}

/* ============================================================
   43.22 登录 / 注册弹窗（手机号 + 短信验证码）
   ============================================================ */
.x7-login-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    max-width: calc(100vw - 40px);
    padding: 28px 28px 22px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(17, 24, 32, .2);
    box-sizing: border-box;
    /* 注册视图比登录多一两个字段，小屏时内部滚动，避免超出视口 */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: x7ModalPop .2s ease;
}

.x7-login-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--tap-text-1);
}

/* 登录弹窗顶部「验证码登录 / 账号密码登录」切换（2026-11-24 支持用户名登录） */
.x7-login-tabs {
    display: flex;
    gap: 4px;
    margin: 16px 0 12px;
    padding: 4px;
    border-radius: 12px;
    background: #f5f6f8;
}

.x7-login-tab {
    flex: 1 1 0;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #8a9099;
    cursor: pointer;
    transition: background-color .18s, color .18s;
}

.x7-login-tab:hover {
    color: #4b5159;
}

.x7-login-tab.is-on {
    background: #fff;
    color: #17181a;
}

.x7-login-pane[hidden] {
    display: none;
}

.x7-login-sub {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--tap-text-3);
}

.x7-login-field {
    display: flex;
    align-items: center;
    height: 46px;
    margin-bottom: 14px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--tap-line);
    border-radius: 12px;
    background: #f7f8fa;
    transition: border-color .18s, background-color .18s;
}

.x7-login-field:focus-within {
    border-color: var(--tap-primary-ink);
    background: #fff;
}

.x7-login-prefix {
    margin-right: 8px;
    font-size: 14px;
    color: var(--tap-text-2);
}

.x7-login-field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--tap-text-1);
}

.x7-login-field input::placeholder {
    color: #b3b8c0;
}

.x7-login-code {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(249, 218, 1, .12);
    color: var(--tap-primary-ink);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s, color .18s;
}

.x7-login-code:hover {
    background: rgba(249, 218, 1, .2);
}

.x7-login-code.is-wait {
    background: #eef0f3;
    color: #9aa0aa;
    cursor: default;
}

.x7-login-err {
    min-height: 18px;
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 18px;
    color: #e5484d;
}

.x7-login-err.is-ok {
    color: var(--tap-primary-ink);
}

.x7-login-submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--tap-primary);
    color: var(--tap-on-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s;
}

.x7-login-submit:hover {
    background: var(--tap-primary-dark);
}

.x7-login-submit:disabled {
    opacity: .7;
    cursor: default;
}

.x7-login-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: #b3b8c0;
    text-align: center;
}

/* 登录弹窗底部「还没有账号？立即注册」（2026-11-24） */
.x7-login-reg {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: #8a9099;
    text-align: center;
}

.x7-login-reg a {
    margin-left: 3px;
    color: #a07c00;
    font-weight: 700;
    text-decoration: none;
}

.x7-login-reg a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   63. 全站按钮统一去阴影（含 hover / 选中态）
   --------------------------------------------------------------------------
   用户要求：按钮悬停不要再浮起来，全站按钮一律无 box-shadow。
   这里的 !important 会压掉 tap.css / x7.css 前 62 节里按钮的投影与光晕；
   卡片（.x7-card、列表 li、面板）的阴影不在此列，保持层次。
   ========================================================================== */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a[class*="btn"],
a[class*="button"],
[class*="-btn"],
body .x7-tb-btn,
body .x7-tb-btn:hover,
body .x7-tb-btn.is-primary,
body .x7-tb-btn.is-primary:hover,
body .x7-tb-user,
body .x7-tb-user:hover,
body .x7-search button,
body .x7-lb-search button,
body .x7-chips > a,
body .x7-chips > a:hover,
body .x7-chips > a.active,
body .x7-chips > a.on,
body .x7-kf-seg button,
body .x7-kf-seg button.is-on,
body .pages a,
body .pages a.on,
body .games-list-pages a,
body .games-list-pages a.on,
body .x7-feed-list .f-btn,
body .x7-feed-list .f-btn:hover,
body .x7-feed-list .f-btn.is-zk,
body #gameslist .f-btn,
body #gameslist .f-btn:hover,
body .x7-rk-btn,
body .x7-ranklist .btn,
body .x7-chip-btn,
body .x7-dlcard-btn,
body .x7-sidedl-btn,
body .x7-lb-take,
body .x7-lb-take:hover,
body .x7-lb-go,
body .get-gifts-btn,
body .get-gifts,
body .down_sub,
body .games-l-xz,
body .pank-go-a,
body .asd,
body .zhekou_get,
body .zhekou_quiet,
body .x7-lb-dlg-main,
body .x7-lb-dlg-sub,
body a.x7-float-btn,
body a.x7-float-btn:hover {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* ==================================================================
   64. 搜索结果页：沿用找游戏页的单列列表，按钮按参考图放大到 34 高
   作用域 .x7-search（search.html 的 .x7-layout）
   ================================================================== */
.x7-searchpage .x7-feed-list .f-btn {
    flex: 0 0 76px;
    width: 76px !important;
    min-width: 0;
    height: 34px !important;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 17px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
}

.x7-searchpage .x7-feed-list .f-btn:hover {
    background: var(--tap-primary-dark) !important;
    color: var(--tap-on-primary) !important;
}

/* 搜索结果页：列表头部左侧标题（右侧保留计数） */
.x7-searchpage .x7-ff-sort {
    justify-content: space-between;
    padding: 2px 20px 14px;
}

.x7-searchpage .x7-ff-sort .x7-sr-tit {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #1f2329;
    letter-spacing: .2px;
}

/* ======================================================================
   65. 排行榜整页改版（2026-11-20）
   参考：白卡分节 + 18px 竖条标题 + 2.375:1 封面 + 34 高芯片
        + 30 号位方块 + 50 图标 + 16px 粗标题 + 76x34 黄底胶囊
   卡片宽度 891，与参考图 1:1；覆盖第 60 节的紧凑参数
   ====================================================================== */
/* 中列白卡：与找游戏/搜索页同版心（780 外框 / 716 内容），右栏跟随 */
body .x7-rkpage {
    /* 与全站 .x7-layout 一致：顶栏高度 + 24 空隙；此前只写 var(--x7-bar-h)
       把 24px 空隙吃掉了，排行榜白卡紧贴顶栏 */
    padding-top: calc(var(--x7-bar-h) + 24px) !important;
}

body .x7-rkpage .x7-main {
    padding-top: 0 !important;
}

body .x7-rkpage .x7-rk-card:last-child {
    margin-bottom: 0 !important;
}

body .x7-rkpage .x7-rk-card {
    margin: 0 0 16px !important;
    padding: 24px 26px !important;
    background: #fff;
    border: 0 !important;
    border-radius: 16px !important;
    box-sizing: border-box;
}

/* 卡片标题：竖条 4x18 + 18px 粗体 */
body .x7-rkpage .x7-rk-title,
body .x7-rkpage .x7-rk-sub {
    gap: 10px;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 26px !important;
}

body .x7-rkpage .x7-rk-title::before,
body .x7-rkpage .x7-rk-sub::before {
    width: 4px;
    height: 18px;
    border-radius: 2px;
}

/* 年度热门：三张 2.375:1 封面 */
body .x7-rkpage .x7-rk-hot {
    gap: 20px;
    margin: 18px 0 0 !important;
}

body .x7-rkpage .x7-rk-cover {
    aspect-ratio: 285 / 120;
    border-radius: 8px;
}

body .x7-rkpage .x7-rk-badge {
    left: 10px;
    top: 10px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 9px;
}

body .x7-rkpage .x7-rk-hot-name {
    padding: 20px 12px 9px;
    font-size: 14px;
    line-height: 19px;
}

/* 分类芯片：34 高 / 14 号字 */
body .x7-rkpage .x7-rk-filter {
    padding: 18px 24px !important;
}

body .x7-rkpage .x7-rk-chips {
    gap: 10px;
}

body .x7-rkpage .x7-rk-chips > a {
    height: 34px;
    line-height: 34px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 17px;
}

body .x7-rkpage .x7-rk-chips > a.on {
    font-weight: 700;
}

/* 榜单行 */
body .x7-rkpage .x7-rk-list {
    margin: 10px 0 0 !important;
}

body .x7-rkpage .x7-rk-list > li {
    gap: 14px;
    padding: 10px 12px !important;
    border-bottom: 0 !important;
    border-radius: 10px;
    -webkit-transition: background-color .18s;
    transition: background-color .18s;
}

body .x7-rkpage .x7-rk-list > li + li {
    margin-top: 2px;
}

/* 悬停整行浅灰高亮，与搜索结果页的列表行一致 */
body .x7-rkpage .x7-rk-list > li:hover {
    background: #f0f2f5;
}

body .x7-rkpage .x7-rk-no {
    -webkit-flex: 0 0 30px;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 9px;
}

body .x7-rkpage .x7-rk-icon {
    -webkit-flex: 0 0 56px;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 13px;
}

body .x7-rkpage .x7-rk-name {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

body .x7-rkpage .x7-rk-meta {
    gap: 12px;
    margin: 4px 0 0 !important;
    font-size: 13px;
    line-height: 18px;
}

body .x7-rkpage .x7-rk-meta em {
    font-weight: 700;
}

body .x7-rkpage .x7-rk-btn {
    width: 76px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 17px;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}


/* ============================================================
   66. 礼包大全「已领取」按钮：补回黄底 2026-11-20
   ------------------------------------------------------------
   模板里 is_lq==1 的按钮会多带一个 get-gifts-btn-b，tap.css 给它
   #F2F3F5 灰底；而 x7.css 第 41 节的 ::after 无差别写死「领取」，
   于是显示成「浅灰底 + 领取」，看着像黄色底掉了。这里统一回主色
   黄胶囊，hover 深一档，和可领按钮视觉一致。
   ============================================================ */
body .gifts-games-list .gifts-list-box > li a.get-gifts-btn.get-gifts-btn-b,
body .gifts-games-list .gifts-list-box > li a.get-gifts.get-gifts-btn-b {
    background: var(--tap-primary) !important;
    color: var(--tap-on-primary) !important;
}

body .gifts-games-list .gifts-list-box > li a.get-gifts-btn.get-gifts-btn-b:hover,
body .gifts-games-list .gifts-list-box > li a.get-gifts.get-gifts-btn-b:hover {
    background: var(--tap-primary-dark) !important;
}

body .gifts-games-list .gifts-list-box > li a.get-gifts-btn.get-gifts-btn-b::after,
body .gifts-games-list .gifts-list-box > li a.get-gifts.get-gifts-btn-b::after {
    color: var(--tap-on-primary) !important;
}

/* ============================================================
   67. 顶栏头像下拉：个人中心 / 退出账号 2026-11-20
   ------------------------------------------------------------
   登录后头像 hover（或键盘 focus）展开下拉；未登录不渲染菜单，
   包裹层不加桥接热区，避免无意义 hover 区域。
   ============================================================ */
body .x7-tb-userwrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* 头像与菜单之间的空隙用透明桥接，鼠标滑过不会中断 hover */
body .x7-tb-userwrap.is-login::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

body .x7-tb-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 80;
    min-width: 132px;
    padding: 6px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .12);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-transition: opacity .16s ease, transform .16s ease, visibility .16s;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

body .x7-tb-userwrap.is-login:hover .x7-tb-menu,
body .x7-tb-userwrap.is-login:focus-within .x7-tb-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

body .x7-tb-menu-hd {
    margin: 0 0 4px;
    padding: 6px 10px 8px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 12px;
    line-height: 16px;
    color: #98a1ab;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .x7-tb-menu a {
    display: block;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2329 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .16s ease;
}

body .x7-tb-menu a:hover {
    background: #f4f6f8;
    color: #1f2329 !important;
}

body .x7-tb-menu a.is-out {
    color: #1f2329 !important; /* 静态与「个人中心」同色，只在 hover 时用红色提示 */
}

body .x7-tb-menu a.is-out:hover {
    background: #fdf0f0;
    color: #e5484d !important;
}
