/* مبدع الحائط — بطاقة TOP 1 كاملة */

.wc-podium-legacy-hidden,
#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container__podium,
#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container__podium *,
#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container__posts,
#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container__posts * {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto !important;
    max-height: calc(100% - 1.2rem);
    background: #f4f8f5 !important;
    overflow: visible !important;
}

#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container.border {
    border: none !important;
}

#chat__body__wall_creator_pane.wc-pane--premium .name {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
}

/* ─── المسرح ─── */
#chat__body__wall_creator_pane .wc-stage {
    position: relative;
    flex: 0 0 auto;
    margin: .22rem .28rem 0;
    padding: .22rem .28rem .22rem;
    border-radius: .65rem .65rem 0 0;
    overflow: visible;
}

#chat__body__wall_creator_pane .wc-stage__bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 210, 90, .28) 0%, transparent 52%),
        linear-gradient(180deg, #1a3228 0%, #264636 100%);
    z-index: 0;
}


#chat__body__wall_creator_pane .wc-podium {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: .25rem;
    min-height: 8.6rem;
    padding-top: .05rem;
}

#chat__body__wall_creator_pane .wc-podium__col {
    flex: 1 1 0;
    max-width: 31%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#chat__body__wall_creator_pane .wc-podium__col--1 {
    order: 2;
    max-width: 38%;
    flex: 1.15 1 0;
    align-self: stretch;
}

#chat__body__wall_creator_pane .wc-podium__col--2 {
    order: 1;
    padding-bottom: .08rem;
}

#chat__body__wall_creator_pane .wc-podium__col--3 {
    order: 3;
    padding-bottom: .18rem;
}

/* ─── بطاقة TOP 1 ─── */
#chat__body__wall_creator_pane .wc-champion {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: .32rem;
    padding: .38rem .3rem .36rem;
    border-radius: .55rem;
    background: linear-gradient(165deg, rgba(255, 224, 130, .18) 0%, rgba(255, 255, 255, .06) 100%);
    border: 1.5px solid rgba(255, 193, 7, .55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .08) inset,
        0 8px 22px rgba(0, 0, 0, .28),
        0 0 18px rgba(255, 193, 7, .18);
}

#chat__body__wall_creator_pane .wc-champion__tag {
    position: absolute;
    top: -.36rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .46rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: #5c4200;
    background: linear-gradient(135deg, #ffe082, #ffc107);
    padding: .1rem .38rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    z-index: 2;
}

#chat__body__wall_creator_pane .wc-champion__crown {
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin: .08rem 0 .06rem;
}

#chat__body__wall_creator_pane .wc-champion__crown--gold {
    filter: sepia(0.55) saturate(2.2) hue-rotate(5deg) brightness(1.08) drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

#chat__body__wall_creator_pane .wc-champion__avatar-ring {
    padding: .13rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd54f, #ff8f00);
    box-shadow: 0 0 .75rem rgba(255, 193, 7, .45);
    margin-bottom: .2rem;
}

#chat__body__wall_creator_pane .wc-champion__avatar {
    display: block;
    width: 2.65rem !important;
    height: 2.65rem !important;
    border-radius: 50%;
    object-fit: cover;
    background: #eceff1;
}

#chat__body__wall_creator_pane .wc-champion__name {
    width: 100%;
    text-align: center;
    margin-bottom: .18rem;
}

#chat__body__wall_creator_pane .wc-champion__name span {
    display: inline-block;
    max-width: 100%;
    padding: .1rem .42rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 224, 130, .35);
    color: #ffe082 !important;
    font-size: .64rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#chat__body__wall_creator_pane .wc-champion__score-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .14rem;
    width: 100%;
    padding: .2rem .28rem;
    border-radius: .4rem;
    background: linear-gradient(135deg, rgba(255, 179, 0, .35), rgba(230, 81, 0, .35));
    border: 1px solid rgba(255, 255, 255, .15);
}

#chat__body__wall_creator_pane .wc-champion__score {
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    direction: ltr;
    unicode-bidi: isolate;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

#chat__body__wall_creator_pane .wc-champion__score-label {
    font-size: .52rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

/* ─── المركز 2 و 3 ─── */
#chat__body__wall_creator_pane .wc-runner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: .14rem;
}

#chat__body__wall_creator_pane .wc-runner__crown {
    width: 1.05rem !important;
    height: 1.05rem !important;
    margin-bottom: .08rem;
    flex-shrink: 0;
}

#chat__body__wall_creator_pane .wc-runner__crown--silver {
    filter: grayscale(1) brightness(1.2) contrast(0.95) drop-shadow(0 2px 3px rgba(0, 0, 0, .28));
}

