#chat__body__wall_creator_pane.wc-pane--loading .wc-stage,
#chat__body__wall_creator_pane.wc-pane--loading .wc-week-hero,
#chat__body__wall_creator_pane.wc-pane--loading .wc-leaderboard {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#chat__body__wall_creator_pane.wc-pane--loading .chat_pane__container {
    position: relative;
    min-height: 12rem;
}

#chat__body__wall_creator_pane.wc-pane--loading .chat_pane__container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 3px solid #dceee2;
    border-top-color: #3d8f52;
    border-radius: 50%;
    animation: wc-pane-spin .7s linear infinite;
    z-index: 5;
}

@keyframes wc-pane-spin {
    to { transform: rotate(360deg); }
}

.wc-podium-legacy-hidden,
#chat__body__wall_creator_pane .chat_pane__container__podium,
#chat__body__wall_creator_pane .chat_pane__container__posts,
#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 .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[style*="display: block"],
#chat__body__wall_creator_pane.wc-pane--premium[style*="display: flex"] {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

#chat__body__wall_creator_pane.wc-pane--premium .chat_pane__container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    background: #f4f8f5 !important;
    overflow: hidden !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: .14rem .22rem 0;
    padding: .14rem .2rem .12rem;
    border-radius: .55rem .55rem 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: .18rem;
    min-height: 5.4rem;
    padding-top: 0;
}

#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;
}

#chat__body__wall_creator_pane .wc-champion {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: .18rem;
    padding: .22rem .22rem .2rem;
    border-radius: .45rem;
    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: -.28rem;
    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: .1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd54f, #ff8f00);
    box-shadow: 0 0 .5rem rgba(255, 193, 7, .4);
    margin-bottom: .12rem;
}

#chat__body__wall_creator_pane .wc-champion__avatar {
    display: block;
    width: 2.05rem !important;
    height: 2.05rem !important;
    border-radius: 50%;
    object-fit: cover;
    background: #eceff1;
}

#chat__body__wall_creator_pane .wc-champion__name {
    width: 100%;
    text-align: center;
    margin-bottom: .1rem;
}

#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: .1rem;
    width: 100%;
    padding: .14rem .2rem;
    border-radius: .32rem;
    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: .68rem;
    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);
}

#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: 1.72rem !important;
    height: 1.72rem !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: .16rem .12rem;
    border-radius: .32rem .32rem 0 0;
    min-height: 1.15rem;
    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-week-hero {
    position: relative;
    flex: 0 0 auto;
    margin: 0 .22rem;
    padding: .24rem .36rem .28rem;
    border-radius: .45rem;
    background: linear-gradient(135deg, #fff8e8 0%, #f3e8ff 48%, #e8f4ff 100%);
    border: 1px solid rgba(167, 139, 250, .45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .65) inset,
        0 4px 14px rgba(124, 58, 237, .12);
    overflow: hidden;
}

#chat__body__wall_creator_pane .wc-week-hero__glow {
    pointer-events: none;
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 215, 120, .35) 0%, transparent 42%),
        radial-gradient(circle at 82% 70%, rgba(167, 139, 250, .28) 0%, transparent 45%);
    z-index: 0;
}

#chat__body__wall_creator_pane .wc-week-hero__head,
#chat__body__wall_creator_pane .wc-week-hero__range,
#chat__body__wall_creator_pane .wc-week-hero__card {
    position: relative;
    z-index: 1;
}

#chat__body__wall_creator_pane .wc-week-hero__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    margin-bottom: .1rem;
}

#chat__body__wall_creator_pane .wc-week-hero__title {
    font-size: .6rem;
    font-weight: 800;
    color: #5b21b6;
    letter-spacing: .01em;
}

#chat__body__wall_creator_pane .wc-week-hero__star {
    display: inline-block;
    width: .85rem;
    height: .85rem;
    opacity: .72;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a855f7' fill-opacity='.55' d='M12 2l2.6 6.5L22 9.2l-5 4.8 1.2 6.9L12 17.8 5.8 20.9 7 14 2 9.2l7.4-.7z'/%3E%3Cpath fill='%23fbbf24' d='M12 5.2l1.8 4.5 4.9.6-3.6 3.4.9 5.1L12 16.2l-4 2.6.9-5.1-3.6-3.4 4.9-.6z'/%3E%3C/svg%3E");
}

#chat__body__wall_creator_pane .wc-week-hero__range {
    margin: 0 0 .16rem;
    text-align: center;
    font-size: .48rem;
    font-weight: 600;
    color: #7c6a9a;
    line-height: 1.35;
}

#chat__body__wall_creator_pane .wc-week-hero__card {
    display: flex;
    align-items: center;
    gap: .28rem;
    padding: .22rem .32rem;
    border-radius: .42rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(139, 92, 246, .28);
    box-shadow: 0 2px 8px rgba(91, 33, 182, .08);
}

#chat__body__wall_creator_pane .wc-week-hero__avatar {
    flex: 0 0 1.75rem;
    width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(167, 139, 250, .45);
    background: #f5f0ff;
}

#chat__body__wall_creator_pane .wc-week-hero__meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .06rem;
    text-align: right;
}

#chat__body__wall_creator_pane .wc-week-hero__name {
    font-size: .68rem;
    font-weight: 800;
    color: #4c1d95;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#chat__body__wall_creator_pane .wc-week-hero__hint {
    font-size: .48rem;
    font-weight: 600;
    color: #8b7aa8;
}

#chat__body__wall_creator_pane .wc-week-hero__score {
    flex: 0 0 auto;
    font-size: .58rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    padding: .18rem .36rem;
    border-radius: .32rem;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(124, 58, 237, .28);
}

#chat__body__wall_creator_pane .wc-week-hero--empty .wc-week-hero__card {
    display: none !important;
}

#chat__body__wall_creator_pane .wc-week-hero--empty::after {
    content: 'لا يوجد مبدع هذا الأسبوع بعد — انشر على الحائط!';
    display: block;
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: .54rem;
    font-weight: 600;
    color: #7c6a9a;
    padding: .15rem 0 .02rem;
}

#chat__body__wall_creator_pane .wc-leaderboard {
    flex: 1 1 0;
    min-height: 7.5rem;
    display: flex;
    flex-direction: column;
    margin: 0 .22rem .18rem;
    border-radius: 0 0 .55rem .55rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    overflow: hidden;
}

#chat__body__wall_creator_pane .wc-leaderboard__head {
    display: none !important;
}

#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: .22rem;
    padding: .22rem .28rem;
    margin-bottom: .1rem;
    border-radius: .4rem;
    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: 5rem;
    }

    #chat__body__wall_creator_pane .wc-champion__avatar {
        width: 1.9rem !important;
        height: 1.9rem !important;
    }

    #chat__body__wall_creator_pane .wc-runner__avatar {
        width: 1.55rem !important;
        height: 1.55rem !important;
    }
}

body.yc-uno-active,
html.yc-uno-active {
    overflow: hidden !important;
}

body.yc-uno-active #mic-speakers {
    display: none !important;
}

#nsmat_uno_container:empty {
    display: none !important;
    pointer-events: none !important;
}

#nsmat_uno_container:not(:empty) {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10045 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

.yc-uno-toast {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100080;
    background: rgba(20, 20, 30, 0.92);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    direction: rtl;
}

.yc-uno-lobby {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    direction: rtl;
}

.yc-uno-lobby__panel {
    width: min(92vw, 22rem);
    background: #fefffc;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.yc-uno-lobby__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 12px;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.yc-uno-lobby__logo {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.yc-uno-lobby__head h2 {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    color: inherit;
    min-width: 0;
}

.yc-uno-lobby__close {
    width: auto;
    height: auto;
    min-width: 1.35rem;
    min-height: 1.35rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.2;
    border: 0;
    background: transparent;
}

.yc-uno-lobby__host {
    padding: 0.55rem 12px;
    color: #666;
    font-size: 0.82rem;
    border-bottom: 1px solid #e6e6e6;
    background: #f9f9f9;
}

.yc-uno-lobby__host strong {
    color: #333;
    margin-right: 0.35rem;
    font-weight: 700;
}

.yc-uno-lobby__slot {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
}

.yc-uno-lobby__slot label {
    width: 4rem;
    font-size: 0.78rem;
    color: #555;
    font-weight: 600;
}

.yc-uno-lobby__select {
    flex: 1;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    background: #fff;
    color: #333;
    font-size: 0.82rem;
}

.yc-uno-lobby__req {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    touch-action: manipulation;
    border: 0;
}

.yc-uno-lobby__slot-ok {
    flex: 1;
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 600;
}

.yc-uno-lobby__foot {
    padding: 0.75rem 12px 12px;
}

.yc-uno-lobby__start {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    touch-action: manipulation;
}

.yc-uno-lobby__start:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#nsmat_uno_container #nsmat-uno.yc-uno-board {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 217, 80, 0.07), transparent 55%),
        linear-gradient(180deg, #0c1020 0%, #060810 100%) !important;
}

#nsmat_uno_container #nsmat-uno.yc-uno-board > .yc-uno-frame {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
}

#nsmat_uno_container #nsmat-uno.yc-uno-board > .yc-uno-frame > .yc-uno-frame__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

.yc-uno-board {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 217, 80, 0.07), transparent 55%),
        linear-gradient(180deg, #0c1020 0%, #060810 100%);
    direction: rtl;
    overflow: hidden;
}

