/* skin/css/rank.css */

.rank-tabs {
    display: flex;
    background: #fff;
    margin: 20px 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color); /* DNA: 细灰边 */
    overflow: hidden;
}

.rt-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
    background: #f9f9f9;
}

.rt-item.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

.rank-list-container {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 0 15px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.rank-item:last-child { border-bottom: none; }

.ri-num {
    width: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #ccc;
    text-align: center;
    margin-right: 10px;
}
.ri-num.top-n {
    color: var(--primary-color); /* Highlight top 3 */
}

.ri-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 12px;
}

.ri-info {
    flex: 1;
}
.ri-info h3 { font-size: 15px; font-weight: 500; }
.ri-info p { font-size: 12px; color: #999; }

.ri-btn {
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
}