

.nav-rank-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

@media (min-width: 992px) {
    .nav-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-rank-panel {

    padding-top: 14px;
    padding-bottom: 6px;
}

.nav-rank-panel__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--main-border-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--key-color, #333);
}

.nav-rank-panel__head > i {
    color: var(--theme-color);
}

.nav-rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--main-border-color);
}

.nav-rank-item:last-child {
    border-bottom: 0;
}

.nav-rank-no {
    flex: none;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.nav-rank-no--top {
    color: #fff;
    background: var(--theme-color);
}

.nav-rank-no--plain {
    color: var(--muted-3-color, #999);
    background: var(--body-bg-2, rgba(0, 0, 0, 0.03));
}

.nav-rank-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
}

.nav-rank-main:hover {
    text-decoration: none;
}

.nav-rank-main:hover strong {
    color: var(--focus-color);
}

.nav-rank-logo {
    position: relative;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--body-bg-2, #f5f5f5);
}

.nav-rank-logo > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-rank-logo > em {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-2-color, #888);
}

.nav-rank-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.4;
}

.nav-rank-text > strong {
    font-size: 13px;
    font-weight: 600;
}

.nav-rank-text > small {
    font-size: 12px;
}

.nav-rank-count {
    flex: none;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--muted-2-color, #888);
}

.nav-rank-empty {
    padding: 28px 0;
    text-align: center;
    font-size: 13px;
}