.yc-uno-frame {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 3px;
    border-radius: 0;
    background: linear-gradient(145deg, #ffe082 0%, #c9a227 25%, #ffe566 50%, #8b6914 75%, #ffd950 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 217, 80, 0.12);
    box-sizing: border-box;
}

.yc-uno-frame__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(180deg, #141a2e 0%, #0a0d16 100%);
    overflow: hidden;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.yc-uno-board__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.7rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
    border-bottom: 1px solid rgba(255, 217, 80, 0.15);
    z-index: 100;
    flex-shrink: 0;
}

.yc-uno-board__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06rem;
    color: #ffe082;
    font-weight: 800;
    font-size: clamp(0.88rem, 2.5vw, 1.05rem);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    min-width: 0;
}

.yc-uno-board__brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.yc-uno-turn-hint {
    display: block;
    font-size: clamp(0.58rem, 1.6vw, 0.72rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.yc-uno-turn-hint.is-mine {
    color: #81c784;
}

.yc-uno-board__title img {
    width: 1.55rem;
    height: 1.55rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

#nsmat_uno_container #nsmat-uno-exit,
#nsmat_uno_container #nsmat-uno-home,
.yc-uno-board__btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 2.55rem !important;
    height: 2.55rem !important;
    min-width: 2.55rem !important;
    min-height: 2.55rem !important;
    padding: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    background-image: none !important;
    z-index: 101 !important;
    font-size: 0.95rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.yc-uno-board__btn--min {
    background: linear-gradient(145deg, #ffd950, #e6a800) !important;
    color: #1a1035 !important;
}

.yc-uno-board__btn--exit {
    background: linear-gradient(145deg, #ef476f, #c1121f) !important;
    color: #fff !important;
}

.yc-uno-board__stage {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.yc-uno-playfield {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0.15rem clamp(0.35rem, 1.5vw, 1rem);
    overflow: hidden;
    --uno-card-w: clamp(2.25rem, 7.5vmin, 4.5rem);
    --uno-card-h: calc(var(--uno-card-w) * 1.4);
}

.yc-uno-arena {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    direction: ltr;
    display: grid;
    grid-template-columns:
        minmax(0, clamp(4rem, 14vmin, 6.5rem))
        minmax(0, 1fr)
        minmax(0, clamp(4rem, 14vmin, 6.5rem));
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "top    top    top"
        "left   table  right";
    row-gap: clamp(0.5rem, 2.5vh, 1.1rem);
    column-gap: clamp(0.65rem, 3vw, 1.75rem);
    align-items: center;
    justify-items: stretch;
    padding: 0.25rem clamp(0.15rem, 1vw, 0.75rem);
    box-sizing: border-box;
}

.yc-uno-arena__top {
    grid-area: top;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    padding: 0 0.15rem;
}

.yc-uno-arena__left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    align-self: center;
    padding-right: 0.15rem;
    box-sizing: border-box;
}

.yc-uno-arena__right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    align-self: center;
    padding-left: 0.15rem;
    box-sizing: border-box;
}

.yc-uno-arena__table {
    grid-area: table;
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    isolation: isolate;
    container-type: size;
    container-name: uno-table-cell;
    overflow: hidden;
}

.yc-uno-draw-zone {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: auto;
    padding: 0 0.35rem 0.1rem 0;
    z-index: 200;
    align-self: flex-end;
}

.yc-uno-arena__table .yc-uno-table {
    pointer-events: none;
    flex: 0 0 auto;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 0;
    width: min(100%, 100cqmin);
    height: min(100%, 100cqmin);
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.yc-uno-seat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: linear-gradient(160deg, rgba(30, 36, 60, 0.88), rgba(16, 18, 32, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(0.35rem, 1vmin, 0.5rem);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    direction: rtl;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
    contain: layout paint;
}

.yc-uno-seat--top {
    flex-direction: column;
    max-width: min(100%, 14rem);
    margin: 0 auto;
}

.yc-uno-seat--left,
.yc-uno-seat--right {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.22rem 0.15rem;
    max-width: 100%;
    width: 100%;
}

.yc-uno-seat--left {
    align-items: flex-end;
}

.yc-uno-seat--right {
    align-items: flex-start;
}

.yc-uno-arena--p2 .yc-uno-arena__table .yc-uno-table,
.yc-uno-arena--p3 .yc-uno-arena__table .yc-uno-table,
.yc-uno-arena--p4 .yc-uno-arena__table .yc-uno-table {
    min-width: 0;
    min-height: 0;
}

.yc-uno-seat__cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.15rem 0.2rem;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.yc-uno-seat__cards--top {
    flex-direction: row;
    max-height: clamp(1.75rem, 5vmin, 2.75rem);
    max-width: 100%;
    min-width: 0;
    width: auto;
}

.yc-uno-seat__cards--left,
.yc-uno-seat__cards--right {
    flex-direction: column;
    max-height: clamp(3.5rem, 13vmin, 5.5rem);
    width: clamp(1.5rem, 5vmin, 2.15rem);
    padding: 0.12rem 0.08rem;
    align-items: center;
}

.yc-uno-seat__card {
    flex: 0 0 auto;
    display: block;
    width: clamp(1rem, 3.5vmin, 1.65rem);
    height: clamp(1.4rem, 5vmin, 2.25rem);
    border-radius: 0.22rem;
    background: url(/images/back.png) center/cover;
    border: 1.5px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    position: relative;
}

.yc-uno-seat__cards--left .yc-uno-seat__card,
.yc-uno-seat__cards--right .yc-uno-seat__card {
    width: clamp(0.95rem, 3.2vmin, 1.45rem);
    height: clamp(1.35rem, 4.5vmin, 1.95rem);
    transform: none;
}

.yc-uno-seat.is-active {
    border-color: rgba(255, 217, 80, 0.85);
    box-shadow: 0 0 0 2px rgba(255, 217, 80, 0.45), inset 0 0 12px rgba(255, 217, 80, 0.15);
}

.yc-uno-seat.is-active .yc-uno-seat__avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: clamp(0.35rem, 1vmin, 0.5rem);
    border: 2px solid rgba(255, 217, 80, 0.9);
    box-shadow: 0 0 8px rgba(255, 217, 80, 0.5);
    animation: yc-uno-turn-ring 1.1s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.yc-uno-seat.is-active[data-seat="top"],
.yc-uno-seat.is-active[data-seat="left"],
.yc-uno-seat.is-active[data-seat="right"] {
    transform: none;
}

@keyframes yc-uno-turn-glow {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(255, 217, 80, 0.35), 0 0 14px rgba(255, 217, 80, 0.25);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 217, 80, 0.55), 0 0 28px rgba(255, 217, 80, 0.55);
    }
}

@keyframes yc-uno-turn-ring {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes yc-uno-seat-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 217, 80, 0.25), 0 0 20px rgba(255, 217, 80, 0.3); }
    50% { box-shadow: 0 0 0 5px rgba(255, 217, 80, 0.35), 0 0 32px rgba(255, 217, 80, 0.55); }
}

.yc-uno-seat__turn-tag {
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.08rem 0.4rem;
    border-radius: 0.65rem;
    font-size: clamp(0.5rem, 1.4vmin, 0.58rem);
    font-weight: 700;
    color: #1a1035;
    background: rgba(255, 217, 80, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    pointer-events: none;
}

.yc-uno-seat__player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    flex-shrink: 0;
    min-width: 0;
}

.yc-uno-seat--left .yc-uno-seat__player,
.yc-uno-seat--right .yc-uno-seat__player {
    max-width: clamp(2.4rem, 8vmin, 3.5rem);
}

.yc-uno-seat__avatar-wrap {
    position: relative;
}

.yc-uno-seat__avatar {
    width: clamp(1.35rem, 4vmin, 2rem);
    height: clamp(1.35rem, 4vmin, 2rem);
    border-radius: clamp(0.35rem, 1vmin, 0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    background: #222;
}

.yc-uno-seat.is-active .yc-uno-seat__avatar {
    border-color: rgba(255, 217, 80, 0.85);
}

.yc-uno-seat__count {
    position: absolute;
    bottom: -0.2rem;
    right: -0.2rem;
    min-width: clamp(0.9rem, 2.6vmin, 1.05rem);
    height: clamp(0.9rem, 2.6vmin, 1.05rem);
    padding: 0 0.18rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #e8e8e8);
    color: #111;
    font-size: clamp(0.52rem, 1.5vmin, 0.62rem);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1035;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.yc-uno-seat__name {
    font-size: clamp(0.5rem, 1.5vmin, 0.65rem);
    font-weight: 600;
    color: #eee;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 0.08rem 0.35rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(30, 120, 160, 0.9), rgba(20, 80, 120, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.yc-uno-seat__bot {
    font-size: 0.65rem;
    opacity: 0.85;
}

.yc-uno-table {
    display: flex;
    max-width: 100%;
    max-height: 100%;
    padding: 4px;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, #c9a227, #8b6914, #ffd950, #a67c00);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    overflow: hidden;
}

.yc-uno-table__felt {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 0.65rem;
    container-type: size;
    container-name: uno-felt;
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255, 255, 255, 0.06), transparent),
        linear-gradient(145deg, #1e9e6a 0%, #157a52 40%, #0d5038 100%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.yc-uno-table__corner {
    position: absolute;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(255, 217, 80, 0.45);
    pointer-events: none;
}

.yc-uno-table__corner--tl { top: 0.35rem; left: 0.35rem; border-right: none; border-bottom: none; border-radius: 0.25rem 0 0 0; }
.yc-uno-table__corner--tr { top: 0.35rem; right: 0.35rem; border-left: none; border-bottom: none; border-radius: 0 0.25rem 0 0; }
.yc-uno-table__corner--bl { bottom: 0.35rem; left: 0.35rem; border-right: none; border-top: none; border-radius: 0 0 0 0.25rem; }
.yc-uno-table__corner--br { bottom: 0.35rem; right: 0.35rem; border-left: none; border-top: none; border-radius: 0 0 0.25rem 0; }

.yc-uno-table__dir {
    display: none !important;
}

.yc-uno-table__dir--rtl .fa { transform: scaleX(-1); }

.yc-uno-draw-pile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem;
    border: none;
    background: none;
    cursor: pointer;
    touch-action: manipulation;
    z-index: 201;
    pointer-events: auto;
    min-width: 2.75rem;
    min-height: 2.75rem;
    -webkit-tap-highlight-color: transparent;
}

.yc-uno-draw-pile:disabled {
    cursor: default;
    opacity: 0.72;
    pointer-events: none;
}

.yc-uno-draw-pile__hit {
    position: absolute;
    inset: -0.35rem;
    z-index: 0;
    pointer-events: auto;
}

.yc-uno-draw-pile__deck {
    position: relative;
    z-index: 1;
    width: var(--uno-card-w, 2.4rem);
    height: var(--uno-card-h, 3.35rem);
}

.yc-uno-draw-pile__layer {
    position: absolute;
    inset: 0;
    border-radius: 0.38rem;
    background: url(/images/back.png) center/cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.yc-uno-draw-pile__layer:nth-child(1) { transform: translate(-4px, -5px) rotate(-7deg); opacity: 0.75; }
.yc-uno-draw-pile__layer:nth-child(2) { transform: translate(2px, -2px) rotate(3deg); opacity: 0.88; }
.yc-uno-draw-pile__layer--top { transform: translate(0, 0) rotate(-2deg); z-index: 2; }

.yc-uno-draw-pile__shine {
    position: absolute;
    left: 50%;
    top: 42%;
    width: calc(var(--uno-card-w, 2.4rem) + 1rem);
    height: calc(var(--uno-card-h, 3.35rem) + 1rem);
    transform: translate(-50%, -50%);
    border-radius: 0.6rem;
    background: radial-gradient(circle, rgba(255, 217, 80, 0.35), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.yc-uno-draw-pile__label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.yc-uno-draw-pile.is-active .yc-uno-draw-pile__shine {
    opacity: 1;
    animation: yc-uno-draw-shine 1.2s ease-in-out infinite;
}

.yc-uno-draw-pile.is-active .yc-uno-draw-pile__layer--top {
    animation: yc-uno-draw-float 0.9s ease-in-out infinite;
}

.yc-uno-draw-pile.is-flash {
    animation: yc-uno-draw-pulse-flash 0.32s ease-out 2;
}

.yc-uno-draw-pile.is-flash .yc-uno-draw-pile__shine {
    opacity: 1;
    animation: yc-uno-draw-flash-burst 0.32s ease-out 2;
}

.yc-uno-draw-pile.is-flash .yc-uno-draw-pile__deck {
    filter: brightness(1.35);
}

@keyframes yc-uno-draw-pulse-flash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes yc-uno-draw-flash-burst {
    0% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.25); }
    100% { opacity: 0.4; transform: scale(1); }
}

@keyframes yc-uno-draw-shine {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes yc-uno-draw-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
}

.yc-uno-draw-pile.is-drawing .yc-uno-draw-pile__layer--top {
    animation: yc-uno-draw-deal 0.45s ease-out forwards;
}

@keyframes yc-uno-draw-deal {
    0% { transform: translateY(0) rotate(-2deg); opacity: 1; }
    100% { transform: translateY(-28px) rotate(12deg) scale(0.85); opacity: 0; }
}

.yc-uno-draw-pile:active:not(:disabled) .yc-uno-draw-pile__deck {
    transform: scale(0.94);
}

.yc-uno-discard {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    z-index: 11;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(32cqw, var(--uno-card-w, 2.4rem) + 0.35rem);
    height: min(44cqw, var(--uno-card-h, 3.35rem) + 0.35rem);
    max-width: 38%;
    max-height: 38%;
}

.yc-uno-discard__glow {
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 65%);
    pointer-events: none;
}

.yc-uno-discard__card {
    position: relative;
    display: block;
    width: min(var(--uno-card-w, 2.4rem), 30cqw);
    height: min(var(--uno-card-h, 3.35rem), 42cqw);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.38rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    transform: rotate(-6deg);
    transition: transform 0.35s ease;
}

.yc-uno-discard__color {
    position: absolute;
    bottom: -0.1rem;
    right: -0.1rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.yc-uno-fly-card {
    position: fixed;
    z-index: 100070;
    width: clamp(2.2rem, 11vw, 3rem);
    height: auto;
    max-height: 4.2rem;
    border-radius: 0.32rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%) scale(0.6) rotate(-15deg);
    opacity: 1;
    pointer-events: none;
    transition: left 0.55s cubic-bezier(0.25, 0.8, 0.35, 1),
                top 0.55s cubic-bezier(0.25, 0.8, 0.35, 1),
                transform 0.55s ease,
                opacity 0.55s ease;
}

.yc-uno-board__footer {
    flex: 0 0 auto;
    position: relative;
    z-index: 50;
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: flex-end;
    justify-content: flex-start;
    gap: clamp(0.35rem, 2vw, 0.85rem);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.12) 100%);
    border-top: 1px solid rgba(255, 217, 80, 0.1);
    padding: 0.2rem clamp(0.4rem, 2vw, 1.25rem) max(0.25rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    max-height: clamp(6.5rem, 30vh, 9.5rem);
    min-height: 0;
    pointer-events: auto;
    isolation: isolate;
    overflow: hidden;
    --uno-card-w: clamp(2rem, 6.5vmin, 4.25rem);
    --uno-card-h: calc(var(--uno-card-w) * 1.4);
}

.yc-uno-board__footer .yc-uno-draw-zone {
    order: 1;
    flex-shrink: 0;
}

.yc-uno-board__footer .yc-uno-board__me {
    order: 2;
}

.yc-uno-board__footer .yc-uno-board__hand-wrap {
    order: 3;
    flex: 1 1 auto;
    direction: rtl;
}

.yc-uno-board__hand-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(100%, 42rem);
    padding-top: clamp(0.65rem, 3.5vh, 1.25rem);
    z-index: 10;
    pointer-events: auto;
    overflow: visible;
    min-height: clamp(4.5rem, 16vh, 6.5rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.yc-uno-board__hand {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.5rem 0.25rem 0.15rem;
    min-height: clamp(4.25rem, 18vh, 6.5rem);
    max-height: clamp(5rem, 22vh, 7.5rem);
    scrollbar-width: none;
    position: relative;
    pointer-events: auto;
}

.yc-uno-board__hand::-webkit-scrollbar { display: none; }

.yc-uno-board__card {
    flex: 0 0 auto;
    width: clamp(2.35rem, 7vmin, var(--uno-card-w, 4.25rem));
    height: auto;
    max-height: clamp(3.25rem, 13vh, var(--uno-card-h, 5.5rem));
    border-radius: 0.35rem;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    cursor: default;
    touch-action: manipulation;
    user-select: none;
    transition: filter 0.15s, box-shadow 0.15s, transform 0.2s ease;
    position: relative;
    pointer-events: auto;
    background: #fff;
}

.yc-uno-board__card.playable {
    cursor: pointer;
}

.yc-uno-board__card.playable:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 0 2px #ffd950, 0 6px 16px rgba(0, 0, 0, 0.45);
}

.yc-uno-board__card.locked {
    opacity: 0.88;
    filter: saturate(0.85);
    pointer-events: none;
}

.yc-uno-board__me.is-active {
    transform: none;
}

.yc-uno-board__me-ring {
    position: relative;
    padding: 2px;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.yc-uno-board__me.is-active .yc-uno-board__me-ring {
    border-color: rgba(255, 217, 80, 0.85);
    animation: yc-uno-turn-glow 1.1s ease-in-out infinite;
}

.yc-uno-board__me.is-active .yc-uno-board__me-ring::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 0.55rem;
    border: 2px solid rgba(255, 217, 80, 0.95);
    box-shadow: 0 0 14px rgba(255, 217, 80, 0.65);
    animation: yc-uno-turn-ring 1.1s ease-in-out infinite;
    pointer-events: none;
}

.yc-uno-board__avatar {
    width: clamp(1.75rem, 4.5vmin, 2.4rem);
    height: clamp(1.75rem, 4.5vmin, 2.4rem);
    border-radius: 0.4rem;
    border: none;
    object-fit: cover;
    display: block;
    background: #222;
}

.yc-uno-board__count {
    position: absolute;
    bottom: -0.2rem;
    right: -0.2rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.2rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1035;
}

.yc-uno-board__name {
    font-size: clamp(0.5rem, 1.4vmin, 0.62rem);
    font-weight: 600;
    color: #eee;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yc-uno-board__you {
    font-size: clamp(0.48rem, 1.2vmin, 0.55rem);
    color: #ffd950;
    font-weight: 600;
}

.yc-uno-color-pick {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
}

.yc-uno-color-pick p {
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.yc-uno-color-pick div {
    display: flex;
    gap: 0.6rem;
}

.yc-uno-color-pick button {
    width: 2.75rem;
    height: 2.75rem;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
}

.yc-uno-exit-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    padding: 1rem;
    direction: rtl;
}

.yc-uno-exit-modal__box {
    width: min(88vw, 16rem);
    background: linear-gradient(160deg, #1e1838, #12101f);
    border: 1px solid rgba(255, 215, 80, 0.25);
    border-radius: 1rem;
    padding: 1.1rem;
    text-align: center;
}

.yc-uno-exit-modal__box p {
    margin: 0 0 0.85rem;
    color: #eee;
    font-size: 0.92rem;
    line-height: 1.5;
}

.yc-uno-exit-modal__box div {
    display: flex;
    gap: 0.5rem;
}

.yc-uno-exit-modal__box button {
    flex: 1;
    min-height: 2.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.yc-uno-exit-modal__box button[data-x="yes"] {
    background: linear-gradient(135deg, #ffd950, #e6a800);
    color: #1a1035;
}

.yc-uno-exit-modal__box button[data-x="no"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.yc-uno-float {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 10046;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6b35, #e63946);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.yc-uno-float--turn {
    animation: yc-uno-float-pulse 1s ease-in-out infinite;
}

@keyframes yc-uno-float-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45); }
    50% { box-shadow: 0 6px 24px rgba(255, 217, 47, 0.7); }
}

.yc-uno-float img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.yc-uno-one-card-alert {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -12px);
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a1f35 0%, #0f1324 100%);
    border: 2px solid #ffd950;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.82rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    direction: rtl;
    max-width: min(92%, 20rem);
}

.yc-uno-one-card-alert.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.yc-uno-one-card-alert__badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    border-radius: 0.25rem;
    background: #ffd950;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.yc-uno-one-card-alert__text strong {
    color: #ffd950;
}

