/* 仅由 index-mobile.html 引入；补丁 m_index 首屏与 rem 布局，勿在 index.html 中引用 */
/* 修复 m_index 中 .container_2mGG-n 的 height:100% 在父级 height:auto 时失效 → 首屏只剩底图 */
html.ace-mobile-site {
  overflow-x: hidden;
  width: 100%;
}
html.ace-mobile-site body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  /* 与主站 site-extra.css 一致：rem 页脚主文案与参考站观感对齐 */
  font-size: 16px !important;
}
html.ace-mobile-site #root,
html.ace-mobile-site .app-container {
  max-width: 100%;
  overflow-x: hidden;
}
html.ace-mobile-site .container_2mGG-n {
  position: relative;
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  background-image: url("../../images/182387344835_s1390623.png") !important;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: cover !important;
  background-color: #37373d !important;
}
html.ace-mobile-site,
html.ace-mobile-site body,
html.ace-mobile-site #root,
html.ace-mobile-site .app-container,
html.ace-mobile-site .ace-main-swiper,
html.ace-mobile-site .ace-main-swiper > .swiper-wrapper,
html.ace-mobile-site .ace-main-swiper > .swiper-wrapper > .swiper-slide {
  height: 100% !important;
}
html.ace-mobile-site .ace-main-swiper > .swiper-wrapper > .swiper-slide {
  height: var(--ace-screen-h, 100%) !important;
  overflow: hidden !important;
}
/* 第三屏：胶片框+缩略图+更多 绝对定位在 big_new 下方外，主 Swiper 默认 overflow 会裁底；与参考站一致允许外溢 */
html.ace-mobile-site .ace-main-swiper.swiper_wrap_4Xsa3K,
html.ace-mobile-site .ace-main-swiper.swiper_wrap_4Xsa3K > .swiper-wrapper {
  overflow: visible !important;
}
html.ace-mobile-site .ace-main-swiper > .swiper-wrapper > .swiper-slide.ace-page3-news-slide {
  overflow: visible !important;
}
html.ace-mobile-site .ace-main-swiper > .swiper-wrapper > .swiper-slide.ace-page3-news-slide .container_Neulhv {
  box-sizing: border-box;
  min-height: 100%;
  width: 100% !important;
  max-width: 100%;
  overflow: visible;
  /* 底部留白：「更多」与胶片下缘不贴下一屏交界 */
  padding-bottom: 1rem;
}
/* 资源 750×591；完整铺入胶片框 */
html.ace-mobile-site .ace-page3-news-slide .big_new_MDHI-X {
  background-size: 100% 100% !important;
  background-position: 50% 50% !important;
  overflow: visible;
  /* 避免与 Swiper 子级 transform 叠加导致整体左偏/亚像素溢出：不用 left50%+translate，改用水平居中 */
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
  width: 7.5rem !important;
  max-width: 100% !important;
}
html.ace-mobile-site .ace-page3-news-slide .small_list_DLQSMs {
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 7.5rem !important;
  max-width: 100% !important;
  -webkit-transform: none !important;
  transform: none !important;
  box-sizing: border-box;
}
html.ace-mobile-site .ace-page3-news-slide .big_new_MDHI-X .big_img_box_wE-p5T,
html.ace-mobile-site .ace-page3-news-slide .big_new_MDHI-X .big_img_p2M-6Q {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
html.ace-mobile-site .ace-page3-news-slide .small_item_CrEYnQ {
  flex-shrink: 0;
  box-sizing: border-box;
}
html.ace-mobile-site .ace-page3-news-slide .small_item_CrEYnQ img {
  display: block;
  max-width: 100%;
}
html.ace-mobile-site .ace-page3-news-slide .small_item_CrEYnQ > a.ace-news-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
html.ace-mobile-site .ace-page3-news-slide .small_item_CrEYnQ > a.ace-news-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 第三屏资讯：大图叠放默认显示最后一条（与 PC 末帧思路一致）；缩略图错位与原先三图版式一致，第 4 条起继续阶梯 */
html.ace-mobile-site .ace-page3-news-slide .big_img_box_wE-p5T > img.big_img_p2M-6Q {
  opacity: 0;
}
html.ace-mobile-site .ace-page3-news-slide .big_img_box_wE-p5T > img.big_img_p2M-6Q:last-of-type {
  opacity: 1;
}
html.ace-mobile-site .ace-page3-news-slide .small_list_DLQSMs > .small_item_CrEYnQ:nth-child(1) {
  transform: none;
}
html.ace-mobile-site .ace-page3-news-slide .small_list_DLQSMs > .small_item_CrEYnQ:nth-child(2) {
  transform: translate(-0.07rem, -0.23rem);
}
html.ace-mobile-site .ace-page3-news-slide .small_list_DLQSMs > .small_item_CrEYnQ:nth-child(3) {
  transform: translate(-0.14rem, -0.46rem);
}
html.ace-mobile-site .ace-page3-news-slide .small_list_DLQSMs > .small_item_CrEYnQ:nth-child(n + 4) {
  transform: translate(-0.21rem, -0.69rem);
}

/* ========== 第四屏：剧院 DOM 与 m_index 一致；布局补丁仅作用于末滑，勿对主 Swiper/前 3 屏写 height:auto（会盖掉上方 height:100%/--ace-screen-h，竖向 Swiper 全崩）========== */
html.ace-mobile-site
  .ace-main-swiper.swiper_wrap_4Xsa3K
  > .swiper-wrapper
  > .swiper-slide:last-child.ace-page4-with-footer {
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}
html.ace-mobile-site .ace-page4-scroll-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
html.ace-mobile-site .ace-page4-theater-sheet {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
html.ace-mobile-site
  .ace-main-swiper.swiper_wrap_4Xsa3K
  > .swiper-wrapper
  > .swiper-slide:last-child.ace-page4-with-footer
  > .ace-page4-scroll-inner
  > .container_ZXoRHo.ace-m-footer-root {
  position: relative;
  flex-shrink: 0;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  width: 100%;
  box-sizing: border-box !important;
  z-index: 1;
  background-color: #000 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 4.67rem !important;
  min-height: 4.67rem !important;
  max-height: 4.67rem !important;
  padding-top: 0.7rem !important;
  padding-left: 0.32rem !important;
  padding-right: 0.32rem !important;
  padding-bottom: 0.28rem !important;
}
/* 页脚：参考站结构（logo 行 → 协议链 → 整图条 → 版记），与 PC site-extra 解耦 */
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root {
  box-sizing: border-box !important;
}
/* 去掉 moonton 后只剩发条 logo：居中（原 space-between 会贴左） */
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-logo_box.logo_box_BnHxME {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0 auto;
  box-sizing: border-box;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-logo_box > div {
  flex-shrink: 0;
}
/* 主包可能对页脚 logo 写绝对定位；新结构为文档流横向排列 */
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-logo_box .moonton_logo_ZiadkZ,
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-logo_box .logo_4h7sK1 {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-link_list {
  display: block !important;
  width: 100%;
  max-width: 100%;
  margin-top: 0.22rem !important;
  text-align: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-sizing: border-box;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-link_list::-webkit-scrollbar {
  display: none;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-link_list a {
  display: inline !important;
  /* 与 m_index .link_list_wZwbB4 一致，保证一行排开 */
  font-size: 0.13rem !important;
  line-height: 0.2rem !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-decoration: none !important;
  vertical-align: baseline;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-link_list a::after {
  content: "丨" !important;
  display: inline !important;
  margin: 0 0.14rem !important;
  color: #fff !important;
  font-size: 0.13rem !important;
  line-height: 0.2rem !important;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-link_list a:last-child::after {
  display: none !important;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .ace-m-footer-text-img {
  display: block !important;
  width: 6.86rem !important;
  max-width: 92vw !important;
  height: auto !important;
  margin: 0.2rem auto 0 !important;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .right_bottom_n8lLJW.ace-m-footer-bottom {
  width: 100%;
  max-width: 100%;
  margin-top: 0.22rem !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  color: #4f4f4f !important;
  font-size: 0.16rem !important;
  line-height: 0.24rem !important;
  font-weight: 400 !important;
  text-align: center !important;
  box-sizing: border-box;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .right_bottom_n8lLJW.ace-m-footer-bottom > div {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}
html.ace-mobile-site #root .container_ZXoRHo.ace-m-footer-root .text2_lh7eON {
  font-size: 0.16rem !important;
  line-height: 0.24rem !important;
  margin-top: 0.18rem !important;
  color: #4f4f4f !important;
  font-weight: 400 !important;
}
html.ace-mobile-site .ace-page4-theater-sheet .container_2FjqaH.ace-page4-primary {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100%;
  overflow: visible !important;
  /* 第四屏背图：站点根 images，相对 css/mobile/ */
  background-image: url("../../images/page4_bg.daf76b48.jpeg") !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/*
 * 第四屏无手机 mask：轮播直接叠在背图「银幕」亮区；尺寸/位置可按真机再调 --ace-page4-stage-*。
 */
html.ace-mobile-site .container_2FjqaH .ace-page4-screen .mask_MH1r0n {
  display: none !important;
}
html.ace-mobile-site .container_2FjqaH .content_QDZhTZ.ace-page4-screen {
  --ace-page4-stage-w: 6.35rem;
  --ace-page4-stage-h: 10.35rem;
  --ace-page4-stage-top: 1.62rem;
  /*
   * Swiper 内框宽高比接近设计竖图 485:863（≈0.562），与参考站一致时可几乎不裁上下。
   * 仍用 cover 且容器更「扁」时会大量裁顶底——见 acecraft 同类竖图轮播。
   */
  --ace-page4-swiper-inset-x: 0.42rem;
  --ace-page4-swiper-inset-y: 0.28rem;
  width: var(--ace-page4-stage-w) !important;
  height: var(--ace-page4-stage-h) !important;
  box-sizing: border-box !important;
  top: var(--ace-page4-stage-top) !important;
  left: calc(50% - (var(--ace-page4-stage-w) / 2)) !important;
  right: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
  overflow: visible;
  position: absolute;
}
html.ace-mobile-site
  .container_2FjqaH
  .content_QDZhTZ.ace-page4-screen
  .swiper.swiper_container_XWfeom.ace-page4-swiper,
html.ace-mobile-site .container_2FjqaH .content_QDZhTZ.ace-page4-screen .ace-page4-swiper.swiper {
  position: absolute !important;
  left: var(--ace-page4-swiper-inset-x) !important;
  right: var(--ace-page4-swiper-inset-x) !important;
  top: var(--ace-page4-swiper-inset-y) !important;
  bottom: var(--ace-page4-swiper-inset-y) !important;
  width: auto !important;
  height: auto !important;
  max-width: none;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 0.36rem;
  isolation: isolate;
  z-index: 1;
  box-shadow: 0 0.1rem 0.38rem rgba(0, 0, 0, 0.28);
}
/* 箭头贴在「手机图」两侧（相对银幕层略外移），勿贴屏幕左右边 */
html.ace-mobile-site .container_2FjqaH .ace-page4-screen .btn_next,
html.ace-mobile-site .container_2FjqaH .ace-page4-screen .btn_prev {
  z-index: 10 !important;
}
html.ace-mobile-site .container_2FjqaH .ace-page4-screen .btn_next {
  left: auto !important;
  right: -0.48rem !important;
}
html.ace-mobile-site .container_2FjqaH .ace-page4-screen .btn_prev {
  right: auto !important;
  left: -0.48rem !important;
}
html.ace-mobile-site .container_2FjqaH .ace-page4-swiper .swiper-wrapper {
  height: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
html.ace-mobile-site .container_2FjqaH .ace-page4-swiper .swiper-slide {
  position: relative;
  display: block !important;
  width: 100% !important;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  line-height: 0;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: transparent;
}
html.ace-mobile-site .container_2FjqaH .ace-page4-swiper .swiper-slide img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  /* 与参考站：整张贴图进屏；内框已按 485:863 收边后 contain 可铺满且不裁顶底标题 */
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
  pointer-events: none;
}

html.ace-mobile-site .container_2mGG-n .ace-hero-poster {
  display: none !important;
}
html.ace-mobile-site .container_2mGG-n .ace-mobile-hero-audio {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
html.ace-mobile-site .container_2mGG-n .ace-m-index-float-actions {
  position: absolute;
  right: 0.18rem;
  top: 0.22rem;
  z-index: 10008;
  display: none !important;
}
html.ace-mobile-site .container_2mGG-n .ace-m-index-float-actions .channel_btn_xCk0ee {
  display: none !important;
}
html.ace-mobile-site .container_2mGG-n .ace-m-index-float-actions .music_GKRZtm {
  pointer-events: auto;
  transform: scale(0.9);
  transform-origin: center;
}

/* 首屏强制使用静态主视觉，不播放背景视频 */
html.ace-mobile-site .container_2mGG-n .ace-hero-video-wrap,
html.ace-mobile-site .container_2mGG-n .ace-hero-video {
  display: none !important;
}

/* 强制屏蔽 PC 导航/二维码，避免首屏回退成 PC 视觉 */
html.ace-mobile-site .logo_5BdANR,
html.ace-mobile-site .download_Ma7-xB .qr_code_KzQH9j,
html.ace-mobile-site .download_Ma7-xB .taptap_down_pc_dfuty5 {
  display: none !important;
}
/* 导航弹层内菜单：全屏居中，样式交给 m_index 的 .item_XC9Cef / .selected_dNt5XK */
html.ace-mobile-site #aceNavModal .container_F57q0a.ace-nav-modal__menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 6.5rem !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}
html.ace-mobile-site #aceNavModal .container_F57q0a.ace-nav-modal__menu .item_DE336P {
  border-bottom: none !important;
}

/* 首屏对齐图2：标题/福利/下载按钮位置 */
html.ace-mobile-site .container_2mGG-n .tips_mXmYzD {
  position: absolute !important;
  left: 0.16rem !important;
  top: 1.25rem !important;
  z-index: 12 !important;
  cursor: pointer;
  pointer-events: auto;
}
/* 与 m_index 一致：logo 用图或背景均可；此处用子级 img 便于 F12 选中资源 */
html.ace-mobile-site .container_2mGG-n .ace-m-hero-graphic {
  background-image: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
html.ace-mobile-site .container_2mGG-n .ace-m-hero-graphic__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  pointer-events: none !important;
  -webkit-user-drag: none;
}
html.ace-mobile-site .container_2mGG-n .logo_FWCHrT {
  position: absolute !important;
  left: 50% !important;
  top: 0.17rem !important;
  z-index: 11 !important;
  width: 3.39rem !important;
  height: 2.18rem !important;
  transform: translateX(-50%) !important;
}
/* Slogan：slogan_NG43XQ + slogan_RtUH7W + ace-m-hero-graphic 为同一节点，勿用裸 .ace-m-hero-graphic 以免误伤 logo */
html.ace-mobile-site .container_2mGG-n .slogan_NG43XQ.slogan_RtUH7W.ace-m-hero-graphic,
html.ace-mobile-site .container_2mGG-n .slogan_NG43XQ,
html.ace-mobile-site .container_2mGG-n .slogan_RtUH7W {
  position: absolute !important;
  left: 50% !important;
  top: auto !important;
  bottom: 3.28rem !important;
  z-index: 11 !important;
  width: 7.28rem !important;
  height: 4.05rem !important;
  transform: translateX(-50%) scale(0.76) !important;
  transform-origin: center bottom !important;
}
html.ace-mobile-site .container_2mGG-n .welfare_AsJuaq {
  position: absolute !important;
  right: 0.18rem !important;
  top: 1.15rem !important;
  z-index: 12 !important;
  /* 需可点：与 PC 同节点带 .welfare_CA6lP-，由 app.js 打开 #aceWelfareModal */
  pointer-events: auto !important;
  cursor: pointer;
  touch-action: manipulation;
}
/* 与 m_index 一致：圆形红底汉堡精灵图；原先用伪元素画的浮标已去掉 */
html.ace-mobile-site #aceNavBtn.navigation_P-63MV {
  position: fixed !important;
  right: 0.45rem !important;
  top: 0.49rem !important;
  width: 0.82rem !important;
  height: 0.85rem !important;
  z-index: 10050 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
}
/* 菜单打开时只保留弹层内 close_6uLty7，避免与右上角「第二套关闭」叠在一起 */
html.ace-mobile-site.ace-nav-open #aceNavBtn.navigation_P-63MV {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
html.ace-mobile-site .container_2mGG-n .download_Ma7-xB {
  position: absolute !important;
  width: 6.28rem !important;
  height: 1.86rem !important;
  left: 50% !important;
  margin-left: -3.14rem !important;
  bottom: 0.8rem !important;
  z-index: 12 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html.ace-mobile-site .container_2mGG-n .download_btn_iFZ62R {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin-right: 0.3rem !important;
  gap: 0 !important;
}
/* 首屏下载区：按 UA 在 html 上加 ace-m-platform-ios / ace-m-platform-android（见 index-mobile.html 内联脚本） */
html.ace-mobile-site:not(.ace-m-platform-android) .container_2mGG-n .ace-m-download-android {
  display: none !important;
}
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-ios {
  display: none !important;
}
html.ace-mobile-site .container_2mGG-n .ace-m-download-ios,
html.ace-mobile-site .container_2mGG-n .ace-m-download-android {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
/* 安卓：左列双按钮 + 右列充值，避免 align-items:center 把单按钮垂直居中到「两钮中间」 */
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android {
  align-items: flex-start !important;
}
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .download_btn_iFZ62R {
  gap: 0.08rem !important;
}
html.ace-mobile-site .container_2mGG-n .download_btn_iFZ62R .download_ios_homDTZ,
html.ace-mobile-site .container_2mGG-n .top_up_82pFZp .top_up_button_ios_EHtAeT {
  width: 3.37rem !important;
  height: 0.97rem !important;
  display: block !important;
  background-size: 100% 100% !important;
}
/* 安卓：与 m_index 一致，下载 / TapTap 高 .83rem；充值图同资源 top_up_button_android.e047826a.png，同高不拉伸 */
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .download_android_Iz-4GS,
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .download_taptap_sa9WOx {
  display: block !important;
  height: 0.83rem !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: contain !important;
}
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .download_android_Iz-4GS {
  width: 2.79rem !important;
}
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .download_taptap_sa9WOx {
  width: 2.8rem !important;
}
html.ace-mobile-site.ace-m-platform-android .container_2mGG-n .ace-m-download-android .top_up_82pFZp .top_up_button_android_1Frcov {
  display: block !important;
  width: 2.8rem !important;
  background: url(../../images/top_up_button_android.e047826a.png) no-repeat 50% / contain !important;
}
html.ace-mobile-site .container_2mGG-n .download_btn_iFZ62R .download_ios_homDTZ {
  margin: 0 auto !important;
}
html.ace-mobile-site .container_2mGG-n .top_up_82pFZp {
  margin-top: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

/* navigation_P-63MV 点击弹窗：全屏遮罩 + bricks式内容上滑（对齐参考站 slideIn-modal） */
html.ace-mobile-site .ace-nav-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: block;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
html.ace-mobile-site .ace-nav-modal.ace-nav-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html.ace-mobile-site .ace-nav-modal .bricks-modal__mask.slideIn-modal-enter-done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}
html.ace-mobile-site .ace-nav-modal.ace-nav-modal--open .bricks-modal__mask.slideIn-modal-enter-done {
  background: rgba(0, 0, 0, 0.86);
}
html.ace-mobile-site .ace-nav-modal .close_6uLty7 {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
html.ace-mobile-site .ace-nav-modal .ace-nav-modal__content {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* 底栏社媒在 m_index 里为 position:absolute，需预留高度避免与最后一项菜单重叠 */
  padding: 0.2rem 0 2.85rem;
  min-height: 55%;
  opacity: 0;
  transform: translateY(-120%);
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: auto;
  will-change: transform, opacity;
}
/* 社媒条改回文档流排在菜单下方，与参考站留白一致、不再压住「游戏特色」 */
html.ace-mobile-site #aceNavModal .channel_list_8matlj.ace-nav-modal__channels {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
  margin-top: 0.55rem;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}
html.ace-mobile-site #aceNavModal .channel_list_8matlj.ace-nav-modal__channels > div > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
html.ace-mobile-site #aceNavModal .channel_list_8matlj.ace-nav-modal__channels > div > a img {
  display: block;
}
html.ace-mobile-site #aceNavModal .container_F57q0a.ace-nav-modal__menu {
  flex-shrink: 0;
  margin-bottom: 0.15rem;
}
html.ace-mobile-site .ace-nav-modal.ace-nav-modal--open .ace-nav-modal__content {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 适龄提示弹窗（首屏 .tips_Cf3r9s；DOM 对齐参考 useModal：mask 包 content）========== */
html.ace-age-modal-open,
html.ace-age-modal-open body {
  overflow: hidden !important;
}
html.ace-mobile-site #aceAgeModal.ace-age-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10100;
  box-sizing: border-box;
}
html.ace-mobile-site #aceAgeModal.ace-age-modal.ace-age-modal--open {
  display: block;
}
html.ace-mobile-site #aceAgeModal .ace-age-modal__mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  cursor: pointer;
}
html.ace-mobile-site #aceAgeModal .ace-age-modal__shell.bricks-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(7.2rem, 94vw);
  width: 100%;
  box-sizing: border-box;
  line-height: normal;
  cursor: default;
  pointer-events: auto;
}
html.ace-mobile-site #aceAgeModal .container_13Ch8L {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-height: 78vh;
  padding: 0.44rem 0.4rem 0.36rem;
  border-radius: 0.12rem;
  border: 0.04rem solid #c9a54a;
  background: linear-gradient(180deg, #3d3428 0%, #2a231c 100%);
  box-shadow: 0 0.12rem 0.4rem rgba(0, 0, 0, 0.45);
  color: #f0e6d4;
  transform: scale(0.92);
  transform-origin: center center;
}
html.ace-mobile-site #aceAgeModal .close_2366YH {
  position: absolute;
  top: 0.28rem;
  right: 0.28rem;
  width: 0.44rem;
  height: 0.44rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}
html.ace-mobile-site #aceAgeModal .close_2366YH:active {
  background: rgba(255, 255, 255, 0.22);
}
html.ace-mobile-site #aceAgeModal .close_2366YH::before,
html.ace-mobile-site #aceAgeModal .close_2366YH::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.24rem;
  height: 0.03rem;
  background: #ffffe0;
  border-radius: 0.02rem;
}
html.ace-mobile-site #aceAgeModal .close_2366YH::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
html.ace-mobile-site #aceAgeModal .close_2366YH::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
html.ace-mobile-site #aceAgeModal .title_3lschk {
  text-align: center;
  font-size: 0.36rem;
  font-weight: bold;
  color: #ffe9a8;
  margin: 0 0.5rem 0.28rem 0;
  letter-spacing: 0.02rem;
}
html.ace-mobile-site #aceAgeModal .text_TCljX4 {
  font-size: 0.22rem;
  line-height: 1.65;
  color: #e8dcc8;
  max-height: calc(78vh - 1.35rem);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #ffffe0 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  text-align: justify;
  word-break: break-word;
}
html.ace-mobile-site #aceAgeModal .text_TCljX4::-webkit-scrollbar {
  width: 6px;
}
html.ace-mobile-site #aceAgeModal .text_TCljX4::-webkit-scrollbar-track {
  background: transparent;
}
html.ace-mobile-site #aceAgeModal .text_TCljX4::-webkit-scrollbar-thumb {
  background-color: #ffffe0;
  border-radius: 3px;
}

