*{
    box-sizing: border-box;
}
html,body{
    margin: 0;
    min-height: 100%;
}
body{
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #4f5f5c;
    background:
        linear-gradient(180deg, rgba(82, 152, 136, 0.14), rgba(255, 255, 255, 0) 150px),
        #ffffff;
}
a{
    color: inherit;
}
.wrapper{
    min-height: 100vh;
}
header{
    position: relative;
    margin-bottom: 28px;
}
.inner,
.container{
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto;
}
.mod-head{
    min-height: 74px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 24px rgba(47, 94, 82, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.mod-head .bd{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}
.game-logo{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #173f37;
}
.game-logo-board{
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background:
        linear-gradient(#3d2a19 1px, transparent 1px),
        linear-gradient(90deg, #3d2a19 1px, transparent 1px),
        #d8ac6e;
    background-size: 12px 12px;
    box-shadow:
        inset 0 0 0 2px rgba(61, 42, 25, 0.18),
        0 10px 20px rgba(47, 94, 82, 0.16);
}
.game-logo-board i{
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(20, 20, 20, 0.22);
}
.game-logo-board i:nth-child(1){
    top: 8px;
    left: 9px;
    background: radial-gradient(circle at 35% 25%, #4d4d4d, #050505 68%);
}
.game-logo-board i:nth-child(2){
    right: 9px;
    top: 20px;
    background: radial-gradient(circle at 35% 25%, #ffffff, #c6c6c6 70%);
}
.game-logo-board i:nth-child(3){
    left: 20px;
    bottom: 7px;
    background: radial-gradient(circle at 35% 25%, #4d4d4d, #050505 68%);
}
.game-logo-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.game-logo-text strong{
    line-height: 24px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    color: #173f37;
}
.game-logo-text em{
    line-height: 18px;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    color: #6b7c78;
}
.mod-head .operation{
    display: flex;
    align-items: center;
    gap: 10px;
}
.mod-head .operation .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(23, 63, 55, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 20px rgba(47, 94, 82, 0.08);
    color: #344b47;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.mod-head .operation .btn:hover{
    background: #ffffff;
    color: #173f37;
}
.mod-head .operation .btn.language-btn,
.mod-head .operation .btn.language-btn span{
    color: #ffffff;
}
.mod-head .operation .language-btn{
    border-color: #4f9886;
    background: #529888;
    box-shadow: 0 8px 20px rgba(82, 152, 136, 0.22);
}
.mod-head .operation .language-btn:hover{
    color: #ffffff;
    background: #427e71;
}
.container{
    padding-bottom: 30px;
}
.mod-foot{
    padding: 24px 0 30px;
    text-align: center;
    color: #7b8784;
    font-size: 14px;
}
.mod-foot p{
    margin: 0;
}
.mod-panel{
    margin-bottom: 30px;
}
.mod-panel canvas{
    display:block;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
}
.mod-panel .info{
    padding: 10px 0;
    margin-bottom: 5px;
    line-height: 20px;
    text-align: center;
    color: #666;
}
.mod-panel .info p{
    line-height: 26px;
    font-size: 16px;
    color: #666;
}

.mod-introtion .hd{
    margin-bottom: 10px;
    padding: 15px 20px;
    background: linear-gradient(45deg, #eef2f9, transparent);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.mod-introtion .hd .title{
    line-height: 32px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 1px 0 #cccccc;
}
.mod-introtion .hd .title a{
    color: var(--primary-color);
}
.mod-introtion .hd .subtitle{
    position: relative;
    line-height: 20px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0.8;
}
.mod-introtion .bd{
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}
.mod-introtion .bd p{
    margin-bottom: 12px;
    line-height: 26px;
    text-indent: 2em;
    font-size: 16px;
    color: #666;
}
.mod-introtion .bd p:last-child{
    margin-bottom: 0;
}

@media screen and (max-width: 800px){
    .mod-head .bd{
        min-height: 64px;
        gap: 12px;
    }
    .game-logo{
        gap: 9px;
    }
    .game-logo-board{
        width: 42px;
        height: 42px;
        border-radius: 9px;
        background-size: 10px 10px;
    }
    .game-logo-board i{
        width: 11px;
        height: 11px;
    }
    .game-logo-board i:nth-child(1){
        top: 7px;
        left: 8px;
    }
    .game-logo-board i:nth-child(2){
        right: 8px;
        top: 17px;
    }
    .game-logo-board i:nth-child(3){
        left: 17px;
        bottom: 7px;
    }
    .game-logo-text strong{
        line-height: 20px;
        font-size: 19px;
    }
    .game-logo-text em{
        line-height: 15px;
        font-size: 12px;
    }
    .mod-head .operation{
        gap: 8px;
    }
    .mod-head .operation .btn{
        min-height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }
    .mod-panel canvas{
        width: 100%;
        border-radius: 8px;
    }

    .mod-panel .info p{
        line-height: 20px;
        font-size: 14px;
    }

    .mod-introtion .hd{
        padding: 12px 15px;
    }
    .mod-introtion .hd .title{
        line-height: 24px;
        font-size: 20px;
    }
    .mod-introtion .hd .subtitle{
        line-height: 18px;
        font-size: 16px;
    }
    .mod-introtion .bd p{
        line-height: 24px;
        font-size: 15px;
    }
}

@media screen and (max-width: 520px){
    .game-logo-text em{
        display: none;
    }
}