.yc-uno-winner-overlay {
    position: fixed;
    inset: 0;
    z-index: 100060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    direction: rtl;
}

.yc-uno-winner-card {
    width: min(92vw, 21rem);
    padding: 1.4rem 1.2rem 1.1rem;
    border-radius: 12px;
    background: #fefffc;
    border: 1px solid #d3d3d3;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    text-align: center;
    color: #333;
}

.yc-uno-winner-trophy {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.yc-uno-winner-title {
    color: #222;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0.15rem 0;
}

.yc-uno-winner-name {
    margin: 0.2rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #337ab7;
}

.yc-uno-winner-sub {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.45;
}

.yc-uno-winner-avatar {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    border: 3px solid #ffd950;
    object-fit: cover;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.yc-uno-winner-close {
    margin-top: 0.15rem;
    min-width: 7rem;
    min-height: 2.35rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    touch-action: manipulation;
}

.yc-uno-board__me {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 0.15rem;
    gap: 0.06rem;
    transition: transform 0.3s;
    max-width: clamp(3rem, 10vmin, 4rem);
}

@media (max-width: 480px) {
    .yc-uno-arena {
        row-gap: 0.35rem;
        column-gap: clamp(0.5rem, 4vw, 1rem);
        grid-template-columns:
            minmax(0, clamp(3.25rem, 15vmin, 4.5rem))
            minmax(0, 1fr)
            minmax(0, clamp(3.25rem, 15vmin, 4.5rem));
    }

    .yc-uno-draw-pile {
        padding: 0.25rem;
    }

    .yc-uno-draw-pile__hit {
        inset: -0.35rem;
    }

    .yc-uno-seat__card {
        width: clamp(0.85rem, 3vmin, 1.1rem);
        height: clamp(1.2rem, 4vmin, 1.55rem);
    }

    .yc-uno-board__footer {
        max-height: clamp(4.5rem, 22vh, 6.5rem);
    }

    .yc-uno-board__card {
        width: clamp(1.65rem, 7.5vw, 2.2rem);
        max-height: 3rem;
    }
}

@media (min-width: 768px) {
    .yc-uno-frame {
        margin: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        padding: clamp(5px, 0.55vw, 12px);
        border-radius: 0.85rem;
    }

    .yc-uno-frame__inner {
        border-radius: 0.7rem;
    }

    .yc-uno-playfield {
        --uno-card-w: clamp(2.75rem, 6.5vmin, 4.75rem);
        padding: 0.2rem clamp(0.5rem, 2vw, 1.5rem);
    }

    .yc-uno-arena {
        width: 100%;
        max-width: none;
        column-gap: clamp(1rem, 3vw, 3.5rem);
        row-gap: clamp(0.5rem, 2vh, 1.25rem);
    }

    .yc-uno-board__footer {
        max-height: clamp(6.5rem, 22vh, 8.5rem);
        padding: 0.3rem 1.5rem 0.55rem;
        --uno-card-w: clamp(2.5rem, 5.5vmin, 4.5rem);
    }

    .yc-uno-board__card {
        width: clamp(2.5rem, 5.5vmin, 4.5rem);
        max-height: clamp(3.5rem, 12vh, 6rem);
    }
}

@media (min-width: 1200px) {
    .yc-uno-playfield {
        --uno-card-w: clamp(3rem, 5.5vmin, 5rem);
    }

    .yc-uno-arena {
        column-gap: clamp(1.25rem, 3.5vw, 4.5rem);
    }

    .yc-uno-board__footer {
        max-height: clamp(7rem, 20vh, 9rem);
        --uno-card-w: clamp(2.75rem, 4.5vmin, 5rem);
    }

    .yc-uno-board__card {
        width: clamp(2.75rem, 4.5vmin, 5rem);
        max-height: clamp(4rem, 14vh, 6.75rem);
    }
}

#chat__body__others-pane.others-pane--premium {
    background: #fff !important;
}

#chat__body__others-pane.others-pane--premium > .chat_pane__header {
    background: #2c5282 !important;
    border: none !important;
    box-shadow: none !important;
}

