@charset "utf-8";

.kx-rank-page {
    color: #666;
    background: #f2f2f2;
}

.kx-rank-wrap {
    min-width: var(--kx-page-width);
    width: var(--kx-page-width);
    max-width: 100%;
    margin: 15px auto 0;
    padding-bottom: 24px;
    box-sizing: border-box;
}

.kx-rank-head {
    padding: 16px 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.kx-rank-head h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-left: 12px;
    border-left: 4px solid #47b751;
}

.kx-rank-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.kx-rank-nav-item {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    background: #f5f5f5;
    border-radius: 3px;
    text-decoration: none;
}

.kx-rank-nav-item:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-rank-nav-item.is-cur {
    color: #fff;
    background: #47b751;
}

.kx-rank-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.kx-rank-hub-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    padding: 14px 16px 12px;
}

.kx-rank-hub-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.kx-rank-hub-hd h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.kx-rank-hub-hd h2 a {
    color: #333;
}

.kx-rank-hub-hd h2 a:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-rank-hub-more {
    font-size: 12px;
    color: #47b751;
}

.kx-rank-hub-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kx-rank-hub-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px dotted #eee;
    font-size: 13px;
}

.kx-rank-hub-card li:last-child {
    border-bottom: none;
}

.kx-rank-hub-card .num {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    color: #999;
    background: #f0f0f0;
    border-radius: 3px;
}

.kx-rank-hub-card .num.r1 { color: #fff; background: #e74c3c; }
.kx-rank-hub-card .num.r2 { color: #fff; background: #f39c12; }
.kx-rank-hub-card .num.r3 { color: #fff; background: #47b751; }

.kx-rank-hub-card .txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.kx-rank-hub-card .txt:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-rank-full-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    padding: 0 18px 16px;
}

.kx-rank-full-panel .kx-rank-tabs.tit {
    display: flex;
    gap: 0;
    margin: 0 -18px 12px;
    padding: 0 18px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.kx-rank-full-panel .kx-rank-tabs.tit span {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.kx-rank-full-panel .kx-rank-tabs.tit .cur {
    color: #47b751;
    font-weight: 700;
    border-bottom-color: #47b751;
}

.kx-rank-full-panel ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kx-rank-full-panel ul.on {
    display: block;
}

.kx-rank-full-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dotted #ddd;
}

.kx-rank-full-item:last-child {
    border-bottom: none;
}

.kx-rank-full-item .num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    background: #f0f0f0;
    border-radius: 4px;
}

.kx-rank-full-item .num.r1 { color: #fff; background: #e74c3c; }
.kx-rank-full-item .num.r2 { color: #fff; background: #f39c12; }
.kx-rank-full-item .num.r3 { color: #fff; background: #47b751; }

.kx-rank-full-pic img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
}

.kx-rank-full-main {
    flex: 1;
    min-width: 0;
}

.kx-rank-full-main h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.kx-rank-full-main h3 a {
    color: #333;
}

.kx-rank-full-main h3 a:hover {
    color: #47b751;
    text-decoration: none;
}

.kx-rank-full-meta {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.kx-rank-full-meta span {
    margin-right: 14px;
}

.kx-rank-full-meta .kx-soft-star {
    height: 14px;
    vertical-align: middle;
}

.kx-rank-full-btn {
    flex: 0 0 auto;
    padding: 8px 18px;
    font-size: 13px;
    color: #fff !important;
    background: #47b751;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.kx-rank-full-btn:hover {
    background: #3da346;
    text-decoration: none;
}

.kx-rank-empty {
    padding: 24px;
    text-align: center;
    color: #999;
}

@media (max-width: 768px) {
    .kx-rank-hub-grid {
        grid-template-columns: 1fr;
    }
    .kx-rank-full-item {
        flex-wrap: wrap;
    }
    .kx-rank-full-btn {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}
