@charset "UTF-8";
/* ============================================
   96游戏 移动端样式  (1rem = 100px @375 设计稿)
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: #f4f6fa; color: #2e2e2e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { font-size: 0.14rem; line-height: 1.6; max-width: 750px; margin: 0 auto; position: relative; min-height: 100vh; overflow-x: hidden; padding-top: 0.5rem; }
body.m-lock { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
ul, li { list-style: none; }
:root { --m-primary: #1a75f0; --m-primary-d: #1263e0; --m-accent: #10b981; }

/* ---------- 头部 ---------- */
.m-header {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 750px; height: 0.5rem; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 0.16rem; background: #fff;
    box-shadow: 0 0.02rem 0.1rem rgba(0,0,0,0.06);
}
.m-logo img { height: 0.3rem; }
.m-header-r { display: flex; align-items: center; gap: 0.12rem; }
.m-app-top { height: 0.28rem; padding: 0 0.1rem; line-height: 0.28rem; border-radius: 0.15rem; color: #fff; background: linear-gradient(135deg, #ff8b2c, #f05b24); font-size: 0.12rem; white-space: nowrap; }
.m-kf-top img { height: 0.26rem; }
.m-burger { width: 0.28rem; height: 0.24rem; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.m-burger span { display: block; height: 0.03rem; width: 100%; background: var(--m-primary); border-radius: 0.02rem; transition: 0.3s; }

/* 头部占位 */
.m-body-pad { padding-top: 0.5rem; }

/* ---------- 抽屉导航 ---------- */
.m-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 110; opacity: 0; visibility: hidden; transition: 0.3s; }
.m-mask.show { opacity: 1; visibility: visible; }
.m-drawer {
    position: fixed; top: 0; right: 0; width: 2.8rem; height: 100%;
    background: #fff; z-index: 120; transform: translateX(100%);
    transition: transform 0.3s ease; box-shadow: -0.04rem 0 0.2rem rgba(0,0,0,0.12);
    display: flex; flex-direction: column;
}
.m-drawer.open { transform: translateX(0); }
.m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0.2rem 0.24rem; border-bottom: 0.01rem solid #eef1f6; }
.m-drawer-head img { height: 0.32rem; }
.m-drawer-close { font-size: 0.36rem; line-height: 1; color: #999; cursor: pointer; }
.m-nav-list { padding: 0.1rem 0; }
.m-nav-list li a { display: block; padding: 0.18rem 0.28rem; font-size: 0.17rem; color: #333; border-bottom: 0.01rem solid #f4f6fa; }
.m-nav-list li a:active { background: #f0f6ff; color: var(--m-primary); }
.m-nav-kf { color: var(--m-primary) !important; font-weight: 600; }
.m-nav-app { color: #ee6723 !important; font-weight: 600; }

/* ---------- 底部 ---------- */
.m-footer { background: #1d2124; color: #9aa0a8; padding: 0.3rem 0.24rem 0.4rem; padding-bottom: calc(0.4rem + env(safe-area-inset-bottom)); margin-top: 0.3rem; }
.m-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1rem 0.3rem; padding-bottom: 0.24rem; border-bottom: 0.01rem solid rgba(255,255,255,0.08); }
.m-footer-nav li a { color: #c9ced6; font-size: 0.15rem; }
.m-footer-info { padding-top: 0.2rem; text-align: center; }
.m-footer-info p { font-size: 0.115rem; line-height: 0.22rem; color: #6f757e; }

/* ---------- 悬浮工具 ---------- */
.m-fab { position: fixed; right: 0.16rem; bottom: 0.4rem; bottom: calc(0.4rem + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 0.12rem; }
.m-fab-btn {
    width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #fff;
    box-shadow: 0 0.04rem 0.16rem rgba(0,0,0,0.16); display: flex; align-items: center; justify-content: center;
}
.m-fab-btn img { width: 0.28rem; height: 0.28rem; object-fit: contain; }
.m-fab-kf { background: linear-gradient(145deg, #1a75f0, #1263e0); }
.m-fab-kf img { filter: brightness(0) invert(1); }

/* ---------- 通用区块 ---------- */
.m-section { padding: 0.24rem 0.16rem 0; }
.m-sec-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.18rem; }
.m-sec-title .zh { font-size: 0.2rem; font-weight: 700; color: #1f2d3d; position: relative; padding-left: 0.14rem; }
.m-sec-title .zh::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0.05rem; height: 0.22rem; background: var(--m-primary); border-radius: 0.03rem; }
.m-sec-title .more { font-size: 0.13rem; color: #98a1ad; }

/* ---------- 通用 tab ---------- */
.m-tabs { display: flex; overflow-x: auto; gap: 0.1rem; padding: 0.16rem 0.16rem 0.04rem; -webkit-overflow-scrolling: touch; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab { flex: 0 0 auto; padding: 0.09rem 0.2rem; font-size: 0.14rem; color: #5a6472; background: #eef1f6; border-radius: 0.3rem; white-space: nowrap; }
.m-tab.current { color: #fff; background: linear-gradient(145deg, #1a75f0, #1263e0); }
.m-tab-pane { display: none; }
.m-tab-pane.show { display: block; }

/* ---------- 列表(新闻/专题通用) ---------- */
.m-list { padding: 0.08rem 0.16rem 0; }
.m-list-item { display: block; background: #fff; border-radius: 0.12rem; padding: 0.18rem 0.16rem; margin-bottom: 0.12rem; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-list-item .tt { font-size: 0.155rem; color: #2a323d; line-height: 0.24rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-list-item .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.12rem; }
.m-list-item .meta .tag { font-size: 0.115rem; color: var(--m-primary); background: #eaf3fe; padding: 0.03rem 0.1rem; border-radius: 0.2rem; }
.m-list-item .meta .time { font-size: 0.12rem; color: #a2abb7; }
.m-list-item[hidden] { display: none; }
.m-empty { padding: 0.45rem 0; text-align: center; color: #9aa3af; font-size: 0.14rem; }
.m-grid .m-empty { grid-column: 1 / -1; }

/* ---------- 首页与游戏 ---------- */
.m-banner { width: 100%; overflow: hidden; }
.m-banner img { width: 100%; height: auto; }
.m-section { padding: 0.24rem 0.16rem 0; }
.m-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.16rem; }
.m-section-title h2 { font-size: 0.2rem; color: #1f2d3d; }
.m-section-title a { font-size: 0.13rem; color: #98a1ad; }
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.12rem; }
.m-card { background: #fff; border-radius: 0.1rem; overflow: hidden; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.06); }
.m-card img { width: 100%; }
.m-card .name { padding: 0.1rem; text-align: center; font-size: 0.14rem; }
.m-news-card { background: #fff; border-radius: 0.1rem; padding: 0.04rem 0.16rem; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.06); }
.m-news-card a { display: flex; gap: 0.12rem; justify-content: space-between; padding: 0.14rem 0; border-bottom: 0.01rem solid #f0f2f5; }
.m-news-card a:last-child { border-bottom: 0; }
.m-news-card .title { flex: 1; min-width: 0; font-size: 0.145rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-news-card .date { flex-shrink: 0; color: #a2abb7; font-size: 0.12rem; }

/* ---------- 专题 ---------- */
.m-thematic-ban { position: relative; overflow: hidden; }
.m-thematic-ban > img { width: 100%; }
.m-thematic-info { position: absolute; left: 0.2rem; right: 0.2rem; bottom: 0.18rem; color: #fff; text-shadow: 0 0.02rem 0.06rem #000; }
.m-thematic-info h1 { font-size: 0.23rem; }
.m-thematic-info p { font-size: 0.13rem; margin-top: 0.05rem; }

/* ---------- 文章 ---------- */
.m-article { margin: 0.16rem; padding: 0.22rem 0.18rem 0.28rem; background: #fff; border-radius: 0.1rem; }
.m-article h1 { font-size: 0.2rem; line-height: 0.3rem; color: #1f2d3d; }
.m-article .meta { margin: 0.12rem 0 0.2rem; padding-bottom: 0.14rem; border-bottom: 0.01rem solid #eef0f4; color: #9aa3af; font-size: 0.12rem; }
.m-article .content { font-size: 0.15rem; line-height: 0.28rem; word-break: break-word; }
.m-article .content img { margin: 0.14rem auto; }
.m-back { display: block; width: 1.7rem; height: 0.48rem; line-height: 0.48rem; margin: 0.24rem auto 0; border-radius: 0.24rem; text-align: center; color: #fff; background: var(--m-primary); font-size: 0.14rem; }

/* ---------- 找回密码表单 ---------- */
.m-form { margin: 0.2rem 0.16rem; padding: 0.24rem 0.2rem 0.28rem; background: #fff; border-radius: 0.12rem; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-form h1 { text-align: center; font-size: 0.2rem; color: #1f2d3d; margin-bottom: 0.06rem; }
.m-form .desc { text-align: center; font-size: 0.13rem; color: #98a1ad; margin-bottom: 0.22rem; }
.m-field { margin-bottom: 0.16rem; }
.m-field label { display: block; margin-bottom: 0.07rem; font-size: 0.135rem; color: #56606d; }
.m-field input { display: block; width: 100%; height: 0.48rem; padding: 0 0.14rem; border: 0.01rem solid #dfe4eb; border-radius: 0.07rem; outline: none; font-size: 0.15rem; color: #293241; }
.m-field input:focus { border-color: var(--m-primary); box-shadow: 0 0 0 0.02rem rgba(26,117,240,0.12); }
.m-form-submit { width: 100%; height: 0.5rem; border: 0; border-radius: 0.08rem; background: var(--m-primary); color: #fff; font-size: 0.16rem; }
.m-form-tip { margin-top: 0.14rem; text-align: center; font-size: 0.12rem; color: #98a1ad; }
.m-form-result { display: none; margin-top: 0.16rem; padding: 0.1rem; border-radius: 0.06rem; text-align: center; font-size: 0.13rem; }

/* ---------- 首页 banner ---------- */
.m-banner { width: 100%; overflow: hidden; }
.m-banner .swiper-container { width: 100%; }
.m-banner img { width: 100%; height: auto; display: block; }
.m-banner .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.m-banner .swiper-pagination-bullet-active { opacity: 1; background: var(--m-primary); }

/* ---------- 卡片网格 ---------- */
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.12rem; padding: 0 0.16rem; }
.m-section > .m-grid { padding: 0; }
.m-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.m-card { background: #fff; border-radius: 0.12rem; overflow: hidden; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-card img { width: 100%; height: auto; }
.m-card .name { text-align: center; font-size: 0.14rem; color: #2a323d; padding: 0.1rem 0.06rem; }

/* ---------- 首页资讯卡 ---------- */
.m-news-card { background: #fff; border-radius: 0.12rem; padding: 0.06rem 0.16rem; margin: 0 0.16rem; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-section > .m-news-card { margin: 0; }
.m-news-card a { display: flex; align-items: center; justify-content: space-between; padding: 0.16rem 0; border-bottom: 0.01rem solid #f2f4f8; }
.m-news-card a:last-child { border-bottom: 0; }
.m-news-card .tt { font-size: 0.145rem; color: #2a323d; flex: 1; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.m-news-card .time { font-size: 0.12rem; color: #a2abb7; margin-left: 0.12rem; flex-shrink: 0; }

/* ---------- 下载按钮组 ---------- */
.m-down-wrap { padding: 0.24rem 0.16rem 0; }
.m-down-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.1rem; padding: 0.16rem; }
.m-down-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.08rem;
    height: 0.56rem; border-radius: 0.1rem; font-size: 0.15rem; font-weight: 600; color: #fff;
    background: linear-gradient(145deg, #1a75f0, #1263e0); box-shadow: 0 0.06rem 0.16rem rgba(26,117,240,0.28);
}
.m-down-btn img { width: 0.24rem; height: 0.24rem; filter: brightness(0) invert(1); }
.m-down-btn.green { background: linear-gradient(145deg, #10b981, #059669); box-shadow: 0 0.06rem 0.16rem rgba(16,185,129,0.28); }
.m-down-btn.gold { background: linear-gradient(145deg, #f5a623, #e8890b); box-shadow: 0 0.06rem 0.16rem rgba(232,137,11,0.28); }
.m-down-btn.purple { background: linear-gradient(145deg, #8b5cf6, #7c3aed); box-shadow: 0 0.06rem 0.16rem rgba(124,58,237,0.28); }
.m-down-btn.current { filter: brightness(1.08); box-shadow: 0 0 0 0.02rem rgba(255,255,255,0.6) inset, 0 0.06rem 0.16rem rgba(232,137,11,0.4); }
.m-down-fast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.1rem; padding: 0 0.16rem; margin-top: 0.12rem; animation: mFastIn 0.2s ease; }
.m-down-fast[hidden] { display: none; }
.m-down-fast .m-down-btn { height: 0.5rem; font-size: 0.135rem; }
@keyframes mFastIn { from { opacity: 0; transform: translateY(-0.06rem); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 二维码块 ---------- */
.m-qr { text-align: center; background: #fff; border-radius: 0.12rem; padding: 0.2rem; margin: 0.2rem 0.16rem 0; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-qr img { width: 1.6rem; height: 1.6rem; margin: 0 auto; }
.m-qr p { font-size: 0.13rem; color: #6b7280; margin-top: 0.1rem; }

/* ---------- 专题头图 ---------- */
.m-thematic-ban { position: relative; }
.m-thematic-ban > img { width: 100%; }
.m-thematic-ban .info { position: absolute; left: 0.2rem; bottom: 0.24rem; right: 0.2rem; color: #fff; }
.m-thematic-ban .info h2 { font-size: 0.24rem; text-shadow: 0 0.02rem 0.08rem rgba(0,0,0,0.4); }
.m-thematic-ban .info p { font-size: 0.13rem; margin-top: 0.08rem; text-shadow: 0 0.02rem 0.06rem rgba(0,0,0,0.4); }

/* ---------- 文章详情 ---------- */
.m-article { background: #fff; margin: 0.16rem; border-radius: 0.12rem; padding: 0.24rem 0.2rem 0.3rem; box-shadow: 0 0.02rem 0.1rem rgba(15,23,42,0.05); }
.m-article .a-title { font-size: 0.19rem; font-weight: 700; color: #1f2d3d; line-height: 0.3rem; }
.m-article .a-meta { font-size: 0.12rem; color: #a2abb7; margin: 0.12rem 0 0.2rem; padding-bottom: 0.16rem; border-bottom: 0.01rem solid #f0f2f6; }
.m-article .a-meta span { margin-right: 0.16rem; }
.m-article .a-content { font-size: 0.15rem; line-height: 0.28rem; color: #3a424e; word-break: break-word; }
.m-article .a-content img { margin: 0.16rem auto; border-radius: 0.08rem; }
.m-article .a-frame { width: 100%; min-height: 5.6rem; border: 0; display: block; }
.m-article .a-content a { color: var(--m-primary); word-break: break-all; }
.m-article .a-content table { width: 100%; border-collapse: collapse; margin: 0.14rem 0; font-size: 0.13rem; }
.m-article .a-content th, .m-article .a-content td { padding: 0.08rem 0.06rem; border-bottom: 0.01rem solid #eef0f4; text-align: left; word-break: break-all; }
.m-article .a-content th { color: #1f2d3d; font-weight: 600; background: #f4f6fa; }
.m-article .a-content tr:nth-of-type(even) td { background: #fafbfc; }
.m-article .a-content .text-orange { color: #ff3c00; }
.m-back { display: block; width: 1.8rem; margin: 0.24rem auto 0; height: 0.5rem; line-height: 0.5rem; text-align: center; border-radius: 0.3rem; background: var(--m-primary); color: #fff; font-size: 0.15rem; }

/* ---------- 加载/占位 ---------- */
.m-loading { text-align: center; padding: 0.6rem 0; color: #a2abb7; font-size: 0.14rem; }