/* skin/css/rank.css */

.rank-tabs {
    display: flex;
    background: #e2e8f0; /* 浅灰底 */
    margin: 20px 0;
    border-radius: 30px;
    padding: 4px;
}

.rt-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    cursor: pointer;
    border-radius: 25px;
    color: var(--text-sub);
    transition: all 0.3s;
}

.rt-item.active {
    background: #fff;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: var(--shadow-sm);
}

.rank-list-container {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 0 15px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
}
.rank-item:last-child { border-bottom: none; }

.ri-num {
    width: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #cbd5e1;
    text-align: center;
    margin-right: 15px;
}
/* Top 3 Highlighting */
.ri-num.top-n {
    color: var(--primary-color);
    font-size: 20px;
}

.ri-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ri-info { flex: 1; }
.ri-info h3 { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.ri-info p { font-size: 12px; color: var(--text-sub); }

.ri-btn {
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}