/* Memur Kahvesi Liderlik Tablosu Premium Tasarım Sistemi */
.leaderboard-page {
    width: min(calc(100% - 2rem), var(--mk-container, 1220px));
    margin: 1.25rem auto 3rem;
    color: var(--mk-content-ink, #111827);
    font-family: var(--mk-font-sans, Inter, system-ui, -apple-system, sans-serif);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.leaderboard-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 154px !important;
    padding: 1.6rem 1.85rem !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #131822 0%, #1a2332 55%, #18283a 100%) !important;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .18) !important;
    color: #fff !important;
}

.leaderboard-hero::before {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 4px !important;
    content: "" !important;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    z-index: 2 !important;
}

.leaderboard-hero::after {
    content: "" !important;
    position: absolute !important;
    width: 340px !important;
    height: 340px !important;
    right: -60px !important;
    bottom: -130px !important;
    border: 1px solid rgba(251, 191, 36, .16) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(251, 191, 36, .08) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.hero-bg-pattern { display: none; }

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

.hero-left { min-width: 0 !important; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem .65rem;
    margin-bottom: .45rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .28);
    color: #fbbf24;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hero-tag svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 2rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.022em !important;
}

.hero-title span {
    background: linear-gradient(135deg, #fbbf24 0%, #e5b65a 50%, #fef08a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-title svg {
    width: 32px !important;
    height: 32px !important;
    color: #fbbf24;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, .4));
}

.hero-subtitle {
    margin: .4rem 0 0 !important;
    color: #cbd5e1 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    letter-spacing: -0.005em !important;
}

/* User Personal Rank Card */
.user-rank-card {
    position: relative !important;
    z-index: 2 !important;
    min-width: 190px !important;
    padding: .85rem 1.2rem !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(8px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: right !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2) !important;
}

.rank-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.rank-label {
    color: rgba(255, 255, 255, .72) !important;
    font-size: .74rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

.rank-number {
    color: #fff !important;
    font-size: 1.75rem !important;
    font-weight: 750 !important;
    letter-spacing: -0.015em !important;
    line-height: 1 !important;
}

.rank-points {
    margin-top: .2rem;
    color: #fbbf24 !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
}

.rank-target-hint {
    margin-top: .4rem;
    padding-top: .4rem;
    border-top: 1px dashed rgba(255, 255, 255, .15);
    color: #86efac;
    font-size: .73rem;
    font-weight: 600;
    line-height: 1.25;
}

.rank-target-hint.is-first {
    color: #fde047;
}

/* ==========================================================================
   Toolbar & Tabs
   ========================================================================== */
.leaderboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
}

.leaderboard-tabs {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .6rem 1.15rem;
    border: 1px solid var(--mk-content-line, #e2e8f0);
    border-radius: 8px;
    background: var(--mk-content-surface, #fff);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
    color: var(--mk-content-muted, #64748b);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .15s ease;
}

.tab-btn:hover {
    border-color: #cbd5e1;
    color: var(--mk-content-ink, #0f172a);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}

.tab-btn.active {
    border-color: #8f1d1d;
    background: #fff8f8;
    color: #8f1d1d;
    box-shadow: 0 4px 14px rgba(143, 29, 29, .12);
}

.tab-icon {
    display: inline-flex;
    color: currentColor;
}

.tab-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.leaderboard-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: .78rem;
    font-weight: 750;
}

.meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .2);
}

/* ==========================================================================
   Podium (Top 3 Champions Showcase)
   ========================================================================== */
.leaderboard-podium-section {
    margin-bottom: 1.5rem;
}

.podium-section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 800;
}

.section-title-icon {
    display: inline-flex;
    color: #f59e0b;
}

.section-title-icon svg {
    width: 20px;
    height: 20px;
}

.leaderboard-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: flex-end;
    gap: 1.15rem;
}

.podium-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.15rem 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.podium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
}

.podium-card.is-current-user {
    border-color: #8f1d1d !important;
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%) !important;
    box-shadow: 0 12px 35px rgba(143, 29, 29, .12), inset 0 3px 0 #8f1d1d;
}

/* Gold (1. Place) */
.podium-card.podium-gold {
    order: 2;
    padding-top: 1.85rem;
    padding-bottom: 1.5rem;
    border: 1.5px solid #fbbf24;
    background: linear-gradient(180deg, #fffdfa 0%, #fff 100%);
    box-shadow: 0 16px 42px rgba(245, 158, 11, .14);
}

.podium-card.podium-gold::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 0 18px rgba(251, 191, 36, .15);
}

