* {
    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: 16px;
    font-weight: 400;
    line-height: 1.4375;
    color: #111;
    -webkit-font-smoothing: antialiased;
}
img {
    max-height: 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;
}
.ads-tips {
    color: #999;
    font-size: 12px;

}
.header {
    width: 100%;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(5,27,51,0.08);
    box-shadow: 0px 0px 8px 0px rgba(5,27,51,0.08);
    border-bottom: 1px solid #eee;
}
.ad-300x250 {
        max-width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
      }

.header-icon {
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 54px;
    align-items: center;
    padding: 0px  8px;
}

.logo img {
    height: 25px;
}

.small-icon {
    width: 24px;
    height: 24px;
    fill: #00a173;
}

.wrapper {
    margin: 0 auto;

}

.mt-20 {
    margin-top: 20px
}

/***detail***/
.box-bg {
    box-shadow: 0px 0px 8px 0px rgba(5, 27, 51, 0.08);
    background-color: #fff;
    padding: 10px;
}
.section-title {
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.detail-layout {
    margin: 20px auto;
}
.app-top {
    display: flex;
    background-image: url("../img/safety_mark.png");
    background-position: top right;
    background-repeat: no-repeat;

    padding: 8px;
}

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

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

.app-title {
    display: flex;

    margin-left: 15px;
    flex-direction: column;
    justify-content: center;
}
.lastest-version {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #848484;
    margin-top: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.app-name {
    font-size: 18px;
    line-height: 24px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.app-metas {
    margin:20px 0;
    width: 100%;
    padding: 10px;
}

.app-meta-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.app-meta-item {
    width: 50%;
    font-size: 14px;
    line-height: 1.5;
}
.app-meta-item .item-h {
    font-weight: 700;
}
.app-meta-item .item-b {
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 24px;
    color: #666;
    font-weight: 400;
}

.app-text {
    padding: 10px;
}


.app-descb {
    display: flex;
    margin:10px auto;
    padding: 10px;
}

.app-descb .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-descb .app-icon img {
    width:100%;
    height: 100%;
    object-fit: cover;
}

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

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

.app-detail-item {
    font-size: 16px;
    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;
}



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

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

.download-btns .btn-gp {
    background: #0F112F;
}

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

.btn-play {
    background: #488bea;
}

.safe-icon {
    display: inline-block;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    background-image: url(../img/safety.svg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
}
.app-item-grid {
    box-sizing: border-box;
    border-radius: 8px;
}

.app-item-grid .app-icon  {
    aspect-ratio: 1;
}

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

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

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

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

.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;
}
.ad-2 {
    grid-area: 7/1/8/4;
}
.game-item {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.24);

}

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

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

.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;
}
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;
}
.game-item:hover {
    background: #f2f9f7;

}

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

.home-layout {
    padding: 10px 0;
}



/***Play**/
.app-player {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
    box-shadow: 0px 7px 10px 4px #5d6b844d;
}

.play-container {
    aspect-ratio: 940 / 496;
    flex-grow: 1;
    position: relative;
    width: 100%;
}

.player-bar {
    align-items: center;
    background-color: #fff;
    display: flex;
    height: 46px;
    justify-content: space-between;
    padding: 12px;
    width: 100%;
    border-top: 1px solid #eee;
}


.player-bar .app-info-bar {
    color: #2d3367;
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.player-bar .app-info-bar .app-title {
    font-size: 16px;
    font-weight: 700;
}
.player-bar .app-info-bar .app-author {
    color: #5d6b84;
    font-size: 12px;
}

.player-iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    visibility: visible;
    z-index: 99;
    left: 0;
    top: 0;
    background: #0b0b0b;
}

#game-iframe {
    border: none;
    box-shadow: none;
    display: block;
    height: 100%;
    width: 100%;
}

.iframe-float-buttons {
    align-items: center;
    background-color: #fff;
    border-radius: 0 16px 16px 0;
    display: none;
    height: 46px;
    justify-content: center;
    width: 62px;
}

.van-floating-bubble {
    background: #fff;
    bottom: 24px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;

    left: 0;
    overflow: hidden;
    position: fixed;
    right: 24px;
    top: 0;
    touch-action: none;
    transition: transform var(--van-duration-base);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    z-index: 999;
}

.app-player.fullscreen .player-container .player-iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    visibility: visible;
    z-index: 99;
    left: 0;
    top: 0;
    background: #0b0b0b;
}

.app-player.fullscreen {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 199
}


@media screen and (max-width: 768px) {

}
@media screen and (min-width: 768px) {
    .wrapper {
        width: 100%;

    }
    .app-meta-item {
        width: 25%;
    }

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

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

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

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

    .ad-1 {
        grid-area: 3/1/4/7;
    }

    .ad-2 {
        grid-area: 7/1/8/7;
    }

}

