.main-box {
    /* background: url("../images/h5/h5-bg.webp") center no-repeat;
    background-size: cover; */
    background-color: #171823;
    height: calc(var(--vh, 1vh) * 100 - 1.81rem);
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.p-main-box {
    background-color: #171823;
    height: calc(var(--vh, 1vh) * 100 - 1.69rem);
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.h-box {
    padding: 0.24rem 0.2rem;
    border-radius: 0 0 0.2rem 0.2rem;
}
.logo {
    width: 3.73rem;
}
.tg-img {
    width: 1rem;
    margin: 0px;
}
.r-box {
    gap: 0.12rem;
}
.f-btn {
    width: 3.4rem;
}
.f-btn-ios {
    width: 4.4rem;
    margin-top: 0.12rem;
}
.ios-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    padding: 0.18rem 0.32rem;
    border-radius: 999px;
    background: #f42c54;
    color: #fff;
    font-size: 0.26rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-sizing: border-box;
}
.f-box-h5,.f-box-pc {
    background-color: #2f3039;
}
.txt-color {
    color: #fff;
}
.p-box {
    padding: 0 0.24rem 0 0.24rem;
}
.p-main {
    max-width: 7.5rem;
}
.pc-main {
    background: url("../images/pc/pc-bg.webp") center no-repeat;
    background-size: cover;
}
.code-box {
    width: 590px;
    justify-content: space-evenly;
    /* background: url("../images/pc/pc-code.webp") center no-repeat;
    background-size: cover; */
}
.down-btn {
    justify-content: center;
    gap: 0.24rem;
    padding: 0 0.32rem;
    box-sizing: border-box;
}
.down-btn.ios-count-1 .ios-dl-btn {
    min-width: 4.4rem;
}
.down-btn.ios-count-2 .ios-dl-btn {
    min-width: 2.8rem;
}
.down-btn.ios-count-3 {
    gap: 0.14rem;
}
.down-btn.ios-count-3 .ios-dl-btn {
    min-width: 2rem;
    padding: 0.18rem 0.18rem;
    font-size: 0.24rem;
}
.down-img {
    width: 3.26rem;
}
.m-box img {
   transform: translate(-50%, -50%);
}
footer {
    left: 0;
    bottom: 0;
    height: auto;
    padding-top: 0.4rem;
    padding-bottom: 0.2rem;
    max-width: 7.5rem;
    background-color: #fff;
}
.f-box-pc {
    padding: 0.2rem 0.32rem;
}
.p-footer {
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 2.5rem;
    background: url("../images/pc/footer-bg.webp") center no-repeat;
    background-size: cover;
}


.ios-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.84);
  z-index: 9998;
  display: none;
  justify-content: center;
  align-items: center;
}

.ios-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7.02rem;
  height: 9.22rem;
  background: #2f3039;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.3rem 0.2rem;
  box-sizing: border-box;
  z-index: 9999;
  text-align: center;
}

.modal-header p {
  font-size: 0.26rem;
  line-height: 1.5;
  margin: 5px 0;
}

.modal-header .text-danger {
  color: #ff034f;
  font-weight: bold;
}
.modal-body {
    width: 96%;
    margin: 0 auto;
}
.android-modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 7.5rem;
    min-height: 100%;
    height: auto;
    z-index: 20;
    background: #fff;
}

.android-modal .header {
    width: 7.5rem;
    display: flex;
    align-items: center;
    color: #000;
    padding: 0.1rem 0.2rem;
    box-shadow: 0 0.03rem 0.05rem rgba(57, 63, 72, 0.1);
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    height: 0.9rem;
    background: #fff;
}

.android-modal .header .android-modal-arrow img {
    width: 0.25rem;
}

.android-modal .header .title {
    font-size: 0.25rem;
    color: #000;
}

.android-modal .content {
    padding: 0.55rem 0.2rem;
}

.android-modal .content .platform-item img {
    width: 100%;
}

.android-modal .content .pic img {
    width: 100%;
}

.android-modal .contentAnser {
    display: none;
}

/* ═══════ 右下角浮动广告 (通用) ═══════ */
.ad-float-box {
    position: fixed;
    bottom: 125px;
    right: 14px;
    width: 88px;
    height: 88px;
    z-index: 999;
}
@media (min-width: 961px) {
    .ad-float-box { display: none !important; }
}
.ad-slide {
    position: absolute;
    inset: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
}
.ad-slide.active {
    display: block;
    opacity: 1;
}
.ad-slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
}
.ad-close {
    position: absolute;
    top: -4px;
    right: 4px;
    color: #555;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 2px 4px;
}
