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

@font-face {
    font-family: 'Permanent Marker';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../font/PermanentMarker.ttf) format('woff2');
    unicode-range: U +0000 -00FF, U +0131, U +0152 -0153, U +02BB -02BC, U +02C6, U +02DA, U +02DC, U +0304, U +0308, U +0329, U +2000 -206F, U +20AC, U +2122, U +2191, U +2193, U +2212, U +2215, U + FEFF, U + FFFD;
}

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

.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    background-color: #F8F8F8;
    margin: 10px 0 0px;
}


/* 底部广告位 */

.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

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%;
    text-align: center;
    color: #000000;
    font-size: 10px;
    line-height: 1.5;
    padding: 10px 0 10px 0;
    transition: 1s;
}

footer * {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

footer a {
    color: #000000;
}

.footer-info {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookieFooter {
    margin-bottom: 49px;
}

.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-image: url(../images/bg.gif);
}

main {
    flex: 1;
}

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

.loader {
    scale: 3;
    height: 50px;
    width: 40px;
}

.box {
    position: relative;
    opacity: 0;
    left: 10px;
}

.side-left {
    position: absolute;
    background-color: #286cb5;
    width: 19px;
    height: 5px;
    transform: skew(0deg, -25deg);
    top: 14px;
    left: 10px;
}

.side-right {
    position: absolute;
    background-color: #2f85e0;
    width: 19px;
    height: 5px;
    transform: skew(0deg, 25deg);
    top: 14px;
    left: -9px;
}

.side-top {
    position: absolute;
    background-color: #5fa8f5;
    width: 20px;
    height: 20px;
    rotate: 45deg;
    transform: skew(-20deg, -20deg);
}

.box-1 {
    animation: from-left 4s infinite;
}

.box-2 {
    animation: from-right 4s infinite;
    animation-delay: 1s;
}

.box-3 {
    animation: from-left 4s infinite;
    animation-delay: 2s;
}

.box-4 {
    animation: from-right 4s infinite;
    animation-delay: 3s;
}

@keyframes from-left {
    0% {
        z-index: 20;
        opacity: 0;
        translate: -20px -6px;
    }

    20% {
        z-index: 10;
        opacity: 1;
        translate: 0px 0px;
    }

    40% {
        z-index: 9;
        translate: 0px 4px;
    }

    60% {
        z-index: 8;
        translate: 0px 8px;
    }

    80% {
        z-index: 7;
        opacity: 1;
        translate: 0px 12px;
    }

    100% {
        z-index: 5;
        translate: 0px 30px;
        opacity: 0;
    }
}

@keyframes from-right {
    0% {
        z-index: 20;
        opacity: 0;
        translate: 20px -6px;
    }

    20% {
        z-index: 10;
        opacity: 1;
        translate: 0px 0px;
    }

    40% {
        z-index: 9;
        translate: 0px 4px;
    }

    60% {
        z-index: 8;
        translate: 0px 8px;
    }

    80% {
        z-index: 7;
        opacity: 1;
        translate: 0px 12px;
    }

    100% {
        z-index: 5;
        translate: 0px 30px;
        opacity: 0;
    }
}

:root {
    --all-width: 990px;
    --logo: 300px;
    --button: 30px;
}

.concenter {
    width: var(--all-width);
    margin: 0 auto;
    padding-top: 50px;
}

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

    .concenter {
        padding-top: 10px;
        padding-left: 6px;
        padding-right: 6px;
    }

    footer {
        font-size: 9px;
        padding: 8px 10px;
    }

    .footer-info {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
}

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

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

.cookieMessage {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #1e1e1e;
    border-top: 2px solid #ba0dff;
    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: #e739c4;
    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: #7a2268;
    color: #fff;
}

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

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

    .cookieFooter {
        margin-bottom: 132px;
    }
}