﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 微软雅黑;
    background-color: #e0e5ec;
    color: #333;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 3.9vw;
    transition: all 0.3s ease;
}

ul,
p {
    margin: 0;
    padding: 0;
}

.pg-tips {
    margin-top: 3vw;
    font-size: 4.2vw;
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 5vw;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.box {
    background-color: #e0e5ec;
    min-height: 100vh;
    padding: 3vw;
}

.header-BZDH86 {
    background-color: #e0e5ec;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #333;
    padding: 3.5vw 4.3vw;
    padding-bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 16px #c1c6cd, -8px -8px 16px #ffffff;
    transition: all 0.3s ease;
    position: sticky;
    top: 2vw;
    z-index: 1000;
    margin-bottom: 3vw;
}

.header-BZDH86:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px #c1c6cd, -12px -12px 24px #ffffff;
}

.header-BZDH86>.header-BZDH86-1 {
    width: 75%;
    display: flex;
    justify-content: space-between;
}

.header-BZDH86>.header-BZDH86-1>img {
    width: 25vw;
    height: 25vw;
    border-radius: 3vw;
    margin-right: 5vw;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
}

.header-BZDH86>.header-BZDH86-1>.info {
    height: 25vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3vw 0;
}

.search-input {
    width: 70%;
    padding: 2vw 3vw;
    border: none;
    border-radius: 15px;
    background-color: #e0e5ec;
    box-shadow: inset 5px 5px 10px #c1c6cd, inset -5px -5px 10px #ffffff;
    font-size: 3.5vw;
    color: #333;
    outline: none;
}

.search-button {
    padding: 2vw 3vw;
    margin-left: 2vw;
    border: none;
    border-radius: 15px;
    background-color: #e0e5ec;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
    font-size: 3.5vw;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    box-shadow: inset 5px 5px 10px #c1c6cd, inset -5px -5px 10px #ffffff;
}

.search-result {
    text-align: center;
    margin: 2vw 0;
    font-size: 3.5vw;
    font-weight: bold;
    color: #333;
    min-height: 4vw;
}





.gif {
    display: flex;
    margin: 3vw 0;
}

.gif>img {
    margin: 1vw auto;
    width: 90%;
    border-radius: 3vw;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
}

.YF28-CC {
    display: flex;
    padding: 5vw 3vw;
    flex-wrap: wrap;
    justify-content: center;
}

.YF28-CC>.list {
    width: 30%;
    background-color: #e0e5ec;
    border-radius: 2vw;
    margin: 2vw 1.66%;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
    transition: all 0.3s ease;
}

.YF28-CC>.list:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px #c1c6cd, -8px -8px 16px #ffffff;
}

.YF28-CC>.list>a {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vw;
    box-sizing: border-box;
    border-radius: 2vw;
    transition: all 0.3s ease;
}

.YF28-CC>.list>a:hover {
    box-shadow: inset 5px 5px 10px #c1c6cd, inset -5px -5px 10px #ffffff;
}

.YF28-CC>.list>a>img {
    width: 100%;
    border-radius: 1.5vw;
    box-shadow: 3px 3px 6px #c1c6cd, -3px -3px 6px #ffffff;
    margin-bottom: 2vw;
}

.tips {
    margin-top: 6vw;
    margin-bottom: 1vw;
    text-align: center;
}

.q28-none {
    display: none;
}

.jdb-h1 {
    font-size: 5vw;
    font-weight: bold;
    text-align: center;
}

.footer-sj {
    color: #333;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-20px);
    font-size: 3.5vw;
    font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
    background-color: #e0e5ec;
    border-radius: 20px;
    padding: 3vw;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
    margin-top: 5vw;
}

.footer-sj>.footer-img {
    text-align: center;
    width: 96%;
    border-top: 1px solid rgba(193, 198, 205, 0.3);
    padding: 3.5vw 0;
}

.footer-sj>.footer-img>img {
    width: 60%;
    border-radius: 1.5vw;
    box-shadow: 3px 3px 6px #c1c6cd, -3px -3px 6px #ffffff;
}

.footer-sj>.footer-sj-YF28-CC {
    padding-top: 5vw;
    width: 96%;
    border-top: 1px solid rgba(193, 198, 205, 0.3);
    margin-bottom: 3vw;
    display: flex;
    justify-content: center;
}

