/**
 * Liderlik sayfası — BonusSoft kayıtlı HTML’deki cp-* ve avatar yardımcıları.
 * main.min.css içindeki .rank-top-three / .rank-list ile birlikte kullanılır.
 */
.cp-hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--bs-theme-rounded, 12px) + 2px);
    padding: 1.25rem 1.35rem 1.35rem;
    margin-bottom: 1.35rem;
    border: 1px solid var(--bs-theme-border-color, rgba(255, 255, 255, 0.1));
    background:
        radial-gradient(ellipse 100% 120% at 100% -40%, rgba(var(--bs-primary-rgb, 253, 186, 33), 0.14) 0%, transparent 55%),
        var(--bs-secondary-grad, linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.cp-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bs-primary, #fdba21), rgba(var(--bs-primary-rgb, 253, 186, 33), 0.2), transparent);
    opacity: 0.95;
}
.cp-hero--leaderboard::before {
    background: linear-gradient(90deg, #a855f7, rgba(168, 85, 247, 0.25), transparent);
}
.cp-hero nav .breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.65rem;
    padding: 0;
}
.cp-hero nav .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-theme-text-soft, rgba(255, 255, 255, 0.45));
}
.cp-hero nav .breadcrumb a {
    color: var(--bs-theme-text-soft, rgba(255, 255, 255, 0.65));
    text-decoration: none;
}
.cp-hero nav .breadcrumb a:hover {
    color: var(--bs-primary, #fdba21);
}
.cp-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--bs-emphasis-color, #fff);
}
.cp-hero__lead {
    margin: 0;
    max-width: 42rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--bs-theme-text-soft, rgba(255, 255, 255, 0.62));
}
.cp-empty {
    margin-top: 1.25rem;
    padding: 2rem 1.25rem;
    text-align: center;
    border-radius: var(--bs-theme-rounded, 12px);
    border: 1px dashed var(--bs-theme-border-color, rgba(255, 255, 255, 0.12));
    background: rgba(255, 255, 255, 0.02);
    color: var(--bs-theme-text-soft, rgba(255, 255, 255, 0.6));
}
.cp-empty__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.65;
    color: var(--bs-primary, #fdba21);
}
.cp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 360px));
    justify-content: start;
    gap: 0.85rem;
}
@media (min-width: 992px) {
    .cp-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
    }
}
.cp-card-rise {
    transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.cp-card-rise:hover {
    border-color: rgba(var(--bs-primary-rgb, 253, 186, 33), 0.38) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
    .cp-card-rise {
        transition: none;
    }
    .cp-card-rise:hover {
        transform: none;
    }
}
.support-avatar {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.support-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.support-avatar-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    background: #3b3f5c;
}
.support-avatar.has-image .support-avatar-fallback {
    display: none;
}
