/*
 * KLUB BÖLMƏSİNİN STİLLƏRİ
 *
 * 2026-08-21-ə qədər bu 227 sətir `site/partials/club-styles.blade.php`
 * faylının içində inline <style> kimi idi və BEŞ səhifədə təkrarlanırdı:
 *   ana səhifə, /klub, /klub/siralama, /klub/sandiq, klub profili
 *
 * Yəni eyni 11 KB CSS hər səhifə baxışında yenidən göndərilirdi və
 * brauzer onu keşləyə bilmirdi. İndi ayrı fayldır: bir dəfə yüklənir,
 * beş səhifədə də eyni keşdən işlədilir.
 *
 * Partial faylı QƏSDƏN saxlanılıb — içində indi yalnız <link> var.
 * Belədə mövcud beş @include toxunulmadan işləməyə davam edir.
 */

/* ==================== KLUB — ortaq stillər (açıq tema) ==================== */
.cl_wrap      { padding: 26px 0 50px; }
.cl_head      { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cl_head_ico  {
    width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
    background: #fff; border: 1px solid #ececec; box-shadow: 0 3px 12px rgba(0,0,0,.05);
}
.cl_head h1   { font-size: 26px; font-weight: 700; color: var(--main_color); margin: 0; line-height: 1.2; }
.cl_head p    { font-size: 13.5px; color: var(--info_color); margin: 4px 0 0; }

.cl_badge_week {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    color: var(--second_green); background: #e8f8f0;
    border: 1px solid #c9eddc; border-radius: 20px; padding: 4px 11px; margin-bottom: 10px;
}
.cl_badge_week i { width: 7px; height: 7px; border-radius: 50%; background: var(--third_green); display: inline-block; }

.cl_btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--main_aqua); color: #fff; border: none; border-radius: 22px;
    padding: 9px 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
    text-decoration: none; transition: .15s; white-space: nowrap;
}
.cl_btn:hover { opacity: .9; color: #fff; text-decoration: none; }
.cl_btn.orange { background: var(--main_orange); }
.cl_btn.red    { background: var(--main_red); }

/* ---- avatar ---- */
.cl_av {
    border-radius: 50%; object-fit: cover; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; overflow: hidden;
    border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}
.cl_av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cl_av.sm  { width: 40px;  height: 40px;  font-size: 15px; border-width: 2px; }
.cl_av.md  { width: 62px;  height: 62px;  font-size: 24px; }
.cl_av.lg  { width: 86px;  height: 86px;  font-size: 34px; }

/* ---- dərəcə rozeti ----
   Şəkillər dik formatdadır (məs. 79×103), ona görə HEIGHT sabitlənir,
   en avtomatik hesablanır — beləliklə nisbət pozulmur. */
.cl_tier {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; padding: 3px 11px 3px 7px; border-radius: 14px;
    border: 1px solid currentColor; background: #fff; line-height: 1;
}
.cl_tier .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-left: 3px; }
.cl_tier img  { height: 26px; width: auto; object-fit: contain; display: block; }

/* Böyük variant — podyum, profil başlığı, ana səhifə kartları */
.cl_tier_lg {
    font-size: 13px; padding: 4px 14px 4px 8px; gap: 8px; border-radius: 18px;
}
.cl_tier_lg img  { height: 44px; }
.cl_tier_lg .dot { width: 10px; height: 10px; }

/* ---- kart ---- */
.cl_card {
    background: #fff; border: 1px solid #ededed; border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.cl_card_h {
    padding: 14px 16px; border-bottom: 1px solid #f2f2f2;
    display: flex; align-items: center; gap: 9px;
}
.cl_card_h h3 { font-size: 15px; font-weight: 700; color: var(--main_color); margin: 0; }
.cl_card_h .sub { font-size: 11.5px; color: var(--info_color); }
.cl_card_h .more { margin-left: auto; font-size: 12px; color: var(--main_aqua); font-weight: 600; text-decoration: none; }