@media screen and (min-width: 1024px) {
    .wrapper {
        width: 100%;
        max-width: 1360px;
        padding: 0px 8px;
    }

    .expand-ad {
        width: calc(100% + 16px);
        margin-left: -8px;
    }

    .detail-layout {
        display: flex;
    }

    .page-left {
        width: 728px;
        flex-shrink: 0;
        flex-grow: 1;
    }

    .page-right {
        margin-left:20px;
        flex-grow: 0;
        flex-shrink: 0;
        width:300px;
    }
    .app-top {
        padding: 30px;
    }
    .app-top .app-icon, .app-descb .app-icon {
        width: 150px;
        height: 150px;
    }
    .side-app-list {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .game-list {
        display: grid;
        grid-template-columns: repeat(7,minmax(0,1fr))
    }
    .ad-1 {
        grid-area: 3/1/4/8;
    }

    .ad-2 {
        grid-area: 7/1/8/8;
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        max-width: 1280px;
    }

}





/***footer***/

footer {
    background-color: #f1f2f2;
    position: relative;
    height: auto;
    border-top: 1px solid #eee;
    margin-top:20px;
    padding: 15px;
}

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

footer .links {
    text-align: center;
}

footer .links a {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}


 footer a {
        margin: 0 10px;
        color: #0445bf;
        text-decoration: none;
      }
      footer a:hover {
        text-decoration: underline;
      }

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

#disclaimer {
                margin-bottom: 2.2rem;
                box-shadow: 0px 2px 4px 0px rgba(0,0,0,.2470588235)
            }

            #disclaimer .disclaimer-card {
                box-shadow: 0px 2px 4px 0px rgba(0,0,0,.25)
            }

            #disclaimer .disclaimer-card h5 {
                  font-size: 16px;
                height: 5rem;
                background-color: #fbfbfb;
                padding-left: 3rem;
                box-sizing: border-box;
                line-height: 5rem;
                border-bottom: 1px solid #e6e6e6
            }

            #disclaimer .disclaimer-card .disclaimer-text {
                width: 100%;
                background-color: #fff;
                padding: 2rem 3rem;
                box-sizing: border-box
            }

            #disclaimer .disclaimer-card .disclaimer-text p {
                font-size: 1.4rem;
                font-weight: 300;
                line-height: 2.1rem;
                color: #666
            }

            #disclaimer .disclaimer-card .disclaimer-text p:not(:last-of-type) {
                padding-bottom: 8px
            }

            #disclaimer .disclaimer-card .disclaimer-text p a {
                text-decoration: none;
                color: #00c9a9
            }




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


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


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

.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;
    overflow: hidden;
}

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

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

.app-info .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;
}
.index-header .wrapper {
    max-width: initial;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
    padding-top: max(0px, env(safe-area-inset-top, 0px));
    gap: 12px;
}

.index-header .wrapper ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-header .wrapper ul li {
    margin-left: 0;
    flex-shrink: 0;
}

.index-header .wrapper ul li:last-child {
    margin-left: 0;
}

.index-header .wrapper ul li a {
    font-size: 18px;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 8px 6px;
    box-sizing: border-box;
}

.index-header .wrapper ul li a:hover {
    color: #fd6231;
}

.index-header .header-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 20px;
    min-width: 0;
    flex: 1 1 auto;
}

.index-header {
    position: relative;
    z-index: 120;
}

.index-header .header-icon {
    flex-shrink: 0;
    min-width: 0;
}

.index-header .search {
    position: relative;
    flex: 1 1 160px;
    max-width: min(280px, 100%);
    min-width: 0;
}

.index-header__touchbar,
.index-header__backdrop {
    display: none;
}

.index-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.index-header__burger:focus-visible {
    outline: 2px solid #00a173;
    outline-offset: 2px;
}

.index-header__burger-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 22px;
    height: 18px;
}

.index-header__burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background: #111;
    border-radius: 1px;
    transition: transform 0.28s ease, opacity 0.22s ease;
}

.index-header.is-drawer-open .index-header__burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.index-header.is-drawer-open .index-header__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.index-header.is-drawer-open .index-header__burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 769px) {
    .index-header__drawer {
        display: block;
        position: static;
        transform: none !important;
        visibility: visible !important;
        max-height: none !important;
        overflow: visible !important;
        box-shadow: none;
        background: transparent;
    }
}

