@import url('/assets/external/fonts.googleapis.com/fonts-152255ad7167.css');
* {
    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 {

}

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


.detail-page {
    padding: 10px;
}


.page-left {
    background: white;
    overflow: hidden;
    flex-grow: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 10px;

}

.detail-right {

    overflow: hidden;
}

.detail-info .info {
    flex-shrink: 0;
}

.box-ad {
    min-width: 336px;
    min-height: 280px;
    width: 100%;
    height: 100%;
}

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

.app-title .title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.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: 15px;
    height: 15px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 5px 5%;
}

.info-card .icon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.info-card .text {
  flex: 1;
  min-width: 0; /* ⭐ THIS FIXES OVERFLOW */
}

.info-card .text span {
  display: block;
  font-size: 12px;
  color: #111;
  font-weight: 600;
  
}

.info-card .text strong {
  display: block;           /* Required */
  max-width: 100%;          /* Required */
  font-size: 11px;
  color: #888;
  font-weight: 300;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop / default */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

/* Mobile – force 2 grid */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-metas {

    border-radius: 4px;
    margin-top:10px;
    padding:10px;
}
.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;
    margin: 10px;
}

section h5 {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

section h5::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 90px;
    height: 6px;
    background-color: #0088ff;
}

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

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

.game-item {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);

}

.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;
}
.game-item:hover {
    background: #f2f9f7;
       transform: scale(1.1);  /* zoom-in effect */

}



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

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

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

}

.ads {
    margin: 20px 0;
}

.btn {
    width: 100%;
    border-radius: 4px;
    height: 60px;
    overflow: hidden;
    background-color: rgba(0, 201, 169, .05);
    border: 1px solid #00a890;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: .3;
    cursor: none;
    pointer-events: none;
    text-decoration: none;
    padding: .5rem 0;
}
.btn-down {
    margin: 10px;
    background: #2296F5;
    border: 0;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    height: 45px;
    line-height: 45px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-300x250 {
        max-width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
      }

.btn-down .cta {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.btn-down .tips {
    font-size: 12px;
    color: #999;
}
.btn.enable {
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}

.download-btns .btn-gp {

}

.download-btns .btn-ios {

}



.download-btns .btn span {
    font-size: 0.6rem;
    color: gray;
    margin-top: .3rem;
}

.show-md {
    display: none;
}
.banner-ad {
}

.score span{
    font-size: 12px;
    line-height: 16px;
    color: #666;
}

.top-box {
    display: flex;
    flex-direction: column;
}

.top-1 {
    order: 0;
}

.top-2 {
    order: -1;
}

.header-title {
    font-size: 20px;
    margin:0px 0px 10px 0px;
}

@media screen and (max-width: 767px) {
    .download-btns .btn:not(:first-child) {
        margin-top: 15px;
    }
}

@media screen and (min-width: 768px) {
    .detail-info {
        /* display: flex; */
        gap: 10px;
    }

    .detail-info .info{
        flex:0 0 380px;
        width:100%;
    }

    .detail-right {
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
    }
    .app-header .app-icon {
        width: 106px;
        height: 106px;
    }

    .hide-md {
        display: none;
    }
    .show-md {
        display: block;
    }

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

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

@media screen and (min-width: 1024px ) and (max-width: 1279px) {

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

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

@media screen and (min-width: 1220px) {
    .detail-page {
        margin:0 auto;
        display: flex;
        gap: 20px;
    }

    .page-right {

        width: 300px;
        flex-shrink: 0;
        flex-grow: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        padding: auto;
    }

    .page-left {
        width: calc(100% - 340px);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .detail-right {
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
    }

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

    .top-1 {
        order: 1;
    }

    .top-2 {
        order: 2;
    }

    .header-title {
        display: none;
    }
}

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

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


@media (min-width: 500px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3;
    }
    .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 / 1 / 3 / 3 ;
    }
    .item-2 {
        grid-area:3/4/5/6
    }


}

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

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


}

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


}

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

    .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(9,minmax(0,1fr))
    }
}

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

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

@media (min-width:1864px) {
    .game-list-2 {
        grid-template-columns: repeat(13,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;
}
.game-list-3 {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.game-list-3::-webkit-scrollbar {
    height: 8px;
}

.game-list-3::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.game-list-3 .game-item {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
}



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

.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;
    background: #edeff4;
}

.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-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.game-item-column .right-info .cate {
    font-size: 14px;
    font-weight: 500;
    margin-top: 3px;
    margin-bottom: 3px;
    color: #999;
    position: relative;
    z-index: 2;
}

.game-item-column .download-icon {
    display: flex;
    align-items: center;
}

/***article***/
.article-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.5s ease;
}

.article-wrapper.expanded {
    max-height: none;
}

.article-content {
    padding-bottom: 60px;
}

.fade-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.toggle-button {
    background: white;
    border: 1px solid #1a73e8;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 10px;
    z-index: 2;
    transition: all 0.2s ease;
}

.fade-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.toggle-button {
    background: white;
    border: 1px solid #1a73e8;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 10px;
    z-index: 2;
    transition: all 0.2s ease;
}



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


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


.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;
}
.header-icon {
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 54px;
    align-items: center;
    padding: 0px  8px;
}
.logo img {
    height: 25px;
}
.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;
}