/* M 站全站微调（与 muban index.min.css 并存，仅补充间距等） */

/* 首页顶部广告轮播：与 amtc M 端同源 DOM（Swiper7 + /v1/ad/home inMainSw），避免旧 swiper-container 与 Swiper7 不兼容 */
.s7233-homeHero.xqzInMainBox {
  width: 100%;
  box-sizing: border-box;
  background: #f5f5f5;
}
.s7233-homeHero .inMainSw {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.s7233-homeHero .inMainSw .swiper-slide.imgBox {
  display: block;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.s7233-homeHero .inMainSw .swiper-slide.imgBox > img:first-of-type {
  width: 100%;
  display: block;
  height: 3.6rem;
  object-fit: cover;
  background: #e8e8e8;
  vertical-align: top;
}
.s7233-homeHero .inMainSw .txtInfo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.28rem 0.24rem 0.36rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.72) 100%);
}
.s7233-homeHero .inMainSw .txtInfo > .imgBox {
  flex: 0 0 auto;
  width: 0.88rem;
  height: 0.88rem;
  border-radius: 0.16rem;
  overflow: hidden;
  background: #fff;
}
.s7233-homeHero .inMainSw .txtInfo > .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s7233-homeHero .inMainSw .txtInfo > .txtBox {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.s7233-homeHero .inMainSw .txtInfo > .txtBox p {
  margin: 0;
  font-size: 0.3rem;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s7233-homeHero .inMainSw .txtInfo > .txtBox p.time {
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.06rem;
  white-space: nowrap;
}
.s7233-homeHero .inMainSw .txtInfo > p.btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.12rem 0.28rem;
  font-size: 0.24rem;
  line-height: 1;
  color: #fff;
  background: rgba(37, 137, 239, 0.95);
  border-radius: 0.3rem;
}
.s7233-homeHero .inMainSw .swiper-pagination {
  bottom: 0.08rem !important;
  left: 0;
  right: 0;
  text-align: center;
}
.s7233-homeHero .inMainSw .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
}
.s7233-homeHero .inMainSw .swiper-pagination-bullet-active {
  opacity: 1;
  background: #2589ef;
}

/* 首页轮播：与 muban/m DOM 一致 + 固定条高度（logo/广告图多为方形，auto 高度会像一条细线；对齐原 s7233-homeHero 3.6rem） */
.g-index-ppt {
  width: 100%;
  height: auto;
  min-height: 3.6rem;
  background: #fff;
  display: block;
  overflow: hidden;
  position: relative;
  margin-bottom: 6px;
}
.g-index-ppt .swiper-wrapper {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.g-index-ppt .swiper-wrapper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  min-height: 3.6rem;
  position: relative;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
}
/* 幻灯主图：铺满宽度、固定可视高度，横版素材与方图都裁切为统一横幅 */
.g-index-ppt .swiper-wrapper .swiper-slide > img {
  width: 100%;
  height: 3.6rem;
  display: block;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  vertical-align: top;
  background: #e8e8e8;
}
.g-index-ppt .swiper-wrapper .swiper-slide strong {
  width: 100%;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0 3%;
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 圆点压在主图下方、标题条上方（像素与 muban 分页视觉接近） */
.g-index-ppt .swiper-pagination {
  bottom: 36px !important;
}

/* 详情图预览：与 muban/m/gameitem_files/detail.css 中 .light-box 一致 */
.light-box {
  background: rgba(0, 0, 0, 0.9);
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999999;
  box-sizing: border-box;
}
.light-box > div {
  margin: 0 auto;
  overflow: hidden;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
.light-box li,
.light-box ul,
.light-box > div {
  height: 100%;
  width: 100%;
}
.light-box .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}
.light-box .swiper-slide .swiper-zoom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
}
.light-box .swiper-slide img {
  line-height: 0;
  max-height: 85vh;
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
  -webkit-touch-callout: default;
}
.light-box .swiper,
.light-box .swiper-container {
  height: 100%;
}
.light-box .swiper-wrapper {
  height: 100%;
  box-sizing: border-box;
}
.light-box.s7233-simple-lb-wrap .s7233-simple-lb {
  height: 100%;
}
.light-box.s7233-simple-lb-wrap .s7233-lb-main {
  height: 100%;
  box-sizing: border-box;
  padding: 56px 16px 32px;
}
/* 分页数字：勿用 rem。M 站 adaptive 会放大根字号，muban 的 1.8rem 会变成巨大「1/4」 */
.light-box .swiper-container-horizontal > .swiper-pagination,
.light-box .swiper-horizontal > .swiper-pagination,
.light-box .swiper-pagination-fraction {
  color: #c5c5c5;
  display: inline-block;
  font-style: italic;
  font-size: 13px;
  line-height: 1.25;
  height: auto;
  right: 16px !important;
  text-align: right;
  top: calc(12px + env(safe-area-inset-top, 0px)) !important;
  width: auto;
  left: auto !important;
  bottom: auto !important;
  z-index: 20;
}
.light-box .swiper-pagination-current {
  color: #fff;
  font-size: 15px;
  font-weight: normal;
}
.light-box .swiper-pagination-total {
  font-size: 13px;
  color: #c5c5c5;
}
.light-box .close {
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 30px;
  left: 12px;
  overflow: hidden;
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  width: 30px;
  z-index: 99999;
}
.light-box .close:after,
.light-box .close:before {
  background: #ccc;
  content: '';
  display: block;
  font-size: 0;
  height: 18px;
  left: 14px;
  position: absolute;
  top: 6px;
  vertical-align: middle;
  width: 2px;
}
.light-box .close:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.light-box .close:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* muban detail.js 注入的目录浮层，本站不需要 */
.menu-position,
.menu-box,
.menu-bg {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 主导航 4 项均分满宽（覆盖 muban tdxzal 里按 5 列写的 20% 宽，避免出现空白格） */
nav[data-s7233-nav] ul#listUl {
  display: flex !important;
  float: none !important;
  clear: both;
  width: 100% !important;
  overflow: visible;
  box-sizing: border-box;
}
nav[data-s7233-nav] ul#listUl > li {
  float: none !important;
  width: auto !important;
  flex: 1 1 0 !important;
  min-width: 0;
  max-width: none !important;
  padding: 0;
  box-sizing: border-box;
}
nav[data-s7233-nav] ul#listUl > li > a {
  display: block;
  text-align: center;
}

