@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Gulkave-Regular';
    src: url(../font/Gulkave-Regular.woff) format('woff');
    font-display: swap;
}

@font-face {
    font-family: NZT-48;
    src: url(../font/NZT-48.woff2) format("woff2");
    font-display: swap
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
}

a {
    text-decoration: none;
}

b,
strong {
    font-weight: 400
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
    touch-action: none;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

/* footer */
footer {
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #f1f1f1;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 10px 0;
    transition: margin 1s;
}

.cookieFooter {
    margin-bottom: 50px;
}

footer a {
    color: #555;
}

.img-box {
    position: relative;
}

.img-box::before {
    content: '';
    display: block;
}

.img-box>img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #333;
}

.center {
    width: var(--all-width);
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
    padding: 5px 15px 0;
    position: relative;
}

main {
    flex: 1;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #00000073;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    inset: 0;
}

.sectionTitle {
    width: fit-content;
    padding: 0 8px 0 0;
    margin: 5px 0px 0 7px;
}

.sectionTitle h2 {
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 7px 7px 4px 15px;
    text-align: center;
    white-space: nowrap;
}

.lineTc,
.lineBc {
    width: calc(100% - 20px);
    height: 9px;
    position: absolute;
}


.lineLc,
.lineRc {
    height: calc(100% - 18px);
    top: 9px;
}

.lineLt,
.lineRt {
    top: 0;
    height: 9px;
}

.lineLb,
.lineRb {
    bottom: 0;
    height: 9px;
}

.lineLt,
.lineRt,
.lineRb,
.lineLb,
.lineLc,
.lineRc {
    position: absolute;
    width: 10px;
}

.lineTc {
    top: 0;
    left: 10px;
}

.lineBc {
    bottom: 0;
    left: 10px;
}

.lineLc,
.lineLt,
.lineLb {
    left: 0;
}

.lineRt,
.lineRb,
.lineRc {
    right: 0;
}

.lineBox {
    width: 100%;
    padding: 9px 10px;
    position: relative;
    min-height: 50px;
}

.gameBox {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 5px;
}

.gameBox>a {
    width: calc((100% - 48px) / 9);
    border-radius: 5px;
    padding: 9px 8px;
    background: #fff;
    font-size: 12px;
}

.gameBox>a .img-box::before {
    padding-top: 100%;
}

.gameBox>a span {
    width: 100%;
    text-align: center;
    color: #000;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}


.peBtn {
    width: var(--button);
    height: var(--button);
    display: none;
}

#copy-message {
    position: fixed;
    top: 10%;
    right: 0;
    transform: translateX(100%);
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #25d366;
    border: 2px solid #3a6e3a;
    border-radius: 4px;
    animation: message ease-in-out 2s;
}

@keyframes message {

    0%,
    100% {
        right: 0;
        transform: translateX(100%);
    }

    10%,
    90% {
        right: 1%;
        transform: translateX(0);
    }
}

:root {
    --all-width: 978px;
    --logo: 178px;
    --button: 38px;
}

@media screen and (max-width:769px) {
    :root {
        --all-width: 100%;
    }

    .gameBox>a {
        width: calc((100% - 6px) / 2);
    }

    .cookieFooter {
        margin-bottom: 132px;
    }

    .center {
        padding: 0;
    }

    .peBtn {
        display: block;
    }
}

@media only screen and (max-device-width: 768px) and (orientation: landscape) {
    /* 仅限手机，横屏模式 */
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    /* 仅限手机，竖屏模式 */
}

.loader {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    transform: rotate(165deg);
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 0.25em;
    transform: translate(-50%, -50%);
}

.loader:before {
    animation: before8 2s infinite;
}

.loader:after {
    animation: after6 2s infinite;
}

@keyframes before8 {
    0% {
        width: 0.5em;
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }

    35% {
        width: 2.5em;
        box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
    }

    70% {
        width: 0.5em;
        box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
    }

    100% {
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }
}

@keyframes after6 {
    0% {
        height: 0.5em;
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }

    35% {
        height: 2.5em;
        box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
    }

    70% {
        height: 0.5em;
        box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
    }

    100% {
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }
}

.loader {
    position: absolute;
    top: calc(50% - 1.25em);
    left: calc(50% - 1.25em);
}

.share {
    margin-bottom: 20px;
}

.shareTitle {
    background: url(../images/top_tab_right_blue.png) top right no-repeat;
}

.shareTitle h2 {
    background: url(../images/top_tab_left_blue.png) repeat-x;
}

.shareBoxTop {
    background: url(../images/tc_green.png) repeat-x;
}

.shareBoxBottom {
    background: url(../images/bc_green.png) repeat-x;
}

.shareBoxLeft {
    background: url(../images/ml_green.png) repeat-y;
}

.shareBoxRight {
    background: url(../images/mr_green.png) repeat-y;
}

.shareBoxLeftTop {
    background: url(../images/tl_green.png) no-repeat;
}

.shareBoxRightTop {
    background: url(../images/tr_green.png) no-repeat;
}

.shareBoxLeftBottom {
    background: url(../images/bl_green.png) no-repeat;
}

.shareBoxRightBottom {
    background: url(../images/br_green.png) no-repeat;
}

.shareInner {
    background: #c6edc6;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.shareText {
    font-size: 13px;
    color: #3a6e3a;
    text-align: center;
}

.shareBtns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.shareBtn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
    border: none;
}

.shareBtn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.shareBtn:hover {
    opacity: 0.85;
}

.shareBtn--facebook {
    background-color: #1877f2;
}

.shareBtn--twitter {
    background-color: #1da1f2;
}

.shareBtn--reddit {
    background-color: #ff4500;
}

.shareBtn--whatsapp {
    background-color: #25d366;
}

.shareBtn--copy {
    background-color: #51b4c6;
}

.cookieMessage {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #1e1e1e;
    border-top: 2px solid #51b4c6;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookieIcon {
    font-size: 20px;
    flex-shrink: 0;
}

.cookieText {
    color: #ccc;
    font-size: 12px;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.cookieText a {
    color: #51b4c6;
    text-decoration: underline;
}

.cookieActions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookieBtn {
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.cookieBtn.agree {
    background-color: #51b4c6;
    color: #fff;
}

.cookieBtn.agree:hover {
    background-color: #3de2f1;
}

.cookieBtn.reject {
    background-color: transparent;
    color: #aaa;
    border: 1px solid #555;
}

.cookieBtn.reject:hover {
    border-color: #aaa;
    color: #fff;
}

@media screen and (max-width: 769px) {
    .cookieMessage {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 8px;
    }

    .shareBtns {
        gap: 6px;
    }

    .shareBtn {
        padding: 5px 9px;
        font-size: 11px;
    }
}