* {
    padding: 0;
    margin: 0;
    white-space: nowrap;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#app {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#main {
    width: 80%;
    height: inherit;
    overflow: scroll;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    grid-gap: 20px;
    align-items: center;
}

.font-25 { font-size: 25px; }
.font-small { font-size: small; }
.font-bold { font-weight: bold; }
.font-light { font-weight: lighter; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.no-wrap { white-space: nowrap; }

.flex { display: flex; }
.flex-grow-1 { flex-grow: 1; }
.flex-middle { align-items: center; }
.flex-left { justify-content: flex-start; }
.flex-center { justify-content: center; }
.flex-right { justify-content: flex-end; }

.height-inherit { height: inherit; }
.height-50 { height: 50%; }

.pointer { cursor: pointer; }

.w-120 { width: 120px; }
.w-100 { width: 100%; }

.h-100 { height: 100%; }

.ml-10 { margin-left: 10px; }
.mr-10 { margin-right: 10px; }
.mr-20 { margin-right: 20px; }
.mt-5 { margin-top: 5px; }
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }

.el-avatar {
    img {
        object-fit: cover!important;
        width: 100px;
    }
}

.el-menu {
    border: solid 1px #e6e6e6;
}

.affix {
    position: fixed;
    top: calc(5rem + 63px);
    left: 5%;
    z-index: 1000;
    width: 320px;
}

.option-button {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
}

.p-20 { padding: 20px; }

.excel-button {
    position: fixed;
    top: 10px;
    right: 10px;
}

[v-cloak] { display: none; }

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* PC端样式 */
@media screen and (min-width: 2175px) {
    .option-button { display: none; }
}

/* 移动端样式 */
@media screen and (max-width: 2174px) {
    .affix { display: none; }
}

.el-tabs {
    [id^="tab-"] {
        font-size: 20px;
    }
}