@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
    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: "Roboto", sans-serif, Roboto, Opensans, Arial, Helvetica;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4375;
    color: #111;
    -webkit-font-smoothing: antialiased;
}
img {
    width: 100%;
    max-width: 100%;
    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;
}

body {
    background: #0073dd;
}

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

.detail-page {
    margin:0 auto;
    display: flex;
}

.page-right {

    background: white;
    flex-grow: 1;
    padding: 10px;
    overflow: hidden;
    border-radius: 10px;
}

.page-left {
    width: 320px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 15px;
}

.detail-info {
    display: flex;
}
.detail-info .info{
    flex-grow: 1;
}
.detail-right {
    margin: 0px 20px;
    width: 356px;
    flex-grow: 0;
    flex-shrink: 0;
}
.box-ad {
    min-width: 336px;
    min-height: 280px;
}

.app-title {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.app-title .title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-title .developer {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    line-height: 1.5;
}

.app-header {
    display: flex;
}

.app-header .app-title {
    margin-left: 10px;
}

.app-header .app-icon {
    width: 80px;
    height: 80px;
    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%);
    flex-shrink: 0;
}

.app-icon {
    aspect-ratio: 1;
    width: 100%;
}

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

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

.app-metas {
    background: #f8f8f8;
    border-radius: 4px;
    padding: 20px;
    margin-top:20px;
}
.app-metas ul li {
    display: flex;
    margin-top: 10px;
}
.app-metas ul li p{
    width: 140px;
}
.app-metas ul li small{
    text-align: right;
    width: calc(100% - 150px);
    color: #70554f;
    font-weight: 600;
}
.leftbtn,
.rightbtn
{
    position: absolute;
    top: 50%;
    display: block;
    /*display: none;
    */
    width: 36px;
    height: 36px;
    margin-top: -18px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 18px;
}

.leftbtn::after,
.rightbtn::after
{
    position: absolute;
    top: 12px;
    left: 10px;

    display: block;

    width: 8px;
    height: 8px;

    content: '';
    transform: rotate(-45deg);

    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
}

.leftbtn::after
{
    left: 14px;

    transform: rotate(135deg);
}
.leftbtn
{
    left: -12px;
}

.rightbtn
{
    right: -12px;
}

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


.slide {
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-pic {
    max-height: 250px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

section h5 {
    font-size: 20px;
    font-weight: 500;
    color: #000;
}

.page-right section h5 {
    margin: 15px 0;
}

.page-right section {
    margin: 15px 0;
}


.game-item {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease;
}
.game-item:hover {
    transform:scale(1.03);
}
.game-item .game-icon  {
    aspect-ratio: 1;
}

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

.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;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.game-item:hover {
    background: #f2f9f7;
}
.game-item:hover .game-title {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
}



.ads-tips {
    color: #999;
    font-size: 12px;

}

.ads {
    margin: 20px 0;
}


.download-btns {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin: 15px 0;
}

.download-btns .btn {
    width: 100%;
    height: 58px;
    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;
}

@media screen and (min-width: 728px) {
    .app-header .app-icon {
        width: 106px;
        height: 106px;
    }
}

.page-right .game-list {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    grid-gap: 10px;
}


.game-item-column {
    background-color: #fff;
    display: flex;
    border-radius: 10px;
    padding: 14px;
    transition: transform .3s ease;
}

.game-item-column .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.game-item-column:hover{
    transform:scale(1.06);
    z-index:6000
}

.game-item-column .right-info {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: calc(100% - 90px);
}
.game-item-column .right-info h2 {
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-left .ads-box {
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.top-game-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: white;
    border-radius: 10px;
    margin:15px 0;
    height: 114px;
}

.top-game-list .game-item {
    flex-basis: 98px;
    height: 98px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: scale(1);
    transition: transform .3s ease;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .24);
}
.vertical-text {
    writing-mode: vertical-rl; /* 从上到下，从右到左 */
    text-orientation: upright; /* 保持文字直立 */
}
/***home**/

.item-1 {
    grid-area: 1/2/3/4
}

.item-2 {
    grid-area: 6/1/8/3
}


@media (min-width: 500px) {
    .item-1 {
        grid-area:1/2/3/4
    }
    .item-2 {
        grid-area:4/3/6/5
    }


}

@media (min-width: 640px) {
    .item-1 {
        grid-area:1/1/3/3
    }
    .item-2 {
        grid-area:3/3/5/5
    }

}

@media (min-width: 768px) {
    .item-1 {
        grid-area:1/2/3/4
    }
    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1024px) {
    .item-1 {
        grid-area:1/2/3/4
    }

    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1280px) {
    .item-1 {
        grid-area:1/2/3/4
    }
    .item-2 {
        grid-area:2/5/4/7
    }


}

@media (min-width: 1536px) {
    .item-1 {
        grid-area:1/3/3/5
    }

    .item-2 {
        grid-area:2/6/4/8
    }
}


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


@media (min-width:104px) and (max-width:543px) {
    .game-list-2 {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media (min-width:544px) and (max-width:763px) {
    .game-list-2 {
        grid-template-columns: repeat(5,minmax(0,1fr))
    }
}

@media (min-width:764px) and (max-width:1204px) {
    .game-list-2 {
        grid-template-columns: repeat(7,minmax(0,1fr))
    }
}

@media (min-width:1204px) and (max-width:1313px) {
    .game-list-2 {
        grid-template-columns: repeat(11,minmax(0,1fr))
    }
}

@media (min-width:1314px) and (max-width:1533px) {
    .game-list-2 {
        grid-template-columns: repeat(12,minmax(0,1fr))
    }
}

@media (min-width:1534px) and (max-width:1863px) {
    .game-list-2 {
        grid-template-columns: repeat(14,minmax(0,1fr))
    }
}

@media (min-width:1864px) {
    .game-list-2 {
        grid-template-columns: repeat(17,minmax(0,1fr))
    }
}

/*******/
.game-home-layout {
    width: 100%;
    padding: 10px;
    margin: auto;
    background: #0073dd;
}


/***entry***/

.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;
}

.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;
}


/**** 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;
}