#chat__body__others-pane.others-pane--premium > .chat_pane__header .chat_pane__header__title {
    font-size: .72rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

#chat__body__others-pane.others-pane--premium .others-pane__grid {
    height: calc(100% - 1.4rem) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: .12rem !important;
    display: flex !important;
    flex-direction: column;
    gap: .1rem;
}

#chat__body__others-pane.others-pane--premium .others-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 1.65rem !important;
    min-height: 1.65rem !important;
    max-height: 1.65rem !important;
    margin: 0 !important;
    padding: 0 .42rem !important;
    border: none !important;
    border-radius: .1rem !important;
    color: #fff !important;
    text-align: center !important;
    line-height: 1.65rem !important;
    font-weight: 700 !important;
    font-size: .68rem !important;
    box-shadow: none !important;
    position: relative !important;
    cursor: pointer;
    transition: filter .12s ease;
}

#chat__body__others-pane.others-pane--premium .others-card:hover,
#chat__body__others-pane.others-pane--premium .others-card:focus {
    filter: brightness(1.06);
    transform: none !important;
    box-shadow: none !important;
}

#chat__body__others-pane.others-pane--premium .others-card__icon {
    position: absolute !important;
    left: .42rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    flex: none !important;
}

#chat__body__others-pane.others-pane--premium .others-card__icon svg {
    width: .78rem;
    height: .78rem;
    display: block;
}

#chat__body__others-pane.others-pane--premium .others-card__title {
    flex: none !important;
    width: 100%;
    padding: 0 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .68rem;
    font-weight: 700;
    color: #fff !important;
    text-align: center !important;
}

#chat__body__others-pane.others-pane--premium .others-card--blue {
    background: #5dade2 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--purple {
    background: #9b59b6 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--orange {
    background: #e67e22 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--amber {
    background: #f39c12 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--green {
    background: #27ae60 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--gray {
    background: #95a5a6 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--teal {
    background: #16a085 !important;
}

#chat__body__others-pane.others-pane--premium .others-card--rose {
    background: #c0392b !important;
}

#chat__body__others-pane.others-pane--premium .others-card--indigo {
    background: #6366f1 !important;
}

#chat__body__others-pane.others-pane--premium .others-card .fa {
    display: none !important;
}

#chat__body__ignored-users-pane .chat__body__ignored-users-pane__back,
#chat__body__notifications-pane .chat__body__notifications-pane__back,
#chat__body__live-pane .chat__body__live-pane__back {
    display: none !important;
}

.chat_pane__header__back--others {
    position: absolute !important;
    top: .08rem !important;
    right: 1.55rem !important;
    left: auto !important;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    gap: .18rem;
    height: 1.05rem;
    padding: 0 .38rem !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: .22rem !important;
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    font-size: .58rem !important;
    font-weight: 600 !important;
    line-height: 1;
    box-shadow: none !important;
    transition: background-color .12s ease, border-color .12s ease;
}

.chat_pane__header__back--others:hover,
.chat_pane__header__back--others:focus {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(255, 255, 255, .32) !important;
    color: #fff !important;
}