#chat__body__wall_creator_pane .wc-runner__crown--bronze {
    filter: sepia(0.75) saturate(2.4) hue-rotate(-18deg) brightness(0.92) drop-shadow(0 2px 3px rgba(0, 0, 0, .28));
}

#chat__body__wall_creator_pane .wc-runner__avatar-ring {
    padding: .1rem;
    border-radius: 50%;
    margin-bottom: .14rem;
}

#chat__body__wall_creator_pane .wc-runner__avatar-ring--silver {
    background: linear-gradient(145deg, #eceff1, #90a4ae);
    box-shadow: 0 0 .4rem rgba(144, 164, 174, .3);
}

#chat__body__wall_creator_pane .wc-runner__avatar-ring--bronze {
    background: linear-gradient(145deg, #ffcc80, #e65100);
    box-shadow: 0 0 .35rem rgba(230, 81, 0, .28);
}

#chat__body__wall_creator_pane .wc-runner__avatar {
    display: block;
    width: 2.15rem !important;
    height: 2.15rem !important;
    border-radius: 50%;
    object-fit: cover;
    background: #eceff1;
}

#chat__body__wall_creator_pane .wc-runner__name {
    width: 100%;
    text-align: center;
}

#chat__body__wall_creator_pane .wc-runner__name span {
    display: inline-block;
    max-width: 100%;
    padding: .1rem .32rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .32);
    color: #fff !important;
    font-size: .58rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#chat__body__wall_creator_pane .wc-podium__stand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .24rem .15rem;
    border-radius: .38rem .38rem 0 0;
    min-height: 1.75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

#chat__body__wall_creator_pane .wc-podium__stand--2 {
    background: linear-gradient(180deg, #b0bec5 0%, #607d8b 100%);
}

#chat__body__wall_creator_pane .wc-podium__stand--3 {
    background: linear-gradient(180deg, #ffab91 0%, #bf360c 100%);
}

#chat__body__wall_creator_pane .wc-podium__score {
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    direction: ltr;
    unicode-bidi: isolate;
    background: rgba(0, 0, 0, .18);
    padding: .1rem .34rem;
    border-radius: .22rem;
}

/* ─── القائمة ─── */
#chat__body__wall_creator_pane .wc-leaderboard {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin: 0 .28rem .28rem;
    border-radius: 0 0 .6rem .6rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    overflow: hidden;
}

#chat__body__wall_creator_pane .wc-leaderboard__head {
    padding: .45rem .55rem;
    font-size: .64rem;
    font-weight: 700;
    color: #3d7a4d;
    background: #eef6f0;
    border-bottom: 1px solid #dceee2;
}

#chat__body__wall_creator_pane .wc-leaderboard__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: .3rem;
}

#chat__body__wall_creator_pane .wc-leaderboard__row {
    display: flex;
    align-items: center;
    gap: .32rem;
    padding: .36rem .4rem;
    margin-bottom: .22rem;
    border-radius: .5rem;
    background: #fafcfa;
    border: 1px solid #e6f0e8;
}

#chat__body__wall_creator_pane .wc-leaderboard__row:last-child {
    margin-bottom: 0;
}

#chat__body__wall_creator_pane .wc-leaderboard__rank {
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f5eb;
    color: #3d8f52;
    font-size: .72rem;
    font-weight: 800;
}

#chat__body__wall_creator_pane .wc-leaderboard__user {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .32rem;
}

#chat__body__wall_creator_pane .wc-leaderboard__avatar {
    flex: 0 0 2rem;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #dceee2;
    background: #f0f0f0;
}

#chat__body__wall_creator_pane .wc-leaderboard__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .74rem;
    font-weight: 600;
    color: #2a3d30;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

#chat__body__wall_creator_pane .wc-leaderboard__score {
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #69bb56, #47ad61);
    padding: .22rem .45rem;
    border-radius: .35rem;
    direction: ltr;
    unicode-bidi: isolate;
    min-width: 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(71, 173, 97, .25);
}

#chat__body__wall_creator_pane .wc-leaderboard__empty {
    padding: 1rem;
    text-align: center;
    font-size: .72rem;
    color: #7a8b80;
}

@media (max-width: 420px) {
    #chat__body__wall_creator_pane .wc-podium {
        min-height: 8rem;
    }

    #chat__body__wall_creator_pane .wc-champion__avatar {
        width: 2.4rem !important;
        height: 2.4rem !important;
    }

    #chat__body__wall_creator_pane .wc-runner__avatar {
        width: 1.95rem !important;
        height: 1.95rem !important;
    }
}