/* ——— Index header: mobile drawer (hamburger) ——— */
@media (max-width: 768px) {
    body.index-header--drawer-open {
        overflow: hidden;
    }

    .index-header {
        position: relative;
        z-index: 200;
    }

    .index-header__touchbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 202;
        min-height: 48px;
        padding: 8px max(10px, env(safe-area-inset-right, 0px)) 8px
            max(10px, env(safe-area-inset-left, 0px));
        padding-top: max(8px, env(safe-area-inset-top, 0px));
        background: #fff;
        border-bottom: 1px solid #eee;
        box-shadow: 0 1px 6px rgba(5, 27, 51, 0.08);
    }

    .index-header__touchbar-logo img {
        height: 28px;
        width: auto;
        max-width: min(200px, 58vw);
        object-fit: contain;
        display: block;
    }

    .index-header__burger {
        display: inline-flex;
        flex-shrink: 0;
    }

    .index-header__burger:active {
        background: rgba(0, 161, 115, 0.08);
    }

    .index-header__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(5, 27, 51, 0.42);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .index-header__backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .index-header__drawer {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--index-touchbar-h, 56px);
        bottom: 0;
        z-index: 201;
        max-height: calc(100vh - var(--index-touchbar-h, 56px));
        max-height: calc(100dvh - var(--index-touchbar-h, 56px));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -6px 24px rgba(5, 27, 51, 0.14);
        transform: translate3d(0, 100%, 0);
        visibility: hidden;
        transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1),
            visibility 0.34s cubic-bezier(0.32, 0.72, 0, 1);
        will-change: transform;
        pointer-events: none;
    }

    .index-header.is-drawer-open .index-header__drawer {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    .index-header__drawer .header-icon {
        display: none;
    }

    .index-header__drawer .wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px max(12px, env(safe-area-inset-left, 0px)) 20px
            max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    }

    .index-header__drawer .header-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .index-header__drawer .wrapper ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 4px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding: 2px 0 4px;
        margin: 0;
        scrollbar-width: thin;
        touch-action: pan-x;
        order: 1;
    }

    .index-header__drawer .wrapper ul li {
        scroll-snap-align: start;
    }

    .index-header__drawer .wrapper ul li a {
        font-size: 16px;
        line-height: 1.25;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 10px;
        white-space: nowrap;
    }

    .index-header__drawer .wrapper ul li a:active {
        background: rgba(0, 161, 115, 0.08);
    }

    .index-header__drawer .search {
        order: -1;
        flex: none;
        width: 100%;
        max-width: none;
    }

    .index-header__drawer .site-search {
        min-height: 44px;
        padding: 0 14px 0 12px;
    }

    .index-header__drawer .site-search__input {
        font-size: 16px;
        padding: 10px 0;
    }

    .index-header.is-drawer-open .search .site-search-dropdown {
        z-index: 210;
    }
}

@media (max-width: 380px) {
    .index-header__drawer .wrapper ul li a {
        font-size: 15px;
        padding: 10px 12px;
    }
}

.index-header .site-search {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 12px 0 10px;
    min-height: 38px;
    background: #f7faf9;
    border: 1px solid #e8eceb;
    border-radius: 999px;
    box-shadow: 0 1px 2px 0 rgb(60 64 67 / 6%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.index-header .site-search:focus-within {
    background: #fff;
    border-color: #00a173;
    box-shadow: 0 0 0 3px rgba(0, 161, 115, 0.12),
        0 1px 2px 0 rgb(60 64 67 / 8%);
}

.index-header .site-search__icon {
    display: flex;
    flex-shrink: 0;
    margin-right: 6px;
}

.index-header .site-search__svg {
    width: 18px;
    height: 18px;
    fill: #848484;
    transition: fill 0.2s ease;
}

.index-header .site-search:focus-within .site-search__svg {
    fill: #00a173;
}

.index-header .site-search__input {
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    color: #111;
}

.index-header .site-search__input::placeholder {
    color: #999;
}

.search .site-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 200;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 1px solid #e8eceb;
    border-radius: 12px;
    box-shadow: 0px 0px 12px 0px rgba(5, 27, 51, 0.12);
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.search .site-search-dropdown[hidden] {
    display: none !important;
}

.site-search-dropdown__empty {
    padding: 14px 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.search .site-search-dropdown .site-search-dropdown__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    padding: 10px 12px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.search .site-search-dropdown .site-search-dropdown__row:last-child {
    border-bottom: 0;
}

.search .site-search-dropdown .site-search-dropdown__row:hover,
.search .site-search-dropdown .site-search-dropdown__row.is-active {
    background: #f2f9f7;
}

.site-search-dropdown__thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 1px 2px 0 rgb(60 64 67 / 12%);
}

.site-search-dropdown__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search .site-search-dropdown .site-search-dropdown__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
}

.search .site-search-dropdown .site-search-dropdown__title {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-search-results-main {
    background: #f7faf9;
    border-bottom: 1px solid #eee;
}

.site-search-results-main[hidden] {
    display: none !important;
}

.site-search-results-main__layout {
    padding-top: 16px;
    padding-bottom: 20px;
}

.site-search-results-main__title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.site-search-results-main__meta {
    font-size: 15px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.45;
}

.site-search-results-main__grid {
    min-height: 0;
}

/* Search grid reuses .game-item but must not use overlay-card title rules from .game-item */
.site-search-results-main__grid.game-list-2 .game-item {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
    text-decoration: none;
    color: #111;
}

.site-search-results-main__grid.game-list-2 .game-item .game-icon {
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

.site-search-results-main__grid.game-list-2 .game-item .game-title {
    position: static;
    opacity: 1;
    transform: none;
    color: #111;
    padding: 8px 6px 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.site-search-results-main__grid.game-list-2 .game-item:hover .game-title {
    opacity: 1;
    transform: none;
}