.chat_pane__header__back-icon {
    width: .42rem;
    height: .42rem;
    border-top: 1.5px solid #fff;
    border-left: 1.5px solid #fff;
    transform: rotate(-45deg);
    margin-top: .02rem;
    opacity: .92;
}

#chat__body__ignored-users-pane > .chat_pane__header,
#chat__body__notifications-pane > .chat_pane__header,
#chat__body__live-pane > .chat_pane__header,
#chat__body__wall_creator_pane > .chat_pane__header,
#audio-gallery-pane > .chat_pane__header {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    #chat__body__others-pane.others-pane--premium .others-card,
    .chat_pane__header__back--others {
        transition: none;
    }
}

.yc-complaint-overlay {
    position: fixed;
    inset: 0;
    z-index: 100080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    background: rgba(8, 12, 28, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: ycComplaintFadeIn 0.22s ease;
}

@keyframes ycComplaintFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ycComplaintSlideUp {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.yc-complaint-modal {
    position: relative;
    width: min(400px, 94vw);
    max-height: min(90vh, 640px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
    animation: ycComplaintSlideUp 0.26s ease;
}

.yc-complaint-modal__header {
    position: relative;
    padding: 0.9rem 1rem 0.85rem;
    text-align: center;
    background: var(--yc-complaint-header-bg, var(--primary-color, #337ab7));
    color: var(--yc-complaint-header-fg, #fff);
    border-bottom: 3px solid color-mix(in srgb, var(--yc-complaint-header-bg, #337ab7) 75%, #000);
    flex-shrink: 0;
}

.yc-complaint-modal__header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    padding: 0.2rem;
}

.yc-complaint-modal__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.yc-complaint-modal__header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.yc-complaint-modal__close {
    position: absolute;
    left: 0.65rem;
    top: 0.6rem;
    z-index: 3;
    border: none;
    background: rgba(255, 255, 255, 0.22);
    color: inherit;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.yc-complaint-modal__close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.yc-complaint-modal__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--yc-complaint-header-bg, #2c5282);
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1), rgba(44, 82, 130, 0.04));
    border: 1px solid rgba(44, 82, 130, 0.18);
    border-radius: 999px;
    width: 100%;
    box-sizing: border-box;
}

.yc-complaint-modal__badge .fa {
    opacity: 0.85;
}

.yc-complaint-modal__body {
    padding: 0.85rem 1rem 0.65rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, var(--yc-complaint-body-bg, #f8fafc) 0%, #fff 100%);
    flex: 1 1 auto;
}

.yc-complaint-field {
    margin-bottom: 0.65rem;
}

.yc-complaint-field label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
}

.yc-complaint-field label .fa {
    color: var(--yc-complaint-header-bg, #2c5282);
    opacity: 0.9;
    font-size: 0.72rem;
}

.yc-complaint-field input.form-control,
.yc-complaint-field textarea.form-control {
    border: 1px solid #dbe3f0;
    border-radius: 8px;
    padding: 0.48rem 0.6rem;
    font-size: 0.8rem;
    background: #fff;
    color: #0f172a;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yc-complaint-field input.form-control:focus,
.yc-complaint-field textarea.form-control:focus {
    border-color: var(--yc-complaint-header-bg, #2c5282);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yc-complaint-header-bg, #2c5282) 22%, transparent);
    outline: none;
}

.yc-complaint-field__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: #94a3b8;
}

.yc-complaint-modal__ctx {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: #475569;
    margin-top: 0.15rem;
    padding: 0.45rem 0.55rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.yc-complaint-modal__ctx .fa {
    color: var(--yc-complaint-header-bg, #2c5282);
}

.yc-complaint-upload {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem 0.65rem;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.yc-complaint-upload:hover,
.yc-complaint-upload.yc-complaint-upload--drag {
    border-color: var(--yc-complaint-header-bg, #2c5282);
    background: color-mix(in srgb, var(--yc-complaint-header-bg, #2c5282) 6%, #fff);
}

.yc-complaint-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.yc-complaint-upload__icon {
    font-size: 1.35rem;
    color: var(--yc-complaint-header-bg, #2c5282);
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.yc-complaint-upload__title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.15rem;
}

.yc-complaint-upload__hint {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.45;
}

.yc-complaint-upload__status {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: #64748b;
    min-height: 1em;
}

.yc-complaint-upload__status--ok {
    color: #059669;
    font-weight: 600;
}

.yc-complaint-modal__preview {
    margin-top: 0.55rem;
    text-align: center;
    position: relative;
}

.yc-complaint-modal__preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.yc-complaint-modal__preview-remove {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    border: none;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    line-height: 1;
}

.yc-complaint-modal__footer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem 0.9rem;
    border-top: 1px solid #e8ecef;
    background: #fff;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.yc-complaint-modal__cancel {
    min-width: 5.5rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.48rem 0.75rem;
    background: #e2e8f0;
    border-color: #e2e8f0;
    color: #475569;
}

.yc-complaint-modal__submit {
    min-width: 8.5rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.48rem 0.85rem;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--yc-complaint-header-bg, #2c5282) 35%, transparent);
    transition: filter 0.15s ease, transform 0.12s ease;
}

.yc-complaint-modal__submit:hover:not(:disabled),
.yc-complaint-modal__submit:focus:not(:disabled) {
    filter: brightness(0.94);
    transform: translateY(-1px);
}

.yc-complaint-modal__submit:disabled {
    opacity: 0.72;
    cursor: wait;
}

@media (min-width: 768px) {
    .yc-complaint-modal {
        width: min(420px, 42vw);
    }
}

#chat_complaint_modal.chat-complaint-modal {
    z-index: 10060;
}

#mic-speakers {
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

#mic-speakers .mic-speakers--item {
    margin-left: 0.1rem !important;
    margin-right: 0.1rem !important;
}

#mic-speakers .mic-speakers--item__modal__share-audio {
    width: 100%;
    margin-top: 0.15rem;
}

#mic-speakers .mic-speakers--item__modal__submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    padding: 0 0.12rem;
    border-radius: 0.18rem;
    background: rgba(10, 24, 42, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: max-height 0.24s ease, opacity 0.2s ease, margin-bottom 0.2s ease, padding 0.2s ease;
}

#mic-speakers .mic-speakers--item__modal__submenu.is-open {
    max-height: 14rem;
    opacity: 1;
    margin-bottom: 0.2rem;
    padding: 0.22rem 0.12rem 0.12rem;
}

#mic-speakers .mic-speakers--item__modal__submenu .btn {
    display: inline-block;
    margin-bottom: 0.2rem;
    width: 100%;
    padding: 0.1rem;
    background-color: #1a3550 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #e8f2fa !important;
}

#mic-speakers .mic-speakers--item__modal__submenu .btn:last-child {
    margin-bottom: 0;
}

#mic-speakers .mic-speakers--item__modal__submenu .btn.is-active {
    background-color: #245a78 !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

#mic-speakers .mic-speakers--item__modal__voice-quality.is-active-preset {
    background-color: #245a78 !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
    color: #e8f2fa !important;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

#mic-speakers .mic-speakers--item__modal__voice-preview:disabled {
    opacity: 0.72;
    cursor: wait;
}

#mic-speakers .mic-speakers--item.room-mic-locked {
    opacity: 1 !important;
    background-color: #ffffffea !important;
    overflow: hidden;
    isolation: isolate;
}

#mic-speakers .mic-speakers--item.room-mic-locked .mic-speakers--item__mic-wrapper {
    visibility: hidden;
}

#mic-speakers .mic-speakers--item.room-mic-locked .mic-speakers--item__lock-mark {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#mic-speakers .mic-speakers--item.room-mic-locked .mic-speakers--item__lock-mark::before {
    content: "⛔";
    font-size: 0.95rem;
    line-height: 1;
    max-width: 100%;
    max-height: 100%;
}

#mic-speakers .mic-speakers--item.is_speaking {
    border-color: #afbfc2 !important;
    box-shadow: none !important;
    animation: none !important;
}

#mic-speakers .mic-speakers--item.is_speaking.mic-is-talking,
#mic-speakers .mic-speakers--item.is_speaking:has(img.mic-audio-active) {
    border: 0.125rem solid #48dc78 !important;
    animation: mic-speak-glow 0.85s ease-in-out infinite !important;
    z-index: 2;
}

@keyframes mic-speak-glow {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(72, 220, 120, 0.4),
            0 0 8px 1px rgba(72, 220, 120, 0.45);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(72, 220, 120, 0.55),
            0 0 16px 5px rgba(72, 220, 120, 0.8);
    }
}

#mic-speakers .mic-speakers--item.is_speaking img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0.28rem;
    box-sizing: border-box;
}

#mic-speakers .mic-speakers--item.is_speaking img.mic-audio-active {
    animation: none;
    filter: none;
    box-shadow: none;
}

.mic-speakers--player-float {
    display: none;
    position: fixed;
    top: 2.65rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 850;
    width: min(26rem, calc(100vw - 1.5rem));
    pointer-events: none;
}

.mic-speakers--player-float[aria-hidden="false"] {
    pointer-events: auto;
}

#mic-speakers--player.mic-speakers--player {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0.35rem 0.55rem 0.4rem;
    background: rgba(16, 32, 52, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#mic-speakers--player.mic-speakers--player.is-system-mode {
    padding: 0.3rem 0.5rem;
}

.mic-speakers--player__row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.35rem;
}

