/* Amigo chat: Salsa (SIL Open Font License, Google Fonts), self-hosted so no outside request is made. */
@font-face {
	font-family: 'Salsa';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('salsa-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Everything that is text uses Salsa. Icons keep their own icon font (they set font-family on .fa / .fas / .far themselves). */
body, input, textarea, select, button, .setdef {
	font-family: 'Salsa', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
}

/* Amigo chat lobby room cards (room_element.php and room_element_chat.php). Colours use translucent grey so every theme works. */
#container_rooms{padding:2px 0}
.cbl_card.room_elem{display:table;width:100%;box-sizing:border-box;margin:0 0 10px;padding:12px;border-radius:14px;border:1px solid rgba(128,128,128,.18);background:rgba(128,128,128,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.cbl_card.room_elem:last-child{margin-bottom:0}
.cbl_card.room_elem:hover,.cbl_card.room_elem:focus-visible{transform:translateY(-2px);background:rgba(128,128,128,.14);border-color:rgba(var(--amg-rgb,3,173,216),.55);box-shadow:0 6px 16px rgba(0,0,0,.22);outline:none}
.cbl_card.room_elem:active{transform:translateY(0) scale(.995)}
.cbl_card .room_icon_wrap{position:relative}
.cbl_card .room_icon{transition:transform .18s ease}
.cbl_card:hover .room_icon{transform:scale(1.05)}
.cbl_dot{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border-radius:50%;background:#8a8f98;border:2px solid #1b1b1f;box-sizing:border-box}
.cbl_live .cbl_dot{background:#2ECC71;animation:cblPulse 2.4s ease-out infinite}
@keyframes cblPulse{0%{box-shadow:0 0 0 0 rgba(46,204,113,.55)}70%,100%{box-shadow:0 0 0 7px rgba(46,204,113,0)}}
.cbl_pill{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:bold;background:rgba(128,128,128,.18)}
.cbl_pill i{font-size:10px;opacity:.75}
.cbl_pd{width:7px;height:7px;border-radius:50%;background:#8a8f98}
.cbl_live .cbl_pill{background:rgba(46,204,113,.16)}
.cbl_live .cbl_pd{background:#2ECC71}
@media (prefers-reduced-motion:reduce){.cbl_card.room_elem,.cbl_card .room_icon{transition:none}.cbl_live .cbl_dot{animation:none}.cbl_card.room_elem:hover{transform:none}}

.cbl_card.room_celem{display:table;width:100%;box-sizing:border-box;margin:0 0 8px;padding:9px;border-radius:12px;border:1px solid rgba(128,128,128,.18);background:rgba(128,128,128,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.cbl_card.room_celem:last-child{margin-bottom:0}
.cbl_card.room_celem:hover,.cbl_card.room_celem:focus-visible{transform:translateY(-1px);background:rgba(128,128,128,.14);border-color:rgba(var(--amg-rgb,3,173,216),.55);box-shadow:0 4px 12px rgba(0,0,0,.22);outline:none}
.cbl_card .room_cicon_wrap{position:relative}
.cbl_card.room_celem .cbl_dot{width:11px;height:11px}
.cbl_card.room_celem .cbl_pill{font-size:11px;padding:1px 8px}
@media (prefers-reduced-motion:reduce){.cbl_card.room_celem{transition:none}.cbl_card.room_celem:hover{transform:none}}
