/* Amigo chat skeleton loading.
   Placeholders reuse the REAL class names of the rows they stand in for (user_item, ch_logs, news_box, room_celem...),
   and every bar is an inline-block holding transparent text in the same font, so a skeleton row is exactly as tall as
   the real row it becomes, in any theme and font. */
.sk_wrap{pointer-events:none;user-select:none;-webkit-user-select:none}
.sk_t,.sk_c,.sk_b{position:relative;overflow:hidden;background:rgba(128,128,128,.2)}
.sk_t{white-space:nowrap;display:inline-block;vertical-align:top;max-width:100%;border-radius:6px;color:transparent !important;text-shadow:none !important;font-weight:inherit}
.sk_blk{display:block}
.sk_nm1{width:70px}.sk_nm2{width:92px}.sk_nm3{width:56px}
.sk_c{display:block;border-radius:50%;flex:none}
.sk_b{display:block;border-radius:10px}
.sk_t::after,.sk_c::after,.sk_b::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.14),rgba(255,255,255,0));animation:skSlide 1.5s ease-in-out infinite}
@keyframes skSlide{to{transform:translateX(100%)}}
.sk_w20{width:20%}.sk_w30{width:30%}.sk_w40{width:40%}.sk_w50{width:50%}.sk_w60{width:60%}.sk_w70{width:70%}.sk_w80{width:80%}.sk_w90{width:90%}.sk_w100{width:100%}
.sk_btn{color:transparent !important;background:rgba(128,128,128,.2) !important;border:0;box-shadow:none;text-shadow:none}
.sk_btn i{visibility:hidden}
.sk_wrap input[disabled]{opacity:.55}
.sk_pill{color:transparent;background:rgba(128,128,128,.2) !important}
.sk_pill .cbl_pd,.sk_pill i{visibility:hidden}
/* lists that are waiting for their first answer */
.sk_chatli{list-style:none;width:100%}
.sk_wrap .chat_message{display:block;width:100%}
.sk_wrap .user_item,.sk_wrap .ch_logs,.sk_wrap .room_celem{cursor:default}
.sk_wrap .cbl_card.room_celem:hover{transform:none;background:rgba(128,128,128,.08);border-color:rgba(128,128,128,.18);box-shadow:none}
/* the real content fades in over the placeholder instead of popping */
.sk_in{animation:skIn .24s ease-out}
@keyframes skIn{from{opacity:0}to{opacity:1}}
/* lazy images (avatars, room icons, chat pictures) show a soft shimmer until they load; yall removes .lazy when done */
img.lazy{background:linear-gradient(90deg,rgba(128,128,128,.14) 25%,rgba(128,128,128,.28) 50%,rgba(128,128,128,.14) 75%);background-size:200% 100%;animation:skLazy 1.4s linear infinite}
@keyframes skLazy{from{background-position:200% 0}to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.sk_t::after,.sk_c::after,.sk_b::after{animation:none;display:none}img.lazy{animation:none}.sk_in{animation:none}}