/* 专题详情：无列表项时的提示（不破坏 hjapLs_ul 结构） */
p.s7233-zt-detail-empty {
  margin: 0;
  padding: 0.36rem 0.24rem;
  text-align: center;
  color: #888;
  font-size: 0.28rem;
}

.xqzGmClassifyBox[data-amtc-classify-expanded='1'] > ul.multiColumnList {
  max-height: none !important;
}

.xqzGdMainBox .gdMainSw .swiper-slide.imgBox img,
.xqzGdMainBox .boxCont .imgBox img {
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

/* 站点 logo：PNG 按高度等比显示，避免头部/底部位置变形 */
header .hdTop h1 > a.logo,
footer > a.imgBox {
  display: flex;
  align-items: center;
}
header .hdTop h1 > a.logo > img,
footer > a.imgBox > img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/*
 * 游戏/软件「分类 / 分页」列表：皮肤仅 gamelist+soft.css，不含 gameitem 的 detail.css。
 * 列表 DOM 与 muban gameitem 侧栏 ul.appList 一致；在此补齐 appmorebox 列表条样式（避免误包 mp_detail_con 仍缺样式）。
 */
.s7233-m-list-down .appmorebox {
  background-color: #fff;
  margin-top: 8px;
}
.s7233-m-list-down .appmorebox ul.appList {
  box-sizing: border-box;
  padding: 0 3% 16px;
  width: 100%;
}
.s7233-m-list-down .appmorebox ul.appList li {
  border-bottom: 1px dashed #e8e8e8;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  width: 100%;
}
.s7233-m-list-down .appmorebox ul.appList li .img {
  display: block;
  float: left;
  height: 62px;
  margin-right: 10px;
  position: relative;
  width: 62px;
}
.s7233-m-list-down .appmorebox ul.appList li .img img {
  border-radius: 8px;
  height: 62px;
  left: 50%;
  min-width: 100%;
  position: absolute;
  text-align: center;
  top: 0;
  transform: translateX(-50%);
  vertical-align: middle;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis {
  -webkit-box-flex: 1;
  box-sizing: border-box;
  color: #777;
  height: 65px;
  overflow: hidden;
  padding-right: 80px;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis a {
  color: #000;
  display: block;
  font-size: 16px;
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis span {
  display: block;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 12px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis u {
  border-right: 1px solid #d9d9d9;
  margin-right: 6px;
  padding-right: 6px;
  text-decoration: none;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .type {
  border-right: none;
  font-size: 14px;
  margin-left: 6px;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .star {
  display: block;
  height: 16px;
  line-height: 16px;
  margin: 4px 4px 4px 0;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .star span {
  background: url(/assets/img/litterStar.png) no-repeat;
  display: inline-block;
  height: 14px;
  width: 75px;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .star span.star3 {
  background-position: 0 -78px;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .star span.star4 {
  background-position: 0 -104px;
}
.s7233-m-list-down .appmorebox ul.appList li p.ellipsis .star span.star5 {
  background-position: 0 -130px;
}
.s7233-m-list-down .appmorebox ul.appList li p.btnAndSize {
  -webkit-box-flex: unset;
  box-sizing: border-box;
  clear: both;
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 4px 0 0;
  padding-left: 72px;
  padding-right: 0;
}
.s7233-m-list-down .appmorebox ul.appList li p.btnAndSize .btn {
  background-color: #09f;
  border-radius: 32px;
  color: #fff;
  display: inline-block;
  float: right;
  font-size: 14px;
  height: 32px;
  line-height: 32px;
  margin-top: 0;
  position: static;
  text-align: center;
  width: 70px;
}
.s7233-m-list-down .appmorebox ul.appList li p.btnAndSize u.size {
  border-right: none;
  float: left;
  font-size: 14px;
  line-height: 32px;
  text-decoration: none;
}
