[v-cloak] {
    display: none;
}

body {
    font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}

.banner {
    /* background: url("../imgs/banner.png"); */
    background-size: cover;
    height: 90px;
    padding: 15px 15px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    z-index: 99;
    background: #ffffff;
}

.title-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.title-container img {
    width: 70px;
    height: auto;
}

.title-container h1 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

.title-container .title-divider {
    width: 2px;
    height: 20px;
    background: #3d3e3e;
    margin: 0 10px;
}

.share-icon {
    position: absolute;
    left: 10px;
    top: 17px;
}

.search-btn {
    width: 30px;
    height: auto;
    position: absolute;
    top: 18px;
    right: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px;
}

/* 表头 */
.list-header {
    width: 100%;
    line-height: 40px;
    letter-spacing: 0.5px;
    z-index: 112;
    background: #ffffff;
    height: 80px;
}

.list-header-inner {
    width: 100%;
    z-index: 113;
    height: 80px;
    background: #ffffff;
}

.list-header-inner.list-header-state-fixed {
    position: fixed;
    top: 0;
    left: 0;
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
    box-shadow: 0px 1px 1px rgba(0,0,0,.1);
}

.cat-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: #e5e5e7;
    position: relative;
}

.cat-nav span {
    width: 50%;
    text-align: center;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.cat-nav-select-0 span:nth-child(1),
.cat-nav-select-1 span:nth-child(2),
.cat-nav-select-2 span:nth-child(3),
.cat-nav-select-3 span:nth-child(4) {
    color: #d22222;
    border-top: 2px solid #d22222;
    background: #ffffff;
}

.night .cat-nav-select-0 span:nth-child(1),
.night .cat-nav-select-1 span:nth-child(2),
.night .cat-nav-select-2 span:nth-child(3),
.night .cat-nav-select-3 span:nth-child(4) {
    color: #da4c4e;
    border-top: 2px solid #da4c4e;
}
/* .cat-nav-select-0 span:first-child::before, .cat-nav-select-1 span:last-child::before{
    content: "";
    display: block;
    background: #d22222;
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 20px;
    height: 4px;
    margin-left: -10px;
    border-radius: 3px;
} */
.rank-nav {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
}

.night .rank-nav {
    background: #000000;
}

.rank-nav span {
    display: inline-block;
    width: 46px;
    text-align: center;
    background: #f2f4f6;
    margin-left: 8px;
    margin-right: 0px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 30px;
    padding: 0;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    color: #575757;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.rank-nav-select-0 span:nth-child(1), .rank-nav-select-1 span:nth-child(2), .rank-nav-select-2 span:nth-child(3), .rank-nav-select-3 span:nth-child(4) {
    color: #d22222;
    font-weight: bold;
}

.night .rank-nav-select-0 span:nth-child(1), .night .rank-nav-select-1 span:nth-child(2), .night .rank-nav-select-2 span:nth-child(3), .night .rank-nav-select-3 span:nth-child(4) {
    color: #da4c4e;
}
/* 列表 */
.list-container {
    width: 100%;
    max-width: 900px;
    padding: 0px 10px 0;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    overflow: -moz-scrollbars-none;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    -ms-overflow-style: none;
}

.list-container::-webkit-scrollbar {
    width: 0 !important
}

.list-container ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    line-height: 36px;
    height: 36px;
}

.night .list-container ul li {
    margin-bottom: 1px;
}

.list-container ul li:first-child {
    margin-top: 10px;
}

.night .list-container ul li:first-child {
    margin-top: 0px;
}

.list-container ul li:last-child {
    margin-bottom: 10px;
}

.list-container ul li .score {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 46px;
    margin-left: 8px;
    margin-right: 0 !important;
    padding: 0;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #99a2aa;
    font-size: 13px;
    flex: none;
}

.list-container ul li .device-name {
    padding-left: 10px;
    color: #333333;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -ms-flex-negative: 1;
    flex-shrink: 1;
}

.night .list-container ul li .device-name {
    color: #999999;
}

.rank-num {
    display: none;
}

.rank-nav-current-0 .score-total, .rank-nav-current-1 .score-photo, .rank-nav-current-2 .score-video {
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

.rank-nav-current-0 .score-total .rank-num, .rank-nav-current-1 .score-photo .rank-num, .rank-nav-current-2 .score-video .rank-num, .rank-nav-current-3 .score-zoom .rank-num {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff;
    width: 14px;
    height: 14px;
    background: #d22222;
    font-size: 10px;
    margin-right: 5px;
}

.night .rank-nav-current-0 .score-total .rank-num,
.night .rank-nav-current-1 .score-photo .rank-num,
.night .rank-nav-current-2 .score-video .rank-num,
.night .rank-nav-current-3 .score-zoom .rank-num {
    background: #da4c4e;
}

/* 显卡详情 */

.detail-rank {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0px 5px 0;
    margin: 0 15px;
    flex-wrap: wrap;
}

.detail-rank-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex: auto;
    margin: 0 0 20px 0;
}

.detail-rank-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 10px;
}

.detail-rank-num {
    font-size: 14px;
    font-weight: bold;
    height: 16px;
    line-height: 16px;
}

.detail-rank-name {
    font-size: 11px !important;
    height: 14px;
    line-height: 14px;
}

.detail-rank-score {
    font-size: 27px;
    font-weight: bold;
}

.rank-divider {
    display: inline-block;
    background: #cbcbcb;
    width: 1px;
    height: 12px;
    position: relative;
    top: 1px;
    margin: 0 10px;
}


.detail-params ul {
    position: relative;
}

.detail-params ul li {
    display: block;
    padding-left: 10px;
    margin: 3px 0 3px;
    color: #666666;
    font-size: 13px;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 16px;
}

.detail-params ul li::before {
    display: block;
    content: "";
    width: 4px;
    height: 4px;
    background: #d22222;
    position: absolute;
    left: 0px;
    top: 6px;
    border-radius: 50%;
}

.detail-close-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 10px;
    top: 10px;
    padding: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* 搜索弹窗 */
#search {
    background: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 333;
    display: none;
}

#search.search-pannel-state-1 {
    display: block;
    transform: translateX(0);
    animation: 0.3s openSearch ease 1;
}

@keyframes openSearch {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

#search.search-pannel-state-0 {
    display: block;
    transform: translateX(100%);
    animation: 0.3s closeSearch ease 1;
}

@keyframes closeSearch {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

#search h4 {
    font-size: 13px;
    padding: 10px 15px;
}

.search-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
}

.search-bar img {
    width: auto;
    height: 15px;
}

.search-bar input {
    flex-grow: 1;
    margin-left: 15px;
    background: #f7f7f7;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    padding: 8px 15px;
    box-sizing: border-box;
}

.search-bar input::-webkit-input-placeholder {
    font-size: 13px;
}

.search-suggest, .search-history {
    padding: 0 15px;
    font-size: 12px;
    color: #6B6B6B;
}

.search-suggest li, .search-history li {
    line-height: 14px;
    padding: 6px 0;
}

.detail-section:last-child {
  padding-bottom: 200px;
}

.detail-content {
  max-height: 100%;
}