:root {
    --applist-column-gap: 0.2rem;
    --applist-row-gap: 0.3rem;
    --applist-column-count: 4;
    --applist-item-width: calc((100% - (var(--applist-column-count) - 1) * var(--applist-column-gap)) / var(--applist-column-count));
    /*浮动广告宽度*/
    --floatAd-item-width: 1rem;
    /*浮动广告距离底部距离*/
    --floatAd-bottom-distance: 2.1rem;
    /*浮动广告图标上下间距*/
    --floatAd-item-vertical-gap: 0.15rem;
}

html {
    -webkit-text-size-adjust: none;
    zoom: 1;
    font-size: 100%;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: #2b2b2b;
    font-size: 100px;
}

@media (max-width: 750px) {
    html {
        font-size: 75px;
    }
}

body {
    color: #2b2b2b;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 0.16rem;
    font-family: 微軟正黑體, "Microsoft JhengHei", Arial, Helvica;
}

img {
    display: block;
    max-width: 100%;
}

a {
    outline: 0;
    text-decoration: none;
    color: #fb0505;
}

a:hover {
    text-decoration: none;
}

header {
    height: 0.5rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to right, #1b124c, #9f8dd8);
    box-sizing: border-box;
    z-index: 2;
}

header h2 {
    text-align: center;
    line-height: 0.5rem;
    font-size: 0.24rem;
    color: #fff;
    font-weight: normal;
    margin: 0;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    padding-bottom: 1.3rem;
}

.main {
    padding-top: 12px;
}

.main .slides {}

.swiper {
    visibility: hidden;
}

.swiper.swiper-initialized {
    visibility: visible;
}

.main .slides .swiper {
    width: 100%;
    aspect-ratio: 3/1;
}

.main .slides .swiper .swiper-slide {}

.main .slides .swiper .swiper-slide a {
    display: block;
    height: 100%;
    width: 100%;
}

.main .slides .swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 3/1;
    object-fit: cover;
    border-radius: 10px;
}


.main h2.title {
    font-size: 0.24rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: -webkit-body;
    border-left: 5px solid #0f279e;
    padding-left: 10px;
}

.main .appList {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--applist-row-gap);
    column-gap: var(--applist-column-gap);
}

.main .appList .appItem {
    flex: 0 0 var(--applist-item-width);
    position: relative;
}

.appList .appItem .bd-link {
    display: block;
}

.appList .appItem img {
    display: block;
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.appList .appItem p {
    margin: 5px 0;
    text-align: center;
    font-size: 0.18rem;
}

.appList .appItem .download-btn {
    font-size: 0.18rem;
    text-align: center;
    height: 0.3rem;
    line-height: 0.3rem;
    border-radius: 15px;
    background-image: linear-gradient(to right, #2e2460, #2e2460);
    color: #fff;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    font-family: Arial, Helvica;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.main footer {
    margin-top: 0.2rem;
    height: 0.8rem;
    background-image: linear-gradient(to right, #2e2460, #2e2460);
    color: #fff;
    font-size: 0.22rem;
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main footer .footer-text {
    text-align: center;
}

.footerFixedAd {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #1b124c, #0f14ab);
    height: 1.2rem;
    opacity: 0.9;
}

.footerFixedAd .swiper {
    width: 100%;
    height: 1.2rem;
}

.footerFixedAd .ft-ad-item {
    padding: 0.1rem 0.1rem;
}
.footerFixedAd .ft-ad-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-direction: row;
}
.footerFixedAd .ft-ad-item img {
    display: block;
    width: 1rem;
    height: 1rem;
    object-fit: cover;
    border-radius: 15px;
}
.footerFixedAd .ft-ad-item .ad-text {
    text-align: left;
    font-size: 0.18rem;
    color: #fff;
    flex: 1;
}
.footerFixedAd .ft-ad-item .ad-text h4 {
    font-size: 0.22rem;
    font-weight: 700;
    margin: 0 0 0.06rem 0;
}
.footerFixedAd .ft-ad-item .ad-text p {
    margin: 0;
}
.footerFixedAd .ft-ad-item .ad-btn {
    font-size: 0.2rem;
    color: #ff2e4f;
    background: linear-gradient(90deg, #f6f6f6, #f6f6f6);
    padding: 0.1rem;
    font-weight: bold;
    border-radius: 8px;
    font-family: Arial, Helvica;
}

.floatAd {
    position: fixed;
    bottom: var(--floatAd-bottom-distance);
    display: flex;
    flex-direction: column;
    gap: var(--floatAd-item-vertical-gap);
    z-index: 999;
}

.floatAdLeft {
    left: 0rem;
}

.floatAdRight {
    right: 0rem;
}

.floatAdItem {
    position: relative;
    width: var(--floatAd-item-width);
    height: var(--floatAd-item-width);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #c71414;
}

.floatAdItem > a {
    display: block;
}

.floatAdItem > a img {
    width: 100%;
    height: 100%;
    display: block;
}

.floatAdItem .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.25rem;
    height: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floatAdItem .btn-close:hover {
    transform: scale(1.1);
}

/* @media (max-width: 768px) {
    .floatAd {
        display: none;
    }
} */