.mic-speakers--player__controls {
    display: flex;
    gap: 0.18rem;
    flex-shrink: 0;
}

.mic-speakers--player__btn {
    width: 1.35rem;
    height: 1.35rem;
    border: none;
    border-radius: 0.2rem;
    background: #28a745;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0;
}

.mic-speakers--player__btn i {
    font-size: 0.72rem;
    line-height: 1;
    pointer-events: none;
}

.mic-speakers--player__btn--file i.fa-folder-open:before {
    content: "\f07b";
}

.mic-speakers--player__btn:hover {
    background: #218838;
}

.mic-speakers--player__label {
    flex: 1;
    min-width: 0;
    color: #e8eef5;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mic-speakers--player__time {
    color: #b8c9dc;
    font-size: 0.68rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.mic-speakers--player__seek-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.18rem;
}

#mic-speakers--player.is-system-mode .mic-speakers--player__seek-row,
#mic-speakers--player.is-system-mode .mic-speakers--player__time,
#mic-speakers--player.is-system-mode #mic-speakers--player-file {
    display: none;
}

.mic-speakers--player__note {
    color: #7dd3fc;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.mic-speakers--player__seek {
    flex: 1;
    height: 0.22rem;
    accent-color: #28a745;
    margin: 0;
}

.mic-speakers--player__volume {
    width: 3.2rem;
    height: 0.22rem;
    accent-color: #17a2b8;
    margin: 0;
}

#mic-speakers--player-system-video {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    left: -9999px;
    top: -9999px;
}

@media (max-width: 750px) {
    .mic-speakers--player-float {
        top: 2.35rem;
        width: calc(100vw - 1rem);
    }
}

.pml-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    background: rgba(8, 12, 28, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: pmlFadeIn .22s ease;
    pointer-events: auto;
}

.pml-overlay--player {
    z-index: 200010;
}

@keyframes pmlFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pml-modal {
    position: relative;
    width: min(320px, 94vw);
    max-height: min(88vh, 520px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .32), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    overflow: hidden;
    animation: pmlSlideUp .26s ease;
    display: flex;
    flex-direction: column;
}

.pml-modal__banner {
    width: 100%;
    flex-shrink: 0;
    line-height: 0;
    background: #0f172a;
}

.pml-modal__banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.pml-modal__close--float {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.pml-modal__body {
    padding: .75rem .85rem .85rem;
    direction: rtl;
    overflow-y: auto;
    flex: 1 1 auto;
}

.pml-modal__title {
    margin: 0 0 .35rem;
    font-size: .88rem;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
}

.pml-modal__hint {
    margin: 0 0 .65rem;
    font-size: .72rem;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

.pml-field {
    margin-bottom: .55rem;
}

.pml-field label {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .28rem;
    font-size: .72rem;
    font-weight: 700;
    color: #334155;
}

.pml-field label img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.pml-field input {
    width: 100%;
    border: 1px solid #dbe3f0;
    border-radius: 8px;
    padding: .45rem .55rem;
    font-size: .72rem;
    background: #fff;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pml-field input:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .18);
}

.pml-modal__actions {
    display: flex;
    gap: .45rem;
    margin-top: .65rem;
}

.pml-modal__actions button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: .48rem .6rem;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
}

@keyframes pmlSlideUp {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pml-modal__close {
    border: none;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .pml-modal {
        width: min(340px, 42vw);
    }
}

.pml-btn-save {
    background: linear-gradient(120deg, #6366f1, #8b5cf6);
    color: #fff;
}

.pml-btn-cancel {
    background: #e2e8f0;
    color: #475569;
}

.pml-profile-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 6px;
    direction: ltr;
    width: 100%;
    position: relative;
    z-index: 3;
}

.pml-profile-icons--profile {
    padding: 4px 0 2px;
}

.pml-profile-icons__btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    opacity: .92;
    transition: transform .15s ease, opacity .15s ease;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.pml-profile-icons__btn:focus,
.pml-profile-icons__btn:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.pml-profile-icons__btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.pml-profile-icons__btn:hover {
    opacity: 1;
    transform: scale(1.08);
}

.pml-profile-icons__btn img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

#chat__body__users-pane .chat_pane__user_item,
#online_users .chat_pane__user_item {
    position: relative;
}

.pml-list-icons {
    position: absolute;
    top: 50%;
    right: .4em;
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    z-index: 3;
    direction: ltr;
    line-height: 0;
}

.pml-list-icons--readonly {
    pointer-events: none;
    cursor: default;
}

.pml-list-icons--readonly .pml-list-icons__btn {
    cursor: default;
    pointer-events: none;
}

.pml-list-icons__btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    opacity: .95;
    transition: transform .15s ease, opacity .15s ease;
}

.pml-list-icons__btn:focus,
.pml-list-icons__btn:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.pml-list-icons__btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.pml-list-icons__btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.pml-list-icons__btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.pml-list-icons__btn--youtube img {
    width: 22px;
    height: 22px;
}

.pml-player {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1020;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.pml-player--youtube {
    position: relative;
    width: min(92vw, 720px);
    max-width: 720px;
    border-radius: 12px;
    overflow: visible;
    background: #000;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}

.pml-player__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 4;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ff0000;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.pml-player__close:hover {
    background: #e60000;
}

.pml-player--youtube .pml-player__frame-wrap--yt {
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .pml-player--youtube {
        width: min(94vw, 100%);
    }

    .pml-player__close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

.pml-player__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .75rem;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #e2e8f0;
    font-size: .75rem;
    font-weight: 700;
}

.pml-player--tiktok {
    max-width: 340px;
    overflow: visible;
}

.pml-player__frame-wrap {
    position: relative;
    width: 100%;
    background: #000;
}

.pml-player__frame-wrap--yt {
    padding-top: 56.25%;
}

.pml-player__frame-wrap--yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.pml-player__frame-wrap--tt {
    padding: 0;
    height: auto;
    overflow: hidden;
    background: #000;
    text-align: center;
}

.pml-player__frame-wrap--tt .pml-player__tt-iframe,
.pml-player__frame-wrap--tt .wall_post__tiktok-iframe {
    display: block;
    width: 100%;
    max-width: 325px;
    height: 435px;
    margin: 0 auto;
    border: 0;
    background: #000;
}

#user_profile .modal-content,
#user_profile .user_profile__scroll_area,
#user_profile .user_profile__body {
    overflow: visible !important;
}

#user_profile .user_profile__cover-container {
    width: 100%;
    height: 130px;
    position: relative;
    overflow: visible !important;
    margin: 0 0 2.75rem;
    background: linear-gradient(180deg, #cfd4dc 0%, #b7bec8 100%);
    display: block;
    z-index: 2;
}

#user_profile .user_profile__cover-container[data-has-cover="0"] {
    background-image: url('/images/epro-kal.jpg');
    background-size: cover;
    background-position: center center;
}

#user_profile .user_profile__cover-container[data-has-cover="1"] {
    background: transparent;
}

#user_profile .user_profile__cover-container .user_profile__body__cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

#user_profile .modal-dialog > .user_profile__cover-container,
#user_profile .user_profile__body > .user_profile__cover-container {
    margin-top: 0;
}

#user_profile .user_profile__cover-container--empty {
    background: linear-gradient(180deg, #d6dbe3 0%, #bcc4cf 100%);
}

#user_profile .user_profile__avatar-overlay {
    position: absolute;
    left: 0.55rem;
    bottom: 0;
    transform: translateY(50%);
    z-index: 4;
    border: 3px solid #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    background: #fff;
}

#user_profile .user_profile__avatar-overlay .user_profile__cover-avatar {
    width: 74px;
    height: 74px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

#user_profile:has(.user_profile__cover-container) #user_profile__body__avatar {
    display: none !important;
    visibility: hidden !important;
}

#user_profile .user_profile__cover-container.is-cover-loading .user_profile__body__cover,
#user_profile .user_profile__cover-container.is-cover-awaiting .user_profile__body__cover {
    opacity: 1;
    visibility: visible;
}

#user_profile .user_profile__cover-container.is-cover-ready .user_profile__body__cover,
#user_profile .user_profile__cover-container[data-has-cover="1"] .user_profile__body__cover {
    opacity: 1;
    visibility: visible;
}

#user_profile .user_profile__cover-container.is-cover-loading,
#user_profile .user_profile__cover-container.is-cover-awaiting {
    min-height: 130px;
}

#user_profile .user_profile__cover-container--own {
    margin-bottom: 2.75rem;
}

#user_profile .user_profile__cover-camera-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 7;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 38px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    text-align: center;
}

#user_profile .user_profile__cover-container.is-loading .user_profile__cover-camera-btn {
    opacity: 0.65;
    pointer-events: none;
}

#user_profile .user_profile__cover-container.is-loading .user_profile__cover-camera-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    background: url(/images/loader.gif) center center / contain no-repeat;
}

#chat__body__settings_pane__container__button--change-profile-cover {
    cursor: pointer;
    margin-bottom: .2rem;
}

#chat__body__settings_pane__container__button--change-profile-cover .loader {
    display: none;
}

#chat__body__settings_pane__container__button--change-profile-cover.disabled .loader {
    display: inline;
}

.pml-cover-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: zoom-out;
}

.pml-cover-lightbox img {
    max-width: min(96vw, 900px);
    max-height: 92vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

#chat__body__live-pane.yc-live-pane--radio {
    background: #3a4449 !important;
}

