/* ==========================================================================
   RANKING — Ranglijst & Positie shortcodes
   ========================================================================== */

.wk-rc { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:20px; box-shadow:0 1px 3px rgba(0,0,0,.05); }
.wk-rc-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.wk-rc-title  { font-size:.95rem; font-weight:700; color:#111827; }
.wk-rc-link   { font-size:.78rem; color:#2563eb; text-decoration:none; font-weight:600; }

.wk-rang-row  { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid #f3f4f6; font-size:.88rem; }
.wk-rang-row:last-child { border-bottom:none; }

.wk-rang-pos        { width:24px; height:24px; border-radius:50%; background:#f3f4f6; display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700; color:#6b7280; flex-shrink:0; }
.wk-rang-pos.gold   { background:#fef3c7; color:#d97706; }
.wk-rang-pos.silver { background:#f1f5f9; color:#64748b; }
.wk-rang-pos.bronze { background:#fef0e6; color:#c2773a; }
.wk-rang-pos.me     { background:#2563eb; color:#fff; }

.wk-rang-name    { flex:1; color:#111827; font-weight:500; }
.wk-rang-name.me { font-weight:700; }
.wk-rang-pts     { font-weight:700; color:#111827; font-size:.85rem; }
.wk-rang-pts.me  { color:#2563eb; }

/* ==========================================================================
   POSITIE CARD — Met sparkline en positiebadge
   ========================================================================== */

.wk-pos-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.wk-pos-card-header {
    margin-bottom: 14px;
}

.wk-pos-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: #111827;
}

.wk-pos-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wk-pos-card-left {
    display: flex;
    flex-direction: column;
}

.wk-pos-card-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.wk-pos-card-num sup {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}

.wk-pos-card-pts {
    font-size: .88rem;
    color: #6b7280;
    margin-top: 4px;
}

.wk-pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    width: fit-content;
}

.wk-pos-badge.up {
    background: #ecfdf5;
    color: #16a34a;
}

.wk-pos-badge.down {
    background: #fef2f2;
    color: #ef4444;
}

.wk-pos-badge.same {
    background: #f3f4f6;
    color: #9ca3af;
}

.wk-pos-card-graph {
    flex-shrink: 0;
}

.wk-pos-card-graph canvas {
    display: block;
}