/* ---- podyum ---- */
.cl_podium { display: flex; gap: 14px; align-items: flex-end; justify-content: center; margin: 26px 0 18px; flex-wrap: wrap; }
.cl_pod {
    background: #fff; border: 1px solid #ededed; border-radius: 16px;
    padding: 20px 16px 16px; text-align: center; width: 190px; position: relative;
    box-shadow: 0 3px 14px rgba(0,0,0,.04);
}
.cl_pod.first { border-color: var(--main_orange); box-shadow: 0 6px 22px rgba(247,158,27,.18); padding-top: 28px; }
.cl_pod .crown { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 22px; }
.cl_pod .rank {
    position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
    color: var(--info_color); background: var(--main_gray); border-radius: 9px; padding: 2px 7px;
}
.cl_pod .nm   { font-weight: 700; font-size: 14.5px; color: var(--main_color); margin: 10px 0 6px;
                white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl_pod .met  { display: inline-block; margin-top: 9px; font-size: 11.5px; font-weight: 700;
                color: var(--main_red); background: #fff0f2; border-radius: 12px; padding: 3px 12px; }
.cl_pod a     { text-decoration: none; }

/* ---- sıralı siyahı ---- */
.cl_row {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    background: #fff; border: 1px solid #ededed; border-radius: 12px; margin-bottom: 8px;
    text-decoration: none; transition: .15s;
}
.cl_row:hover { border-color: var(--main_aqua); text-decoration: none; }
.cl_row .no   { width: 22px; font-size: 13px; font-weight: 700; color: #c0c0c0; flex: 0 0 22px; }
.cl_row .nm   { font-weight: 600; font-size: 14px; color: var(--main_color); }
.cl_row .met  { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--main_color); white-space: nowrap; }
.cl_row .met small { font-weight: 400; color: var(--info_color); font-size: 11px; }

/* ---- tab ---- */
.cl_tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cl_tab {
    font-size: 13px; font-weight: 600; padding: 8px 17px; border-radius: 20px;
    background: #fff; border: 1px solid #e4e4e4; color: var(--info_color); text-decoration: none;
}
.cl_tab:hover  { border-color: var(--main_aqua); color: var(--main_aqua); text-decoration: none; }
.cl_tab.active { background: var(--main_red); border-color: var(--main_red); color: #fff; }

/* ---- axın ---- */
.cl_feed_item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f4f4f4; }
.cl_feed_item:last-child { border-bottom: none; }
.cl_feed_body { min-width: 0; flex: 1 1 auto; }
.cl_feed_top  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cl_feed_top .nm { font-weight: 700; font-size: 13.5px; color: var(--main_color); text-decoration: none; }
.cl_feed_top .ago { font-size: 11px; color: #b8b8b8; }
.cl_prod { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cl_prod img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: var(--main_gray); }
.cl_prod .t  { font-size: 13.5px; font-weight: 600; color: var(--main_color); line-height: 1.3; }
.cl_prod .s  { font-size: 11.5px; color: var(--info_color); margin-top: 2px; }
.cl_verified {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 9px;
    font-size: 11px; font-weight: 600; color: var(--main_blue);
    background: #eaf3fe; border-radius: 10px; padding: 3px 9px;
}
.cl_gift {
    width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
    background: #e8f8f0; color: var(--second_green);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ---- token qazan kartı ---- */
.cl_earn_h {
    background: linear-gradient(135deg, var(--main_red), var(--main_orange));
    color: #fff; padding: 14px 16px; border-radius: 14px 14px 0 0;
}
.cl_earn_h h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 0; }
.cl_earn_h p  { font-size: 11.5px; margin: 3px 0 0; opacity: .92; }
.cl_earn_row {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px;
    border-bottom: 1px solid #f4f4f4; font-size: 13.5px; color: var(--main_color);
}
.cl_earn_row .plus {
    margin-left: auto; font-size: 11px; font-weight: 700; color: var(--main_aqua);
    background: #e6f6f6; border-radius: 10px; padding: 3px 9px; white-space: nowrap;
}

/* ---- irəliləyiş ---- */
.cl_bar    { height: 8px; background: var(--main_gray); border-radius: 6px; overflow: hidden; }
.cl_bar i  { display: block; height: 100%; border-radius: 6px; transition: width .4s; }

.cl_empty { text-align: center; padding: 34px 16px; color: var(--info_color); font-size: 14px; }

/* ==================== MOBİL ==================== */
@media (max-width: 767px) {
    .cl_wrap { padding: 16px 0 34px; }

    /* --- başlıq --- */
    .cl_head      { gap: 10px; margin-bottom: 14px; }
    .cl_head_ico  { width: 40px; height: 40px; flex: 0 0 40px; font-size: 19px; border-radius: 11px; }
    .cl_head h1   { font-size: 19px; }
    .cl_head p    { font-size: 12px; }
    .cl_head .cl_btn { margin-left: 0; margin-top: 6px; }

    /* --- rütbə nişanı: telefonda kiçilir, yoxsa sətri sıxışdırır --- */
    .cl_tier      { font-size: 11px; padding: 2px 9px 2px 5px; gap: 4px; }
    .cl_tier img  { height: 21px; }
    .cl_tier_lg   { font-size: 11.5px; padding: 3px 10px 3px 6px; }
    .cl_tier_lg img { height: 30px; }

    /* --- tablar: 4 dənə iki sətirdə rahat yerləşsin --- */
    .cl_tabs { gap: 6px; }
    .cl_tab  { font-size: 12px; padding: 7px 13px; }

    /* --- podyum: #1 tam en, #2-#3 yarım --- */
    .cl_podium    { gap: 10px; align-items: stretch; margin: 18px 0 14px; }
    .cl_pod       { width: calc(50% - 5px); padding: 16px 10px 13px; }
    .cl_pod.first { width: 100%; order: -1; padding-top: 24px; }
    .cl_pod .nm   { font-size: 13px; margin: 8px 0 5px; }
    .cl_pod .met  { font-size: 11px; padding: 2px 10px; }
    .cl_av.md     { width: 52px; height: 52px; font-size: 20px; }
    .cl_av.lg     { width: 70px; height: 70px; font-size: 28px; }

    /* --- sıralı sətir: ad kəsilsin, nişan sətri dağıtmasın --- */
    .cl_row      { gap: 9px; padding: 9px 11px; }
    .cl_row .no  { width: 18px; flex: 0 0 18px; font-size: 12px; }
    .cl_row .nm  { flex: 1 1 auto; min-width: 0; font-size: 13px;
                   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cl_row .met { font-size: 12px; }
    .cl_row .cl_tier { flex: 0 0 auto; }

    /* --- axın --- */
    .cl_feed_item { padding: 12px 12px; gap: 10px; }
    .cl_feed_top  { gap: 6px; }
    .cl_feed_top .nm  { font-size: 13px; }
    .cl_feed_top .ago { font-size: 10.5px; width: 100%; }
    .cl_prod img { width: 34px; height: 34px; }
    .cl_prod .t  { font-size: 12.5px; }
    .cl_prod .s  { font-size: 11px; }
    .cl_gift     { width: 26px; height: 26px; flex: 0 0 26px; font-size: 12px; }
    .cl_verified { font-size: 10.5px; padding: 2px 8px; }

    /* --- kart başlığı --- */
    .cl_card_h      { padding: 12px 13px; gap: 7px; }
    .cl_card_h h3   { font-size: 14px; }
    .cl_card_h .more { font-size: 11.5px; }

    .cl_earn_row { font-size: 12.5px; padding: 10px 12px; }
    .cl_earn_row .plus { font-size: 10.5px; padding: 2px 7px; }
}

/* --- kiçik telefonlar --- */
@media (max-width: 400px) {
    .cl_pod       { width: calc(50% - 4px); padding: 14px 7px 11px; }
    .cl_pod .nm   { font-size: 12px; }
    .cl_tier      { font-size: 10.5px; }
    .cl_tier img  { height: 19px; }
    .cl_tier_lg img { height: 26px; }
    .cl_row       { padding: 8px 9px; gap: 7px; }
    .cl_row .nm   { font-size: 12.5px; }
    .cl_tab       { font-size: 11.5px; padding: 6px 11px; }
}
