* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #000000;

}

body::-webkit-scrollbar {
    /*隐藏滚轮*/
    display: none;
}

.header {
    width: 80%;
    height: max-content;
    margin: auto;
    text-align: center;
}

.header img {
    margin-top: -70px;
}

#search {
    width: 512px;
    height: 25px;
    padding: 12px 16px;
    font-size: 15px;
    /*输入框点击触发的边框设为0*/
    outline: 0;
    box-shadow: none;
    border-radius: 10px 0 0 10px;
    border: 3px solid #c4c7ce;
    background: #ffffff;
    color: #000000;
    box-sizing: content-box;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
}

.header button {
    margin-left: -15px;
    padding: 0 10px;
    cursor: pointer;
    /*width: 108px;*/
    width: auto;
    height: 55px;
    background-color: #4e6ef2;
    border-radius: 0 10px 10px 0;
    font-size: 17px;
    color: #fff;
    box-shadow: none;
    font-weight: 400;
    border: none;
    outline: 0;
    vertical-align: middle;
}

.header button:hover {
    background-color: #6783f3;
}

.main {
    margin: 150px auto 0 auto;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 20px;
    padding: 20px;
    width: 80vw;
    height: auto;
    border-radius: 10px;
    background-color: aliceblue;
}

.main ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.main ul>li {
    list-style: none;
    background-color: antiquewhite;
    border-radius: 10px;
    width: 25%;
    height: 100px;
    line-height: 100px;
    margin: 20px;
    transition: 0.5s;
}

.main ul>li a {
    display: block;
    color: #000000;
}

.main ul>li:hover {
    background-color: rgb(253, 253, 253);
    box-shadow: 2px 2px 20px #ffbfbf;
    font-size: 30px;
}

.guanggao {
    width: 100%;
    margin: auto;
    margin-top: 50px;
    text-align: center;
}

.guanggao img {
    height: 100%;
    border-radius: 10px;
}

.footer {
    width: 100%;
    height: auto;
    margin: auto;
    padding: 20px;
    margin-top: 50px;
    text-align: center;
    background-color: #000000;
}

.footer p {
    color: #ffffff;
}

h2 {
    text-align: center;
    font-size: 35px;
    margin-top: 40px;
}

.list {
    margin: 40px auto;
    width: 80%;
    height: max-content;
}

.list a {
    color: #2ad4ff;
    margin: 0 10px;
    padding: 10px 15px;
    border-radius: 50%;
}

.active {
    border-bottom: #6783f3 2px solid;
    font-weight: bold;
}

/* 悬浮模块 */
.float {
    padding: 10px;
    position: absolute;
    top: 0;
    left: 20px;
    width: 450px;
    height: 300px;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    z-index: 9999;
    box-shadow: 2px 2px 20px #ccc;
    animation: floatDown 1s ease-in-out;
}

.float2 {
    padding: 10px;
    position: absolute;
    top: 0;
    right: 20px;
    /* width: 400px; */
    min-width: 350px;
    /* height: 300px; */
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    z-index: 9999;
    box-shadow: 2px 2px 20px #ccc;
    animation: floatDown 1s ease-in-out;
}

/* 登录模块 */
.login {
    text-align: center;
    margin-top: 20px;
    /* display: none; */
}

/* 游戏数据列表 */
.game_data {
    /* text-align: center; */
    color: #ffa600;
    margin-top: 20px;
    display: none;
}

/* 登录状态 */
.login_status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
}

#username,
#password {
    width: 200px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.login_status span {
    color: red;
    font-size: 14px;
}

.login_status button {
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    background-color: #f2a54e;
    color: #fff;
    cursor: pointer;
}

#loginbtn {
    width: 100px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    border: none;
    background-color: #4e6ef2;
    color: #fff;
    cursor: pointer;
}

#loginbtn:hover {
    background-color: #6783f3;
}

.game_data span {
    display: block;
    color: #999999;
    font-size: 14px;
}

/* 向下移入动画 */
@keyframes floatDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

.title {
    color: #0044ff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.content {
    width: 390px;
    height: 230px;
    overflow-x: hidden;
    overflow-y: auto;
}

.content ol li {
    list-style: inside;
    margin: 10px 0;
    font-size: 14px;
    color: #999;
}

html ::selection {
    background-color: red;
    color: red;
}

html ::-webkit-scrollbar-track {
    width: 100%;
    background: rgb(240, 240, 240);
    border-radius: 2em;
}

html ::-webkit-scrollbar-thumb {
    background-color: #2acdff;
    min-height: 2em;
    border-radius: 2em;
}

html ::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em;
}

.sc {
    text-decoration: line-through
}

.jr {
    color: red !important;
}