@charset "utf-8";

/*!
 * user_rank.css - User Ranking Page Stylesheet (Phase 4)
 * Decoupled from pointGame/rps/style.css with Design Token integration.
 */

.rank-box {
    border: 1px solid var(--op-rank-border, #dddddd);
    margin-left: -10px;
}

.rank-header {
    padding: 5px 10px;
    height: 50px;
    border-bottom: 1px solid var(--op-rank-border, #dddddd);
    background: var(--op-rank-header-bg, #f5f5f5);
}

.ladder-rank-icon {
    position: relative;
    float: right;
    text-align: right;
    font-size: 14px;
    width: 60px;
    top: 10px;
    right: 5px;
}

.rank-box .nav-tabs > li {
    height: auto;
}

.rank-body ul {
    margin: 20px auto;
    padding: 0;
    width: 95%;
    list-style-type: none;
}

.rank-body ul li {
    height: fit-content;
    line-height: 20px;
    font-size: 12px;
    padding-bottom: 15px;
}

.rank-body .label-default {
    background-color: var(--op-rank-badge-bg, #dddddd) !important;
    color: var(--op-rank-badge-color, #403f3f);
}

.ranker-list-link {
    display: block;
    line-height: 18px;
    padding: 5px 0 10px 0;
    font-weight: bold;
    color: var(--op-text, #555555);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ranker-list-link:hover {
    background: var(--op-surface-muted, #f7f7f7);
}

li:last-child > .ranker-list-link {
    border-radius: 0 0 3px 3px;
}

.ranker-list-link > img {
    float: left;
    width: 38px;
    height: 38px;
    margin: -2px 10px 0 0;
    border-radius: 5px;
}

.ranker-list-link > span {
    display: block;
    font-size: 11px;
    font-weight: normal;
    color: var(--op-text-subtle, #999999);
}

.ranker-list-link .rank {
    float: left;
    margin-left: 2px;
    margin-right: 5px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background: #dddddd;
    border-radius: 4px;
    text-align: center;
}

.ranker-list-link .rank1 {
    background: #ff0000;
}

.ranker-list-link .rank2 {
    background: #ff4444;
}

.ranker-list-link .rank3 {
    background: #ff8888;
}

.ranker-list-link .rank4,
.ranker-list-link .rank5 {
    background: #ff9999;
}
