/* Ranking (Leaderboard) — pódio + lista */
.wrk-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.wrk-head { margin-bottom: 22px; }
.wrk-titulo { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #111827; }
.wrk-sub { margin: 0; font-size: 14px; color: #6b7280; }

/* ── Pódio ── */
.wrk-podio {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}
.wrk-pod {
    flex: 1 1 0;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrk-pod-topo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    margin-bottom: 8px;
}
.wrk-pod-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #e5e7eb center/cover no-repeat;
    border: 3px solid #f5b301;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #374151; font-size: 22px;
}
.wrk-pod-medalha {
    margin-top: -14px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #111827; color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}
.wrk-pod-nome { font-weight: 700; font-size: 14px; color: #111827; line-height: 1.2; }
.wrk-pod-byline { font-size: 11px; color: #6b7280; }
.wrk-pod-valor { font-size: 13px; font-weight: 600; color: #111827; }
.wrk-pod-degrau {
    width: 100%;
    background: #9ca3af;
    border-radius: 8px 8px 0 0;
    display: flex; align-items: flex-start; justify-content: center;
    color: rgba(255,255,255,.9); font-weight: 800; font-size: 20px;
    padding-top: 8px;
}
.wrk-pod-1 .wrk-pod-degrau { height: 92px; background: #f5b301; }
.wrk-pod-2 .wrk-pod-degrau { height: 68px; background: #9ca3af; }
.wrk-pod-3 .wrk-pod-degrau { height: 50px; background: #cd7f32; }

/* ── Lista ── */
.wrk-lista { display: flex; flex-direction: column; gap: 4px; }
.wrk-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .2s ease;
}
.wrk-row-pos {
    width: 24px; flex-shrink: 0;
    text-align: center;
    font-weight: 700; font-size: 14px; color: #9ca3af;
}
.wrk-row-avatar {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: #e5e7eb center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #374151; font-size: 14px;
}
.wrk-row-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wrk-row-nome { font-weight: 600; font-size: 15px; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrk-row-byline { font-size: 12px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrk-row-valor { font-weight: 700; font-size: 15px; color: #111827; flex-shrink: 0; }
.wrk-row.wrk-eu { background: rgba(0,102,255,.08); }

/* Herança de fonte */
.wrk-titulo, .wrk-sub, .wrk-pod-nome, .wrk-pod-byline, .wrk-row-nome, .wrk-row-byline, .wrk-row-valor { font-family: inherit; }

/* ── Mobile ── */
@media (max-width: 767px) {
    .wrk-card { padding: 16px; }
    .wrk-podio { gap: 6px; }
    .wrk-pod-avatar { width: 56px; height: 56px; font-size: 18px; }
    .wrk-pod-byline { display: none; }
    .wrk-pod-1 .wrk-pod-degrau { height: 64px; }
    .wrk-pod-2 .wrk-pod-degrau { height: 48px; }
    .wrk-pod-3 .wrk-pod-degrau { height: 36px; }
    .wrk-row-byline { font-size: 11px; }
}