/* Silver (2. Place) */
.podium-card.podium-silver {
    order: 1;
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* Bronze (3. Place) */
.podium-card.podium-bronze {
    order: 3;
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

/* Badges on Top of Podium Cards */
.podium-crown-badge,
.podium-badge {
    position: absolute;
    top: -14px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 850;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    z-index: 2;
}

.podium-crown-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: 1.5px solid #fef3c7;
    padding: .35rem .9rem;
    font-size: .78rem;
    box-shadow: 0 6px 16px rgba(217, 119, 6, .35);
}

.podium-crown-icon svg,
.podium-badge-icon svg {
    width: 14px;
    height: 14px;
}

.podium-silver .podium-badge {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #fff;
    border: 1px solid #e2e8f0;
}

.podium-bronze .podium-badge {
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    color: #fff;
    border: 1px solid #ffedd5;
}

/* Avatar Wrap */
.podium-user-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    margin: .5rem 0 .35rem;
}

.podium-avatar-wrap {
    position: relative;
    display: block;
    width: 68px;
    height: 68px;
    margin: 0 auto .75rem;
    flex-shrink: 0;
}

.podium-avatar-wrap.gold-ring {
    width: 78px;
    height: 78px;
}

.podium-avatar,
.podium-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 750;
    font-size: 1.3rem;
}

.podium-avatar-wrap.gold-ring .podium-avatar,
.podium-avatar-wrap.gold-ring .podium-avatar-placeholder {
    border: 3.5px solid #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, .2), 0 8px 22px rgba(245, 158, 11, .25);
}

.podium-avatar-wrap.silver-ring .podium-avatar,
.podium-avatar-wrap.silver-ring .podium-avatar-placeholder {
    border: 3px solid #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .2);
}

.podium-avatar-wrap.bronze-ring .podium-avatar,
.podium-avatar-wrap.bronze-ring .podium-avatar-placeholder {
    border: 3px solid #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, .2);
}