#chat__body__live-pane.yc-live-pane--radio,
#chat__body__live-pane.yc-live-pane--radio .chat_pane__container {
    min-height: 12rem;
}

#chat__body__live-pane.yc-live-pane--radio > .chat_pane__header {
    background: #454d52 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

#chat__body__live-pane.yc-live-pane--radio > .chat_pane__header .chat_pane__header__title {
    color: #fff !important;
    font-weight: 700;
}

#chat__body__live-pane.yc-live-pane--radio .chat_pane__container {
    border: none !important;
    background: #3a4449 !important;
    height: calc(100% - 1.45rem) !important;
    overflow: hidden !important;
    padding: 0.45rem 0.42rem 0.35rem !important;
}

.yc-radio-lounge {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    color: #fff;
    font-family: tahoma, "Segoe UI", sans-serif;
}

.yc-radio-lounge--disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.yc-radio-lounge__player {
    flex-shrink: 0;
    background: #555b60;
    border-radius: 0.55rem;
    padding: 0.62rem 0.55rem 0.5rem;
    text-align: center;
}

.yc-radio-lounge__station-name {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    min-height: 1.15rem;
}

.yc-radio-lounge__player-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
}

.yc-radio-lounge__toggle {
    width: 2.45rem;
    height: 2.45rem;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.yc-radio-lounge__toggle--play {
    background: linear-gradient(180deg, #5cb85c 0%, #449d44 100%);
}

.yc-radio-lounge__toggle--stop {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
}

.yc-radio-lounge__toggle-icon {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.yc-radio-lounge__toggle-icon--stop {
    width: 0.62rem;
    height: 0.62rem;
    background: #fff;
    border-radius: 2px;
    display: block;
}

.yc-radio-lounge__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.yc-radio-lounge__volume-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    max-width: 68%;
}

.yc-radio-lounge__volume {
    flex: 1;
    min-width: 0;
    accent-color: #9b59b6;
    height: 0.32rem;
    cursor: pointer;
}

.yc-radio-lounge__vol-icon {
    font-size: 0.72rem;
    line-height: 1;
    opacity: 0.9;
    flex-shrink: 0;
}

.yc-radio-lounge__status {
    margin: 0.42rem 0 0;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.88);
}

.yc-radio-lounge__status.is-live {
    color: #fff;
}

.yc-radio-lounge__status.is-error {
    color: #ffb4b4;
}

.yc-radio-lounge__tabs {
    display: flex;
    gap: 0.28rem;
    margin: 0.42rem 0 0.38rem;
    flex-shrink: 0;
}

.yc-radio-lounge__tab {
    flex: 1;
    border: none;
    border-radius: 0.42rem;
    padding: 0.32rem 0.18rem;
    background: #555b60;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.yc-radio-lounge__tab:hover,
.yc-radio-lounge__tab.is-active {
    background: #656d73;
}

.yc-radio-lounge__list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-bottom: 0.15rem;
}

.yc-radio-lounge__section-title {
    margin: 0.18rem 0 0.08rem;
    padding: 0.12rem 0.15rem 0;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-align: right;
}

.yc-radio-lounge__station {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    border: none;
    background: #555b60;
    border-radius: 0.42rem;
    padding: 0.42rem 0.48rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    transition: background 0.15s ease;
}

.yc-radio-lounge__station:hover {
    background: #606870;
}

.yc-radio-lounge__station.is-active {
    background: #9b59b6;
}

.yc-radio-lounge__station-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0 1rem;
}

.yc-radio-lounge__station-speaker {
    position: absolute;
    left: 0.48rem;
    right: auto;
    flex-shrink: 0;
    font-size: 0.72rem;
    opacity: 0;
    width: 0.85rem;
    text-align: center;
}

.yc-radio-lounge__station.is-active .yc-radio-lounge__station-speaker {
    opacity: 1;
}

.yc-radio-lounge__empty {
    margin: 0.8rem 0;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
}

#chat__body__live-pane.yc-live-pane--radio #radio-container,
#chat__body__live-pane.yc-live-pane--radio #chat__body__live-pane__tv {
    display: none !important;
}

.chat_pane__room_item--banner {
    height: 5.5rem;
    min-height: 5.5rem;
    padding: 0 !important;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
}

.chat_pane__room_item--banner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.0rem;
    background: rgba(85, 83, 83, 0.450) !important;
    z-index: 1;
    pointer-events: none;
}

.chat_pane__room_item--banner .chat_pane__room_item__flag,
.chat_pane__room_item--banner .chat_pane__room_item__name,
.chat_pane__room_item--banner .chat_pane__room_item__description {
    display: none !important;
}

.chat_pane__room_item--banner .chat_pane__room_item__users,
.chat_pane__room_item--banner .chat_pane__room_item__users--banner,
#chat__body__rooms_pane .chat_pane__room_item--banner.has-mic .chat_pane__room_item__users,
#chat__body__rooms_pane .chat_pane__room_item--banner.has-mic .chat_pane__room_item__users--banner,
#chat__body__rooms_pane .chat_pane__room_item--banner.has-mic span.chat_pane__room_item__users,
#chat__body__rooms_pane .chat_pane__room_item--banner.has-mic span.chat_pane__room_item__users--banner {
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    min-width: 0;
    background: none !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.22rem 0.35rem 0.18rem;
    border-radius: 0;
    text-align: center;
    line-height: 1.3;
    z-index: 2;
    box-shadow: none;
    border: 0;
}

.chat_pane__room_item--banner .chat_pane__room_item__users--banner::before {
    margin-left: 0.15rem;
}

.chat_pane__room_item--banner.locked::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: url("/images/lock.png") center/contain no-repeat;
    z-index: 3;
}

.chat_pane__room_item--banner.active {
    border-right: 0.25rem solid #4491f7;
    border-left: 0.25rem solid #4491f7;
}

#popup_container .popup {
    min-width: 7.5rem !important;
    max-width: 10.8333333333rem !important;
    position: absolute !important;
    top: 30% !important;
    padding: 0.25rem 0.3rem 0.35rem !important;
    z-index: 2000 !important;
    border: none !important;
    border-radius: 0.35rem !important;
    background: #fff !important;
    background-color: #fff !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.12) !important;
    animation: none !important;
    -webkit-animation: none !important;
    transition: none !important;
    direction: rtl;
    text-align: center !important;
}

#popup_container .popup.popup--yc .popup__sender,
#popup_container .popup.popup--yc .popup__message {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#popup_container .popup.popup--yc .popup__sender__avatar,
#popup_container .popup.popup--yc .popup__sender__name,
#popup_container .popup.popup--yc .popup__message p,
#popup_container .popup.popup--yc .popup__message span {
    float: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

#popup_container .popup.popup--yc .popup__sender__avatar {
    display: block !important;
    margin: 0 auto 0.25rem !important;
}

#popup_container .popup.popup--complaint .popup__title {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35) !important;
}

#popup_container .popup.popup--complaint .popup__complaint-subject {
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    margin: 0.15rem 0 0 !important;
    padding: 0 0.15rem !important;
    word-break: break-word;
}

#popup_container .popup .popup__title,
#popup_container .popup .popup__title.label,
#popup_container .popup .popup__title.label-primary {
    display: block !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: -0.58rem auto 0.3rem !important;
    width: 52% !important;
    padding: 0.12rem 0.3rem !important;
    line-height: 1.5 !important;
    border: none !important;
    border-radius: 0.25rem !important;
    background: linear-gradient(135deg, #5b7cfa, #6366f1) !important;
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35) !important;
}

#popup_container .popup.popup--ttt .popup__title {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
}

#popup_container .popup.popup--ludo .popup__title {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
}

#popup_container .popup.popup--uno .popup__title {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35) !important;
}

#popup_container .popup .popup__sender {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    float: right !important;
}

#popup_container .popup .popup__sender__avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 0.25rem !important;
    margin-right: 0.1em !important;
    object-fit: cover;
    border: 1px solid #e2e8f0 !important;
    float: right !important;
}

#popup_container .popup .popup__sender__name {
    margin: 0.2em 0 !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    padding: 0.15em 0 0 !important;
    max-width: 80% !important;
    color: #1e293b !important;
    float: right !important;
}

#popup_container .popup .popup__message {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    margin-top: 0.2em !important;
    width: 100% !important;
    padding: 0 0.2em !important;
    word-break: break-word;
    color: #334155 !important;
    float: right !important;
}

#popup_container .popup p {
    margin-bottom: 0.4em;
}

#popup_container .popup .popup__message__body {
    padding-top: 0.2rem;
    font-weight: 600;
    color: #64748b;
}

#popup_container .popup.popup--invite {
    min-width: 9rem !important;
    max-width: 11.75rem !important;
}

#popup_container .popup .popup__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 0.35rem;
    padding: 0;
    width: 100%;
}

#popup_container .popup .popup__actions .btn {
    flex: 1 1 50%;
    min-width: 3.4rem;
    margin: 0 !important;
    padding: 0.28rem 0.55rem !important;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    border: none !important;
    border-radius: 0.22rem !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#popup_container .popup .popup__actions .btn-success,