.footer-sj>.footer-sj-YF28-CC>a {
    margin: 0 1.5vw;
    padding: 1vw;
    border-radius: 10px;
    box-shadow: 3px 3px 6px #c1c6cd, -3px -3px 6px #ffffff;
    transition: all 0.3s ease;
}

.footer-sj>.footer-sj-YF28-CC>a:hover {
    box-shadow: inset 3px 3px 6px #c1c6cd, inset -3px -3px 6px #ffffff;
}

.footer-sj>.footer-sj-YF28-CC>a>img {
    width: 7.9vw;
}

/* 返回按钮的拟态样式 */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #e0e5ec;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    z-index: 9999;
    display: none;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
    transition: all 0.3s ease;
}

.back-button:hover {
    box-shadow: inset 5px 5px 10px #c1c6cd, inset -5px -5px 10px #ffffff;
}

/* 游戏容器的拟态样式 */
.game-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e5ec;
    z-index: 9998;
    border-radius: 20px;
    box-shadow: 10px 10px 20px #c1c6cd, -10px -10px 20px #ffffff;
    padding: 20px;
}

#gameFrame {
    width: 100%;
    height: calc(100vh - 100px);
    border: none;
    display: block;
    border-radius: 15px;
    box-shadow: 5px 5px 10px #c1c6cd, -5px -5px 10px #ffffff;
}

@media screen and (min-width: 1200px) {
    .pg-tips {
        display: none;
    }
    .jdb-h1 {
        font-size: 1.5vw;
        font-weight: bold;
    }
    a {
        font-size: 1vw;
    }
    h1 {
        font-size: 1.6vw;
    }

    .search-container {
        width: 50%;
        margin: 1vw 0;
    }
    
    .search-input {
        width: 70%;
        padding: 0.7vw 1.2vw;
        font-size: 1vw;
        border-radius: 10px;
    }
    
    .search-button {
        padding: 0.7vw 1.2vw;
        margin-left: 1vw;
        font-size: 1vw;
        border-radius: 10px;
    }
    
    .search-result {
        font-size: 1.2vw;
        margin: 1vw 0;
        min-height: 2vw;
    }
    

    .header-BZDH86 {
        padding: 1.7vw 4.3vw;
        flex-direction: row;
        justify-content: space-between;
    }
    .header-BZDH86>.header-BZDH86-1 {
        width: 50%;
        justify-content: start;
    }
    .header-BZDH86>.header-BZDH86-1>img {
        width: 7vw;
        height: 7vw;
        border-radius: 1.2vw;
        margin-right: 5vw;
    }
    .header-BZDH86>.header-BZDH86-1>.info {
        height: 7vw;
    }
    

    .yum {
        border-radius: 1.2vw;
        padding: 1vw 0;
    }
    p {
        margin: 1vw !important;
    }
    .gif {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .q28-none {
        display: block;
    }
    .gif>img {
        width: 22%;
        margin: .7vw;
        border-radius: 1vw;
    }
    .YF28-CC {
        padding: 2vw 1.5vw;
    }
    .YF28-CC>.list {
        width: 30%;
        border-radius: 1vw;
        margin: 1vw 1.66%;
    }
    .YF28-CC>.list>a {
        padding: .7vw;
    }
    .tips {
        margin-top: 6vw;
        margin-bottom: 1vw;
    }
    .footer-sj {
        font-size: 1.2vw;
    }
    .footer-sj>.footer-sj-YF28-CC {
        margin-top: 2vw;
        padding-top: 2vw;
        margin-bottom: 1.2vw;
    }
    .footer-sj>.footer-sj-YF28-CC>a>img {
        width: 2vw;
    }
    .footer-sj>.footer-img {
        text-align: center;
        width: 50%;
        border-top: 1px solid rgba(193, 198, 205, 0.3);
        padding: 1.2vw 0;
    }
    .footer-sj>.footer-img>img {
        width: 60%;
    }
    /* 桌面版返回按钮样式 */
    .back-button {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    /* 桌面版游戏容器样式 */
    .game-container {
        padding: 40px;
    }
    #gameFrame {
        height: calc(100vh - 160px);
    }
}