/*public.css*/
/* 背景色 */
body {
    background-color: #181b62;
    font-size: 16px;
    color: white;
    padding: 0;
    margin: 0;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

ins.adsbygoogle a {
    display: none !important;
}

ins.adsbygoogle[data-ad-status="unfilled"] a {
    display: block;
}


/* 导航 */
.home {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home .home-title {
    margin-left: 10px;
}

/* 卡片圆角 */
.card {
    background-color: #181b62;
    border-radius: 10px;
    border: 1px solid #717392;
    overflow: hidden;
}


/* 布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    /* grid-template-columns: repeat(auto-fill, minmax(11vw, 1fr)); */
    /* grid-template-rows: repeat(auto-fill, minmax(12.7vw, 1fr)); */
    grid-gap: 10px;
    padding: 5px;
    margin: 0 10px;
}

/* mini 1 * 1  */
.grid-container .mini {
    position: relative;
    grid-column-start: span 1;
    grid-row-start: span 1;
    height: 11vw;
}

/* small 2 * 2  */
.grid-container .small {
    position: relative;
    grid-column-start: span 2;
    grid-row-start: span 2;
    height: calc(11vw * 2 + 5px);
}

/* medium 3 * 3 */
.grid-container .medium {
    position: relative;
    grid-column-start: span 3;
    grid-row-start: span 3;
    height: calc(11vw * 3 + 15px);
}

.grid-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


/* 广告 */
.adver_cart {
    width: 100%;
    height: 200px;
}

.adver_title {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    text-align: center;
}


/*去除a标签下划线*/
a {
    text-decoration: none;
    /* 去除默认的下划线 */
    color: #000;
}

/*去除未被访问的a标签的下划线*/
a:link {
    text-decoration: none;
}

/*去除已经被访问过的a标签的下划线*/
a:visited {
    text-decoration: none;
}

/*去除鼠标悬停时的a标签的下划线*/
a:hover {
    text-decoration: none;
}

/*去除正在点击的a标签的下划线（鼠标按下，尚未松开）*/
a:active {
    text-decoration: none;
}

/*去除获得焦点的a标签的下划线（被鼠标点击过）*/
a:focus {
    text-decoration: none;
}



/* 页脚 */
.footer {
    font-weight: normal;
    font-size: 14px;
    padding: 30px 0;
    box-sizing: border-box;
}

.footer .ali {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.footer .ali a {
    color: white;
}



/* 提示方向 */
#out_rotateDeviceBG {
    background-color: rgba(0, 0, 0, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 998;
    width:100vw;
    height:100vh;
}

#out_rotateDeviceBG .out_phone {
    height: 100px;
    width: 200px;
    border: 4px solid white;
    border-radius: 10px;
    animation: out_rotate 1.5s ease-in-out infinite alternate;
}

#out_rotateDeviceBG .out_message {
    color: white;
    font-size: 1em;
    text-align: center;
}

@keyframes out_rotate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(-90deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}

@media only screen and (max-device-width: 812px) and (orientation: landscape) {
    .out_phone,
    .out_message {
        display: block;
    }
}

/*game.css*/
body {
    background-color: #0073dd;
}

.container {
    margin: 10px;
    border-radius: 10px;
}

.game-info {
    border-radius: 10px;
    width: 88vw;
    height: 50vw;
    position: relative;
    overflow: hidden;
    padding: 27px 12px;
    margin:0 auto;
}

.game-info .bg-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    filter: blur(24px);
}


.game-info .game-info-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1d4ed8;
    text-shadow: 2px 2px 8px #0003;
    text-align: center;
}

.game-info .game-info-box .game-info-icon {
    overflow: hidden;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid #fff;
    background-color: #fff;
    object-fit: contain;
}

.game-info .game-info-box .game-info-name {
    margin: 6px 0;
    font-size: 18px;
}

.game-info .game-info-box .game-info-star {
    color: #ffcc00;
    font-weight: bold;
}

.game-box {
    overflow: hidden;
    border-radius: 10px;
    background-color: #67d5ff;
}

.game-box .game-title {
    padding: 8px;
    border-bottom: 1px dotted #fff;
    color: #1d4ed8;
    font-size: 1.2rem;
}

.game-box .game-desc {
    margin: 8px 8px 0;
    color: #1d4ed8;
    font-size: 12px;
    padding-bottom: 10px;
}

.play-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin: 12px 10px;
    border-radius: 10px;
    border-bottom: 4px solid #65a30d;
    color: #fff;
    text-align: center;
    background-color: #84cc16;
}

.play-btn .play-wat {
    width: 16px;
    margin-right: 10px;
    animation: play-amt 0.3s infinite;
}

.play-btn span {
    margin-left: 2px;
}

.play-load {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn .play-load {
    width: 16px;
    animation: spin 2s linear infinite;
}


/* 加载条 */
.panel {
    position: relative;
}

.panel .playBtn {
    width: 100%;
    height: 48px;
    line-height: 48px;
    color: white;
    font-size: 18px;
    border-radius: 10px;
    margin: auto;
    text-align: center;
    position: relative;
}

.panel .playBtn .progress_t {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.panel .playBtn .progress_s {
    height: 100%;
    border-radius: 10px;
    background-color: #d97d32;
}


.games {
    overflow: hidden;
    border-radius: 10px;
    background-color: #67d5ff;
}

.games .title {
    padding: 8px;
    border-bottom: 1px dotted #fff;
    color: #1d4ed8;
    font-size: 1.2rem;
    margin: 0;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes play-amt {
    0% {
        transform: translateX(-1rem);
    }

    to {
        transform: translateX(0);
    }
}

@media (orientation: landscape) {
  .footer-game {
    display: none !important;
  }
}

.footer-game {
    height: 11vw;
    background-color: #181b62;
    position: fixed;
    bottom: 0;
    left: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-container {
    height: 11vw;
    white-space: nowrap;
    width:100vw;
}

.scroll-content {
    display: flex;
    padding: 1vw;
    box-sizing: border-box;
}

.scroll-content .li {
    flex-shrink: 0;
    margin-right: 10px;
    width: 11vw;
    height: 11vw;
}

.scroll-content .li img {
    width: 11vw;
    height: 11vw;
}

.adver_banner {
    position: fixed;
    bottom: 0;
    background-color: white;
}

.grid-container {
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11vw, 11vw));
    grid-template-rows: repeat(auto-fill, minmax(11vw, 11vw));
    grid-gap: 1.2vw;
    padding: 5px;
    margin: 0 auto;
}

/* mini 1 * 1  */
.grid-container .mini {
    position: relative;
    grid-column-start: span 1;
    grid-row-start: span 1;
    height: 11vw;
}

/* small 2 * 2  */
.grid-container .small {
    position: relative;
    grid-column-start: span 2;
    grid-row-start: span 2;
    height: calc(11vw * 2 + 5px);
}

/* medium 3 * 3 */
.grid-container .medium {
    position: relative;
    grid-column-start: span 3;
    grid-row-start: span 3;
    height: calc(11vw * 3 + 15px);
}