/* 首页福利说明弹窗（与 PC themes/css/site-extra 一致；移动 wap 仅引入本文件故补全） */
html.ace-mobile-site #aceWelfareModal.ace-welfare-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10060;
  align-items: center;
  justify-content: center;
  padding: 0.32rem;
  box-sizing: border-box;
}
html.ace-mobile-site #aceWelfareModal.ace-welfare-modal.ace-welfare-modal--open {
  display: flex;
}
html.ace-mobile-site .ace-welfare-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  cursor: pointer;
}
html.ace-mobile-site .ace-welfare-modal__content {
  position: relative;
  z-index: 1;
  max-width: 94vw;
  line-height: 0;
  box-sizing: border-box;
}
html.ace-mobile-site #aceWelfareModal .welfareModal_-gHXsH {
  width: 6.2rem;
  height: 80vh;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: #ffffe0 transparent;
  scrollbar-width: thin;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.08rem;
}
html.ace-mobile-site #aceWelfareModal .welfareModal_-gHXsH::-webkit-scrollbar {
  width: 6px;
}
html.ace-mobile-site #aceWelfareModal .welfareModal_-gHXsH::-webkit-scrollbar-track {
  background: transparent;
}
html.ace-mobile-site #aceWelfareModal .welfareModal_-gHXsH::-webkit-scrollbar-thumb {
  background-color: #ffffe0;
  border-radius: 3px;
}
html.ace-mobile-site #aceWelfareModal .welfareModal_-gHXsH img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
html.ace-mobile-site.ace-welfare-modal-open,
html.ace-mobile-site.ace-welfare-modal-open body {
  overflow: hidden !important;
}
