/* skin/css/rank.css */

.rank-tabs {
    display: flex;
    background: #e0e0e0; /* Darker bg for contrast */
    padding: 5px;
    margin: 20px 0;
    border-radius: 30px;
    border: none;
}

.rt-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
    border-radius: 25px;
    color: #636e72;
    transition: all 0.3s;
}

.rt-item.active {
    background: #fff;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rank-list-container {
    /* Transparent container, items have bg */
    background: transparent;
    border: none;
    padding: 0;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    margin-bottom: 15px; /* Spacing between items */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card); /* DNA: Floating Cards */
    border: none;
}

.ri-num {
    width: 32px;
    font-size: 18px;
    font-weight: 800;
    color: #dfe6e9;
    text-align: center;
    margin-right: 10px;
    font-style: italic;
}
.ri-num.top-n {
    color: var(--primary-color);
    text-shadow: 2px 2px 0px rgba(255, 107, 107, 0.1);
}

.ri-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-right: 15px;
}

.ri-info h3 { font-size: 16px; margin-bottom: 4px; }
.ri-info{
    flex: 1;
}
.ri-btn {
    padding: 6px 18px;
    background: var(--primary-light);
    border: none;
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
}