* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

    vertical-align: baseline;
}
input:focus {
    outline: none;
}
body {
    font-family: ProductSans, Helvetica, Arial, system-ui, sans-serif, serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4375;
    color: #111;
    -webkit-font-smoothing: antialiased;
}
img {
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
}
button {
    border: 0;
    background: 0
}

li {
    list-style: none;
}

a {

    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.wrapper {
    width: 100%;
    max-width: 1280px;
    min-width: 300px;
    margin: 0 auto;
}

.header {
    width: 100%;
    -webkit-box-shadow: 0 1px 4px 0 hsla(0,0%,75%,.6);
    box-shadow: 0 1px 4px 0 hsla(0,0%,75%,.6);
    border-bottom: 1px solid #eee;
}


.header-con {
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 54px;
    align-items: center;
    padding-left: 20px;
}

.header-con .logo {
    width: 143px;
    height: 32px;

}

/****common****/
.game-item {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.game-item .game-icon  {
    aspect-ratio: 1;
}

.game-item .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.game-item .game-title  {
    color: #fff;
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .25rem;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    --bezier: cubic-bezier(0.25,0.1,0.25,1);
    transition: transform 0.3s var(--bezier) 0.1s, opacity 0.3s var(--bezier) 0.1s;
    transform: translate3d(0px, 8px, 0px);
    font-weight: 700;
}

.game-item:hover .game-title {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
}

.mt-20 {
    margin-top: 20px;
}
/** home layout**/
.home-layout {
    padding:10px;
    width: 100%;
}


/** detail **/
.detail-layout {
    margin: 20px auto;
}
.page-left {
    padding: 0 10px;
}
.page-right {
    padding: 0 10px;
}



@media (min-width: 768px) {

}

@media (min-width: 1025px) {
    .detail-layout {
        display: flex;
    }

    .page-left {
        overflow:hidden;
        width:720px;
        flex-grow: 1;
    }
    .page-right {
        width:300px;
        flex-shrink: 0;
    }
}

.app-header {
    display: flex;
}

.app-header .app-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 20%;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgb(60 64 67 / 20%), 0 1px 3px 1px rgb(60 64 67 / 10%);
}

.app-header .app-icon img {
    width:100%;
    height: 100%;
    object-fit: cover;

}

.app-info {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-name {
    font-size: 22px;
    line-height: 26px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.app-detail {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.app-detail-item {
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
    margin-right: 16px;
}
.app-detail-item:nth-child(2) {
    padding: 0 16px;
    border-left: 1px solid rgb(0, 0, 0, 0.1);
    border-right: 1px solid rgb(0, 0, 0, 0.1);
}
.app-detail-item-desc {
    color: #666;
    font-size: 12px;
}

.s-icon {
    width: 10px;
    height: 10px;
}
.s-icon-2 {
    width: 20px;
    height: 20px;
}

.app-info .cate-name {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #AEAEAE;
}
.left-info {
    padding: 0 10px;
}

.meta-row {
    display: flex;
    margin-top: 5px;
}
.meta-cell-key {

    width: 130px;
    color: rgb(126, 133, 142);
    font-weight: 600;
}
.meta-cell-val {
    width: calc(100% - 130px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 24px;
    color: #666;
    font-weight: 400;
}

.app-text {
    padding: 10px;
}


.app-thumbs {
    position: relative;
    width: 100%;
    padding-top: 28px;
    padding-bottom: 12px;
}
.maxpic-slides {
    height: 100%;
}
.thumb-slides {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll;
    scrollbar-width: none;
}


.slide {
    height: 100%;
    margin-right: 16px;
    border-radius: 24px;
}

.slide img {
    height: 198px;
}
.slide-pic {
    height: 198px;
    border-radius: 8px;
}

.download-btns {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
}

.download-btns .btn {
    width: 100%;
    height: 68px;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.download-btns .btn-gp {
    background: #01875f;
}

.download-btns .btn-ios {
    background: rgba(0, 0, 0, 0.8);
}

.download-btns .btn-grey {
    background-color: #ddd;
}

.download-btns .btn span {
    margin-left: 10px;
    font-size: 20px;
}

.download-btns .btn:not(:first-child) {
    margin-top: 15px;
}

.header-icon {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .basic-container {
        display: flex;
    }

    .right-rec {
        min-width: 336px;
        min-height: 280px;
        max-height: 300px;
        flex:1;
    }
    .left-info {
        flex:1;
        min-width: 432px;
    }

    .download-btns {
        display:flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .download-btns .btn-group {
        width: calc( 50% - 10px );
    }

    .download-btns .btn-group:not(:first-child) {
        margin-top: 0px;
    }
}


.section-title {
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 ;
}


.app-item {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.app-item .app-icon  {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.app-item .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgb(60 64 67 / 20%), 0 1px 3px 1px rgb(60 64 67 / 10%);
}

.app-item .app-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 64px;
}

.app-info .title, .game-item .title {
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app-info .cate, .game-item .cate {
    line-height: 22px;
    font-size: 14px;
    color: #666;
}

.app-info .score, .game-item .score {
    color: #666;
    fill: #666;
    line-height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.app-item:hover, .game-item:hover,.app-card:hover {
    background: #f2f9f7;
}

.related-app-list {
    display: grid;
    grid-template-columns: repeat(1,minmax(0,1fr));
}

.related-game-list {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.side-app-list {
    display: grid;
    grid-template-columns: repeat(1,minmax(0,1fr));
}
@media (min-width: 768px) {
    .basic-container {
        display: flex;
    }
    .related-app-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .related-game-list {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
    .side-app-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (min-width: 1024px) {
    .basic-container {
        display: flex;
    }

    .related-game-list {
        grid-template-columns: repeat(6,minmax(0,1fr));
    }
}
@media (min-width: 1025px) {

    .side-app-list {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }
}
/**** game-list ****/
.game-list {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3,minmax(0,1fr))
}

.item-1 {
    grid-area: 1/1/3/3;
}

.ad-1 {
    grid-area: 3/1/4/4;
    margin: 15px 0;
}

@media (min-width: 768px) {
    .game-list {
        grid-template-columns:repeat(6,minmax(0,1fr))
    }
    .ad-1 {
        grid-area: 3 / 1 / 4 / 7;
    }
}

@media (min-width: 1024px) {
    .game-list {
        grid-template-columns:repeat(8,minmax(0,1fr))
    }
    .ad-1 {
        grid-area: 3/1/4/9;
    }
}

@media (min-width: 1280px) {

    .game-list {
        grid-template-columns:repeat(9,minmax(0,1fr))
    }
    .ad-1 {
        grid-area: 3/1/4/10;
    }
}

@media (min-width: 1536px) {
    .game-list {
        grid-template-columns:repeat(12,minmax(0,1fr))
    }
    .ad-1 {
        grid-area: 3/1/4/13;
    }
}

/*** detail layout ***/



/***footer***/

footer {
    background-color: #fff;
    position: relative;
    height: 100px;
    border-top: 1px solid #eee;
    margin-top:20px;
}

.footer-content {
    padding-top: 22px;
    position: relative;
    width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .links {
    text-align: center;
    margin: auto 0 auto 40px;
}

footer .links a {
    color: #9c9c9c;
    margin-right: 30px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.introduce {
    color: #9c9c9c;
    display: block;
    text-align: center;
    position: relative;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
}


/***entry***/
.entry {
    word-wrap: break-word;

    white-space: normal;
}
.entry h1 {
    margin: 25px 0;
    line-height: 30px
}

.entry h2 {
    margin: 20px 0
}

.entry h3 {
    margin: 18px 0
}

.entry h4 {
    margin: 16px 0
}

.entry h5 {
    margin: 15px 0
}

.entry {
    font-weight: 400;
    font-size: 14px;
    color: #4c4c4c;
    line-height: 25px
}

.entry p:first-of-type {
    margin-top: 0
}

.entry .aligncenter,.section a.more {
    display: block;
    margin: auto;
    text-align: center
}

.entry blockquote {
    border-left: 4px solid #f2f2f2;
    padding: 0 15px;
    font-style: italic
}

.entry .alignright {
    float: right;
    margin: 0 0 15px 15px
}



.entry ol,.entry ul {
    margin: 0 0 20px 15px
}

.entry li {
    margin: 0 0 5px
}

.entry ol li {
    list-style: decimal
}

.entry ul li {
    list-style: disc
}

.entry iframe {
    max-width: 100%
}
.entry p {
    margin: 0 0 15px;
}




/****special***/
.app-item-big {
    padding: 20px 0;
}

.app-card-big {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0px 5px;
    /*padding: 20px 0;*/
    /*margin-bottom: 20px;*/
    /*border-bottom: 1px solid #E4E4E4;*/
}

.app-card-big .app-basic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.app-card-big .app-basic .info {
    display: flex;
    align-items: center;
}

.app-card-big .app-basic .info img {
    width: 72px;
    height: 72px;
    border-radius: 18%;
    border: 1px solid #E4E4E4;
    background: #FFF;
}
.app-card-big .app-basic .info .title{
    margin-left: 16px;
}

.app-card-big .app-basic .info .title p {
    margin-top: 0;
    margin-bottom: 12px;
}
.app-card-big .app-basic .info .title .name {
    color: #1A1A1A;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 137%;
}


.app-card-big .app-basic .info .title .cate {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.app-card-big .app-basic .app-detail {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.app-card-big .app-cover  {
    height: 201px;
    border-radius: 8px;
    overflow: hidden;
    width: 50%;
}

.app-card-big .app-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card-big .start {
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    border-radius: 16px;
    border: 5px solid #278627;
    background: radial-gradient(116.12% 61.84% at 1.28% 29.01%, rgba(108, 231, 108, 0.24) 99.74%, rgba(20, 164, 20, 0.8) 100%), linear-gradient(180deg, #24C224 2.55%, #169516 95.71%);
    background-blend-mode: lighten, normal;
    color: #FFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.app-item-big .app-desc {
    margin-top:20px;
}


@media screen and (max-width: 600px) {
    .app-card-big {
        flex-direction: column;

    }

    .app-card-big .app-basic {
        width: 100%;
    }

    .app-card-big .app-cover  {
        width: 100%;
        margin-top:15px
    }
}


/**** detail loading box ***/
.overlay,.loading-box {
    position: relative;
}

.overlay:before,.loading-box:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

.overlay:before,.loading-box:before {
    border: 1rem solid hsla(0,0%,100%,.25);
    border-top-color: #6dd829;
    border-radius: 50%;
    animation: turnAround .6s linear infinite;
    width: 5.25rem;
    height: 5.25rem;
}

@keyframes turnAround {
    0% {
        transform: translate(-50%,-50%) rotate(0)
    }

    to {
        transform: translate(-50%,-50%) rotate(359deg)
    }
}

.desc-play .loading {
    background: #b9bcb9;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    z-index: 10000;
}

/* 原生 loading="lazy" 占位 — img.lazy 加载前显示 loading.gif */
img.lazy{background:url("/assets/img/loading.gif") center / 32px no-repeat #f5f5f5;min-height:32px;}

/* ========== TP8 美化补丁: lazy 占位 + footer 样式 ========== */

footer{max-width:960px;margin:40px auto 20px;padding:28px 20px 16px;text-align:center;color:#555;font-size:13px;border-top:1px solid #eee;box-sizing:border-box;line-height:1.6;}
footer .brand-disclaimer{text-align:left !important;color:#555 !important;background:#fafafa !important;border:1px solid #ececec !important;border-radius:12px !important;padding:18px 22px !important;margin:0 0 24px !important;font-size:13px !important;line-height:1.75 !important;}
footer .brand-disclaimer p{margin:0 0 12px;}
footer .brand-disclaimer strong{display:block;color:#333;margin:14px 0 6px;font-size:13px;}
footer .brand-disclaimer span{display:block;margin:4px 0;font-size:12px;color:#777;}
footer .footer-content{margin:16px 0 12px;}
footer .footer-content .links{padding:0;font-size:14px;line-height:2;color:#ccc;}
footer .footer-content .links a{color:#555;margin:0 8px;text-decoration:none;transition:color 0.15s;}
footer .footer-content .links a:hover{color:#1a73e8;}
footer .introduce{display:block;color:#aaa;margin-top:10px;text-decoration:none;font-size:12px;letter-spacing:0.3px;}