.podium-rank-pill {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 750;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.podium-rank-pill.gold { background: #f59e0b; }
.podium-rank-pill.silver { background: #64748b; }
.podium-rank-pill.bronze { background: #ea580c; }

/* Podium Details */
.podium-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem;
    margin: .35rem 0 .75rem;
}

.podium-points-box {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    padding: .4rem 1rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: .85rem;
}

.podium-points-box.gold {
    background: #fefce8;
    border-color: #fde047;
}

.podium-points-val {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 1;
}

.podium-points-box.gold .podium-points-val {
    color: #b45309;
}

.podium-points-unit {
    color: #64748b;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.podium-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
}

.podium-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .22rem .5rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: .72rem;
    font-weight: 800;
}

.podium-stat-pill svg {
    width: 11px;
    height: 11px;
    color: #8f1d1d;
}

/* ==========================================================================
   User Name Line & Inline Verified Seal
   ========================================================================== */
.user-name-line {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .4rem;
    max-width: 100%;
    min-width: 0;
}

.podium-card .user-name-line {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: auto;
    max-width: 100%;
    margin: .25rem auto 0;
    clear: both;
}

.podium-card .user-name {
    display: inline-block;
    font-size: .95rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.user-name {
    overflow: hidden;
    color: var(--mk-content-ink, #111827);
    font-size: .98rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dedicated Solid Emerald Verified Seal with White Check */
.verified-seal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #10b981;
    line-height: 1;
    vertical-align: middle;
    cursor: help;
    transition: transform .15s ease, filter .15s ease;
}

.verified-seal-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 6px rgba(16, 185, 129, .4));
}

.verified-seal-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.verified-seal-icon svg path:first-child {
    fill: #10b981 !important;
    stroke: #059669 !important;
    stroke-width: 1.2 !important;
}

.verified-seal-icon svg path:last-child {
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
}

/* ==========================================================================
   Leaderboard List (Ranks 4 to 50)
   ========================================================================== */
.leaderboard-container {
    padding: clamp(.9rem, 2vw, 1.25rem);
    border: 1px solid var(--mk-content-line, #e2e8f0);
    border-radius: 12px;
    background: var(--mk-content-surface, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.leaderboard-table-header {
    display: grid;
    grid-template-columns: 52px minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .5rem 1rem;
    margin-bottom: .5rem;
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #f1f5f9;
}

.th-stats {
    text-align: right;
    padding-right: .5rem;
}

.leaderboard-list {
    display: grid;
    gap: .55rem;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 52px minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: .85rem 1rem;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #fafbfe;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}

.leaderboard-item:hover {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.leaderboard-item.current-user {
    border-color: #f87171;
    background: #fff8f8;
    box-shadow: inset 4px 0 0 #8f1d1d, 0 6px 18px rgba(143, 29, 29, .06);
}

/* Rank Column */
.rank-col {
    display: grid;
    place-items: center;
    min-width: 0;
}

.rank-circle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1;
}

.leaderboard-item.current-user .rank-circle {
    background: #fee2e2;
    color: #991b1b;
}

/* User Column */
.user-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.user-avatar,
.avatar-placeholder {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
}

.user-avatar {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
}

.user-info {
    min-width: 0;
}

.user-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem .45rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
}

.badge.you {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

/* Stats Column */
.stats-col {
    display: flex;
    align-items: stretch;
    gap: 1.15rem;
}

.stat-item {
    display: grid;
    justify-items: center;
    gap: .15rem;
    min-width: 52px;
}

.stat-item.stat-points {
    min-width: 70px;
}

.stat-icon {
    display: inline-flex;
    color: #64748b;
}

.stat-item.stat-points .stat-icon {
    color: #d97706;
}

.stat-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.stat-value {
    color: #0f172a;
    font-size: .94rem;
    font-weight: 850;
    line-height: 1.1;
}

.stat-item.stat-points .stat-value {
    color: #8f1d1d;
    font-size: 1.02rem;
    font-weight: 900;
}

.stat-label {
    color: #64748b;
    font-size: .67rem;
    font-weight: 750;
}

/* Empty State */
.empty-state {
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.empty-icon {
    display: inline-flex;
    margin-bottom: .8rem;
    color: #8f1d1d;
    opacity: .55;
}

.empty-icon svg {
    width: 3rem;
    height: 3rem;
}

.empty-state h2 {
    margin: 0 0 .35rem;
    color: #0f172a;
    font-size: 1.15rem;
}

.empty-state p {
    margin: 0;
    color: #64748b;
}

/* ==========================================================================
   User Floating / Bottom Rank Position Banner
   ========================================================================== */
.user-position-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1.15rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .15);
    flex-wrap: wrap;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.banner-rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: .45rem .65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
}

.banner-rank-badge .badge-label {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.banner-rank-badge .badge-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.1;
}

.banner-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 850;
}

.banner-points-tag {
    margin-top: .2rem;
    color: #94a3b8;
    font-size: .84rem;
    font-weight: 750;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.banner-target-message {
    color: #e2e8f0;
    font-size: .9rem;
    line-height: 1.4;
}

.banner-target-message strong {
    color: #4ade80;
}

.banner-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border-radius: 8px;
    background: #8f1d1d;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(143, 29, 29, .4);
    transition: all .15s ease;
}

.banner-action-btn:hover {
    background: #a82424;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(143, 29, 29, .5);
}

.banner-action-btn svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Points Guide Card
   ========================================================================== */
.points-guide-card {
    margin-top: 1.75rem;
    padding: 1.35rem 1.6rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .03);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.15rem;
}

.guide-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fefce8;
    border: 1px solid #fde047;
    color: #ca8a04;
    flex-shrink: 0;
}

.guide-icon svg {
    width: 22px;
    height: 22px;
}

.guide-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
}

.guide-desc {
    margin: .2rem 0 0;
    color: #64748b;
    font-size: .85rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.guide-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.guide-item-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.guide-item-icon svg {
    width: 18px;
    height: 18px;
}

.guide-item-icon.topic {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.guide-item-icon.reply {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.guide-item-icon.thanks {
    background: #fdf2f8;
    color: #db2777;
    border: 1px solid #fbcfe8;
}

.guide-item-icon.doc {
    background: #faf5ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
}

.guide-item-val {
    color: #0f172a;
    font-size: .92rem;
    font-weight: 900;
}

.guide-item-label {
    color: #64748b;
    font-size: .74rem;
    font-weight: 750;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .leaderboard-hero { min-height: 0; }
    .hero-content { grid-template-columns: 1fr; gap: 1rem; }
    .user-rank-card { min-width: 0; text-align: left; }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .leaderboard-podium {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .podium-card.podium-gold { order: 1; }
    .podium-card.podium-silver { order: 2; }
    .podium-card.podium-bronze { order: 3; }
    
    .leaderboard-table-header { display: none; }
    .leaderboard-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: .75rem;
    }
    .stats-col {
        grid-column: 2;
        justify-content: flex-start;
        gap: .85rem;
        overflow-x: auto;
        padding-top: .4rem;
        border-top: 1px dashed #f1f5f9;
    }
}

@media (max-width: 640px) {
    .leaderboard-page {
        width: min(calc(100% - 1rem), var(--mk-container, 1220px));
        margin-top: .75rem;
    }
    .leaderboard-hero {
        padding: 1.25rem;
    }
    .hero-title {
        font-size: 1.6rem !important;
    }
    .leaderboard-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .leaderboard-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .4rem;
    }
    .tab-btn {
        padding: .5rem .4rem;
        font-size: .78rem;
        justify-content: center;
    }
    .leaderboard-container {
        padding: .75rem;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .user-position-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .banner-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .banner-action-btn {
        justify-content: center;
    }
}