#popup_container .popup .popup__request_ludo_accept,
#popup_container .popup .popup__request_ttt_accept,
#popup_container .popup .popup__request_ttt_rematch_accept,
#popup_container .popup .popup__request_uno_accept,
#popup_container .popup .popup__message__body__trust_user {
    background: #22c55e !important;
    color: #fff !important;
}

#popup_container .popup .popup__actions .btn-danger,
#popup_container .popup .popup__request_ludo_refuse,
#popup_container .popup .popup__request_ttt_refuse,
#popup_container .popup .popup__request_ttt_rematch_close,
#popup_container .popup .popup__request_uno_refuse {
    background: #ef4444 !important;
    color: #fff !important;
}

#popup_container .popup .popup__request_ludo_accept,
#popup_container .popup .popup__request_uno_accept {
    margin-right: 0 !important;
}

#popup_container .popup .gifts_picker__contianer__img {
    max-height: 1.75rem;
    vertical-align: middle;
}

#chat__body__notifications-pane .notification {
    min-width: 7.5rem;
    max-width: 10.8333333333rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.3rem 0.35rem;
    border: none;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.1);
    position: relative;
    direction: rtl;
    text-align: center;
}

#chat__body__notifications-pane .notification__sender,
#chat__body__notifications-pane .notification__message {
    text-align: center !important;
    width: 100%;
}

#chat__body__notifications-pane .notification__title {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    margin: -0.58rem auto 0.3rem;
    width: 52%;
    padding: 0.12rem 0.3rem;
    line-height: 1.5;
    border: none !important;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #5b7cfa, #6366f1) !important;
    color: #fff !important;
}

#chat__body__notifications-pane .notification__sender__avatar {
    width: 24px;
    height: 24px;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;
}

#chat__body__notifications-pane .notification__sender__name,
#chat__body__notifications-pane .notification__message {
    font-size: 0.6rem;
    font-weight: 700;
    color: #334155;
}

#chat__body__wall_pane .chat_pane__container {
    position: relative;
}

.wall_new_messages_banner {
    display: none;
    position: sticky;
    top: 0;
    z-index: 12;
    width: 100%;
    max-width: 100%;
    min-height: 25px;
    height: 25px;
    margin: 0 0 0.2rem;
    padding: 0 0.35rem;
    border: none;
    border-radius: 0;
    background: #62b4bd;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    line-height: 25px;
    letter-spacing: 0.01em;
    box-sizing: border-box;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.wall_new_messages_banner.is-visible {
    display: block;
}

.wall_new_messages_banner:hover,
.wall_new_messages_banner:focus {
    filter: brightness(1.06);
    opacity: 0.97;
    outline: none;
}

.wall_new_messages_banner:active {
    filter: brightness(0.98);
}

.wall_poll_slot {
    --wall-poll-accent: #5b6ee1;
    padding: 0.2rem 0.32rem 0.08rem;
}

.wall_poll_box--elite {
    position: relative;
    background: linear-gradient(165deg, #ffffff 0%, #f4f7ff 55%, #eef3ff 100%);
    border: 1px solid rgba(91, 110, 225, 0.28);
    border-radius: 0.38rem;
    padding: 0.32rem 0.36rem 0.34rem;
    margin-bottom: 0.28rem;
    box-shadow:
        0 4px 14px rgba(91, 110, 225, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    overflow: hidden;
}

.wall_poll_box--elite::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--wall-poll-accent),
        #7c8ef5,
        transparent
    );
    opacity: 0.95;
}

.wall_poll_box--elite .wall_poll_box__head {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    margin-bottom: 0.18rem;
    padding-bottom: 0.14rem;
    border-bottom: 1px solid rgba(91, 110, 225, 0.15);
}

.wall_poll_box--elite .wall_poll_box__icon {
    flex-shrink: 0;
    color: var(--wall-poll-accent);
    font-size: 0.54rem;
    filter: drop-shadow(0 1px 2px rgba(91, 110, 225, 0.25));
}

.wall_poll_box--elite .wall_poll_box__question {
    flex: 1;
    margin: 0;
    font-size: 0.58rem;
    line-height: 1.4;
    font-weight: 700;
    color: #2a3358;
    min-width: 0;
    text-align: right;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_box__close {
    flex-shrink: 0;
    padding: 0 0.24rem !important;
    line-height: 1.05 !important;
    font-size: 0.58rem !important;
    border-radius: 0.18rem !important;
    min-width: auto !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.wall_poll_box--elite .wall_poll_box__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.14rem;
    font-size: 0.5rem;
    font-weight: 600;
    color: #5a6488;
    margin: 0 0 0.18rem auto;
    padding: 0.08rem 0.28rem;
    background: linear-gradient(180deg, #f0f3fc, #e8edfa);
    border: 1px solid rgba(91, 110, 225, 0.18);
    border-radius: 999px;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_box__meta .fa-users {
    color: var(--wall-poll-accent);
    font-size: 0.48rem;
}

.wall_poll_box--elite .wall_poll_box__details {
    padding: 0 0.1rem !important;
    font-size: 0.48rem !important;
    color: var(--wall-poll-accent) !important;
    vertical-align: baseline;
    line-height: 1.2;
}

.wall_poll_box--elite .wall_poll_chart {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0.28rem;
    margin: 0.1rem 0 0.16rem;
    padding: 0.2rem 0.22rem 0.12rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(91, 110, 225, 0.12);
    border-radius: 0.32rem;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_chart__col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_chart__col--lead .wall_poll_chart__label {
    color: var(--wall-poll-accent);
}

.wall_poll_box--elite .wall_poll_chart__col--lead .wall_poll_chart__track {
    border-color: rgba(91, 110, 225, 0.35);
    box-shadow: inset 0 1px 3px rgba(30, 45, 90, 0.08), 0 2px 6px rgba(91, 110, 225, 0.12);
}

.wall_poll_box--elite .wall_poll_chart__label {
    width: 100%;
    font-size: 0.5rem;
    font-weight: 700;
    color: #3d4668;
    line-height: 1.25;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_chart__pct {
    font-size: 0.48rem;
    font-weight: 800;
    color: var(--wall-poll-accent);
    line-height: 1.1;
    margin-bottom: 0.08rem;
    direction: ltr;
    unicode-bidi: isolate;
}

.wall_poll_box--elite .wall_poll_chart__track {
    width: 100%;
    max-width: 1.35rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #e8edf5;
    border: 1px solid #dce3f0;
    border-radius: 0.22rem 0.22rem 0.12rem 0.12rem;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(30, 45, 90, 0.08);
}

.wall_poll_box--elite .wall_poll_chart__fill {
    width: 100%;
    min-height: 3px;
    border-radius: 0.12rem 0.12rem 0 0;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.wall_poll_box--elite .wall_poll_chart__fill--1 {
    background: linear-gradient(0deg, #2e9648, #5ecf7a);
    box-shadow: 0 -2px 8px rgba(46, 155, 79, 0.25);
}

.wall_poll_box--elite .wall_poll_chart__fill--2 {
    background: linear-gradient(0deg, #ef6c00, #ffb74d);
    box-shadow: 0 -2px 8px rgba(255, 152, 0, 0.22);
}

.wall_poll_box--elite .wall_poll_chart__sub {
    margin-top: 0.1rem;
    font-size: 0.44rem;
    font-weight: 600;
    color: #6b7a99;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_box__actions {
    display: flex;
    flex-direction: row;
    gap: 0.22rem;
    margin-top: 0.18rem;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_box__actions .wall_poll_box__vote {
    flex: 1;
    padding: 0.16rem 0.22rem !important;
    font-size: 0.5rem !important;
    line-height: 1.25 !important;
    border-radius: 999px !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.wall_poll_box--elite .wall_poll_box__vote--1 {
    background: linear-gradient(180deg, #43b35d, #2e9648) !important;
    color: #fff !important;
}

.wall_poll_box--elite .wall_poll_box__vote--2 {
    background: linear-gradient(180deg, #ffa726, #ef6c00) !important;
    color: #fff !important;
}

.wall_poll_box--elite .wall_poll_box__actions .wall_poll_box__vote:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.wall_poll_box--elite .wall_poll_box__actions .wall_poll_box__vote:active {
    transform: translateY(0);
}

.wall_poll_box--elite .wall_poll_box__voted {
    margin: 0.18rem 0 0;
    padding: 0.14rem 0.26rem;
    font-size: 0.5rem;
    font-weight: 600;
    color: #1b5e20;
    background: linear-gradient(180deg, #e8f8eb, #d9f2dd);
    border: 1px solid #a5d6a7;
    border-radius: 0.28rem;
    text-align: center;
    direction: rtl;
}

.wall_poll_box--elite .wall_poll_box__voted .fa {
    margin-left: 0.12rem;
    color: #2e7d32;
}

.wall_poll_details_modal .modal-content {
    border-radius: 0.38rem;
    overflow: hidden;
    border: 1px solid #d4ddf5;
    box-shadow: 0 10px 28px rgba(91, 110, 225, 0.18);
}

.wall_poll_details_modal .modal-header {
    border-bottom: 1px solid #e8edf8;
    padding: 0.45rem 0.55rem;
    background: linear-gradient(180deg, #f8faff, #eef2fc);
}

.wall_poll_details_modal .modal-title {
    font-size: 0.62rem;
    font-weight: 700;
    color: #2a3358;
}

.wall_poll_creator__panel {
    border-radius: 0.4rem !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25) !important;
}
