.simple-rank {
    width: auto;
    min-width: 180px;
    max-width: 280px;
    font-family: 'Malgun Gothic', sans-serif;
    font-size: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.simple-rank.dark {
    background: linear-gradient(180deg, #2a2a3d 0%, #1a1a2e 100%);
    color: #fff;
}

.simple-rank.light {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
}

.rank-header {
    padding: 10px 12px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

.simple-rank.dark .rank-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.simple-rank.light .rank-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

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

.rank-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 8px;
}

.rank-item:hover {
    background: rgba(255,255,255,0.05);
}

.simple-rank.light .rank-item:hover {
    background: rgba(0,0,0,0.03);
}

.rank-num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    flex-shrink: 0;
}

.simple-rank.dark .rank-num {
    background: rgba(255,255,255,0.15);
    color: #aaa;
}

.simple-rank.light .rank-num {
    background: #eee;
    color: #666;
}

.rank-item.top1 .rank-num {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #fff;
}

.rank-item.top2 .rank-num {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #fff;
}

.rank-item.top3 .rank-num {
    background: linear-gradient(135deg, #cd7f32, #b5651d);
    color: #fff;
}

.rank-nick {
    flex: 1;
    font-size: 12px;
    line-height: 1.3;
}

.rank-nick img {
    max-height: 18px;
    vertical-align: middle;
}

.simple-rank.dark .rank-nick {
    color: #ddd;
}

.rank-point {
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
    white-space: nowrap;
}

.simple-rank.dark .rank-point {
    color: #4ecdc4;
}

.simple-rank.light .rank-point {
    color: #2196f3;
}

.rank-item.top1 .rank-point {
    color: #ffd700;
}

.simple-rank.light .rank-item.top1 .rank-point {
    color: #ff9800;
}
