/* reset css */
* {
    box-sizing: border-box;
}

html {
    margin: 0em;
    padding: 0;
    height: 100%;
    width: 100%;
}

a {
    outline: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: Tajawal, 'trebuchet ms', 'lucida grande', 'lucida sans unicode', arial, helvetica;
    font-size: 14px;
    width: 100%;
    height: 100%;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 0;
}

p {
    padding: 0;
    margin: 0;
}

img {
    border: 0px;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 5px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    list-style: none;
}

button {
    border: none;
    outline: none !important;
    cursor: pointer;
}

textarea,
input {
    resize: none;
    font-size: 14px;
    font-family: Tajawal, "trebuchet ms", "lucida grande", "lucida sans unicode", arial, helvetica, sans-serif;
}

input {
    font-family: Tajawal, 'trebuchet ms', 'lucida grande', 'lucida sans unicode', arial, helvetica, sans-serif;
}

* {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(7 174 227) transparent;
    /* Firefox */
}

*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: transparent;
}

*::-webkit-scrollbar-track {
    background: transparent !important;
    box-shadow: none;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(136, 136, 136, 0.5);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* table and cell css */
.btable {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.btable_auto {
    display: table;
    table-layout: auto;
}

.btable_height {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.bcell {
    display: table-cell;
}

.bcell_auto {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
}

.brow {
    display: table-row;
}

.brow_center {
    display: table-row;
    vertical-align: middle;
}

.bcell_mid {
    display: table-cell;
    vertical-align: middle;
}

.bcell_mid_center {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.bcell_mid_auto {
    display: table-cell;
    vertical-align: middle;
    width: 1%;
    white-space: nowrap;
}

.bcell_mid_right {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.bcell_mid_left {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.bcell_top {
    display: table-cell;
    vertical-align: top;
}

.bcell_bottom {
    display: table-cell;
    vertical-align: bottom;
}

/* overflow */
.bflow {
    overflow: hidden;
}

.maxflow {
    overflow: hidden;
    max-width: 100%;
}

/* listing css */
.sub_list_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 12px 10px;
    cursor: pointer;
}

.sub_list_avatar,
.sub_list_img {
    width: 40px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.sub_list_room {
    width: 40px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.sub_list_gift {
    width: 50px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.sub_list_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.sub_list_img img {
    width: 40px;
    height: 40px;
    display: block;
}

.sub_list_room img {
    width: 40px;
    height: 40px;
    display: block;
}

.sub_list_gift img {
    height: 50px;
    width: auto;
    display: block;
}

.sub_list_icon img {
    height: 30px;
    width: 30px;
    display: block;
    border-radius: 50%;
}

.sub_list_sicon img {
    height: 20px;
    width: 20px;
    display: block;
    border-radius: 50%;
}

.sub_list_option {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
    text-align: center;
    font-size: 16px;
}

.sub_list_icon {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    text-align: center;
    font-size: 16px;
}

.sub_list_sicon {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    text-align: center;
    font-size: 16px;
}

.sub_list_ricon {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    text-align: center;
}

.sub_list_state {
    display: table-cell;
    width: 30px;
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
}

.sub_list_selected {
    display: table-cell;
    vertical-align: middle;
    width: 24px;
    text-align: center;
    font-size: 15px;
}

.sub_list_content {
    display: table-cell;
    vertical-align: middle;
}

.sub_list_pcontent {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

.sub_list_status {
    display: table-cell;
    vertical-align: middle;
    width: 120px;
}

.sub_list_timer {
    display: table-cell;
    vertical-align: middle;
    width: 100px;
}

.sub_list_cell {
    display: table-cell;
    vertical-align: middle;
}

.sub_list_cell_top {
    display: table-cell;
    vertical-align: top;
}

.sub_list_name {
    padding: 0 10px;
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
}

.sub_list_text {
    padding: 0 5px;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
}

.sub_list_active {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

.sub_list_rank {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
}

.sub_list_rank img {
    height: 16px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.room_listing {
    border-radius: 5px;
}

/* custom select */

.boom_sel_container {
    position: relative;
}

.boom_sel {
    padding: 10px;
    position: relative;
    cursor: pointer;
}

.boom_sel_icon {
    width: 24px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.boom_sel_icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.boom_sel_text {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

.boom_sel_menu {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    font-size: 16px;
    text-align: center;
}

.boom_opt_container {
    position: absolute;
    top: 100%;
    display: none;
    z-index: 1;
}

.boom_opt {
    padding: 10px;
    cursor: pointer;
}

.boom_opt_icon {
    width: 24px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.boom_opt_icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.boom_opt_text {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

/* gift css */
.gift_edit_img {
    height: 100px;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
}

.gcard {
    width: calc((100% / 4) - 10px);
    height: 110px;
    margin: 5px;
    display: grid;
    align-items: center;
    float: left;
    position: relative;
    border-radius: 10px;
}

.gcard_img {
    width: 60px;
    max-height: 60px;
    margin: 0 auto;
}

.gcard_price {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 3px 5px;
    border-radius: 50px;
    left: 0;
    right: 0;
    margin: auto;
}

.gcard_pwrap {
    width: 14px;
}

.gcard_pwrap img {
    width: 14px;
    height: 14px;
    display: block;
}

.gift_received,
.gift_del,
.gift_selected {
    height: 90px;
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.gift_selicon {
    width: 24px;
    height: 24px;
}

.gift_selicon img {
    width: 24px;
    height: 24px;
    display: block;
}

.gift_pricing {
    font-size: 30px;
}

.gtag {
    z-index: 2;
}

/* sub menu category */
.sub_cat_item {
    width: calc((100% / 3) - 10px);
    height: 80px;
    margin: 5px;
    display: grid;
    align-items: center;
    float: left;
    position: relative;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

.sub_cat_img {
    width: 50px;
    max-height: 50px;
    border-radius: 10px;
    margin: 0 auto;
}

.sub_cat_title {
    font-size: 13px;
    text-align: center;
}


.pgcard {
    width: calc((100% / 5) - 10px);
    height: 70px;
    margin: 5px;
    display: grid;
    align-items: center;
    float: left;
    position: relative;
    border-radius: 10px;
}

.pgcard_img {
    max-width: 100%;
    max-height: 50px;
    margin: 0 auto;
}

.pgcard_count {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 1px 3px;
    border-radius: 50px;
}

/* cost element */
.cost_tag {
    padding: 3px;
    border-radius: 50px;
}

.cost_tag_icon {
    width: 16px;
}

.cost_tag_icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.cost_tag_amount {
    font-weight: bold;
    font-size: 14px;
    padding: 0 3px;
}

.cost_tag_wrapper {
    display: inline-block;
}

/* console css */
.console_date {
    width: 65px;
    display: table-cell;
    vertical-align: top;
    font-size: 11px;
}

/* date selector */
.date_form {
    display: flex;
    gap: 8px;
}

.date_col {
    flex: 1;
    min-width: 0;
}

.date_month {
    flex: 2;
}

.date_col>* {
    width: 100%;
}

/* listing element */
.listing_element {
    padding: 15px 10px;
}

.listing_half_element {
    padding: 15px 10px;
    width: calc(50% - 10px);
    float: left;
    margin: 0 5px;
}

.listing_title {
    font-weight: bold;
    padding-bottom: 3px;
}

.listing_text {
    font-size: 13px;
    word-wrap: break-word;
    min-height: 20px;
}

.listing_icon {
    width: 24px;
    font-size: 16px;
}

/* listing reg */
.listing_reg {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 15px 10px;
}

.listing_reg_icon {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 30px;
    font-size: 16px;
}

.listing_reg_content {
    display: table-cell;
    vertical-align: middle;
}

/* settings element */
.setting_element {
    padding: 10px 0;
}

/* user box list css */
.ulist_container {
    max-height: 386px;
    overflow: hidden;
    overflow-y: auto;
}

.ulist_item {
    width: 100%;
    height: auto;
    table-layout: fixed;
    display: table;
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
}

.ulist_name {
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 5px;
}

.ulist_data {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

.ulist_option {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
    text-align: center;
    font-size: 16px;
}

.ulist_avatar {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 40px;
}

.ulist_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.ulist_notify {
    display: table-cell;
    vertical-align: middle;
    width: 32px;
    text-align: center;
}

.ulist_rank {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
}

.ulist_rank img {
    height: 16px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* userlist element css */
.user_item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.user_item_avatar {
    display: table-cell;
    vertical-align: middle;
    width: 36px;
    position: relative;
}

.user_item_avatar .acav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.user_item_data,
.user_item_name {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 10px;
}

.user_item_icon {
    display: table-cell;
    vertical-align: middle;
    width: 24px;
    text-align: center;
    font-size: 15px;
}

.user_item_option {
    width: 40px;
    text-align: center;
    font-size: 20px;
    vertical-align: middle;
    display: table-cell;
}

.user_item_div {
    width: 60px;
    text-align: center;
    font-size: 20px;
    vertical-align: middle;
    display: table-cell;
}

.user_item_flag {
    width: 24px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.user_item_flag img {
    width: 20px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    border-radius: 2px;
}

.list_status {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
}

.list_mood {
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.list_flag {
    height: 13px;
    width: auto;
    border-radius: 2px;
}

.list_rank {
    height: 15px;
    width: auto;
    display: inline-block;
}

.list_mute {
    height: 15px;
    width: auto;
}

.list_mob {
    height: 15px;
    width: auto;
}

.list_ghost {
    height: 15px;
    width: auto;
}

/* switch element */
.switch_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 15px;
    cursor: pointer;
    margin-bottom: 3px;
    border-radius: 5px;
}

.switch_item_switch {
    display: table-cell;
    vertical-align: middle;
    width: 60px;
}

.switch_item_text {
    display: table-cell;
    vertical-align: middle;
}

.switch_wrap {
    display: block;
    width: 50px;
    margin: 0 auto;
}

.bswitch {
    display: table;
    width: 50px;
    padding: 2px;
    border-radius: 100px;
}

.bball_wrap {
    display: table-cell;
    vertical-align: middle;
}

.bball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
}

.offswitch {
    background: #ccc;
}

.onswitch {
    background: #74b20e;
}

.onball {
    background: #fff;
    margin-left: 22px;
}

.offball {
    background: #fff;
    margin-left: 0px;
}

/* bubtext */
.bubtext {
    display: inline-block;
    margin-bottom: 3px;
}

.bubtext:not(:last-child)::after {
    content: ",";
}

/* ghost post */
.ghost_post {
    border-left: 8px solid;
    border-right: 0px;
}

/* pagination element */
.pagarrow,
.paglist,
.pagload {
    padding: 10px 15px;
    font-weight: bold;
    display: inline-block;
    margin: 2px 5px;
    border-radius: 10px;
    cursor: pointer;
}

.pagdot {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 8px;
    border-radius: 50%;
    cursor: pointer;
}

/* color choices */
.preview_zone {
    margin-bottom: 20px;
}

#preview_name {
    font-weight: bold;
    display: inline-block;
}

#preview_text {
    line-height: 1.4em;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
}

/* boom simple top box */
.boom_top_wrap {
    position: relative;
}

.boom_top {
    padding: 10px 15px;
}

.boom_top_close {
    cursor: pointer;
    width: 40px;
    text-align: center;
    font-size: 20px;
}

.boom_top_avatar {
    width: 32px;
}

.boom_top_avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.boom_top_name {
    padding: 0 10px;
}

/* text area css */
.xlarge_textarea {
    height: 300px;
    max-height: 300px;
}

.large_textarea {
    height: 180px;
    max-height: 180px;
}

.medium_textarea {
    height: 100px;
    max-height: 100px;
}

.small_textarea {
    height: 65px;
    max-height: 65px;
}

/* text special css */
.no_break {
    white-space: nowrap;
}

.aleft {
    text-align: left;
}

.aright {
    text-align: right;
}

.acenter {
    text-align: center;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

.bellips {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.tbreak {
    word-wrap: break-word;
}

/* button css */
.btn_ellips {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.full_button {
    width: 100%;
    text-align: center;
}

.button_half {
    width: 49%;
    text-align: center;
}

.button_left {
    float: left;
}

.button_right {
    float: right;
}

.button {
    padding: 10px;
}

.tbutton {
    padding: 8px 10px;
}

.macro_button {
    padding: 2px 8px;
    margin: 2px 0 0 0;
    font-size: 11px;
    min-width: 20px;
}

.micro_button {
    padding: 3px 8px;
    margin: 2px 0 0 0;
    font-size: 12px;
    min-width: 20px;
}

.count_button {
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 50px;
}

.tiny_button {
    padding: 3px 10px;
    margin: 5px 0 0 0;
    min-width: 40px;
}

.thin_button {
    padding: 5px 10px;
    min-width: 100px;
}

.reg_button {
    padding: 10px;
    min-width: 100px;
    background: #ff0000
}

.card_button {
    padding: 8px 10px;
    min-width: 100px;
    max-width: 100px;
}

.mod_button {
    padding: 8px 10px;
    min-width: 100px;
    margin: 0 0 5px 0;
}

.modr_button {
    padding: 8px 10px;
    margin: 0 0 5px 0;
}

.small_button {
    padding: 8px 5px;
    min-width: 50px;
}

.large_button {
    padding: 10px 20px;
    border-radius: 3px;
    min-width: 200px;
    font-size: 16px;
}

.small_button_rounded {
    padding: 8px 12px;
    border-radius: 25px;
}

.large_button_rounded {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    min-width: 200px;
    margin-top: 5px;
}

.small_button,
.reg_button,
.mod_button,
.modr_button,
.button,
.tbutton,
.tiny_button,
.micro_button,
.thin_button,
.macro_button,
.card_button {
    border-radius: 5px;
}

.panel_full_btn {
    padding: 10px;
}

.rounded_button {
    border-radius: 100px;
}

.round_button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.work_button {
    display: none;
}

/* view height */
.vheight {
    min-height: calc(100vh - 100px);
}

/* box css */
.box_height {
    max-height: 500px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height800 {
    max-height: 800px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height700 {
    max-height: 700px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height600 {
    max-height: 600px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height500 {
    max-height: 500px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height400 {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

.box_height300 {
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
}

/* misc element css */
.bblock {
    display: block;
}

.inblock {
    display: inline-block;
}

.binline {
    display: inline;
}

.centered_element,
.centered {
    text-align: center;
}

.hidden {
    display: none;
}

.fhide {
    display: none !important;
}

.bclick {
    cursor: pointer;
}

.fa,
.fa-regular,
.fa-solid,
.fa-brands,
.bi {
    cursor: pointer;
}

.bwfull {
    width: 100%;
}

.bhfull {
    height: 100%;
}

.noflow {
    overflow: hidden;
}

.brelative {
    position: relative;
}

/* font style css */
.ital {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.boldital {
    font-weight: bold;
    font-style: italic;
}

.heavybold {
    font-weight: 800;
}

.heavyital {
    font-weight: 800;
    font-style: italic;
}

/* text css */
.text_xmicro {
    font-size: 9px;
}

.text_micro {
    font-size: 10px;
}

.text_xsmall {
    font-size: 11px;
}

.text_ssmall {
    font-size: 12px;
}

.text_small {
    font-size: 12px;
}

.text_reg {
    font-size: 14px;
}

.text_xreg {
    font-size: 15px;
}

.text_xxreg {
    font-size: 16px;
}

.text_med {
    font-size: 18px;
}

.text_xmed {
    font-size: 20px;
}

.text_large {
    font-size: 22px;
}

.text_xlarge {
    font-size: 25px;
}

.text_jumbo {
    font-size: 35px;
}

.text_xjumbo {
    font-size: 45px;
}

.text_ultra {
    font-size: 60px;
}

.text_xultra {
    font-size: 60px;
}

.noem {
    line-height: 1em;
}

/* avatar css */
.avatar_menu {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    margin: 0 auto;
}

.avatar_small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.avatar_med {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.avatar_large {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.avatar_xlarge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.avatar_jumbo {
    width: 140px;
    height: 140px;
    border-radius: 5px;
    display: block;
    cursor: pointer;
}

/* form css */
.form_content {}

.form_control {
    padding-top: 15px;
}

.form_left,
.form_left_full {
    width: 50%;
    float: left;
    padding-right: 3px;
}

.form_right,
.form_right_full {
    width: 50%;
    float: right;
    padding-left: 3px;
}

.form_split {
    width: 100%;
    clear: both;
}

.form_tier {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.form_tier1 {
    display: table-cell;
    padding-right: 2px;
}

.form_tier2 {
    display: table-cell;
    padding: 0 2px;
}

.form_tier3 {
    display: table-cell;
    padding-left: 2px;
}

/* page menu */
.page_menu_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 15px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.page_menu_icon {
    display: table-cell;
    vertical-align: middle;
    width: 26px;
    text-align: center;
    font-size: 16px;
}

.page_menu_text {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 5px;
}

.page_menu_notify {
    display: table-cell;
    vertical-align: middle;
    width: 16px;
}

.page_drop {
    display: none;
}

.page_drop_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 15px 30px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.page_drop_icon {
    display: table-cell;
    vertical-align: middle;
    width: 24px;
    text-align: center;
}

.page_drop_text {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popen {
    display: none;
}

/* listing css */
.puser_item {
    padding: 8px 10px;
    display: table;
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    text-shadow: none;
}

.puser_avatar {
    display: table-cell;
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

.puser_avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.puser_option {
    width: 30px;
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    text-align: center;
}

.puser_name {
    padding: 0 6px;
    font-size: 14px;
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.puser_icon {
    width: 30px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.puser_icon img {
    width: 16px;
    height: 16px;
    margin: 0 auto;
    display: block;
}

.puser_text {
    display: table-cell;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: initial;
}

.puser_rank {
    width: 34px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
    font-size: 15px;
}

.puser_rank img {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    display: block;
}

.puser_score {
    display: table-cell;
    vertical-align: middle;
    width: 80px;
    text-align: right;
}

/* pro menu */
.fmenu {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    display: none;
    text-align: initial;
}

.fmenu_item {
    padding: 12px 10px;
    display: table;
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    text-shadow: none;
    border-radius: 5px;
}

.fmenu_avatar {
    display: table-cell;
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

.fmenu_avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.fmenu_option {
    width: 30px;
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    text-align: center;
}

.fmenu_name {
    padding: 0 5px;
    font-size: 14px;
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.fmenu_notify {
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    width: 12px;
    position: relative;
}

.fmenu_arrow {
    width: 20px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
}

.fmenu_icon {
    width: 30px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 16px;
}

.fmenu_icon img {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
}

.fmenu_gimg,
.fmenu_timg,
.fmenu_aimg,
.fmenu_himg,
.fmenu_img,
.fmenu_simg {
    width: 40px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.fmenu_gimg img,
.fmenu_timg img,
.fmenu_aimg img,
.fmenu_himg img,
.fmenu_img img,
.fmenu_simg img {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
}

.fmenu_text {
    display: table-cell;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: initial;
    padding: 0 5px;
}

.fmenu_otext {
    display: table-cell;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: initial;
}

.fnotify {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: none;
}

.fmenut {
    padding: 10px;
}

.fmuser {
    padding: 10px;
}

.fmenuxt {
    padding: 5px;
}

/* status icons */
.icon_status {
    border-radius: 50%;
    padding: 1px;
}

/* menus css */
.menu_spinner_wrap {
    padding: 15px;
    text-align: center;
}

.menu_spinner {
    font-size: 30px;
}

.float_top,
.float_ctop {
    display: table;
    padding: 5px;
    height: 30px;
    table-layout: auto;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

.ftop_opt_btn,
.ftop_opt_icon {
    width: 30px;
    height: 30px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.ftop_empty {
    display: table-cell;
    vertical-align: middle;
}

.ftop_opt_text {
    height: 30px;
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
    padding: 0 10px;
}

.ftop_action {
    height: 30px;
    width: 40px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.float_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.float_content {
    overflow-y: auto;
    padding: 10px;
}

.floatopt {
    padding: 5px;
    font-weight: bold;
}

.float_section {
    padding: 10px 0;
}

.float_menu {
    border-radius: 10px;
    overflow: hidden;
    overflow-y: auto;
    max-width: calc(100% - 10px);
    margin: 5px;
}

/* menus positions */
#private_opt {
    position: absolute;
    right: 0;
    top: 0;
    margin: 5px;
    z-index: 40;
    display: none;
}

#page_main_menu {
    position: fixed;
    right: 0;
    z-index: 202;
    top: 50px;
    margin: 5px;
    display: none;
}

#player_menu,
#station_menu {
    position: absolute;
    left: 0;
    bottom: 50px;
    z-index: 202;
    display: none;
    text-align: initial;
}

#leaderboard_menu,
#game_menu,
#tool_menu,
#app_menu,
#help_menu {
    position: absolute;
    left: 50px;
    top: 50px;
    z-index: 202;
    display: none;
    text-align: initial;
}

#chat_main_menu,
#status_menu,
#report_menu,
#notification_menu,
#bank_menu,
#room_options_menu,
#setting_menu,
#friends_menu,
#private_menu {
    position: absolute;
    right: 0;
    z-index: 202;
    top: 50px;
    display: none;
    text-align: initial;
}

#chat_left_menu {
    position: absolute;
    left: 0px;
    top: 50px;
    z-index: 202;
    display: none;
    text-align: initial;
}

/* menus width */
#private_opt {
    width: 200px;
}

#page_main_menu {
    width: 300px;
}

#chat_main_menu {
    width: 300px;
}

#setting_menu {
    width: 300px;
}

#status_menu {
    width: 300px;
}

#bank_menu {
    width: 300px;
}

#leaderboard_menu {
    width: 300px;
}

#tool_menu {
    width: 300px;
}

#help_menu {
    width: 300px;
}

#game_menu {
    width: 300px;
}

#app_menu {
    width: 300px;
}

#room_options_menu {
    width: 300px;
}

#report_menu {
    width: 320px;
}

#notification_menu {
    width: 320px;
}

#friends_menu {
    width: 320px;
}

#private_menu {
    width: 320px;
}

#station_menu {
    width: 320px;
}

#player_menu {
    width: 320px;
}

#chat_left_menu {
    width: 300px;
}

/* avatar menu */
#av_menu {
    width: 240px;
    height: auto;
    position: absolute;
    bottom: 0;
    left: -5000px;
    z-index: 99;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.topcard {
    padding: 10px;
    min-height: 90px;
}

.avbackground {
    background-size: cover !important;
    background-position: 50% 50% !important;
}

.bottomcard {}

.avavpart {
    text-align: center;
}

.avagegender {
    font-size: 12px;
}

.avdetails {
    text-align: center;
}

.avtopmenu {
    min-height: 15px;
    margin-bottom: -15px;
}

.avoption {
    width: 24px;
    height: 24px;
    font-size: 16px;
    text-align: center;
}

.avavatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.avusername {
    font-weight: bold;
    font-size: 20px;
    width: 100%;
}

.avcontent {
    width: 100%;
    display: block;
    position: relative;
}

.avitem {
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
}

.avitem i {
    padding: 0 3px;
}

.avtopopt {
    width: 30px;
    text-align: center;
}

.avflag {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

/* sub menus */
#log_menu {
    width: 200px;
    height: auto;
    position: absolute;
    bottom: 0;
    left: -5000px;
    z-index: 99;
    border-radius: 15px;
    overflow: hidden;
}

.submenu_item {
    padding: 10px;
    display: table;
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    text-shadow: none;
}

.subm_title {
    font-size: 13px;
    font-weight: bold;
}

.subm_sub {
    font-size: 11px;
}

.subm_icon {
    width: 30px;
    text-align: center;
}

.logmenu {
    width: 100%;
    display: block;
    position: relative;
}

/* mods css */
.top_mod {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.top_mod_empty {
    display: table-cell;
    vertical-align: middle;
}

.top_mod_option {
    display: table-cell;
    vertical-align: middle;
    font-size: 18px;
    text-align: center;
    width: 40px;
    height: 40px;
}

/*page css */
#page_global {
    display: table;
    table-layout: fixed;
    width: 100%;
}

#page_full_global {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

#page_content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: auto;
    padding: 70px 0px;
}

#page_full_content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
    padding-top: 50px;
}

#page_wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

#page_full_in {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

#side_menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 260px;
    display: none;
    overflow-y: auto;
    z-index: 3;
    padding: 50px 0px 20px 0px;
}

.page_closemenu {
    width: 40px;
    text-align: center;
}

.page_topmenu {
    height: 40px;
}

.page_wrapper_in {
    padding: 10px;
}

.page_menu_wrapper {
    overflow: hidden;
    overflow-y: auto;
}

.page_indata {
    display: table-cell;
    vertical-align: top;
}

.page_full_indata {
    display: table-cell;
    vertical-align: top;
}

.page_menu {
    display: table-cell;
    vertical-align: top;
    width: 260px;
}

.page_full {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.page_left {
    display: table-cell;
    vertical-align: top;
    padding-right: 10px;
}

.page_right {
    display: table-cell;
    vertical-align: top;
    padding-left: 10px;
}

.page_350 {
    width: 330px;
    display: table-cell;
    vertical-align: top;
}

.page_40 {
    width: 40%;
    display: table-cell;
    vertical-align: top;
}

.page_quarter {
    width: 25%;
    display: table-cell;
}

.page_half {
    width: 50%;
    display: table-cell;
    vertical-align: top;
}

.page_third {
    width: 33%;
    display: table-cell;
    vertical-align: top;
}

.page_two_third {
    width: 66%;
    display: table-cell;
    vertical-align: top;
}

.page_350 img,
.page_full img,
.page_left img,
.page_right img,
.page_40 img,
.page_quarter img,
.page_half img,
.page_third img,
.page_two_third img {
    max-width: 100%;
}

.page_element {
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 2px;
}

.split {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.split_left,
.element_left {
    width: 50%;
    display: table-cell;
    padding-right: 5px;
}

.split_right,
.element_right {
    width: 50%;
    display: table-cell;
    padding-left: 5px;
}

.page_top_elem {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.page_top_title {
    display: table-cell;
    vertical-align: middle;
}

.page_top_option {
    display: table-cell;
    vertical-align: middle;
    width: 120px;
}

.page_menu_content {
    padding: 0 0 40px 0;
}

/* label css */
.label {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: bold;
}

.sub_label {
    padding-top: 5px;
    font-size: 12px;
}

/* title css */
.mod_title {
    font-weight: bold;
    margin: 15px 0;
}

/* list css */
.list {
    padding: 15px;
}

.list li {
    list-style: disc;
    padding: 1px 0;
}

.list_icon {
    width: 20px;
    display: inline-block;
}

/* modal css */
.modal_open {
    overflow: hidden;
}

/* input css */
.full_input,
.full_textarea {
    padding: 14px 10px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 5px;
}

.edit_page_box {
    min-height: 600px;
}

.large_input {
    font-size: 20px;
}

.selectboxit-container .selectboxit-list {
    width: 100%;
}

.selectboxit-container {
    width: 100%;
}

.selectboxit-container .selectboxit {
    width: 100%;
}

.selectboxit-container .selectboxit-options {
    max-height: 180px;
    border-radius: 5px;
}

.selectboxit-container span,
.selectboxit-container .selectboxit-options a {
    height: 46px;
    line-height: 46px;
}

.selectboxit-container .selectboxit {
    border-radius: 5px;
}

/* misc element */
.username {
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}

.link_like,
.blinking {
    text-decoration: underline;
}

.no_link_like {
    text-decoration: none;
    cursor: pointer;
}

.system_text {
    display: inline-block;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    font-weight: normal !important;
    font-size: 12px;
}

.post_content .system_text {
    display: block;
    text-align: center;
    padding: 10px;
}

.del_text {
    display: inline-block;
    max-width: 100%;
    border-radius: 5px;
    font-weight: normal !important;
    font-size: 11px;
}

#content_page {
    width: 100%;
    height: auto;
}

#chat_right_data .load_more {
    margin-bottom: 50px;
}

#chat_right_bottom {
    width: 100%;
    height: 60px;
}

#chat_right_bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* form login & registration css */
.not_member {
    padding: 10px 15px;
    font-size: 12px;
    margin-top: 5px;
}

.login_control {
    margin-top: 5px;
}

.rules_click {
    cursor: pointer;
    text-decoration: underline;
}

.fbl_button {
    background: #3b5998;
    color: #fff;
}

.twit_button {
    background: #1da1f2;
    color: #fff;
}

.gplus_button {
    background: #dd4b39;
    color: #fff;
}

.gplus {
    color: #dd4b39;
}

.fbook {
    color: #3b5998;
}

.twit {
    color: #1da1f2;
}

.linkedin {
    background: #0077B5;
    cursor: pointer;
    color: #fff;
}

.uploaded_file {
    text-decoration: none !important;
    display: block;
    padding: 3px 10px;
    border-radius: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*monitor tool */
#monitor_data {
    z-index: 10000;
    position: fixed;
    top: 15px;
    left: 15px;
    padding: 15px;
    background: rgba(0, 102, 0, 0.95);
    color: #fff;
    border-radius: 5px;
    display: none;
    cursor: pointer;
    min-width: 130px;
}

/* footer css */
#menu_main_footer {
    font-size: 14px;
    width: auto;
}

#menu_main_footer li {
    display: inline-block;
    margin: 5px 10px 5px 0;
}

#menu_main_footer li a {
    color: inherit;
    text-decoration: none;
}

/* misc text css */
.text_title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
}

.text_text {
    font-size: 13px;
    margin: 7px 0;
}

.text_box {
    max-height: 500px;
    overflow-y: auto;
}

/* active_user intro  */
#intro_section_user {
    padding: 72px 0;
}

.active_user {
    height: 110px;
    text-align: center;
    float: left;
    overflow: hidden;
}

.active_embed {
    width: 50px;
    height: 50px;
    display: inline;
    margin: 5px;
}

.active_embed_user {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* outpage css */
.out_page_container {
    width: 100%;
    height: 100%;
    display: table;
    table-layout: fixed;
}

.out_page_content {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.out_page_box {
    max-width: 94%;
    width: 480px;
    margin: 0 auto;
}

.out_page_title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}

.out_page_text {
    font-size: 16px;
    margin-bottom: 15px;
}

.adm_login {
    position: absolute;
    bottom: 5px;
    left: 5px;
    display: block;
    padding: 10px;
}

/* page title */
.page_ticon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
}

.page_ttext {
    font-size: 25px;
    font-weight: bold;
    padding: 0 10px;
}

/* chat parts css */
#main_input,
#disabled_content,
#main_load_content {
    height: 40px;
    width: 100%;
}

#container_input,
#main_disabled,
#main_load {
    padding: 4px;
}

#content,
#message_content {
    width: 100%;
    height: 100%;
    padding: 0;
    padding: 0 12px;
    float: left;
    font-size: 16px;
    border-radius: 5px;
}

#inputt_left {
    height: 100%;
}

.chat_input_container {
    width: 100%;
}

.main_item {
    width: 40px;
    height: 100%;
    text-align: center;
    font-size: 20px;
    z-index: 1;
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

.main_hide {
    display: none;
}

.sub_hidden {
    display: none;
}

.input_icon {
    font-size: 18px;
}

.td_input {
    height: 100%;
    display: table-cell;
    padding: 0 3px;
}

.input_table {
    overflow: hidden;
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

#send_image {
    border-radius: 0px;
}

#submit_button {
    width: 100%;
    float: right;
    height: 100% !important;
    font-weight: bold;
    box-shadow: none !important;
    padding: 0;
    border: none !important;
    font-size: 18px;
}

#inside_wrap_chat {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#container_show_chat {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#mic_seat_bar_wrap {
    flex: 0 0 auto;
}

#show_chat {
    width: 100%;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}

#wrap_chat {
    height: 100%;
    width: 100%;
}

#warp_show_chat {
    height: 78%;
    overflow: hidden;
}

#show_chat ul {
    width: 100%;
    position: relative;
}

#wrap_footer {
    height: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 200;
}

#my_menu {
    width: 100%;
    height: 50px;
    display: table;
    table-layout: fixed;
}

.mute_mode {
    position: absolute;
    top: 5px;
    border-radius: 50px;
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
    padding: 5px;
    opacity: 0.9;
}

/* private box */
.ppanel {
    overflow: hidden;
    padding: 0;
    display: table-cell;
    vertical-align: top;
    max-width: 100% !important;
    width: 360px;
}

.pfull {
    position: absolute;
    bottom: 50px;
    right: 0;
    overflow: hidden;
    z-index: 150;
    max-width: 100% !important;
    width: 100%;
}

.pboxed {
    position: absolute;
    bottom: 50px;
    right: 0;
    overflow: hidden;
    z-index: 150;
    max-width: 100% !important;
    height: 400px !important;
    width: 400px !important;
}

.pboxed .pcontent {
    height: 310px !important;
}

#private_box {
    width: 100%;
    overflow: hidden;
}

#private_top {
    width: 100%;
    display: table;
    height: 40px;
    padding: 0 10px;
}

#private_wrap_content {
    position: relative;
}

#priv_input {
    width: 100%;
}

#private_content {
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    padding: 5px 10px;
}

#private_input,
#private_disabled,
#private_load {
    width: 100%;
    padding: 4px;
    position: relative;
}

#private_disable,
#private_load_content {
    height: 40px;
}

#message_form {
    height: 40px;
    width: 100%;
}

#private_send {
    width: 100%;
    height: 100% !important;
    cursor: pointer;
    font-size: 18px;
}

#file_private {
    width: 40px;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    display: table-cell;
    position: relative;
    text-align: center;
}

#private_left {
    display: table;
    width: 100%;
    height: 100%;
}

#private_av_wrap {
    width: 30px;
}

#private_av {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 50%;
}

#dpriv {
    position: relative;
}

#private_name {
    cursor: pointer;
    font-size: 16px;
    padding: 0 8px;
}

#dpriv_av {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.private_opt {
    width: 40px;
    text-align: center;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

.empty_private {
    padding: 20px 10px;
    text-align: center;
    font-size: 17px;
}

#inside_wrap_private {
    height: 100%;
    overflow: hidden;
}

#show_private_wrap {
    width: 100%;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}

#show_private {
    position: absolute;
    bottom: 0;
    max-height: 100%;
    overflow-y: auto;
}

#show_private li {
    width: 100%;
    margin-bottom: 3px;
}

.cannotpriv {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.private_logs {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.private_avatar {
    display: table-cell;
    width: 36px;
    vertical-align: top;
    padding: 0 5px;
}

.private_content {
    display: table-cell;
    vertical-align: top;
}

.hunter_private,
.target_private {
    padding: 10px;
    max-width: 220px;
    display: inline-block;
    word-wrap: break-word;
    line-height: 1.4em;
    border-radius: 10px;
}

.hunt_quote,
.targ_quote {
    padding: 10px;
    margin-bottom: -6px;
    max-width: 220px;
    display: inline-block;
    word-wrap: break-word;
    line-height: 1.4em;
    border-radius: 10px;
}

.hunt_quote {
    float: right;
}

.hunter_private,
.targ_quote {
    float: right;
}

.avatar_private {
    display: block;
    height: 26px;
    width: 26px;
    border-radius: 18px;
    overflow: hidden;
}

.private_logs .chat_image {
    height: 70px;
    max-width: 100%;
}

.private_logs .sticker_chat {
    height: 70px;
    max-width: 100%;
}

.ticker {
    display: table-cell;
    vertical-align: bottom;
    padding: 0 4px 12px 4px;
    width: 26px;
}

.ticker img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.priwrap {
    display: table-cell;
}

.prbox {
    width: auto;
    height: auto;
}

.privopt {
    flex-grow: 1;
    padding: 0 5px;
    text-align: right;
}

.privcont {
    width: 100%;
    margin: 0 auto;
    display: flex;
    height: auto;
    align-items: center;
}

.prdate {
    padding: 3px 5px;
    font-size: 10px;
}

.propt {
    display: table-cell;
    vertical-align: middle;
}

.ppitem {
    cursor: pointer;
}

.ppitem {
    font-size: 16px;
    width: 32px;
    padding: 5px;
    cursor: pointer;
    float: left;
    text-align: center;
}

.outpriv .prdate {
    text-align: right;
}

.outpriv .ppitem {
    float: right;
}

.outpriv .privopt {
    text-align: right;
}

/* element css */
.nogranted {
    display: none !important
}

/* chat logs css */
.ch_logs {
    padding: 5px 10px;
    word-wrap: break-word;
    display: table;
    width: 100%;
    table-layout: fixed;
    max-width: 100%;
    overflow: hidden;
    cursor: pointer;
    line-height: 1.5;
}

.ch_tlogs {
    padding: 8px 10px;
}

.ch_dlogs {
    padding: 8px 10px;
}

.other_logs {
    padding: 10px;
    word-wrap: break-word;
    display: table;
    width: 100%;
    table-layout: fixed;
    max-width: 100%;
    overflow: hidden;
}

.chat_avatar {
    display: table-cell;
    width: 40px;
    vertical-align: top;
    position: relative;
}

.cavatar {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.my_text {
    display: table-cell;
    vertical-align: top;
    padding: 0 0 0 6px;
    position: relative;
}

.topic_text {
    display: table-cell;
    vertical-align: top;
    padding: 0 10px;
    position: relative;
}

.my_text .username {
    font-size: 12px;
}

.chat_image {
    max-width: 100%;
    height: 100px;
    width: auto;
    margin: 5px 0 0 0;
    border-radius: 10px;
}

#show_chat ul {
    position: absolute;
    bottom: 0;
    max-height: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}

#show_chat li {
    position: relative;
}

.cclear,
.spclear,
.tpclear {
    display: table-cell;
    width: 24px;
    font-size: 10px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

.cdate {
    display: table-cell;
    width: 65px;
    font-size: 10px;
    vertical-align: middle;
    text-align: center;
}

.cname {
    display: table-cell;
    vertical-align: middle;
}

.chat_rank {
    display: inline-block;
    width: auto;
    height: 11px;
    margin: 0 3px 0 0;
}

.chat_ghost {
    display: inline-block;
    width: auto;
    height: 11px;
    margin: 0 3px 0 0;
}

.special_delete {
    font-size: 13px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

.emo_chat {
    height: 24px;
    max-width: 100%;
    vertical-align: bottom;
}

.sticker_chat {
    height: 80px;
    max-width: 100%;
    vertical-align: bottom;
}

.custom_chat {
    max-height: 200px;
    max-width: 400px;
}

.chat_system {
    font-size: 12px;
}

.sysname {
    font-weight: bold;
}

.chat_message {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 100%;
}

.chat_tmessage {
    max-width: min(1100px, calc(100% - 30px));
}

.bubble {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: min(1100px, calc(100% - 40px));
}

/* topic */
.topic_icon {
    display: table-cell;
    width: 40px;
    vertical-align: top;
    position: relative;
}

.tpicon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.topic_log {
    margin-top: 10px;
}

/* system logs */
.sys_log {
    padding: 5px 10px;
    word-wrap: break-word;
    display: table;
    width: 100%;
    table-layout: fixed;
    max-width: 100%;
    overflow: hidden;
}

.chat_savatar {
    display: table-cell;
    width: 40px;
    vertical-align: top;
    position: relative;
}

.savatar {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;
}

/* line height for elements */
.post_content {
    line-height: 1.4em;
}

/* empty zone css */
.empty_zone {
    padding: 15px;
    margin: 0 auto;
    text-align: center;
}

.empty_zone_icon {
    width: 64px;
    height: 64px;
}

.empty_zone_text {
    font-size: 13px;
    margin-top: 10px;
}

.empty_small_icon {
    width: 50px;
    height: 50px;
}

/* post css */
.main_post_control {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px;
}

.main_post_item {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
    font-size: 20px;
    position: relative;
    text-align: center;
}

.main_post_button {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.post_emo_content {
    max-height: 110px;
    overflow: hidden;
    overflow-y: auto;
}

.post_emo_content .emoticon img {
    height: 100%;
    width: auto;
}

.reply_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    word-wrap: break-word;
    padding: 10px;
    border-radius: 10px;
}

.reply_avatar {
    display: table-cell;
    vertical-align: top;
    width: 32px;
}

.reply_avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.reply_content {
    display: table-cell;
    vertical-align: top;
    padding: 0 5px;
}

.reply_content img {
    max-height: 160px;
}

.reply_delete {
    text-align: center;
    width: 30px;
    cursor: pointer;
}

.post_title {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.post_avatar {
    display: table-cell;
    vertical-align: middle;
    width: 36px;
}

.post_avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.post_content {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 10px 0;
    word-wrap: break-word;
}

.post_control {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 5px 0;
}

.post_element {
    height: auto;
    padding: 15px 0;
    margin: 0 auto;
}

.post_edit {
    cursor: pointer;
    width: 40px;
    font-size: 15px;
    position: relative;
}

.comment_count {
    text-align: right;
    cursor: pointer;
}

.do_comment {
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.like_count {
    float: left;
    cursor: pointer;
    padding: 5px;
    border-radius: 50px;
}

.show_reply {
    height: auto;
    overflow: hidden;
    margin-bottom: 10px;
}

.more_comment {
    cursor: pointer;
    display: block;
    padding: 8px 0;
}

.more_comment:hover {
    text-decoration: underline;
}

.post_image {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 10px 0;
}

.post_image img {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
}

.post_audio {
    margin: 10px 0;
}

.post_audio_save,
.post_video_save,
.post_zip {
    width: 100%;
    height: 60px;
    margin: 10px 0;
}

.post_audio_save img,
.post_video_save img,
.post_zip img {
    height: 100%;
    display: block;
}

.post_audio audio {
    width: 100%;
}

.post_video {
    width: 100%;
    height: 250px;
    margin: 10px 0;
}

.post_video_save {
    width: 100%;
    height: 60px;
    margin: 10px 0;
}

.post_video video {
    height: 100%;
    width: 100%;
    max-width: 100%;
    display: block;
}

.add_comment_zone {
    clear: both;
}

.add_comment {
    border-radius: 50px;
}

.post_input_container {
    border-radius: 10px;
}

.panel_wrap {
    padding: 15px 15px 30px 15px;
}

.up_data {
    display: inline-block;
    position: relative;
}

.up_file {
    display: table;
    position: relative;
    table-layout: fixed;
    width: 100%;
}

.up_file_content {
    display: table-cell;
    position: relative;
}

.up_file_control {
    display: table;
    width: 24px;
    height: 24px;
    position: absolute;
    top: -5px;
    right: -5px;
}

.up_file_remove {
    width: 24px;
    height: 24px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    cursor: pointer;
    border-radius: 50%;
}

.up_audio {
    width: 200px;
    max-width: 100%;
}

.up_video {
    height: 120px;
    border-radius: 5px;
}

.up_image {
    max-height: 50px;
    max-width: 100%;
    border-radius: 5px;
    display: block;
}

#friend_post,
#news_data {
    height: 120px;
    border: none;
    overflow: hidden;
    background: none !important;
    border: none !important;
}

#wall_file,
#news_file {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 0px !important;
}

.like_icon,
.comment_icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.wlike_icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.plike_text {
    vertical-align: middle;
}

.post_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    text-align: left;
    z-index: 1;
}

.post_menu_item {
    padding: 8px 10px;
}

.post_element .emo_chat {
    height: 18px;
}

/* video in post css */
.video_container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 5px 0 0 0;
    clear: both;
}

.video_container iframe,
.video_container object,
.video_container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#move_video,
#move_audio {
    cursor: pointer;
}

/* video in chat post */
.chat_video_container {
    width: 200px;
    height: 113px;
    position: relative;
    margin-top: 5px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    display: inline-block;
    vertical-align: top;
}

.chat_video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.chat_cvideo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: block;
    pointer-events: none;
}

.private_logs .chat_video_container {
    width: 200px;
    height: 113px;
    position: relative;
    margin-top: 5px;
    border-radius: 8px;
    overflow: hidden;
}


.cqmess .chat_video_container {
    width: 140px;
    height: 80px;
    margin-top: 2px;
}

.cqmess .chat_cvideo {
    width: 35px;
    height: 35px;
}

/* stream css */
#wrap_stream {
    width: 560px;
    height: 315px;
    border-top: 1px solid #333;
}

#wrap_stream iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

#wrap_stream video {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

#container_stream {
    width: 560px;
    height: 355px;
    z-index: 160;
    position: fixed;
    top: 100px;
    left: 50%;
    margin-left: -240px;
    margin-top: 0px;
    display: none;
    border-radius: 15px;
    overflow: hidden;
}

.vidopt {
    height: 40px;
    width: 40px;
    font-size: 18px !important;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

#mstream_img {
    display: block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.streamhide {
    display: none !important;
}

.streamout {
    left: -10000px !important;
}

#wrap_stream_audio {
    width: 300px;
    height: auto;
    border-top: 1px solid #333;
}

#wrap_stream_audio audio {
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

#container_stream_audio {
    width: 300px;
    height: auto;
    z-index: 160;
    position: fixed;
    top: 100px;
    left: 50%;
    margin-left: -150px;
    margin-top: 0px;
    display: none;
    border-radius: 10px;
    overflow: hidden;
}

.over_stream {
    z-index: 1100 !important;
}



/* header css */
#header2 {
    width: 100%;
    height: 50px;
    margin: 0 auto;
    position: fixed;
    z-index: 4;
}

#header_full {
    width: 100%;
    height: 50px;
    position: fixed;
    z-index: 202;
}

#wrap_main_header {
    max-width: 1100px !important;
    margin: 0 auto;
    height: 100%;
}

#wrap_full_header {
    height: 100%;
    padding: 0 10px;
}

#chat_head {
    height: 50px;
    padding: 0 5px;
    width: 100%;
    display: table;
    table-layout: fixed;
}

.empty_subhead {
    width: 100%;
    height: 50px;
}

.stat_av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.top_status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: 8px;
    left: 6px;
    border: 1px solid #fff;
    background: #fff;
}


/* menu css */
#main_header {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

#main_mob_menu {
    display: table-cell;
    vertical-align: middle;
    width: 50px;
    position: relative;
    cursor: pointer;
}

#open_login_menu {
    width: 50px;
    font-size: 24px;
    position: relative;
}

.head_logo,
.chat_head_logo {
    display: table-cell;
    vertical-align: middle;
    width: 160px;
    padding: 0 5px;
    white-space: nowrap;
}

.head_logo img,
.chat_head_logo img {
    height: 50px;
    width: auto;
    display: block;
}

.head_option {
    display: table-cell;
    width: 40px;
    vertical-align: middle;
    font-size: 16px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.notif_zone {
    height: 100%;
}

/* cookie bar */
.cookie_wrap {
    position: fixed;
    display: table;
    padding: 25px;
    z-index: 9999;
    width: 80%;
    left: 10%;
    border-radius: 10px;
    bottom: 15px;
}

.cookie_img {
    display: table-cell;
    vertical-align: middle;
    width: 60px;
}

.cookie_img img {
    width: 60px;
    display: block;
}

.cookie_text {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
}

.cookie_button {
    display: table-cell;
    width: 120px;
    vertical-align: middle;
    padding: 0 10px;
}

/* badge css */
.pbadge {
    width: 40px;
    height: 40px;
    margin-bottom: 2px;
    display: grid;
    align-items: center;
    float: left;
    position: relative;
    border-radius: 10px;
}

.pbadge_img {
    width: 40px;
    max-height: 40px;
    margin: 0 auto;
    position: relative;
}

.pbadge_count {
    width: 18px;
    height: 18px;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 50px;
    background: #666;
    color: #fff;
    font-size: 10px;
}

.badge_box_count {
    width: 40px;
    height: 40px;
    margin-left: -40px;
}

.badge_info_icon {
    width: 40px;
}

.badge_info_icon img {
    height: 40px;
}

/* language box */
.lang_flag {
    width: 26px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
}

.intro_lang {
    width: 26px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
}

.lang_flag_box {
    width: 40px;
}

.lang_lang {
    padding: 10px 5px;
}

/* list css */
.drop_list {
    display: none;
    cursor: pointer;
}

.user_count {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: normal;
    font-weight: bold;
}

.ucount {
    border-radius: 50px;
    padding: 4px 7px;
    font-size: 11px;
}

/* opaque color */
.user_item:hover {
    opacity: 1 !important;
}

/*friends module */
.user_square_elem {
    width: calc((100% / 6) - 10px);
    height: auto;
    position: relative;
    display: inline-block;
    margin: 5px;
    overflow: hidden;
    border-radius: 5px;
    overflow: hidden;
}

.user_square_elem img {
    width: 100%;
    display: block;
    height: auto;
}

.square_name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 2px 4px;
    border-radius: 0 0 5px 5px;
    text-align: center;
}

/* global wrap chat display */
#global_chat {
    display: table;
    width: 100%;
    overflow: hidden;
}

/* chat left css */
#chat_left {
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    max-width: 100%;
}

.cleft,
.cleft2 {
    width: 200px;
    max-width: 100%;
}

.cleft {
    overflow: hidden;
    padding: 0;
    display: table-cell;
    vertical-align: top;
    box-shadow: none !important;
}

.cleft2 {
    position: absolute;
    left: 50px;
    top: 50px;
    z-index: 201;
    padding-bottom: 0;
    max-width: calc(100% - 50px) !important;
}

.left_hide {
    display: none !important;
}

.left_top_menu {
    height: 40px;
}

.left_bar_option {
    cursor: pointer;
}

.left_head_empty {
    padding: 0 10px;
    font-weight: bold;
}

#chat_left_data {
    width: 100%;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

/* left menu */
#left_menu {
    width: 50px;
    font-size: 18px;
    overflow: hidden;
    display: table-cell;
}

#left_menu_content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(136, 136, 136, .1) transparent;
    direction: rtl;
    padding: 10px 5px;
}

#left_menu_content>* {
    direction: ltr;
}

.left_menu_item {
    display: table;
    width: 100%;
    height: 40px;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    margin-bottom: 10px;
}

.left_menu_icon {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}



/* chat center css */
#chat_center {
    display: table-cell;
    vertical-align: top;
    overflow: hidden;
}

/* chat right css */
.panel_bar {
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 40px;
}

.panel_bar_item,
.panel_option,
.left_bar_item {
    display: table-cell;
    vertical-align: middle;
    width: 40px;
    text-align: center;
    cursor: pointer;
}

#chat_right {
    height: 100%;
}

.cright,
.cright2 {
    width: 280px;
}

.cright {
    overflow: hidden;
    padding: 0;
    display: table-cell;
    vertical-align: top;
    max-width: 100% !important;
    box-shadow: none !important;
}

.cright2 {
    position: absolute;
    top: 51px;
    right: 0;
    top: 50px;
    overflow: hidden;
    z-index: 201;
    padding-bottom: 0px;
    display: none;
    max-width: 100% !important;
}

.large_panel {
    width: 400px;
}

#chat_right_content {
    width: 100%;
}

#chat_right_top {
    width: 100%;
    height: 43px;
    display: table;
    table-layout: fixed;
}

#chat_right_data {
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    width: 100%;
    padding-bottom: 60px;
}

/* bottom menu css */
.footer_item {
    width: 40px;
    height: 100%;
    text-align: center;
    cursor: pointer;
    display: table-cell;
    max-width: 16.66666666%;
    vertical-align: middle;
    position: relative;
}

.privhide {
    display: none !important;
}

.i_btm {
    font-size: 20px;
}

/* notification icons */
.foot_notify {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: none;
}

.head_notify {
    position: absolute;
    top: 16px;
    left: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50px;
    display: none;
}

.menu_notify {
    position: absolute;
    right: 10px;
    padding: 0 5px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: bold;
    display: none;
}

.pm_notify {
    padding: 0 5px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: bold;
}

.side_notify {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: none;
    position: absolute;
    top: unset;
    left: unset;
    bottom: 12px !important;
    right: 10px !important;
}

/* notification item */
.notify_item {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 15px 10px;
    cursor: pointer;
}

.notify_details {
    display: table-cell;
    padding: 0 8px;
}

.notify_status {
    display: table-cell;
    width: 16px;
    font-size: 13px;
}

.notify_avatar {
    display: table-cell;
    vertical-align: top;
    width: 40px;
    position: relative;
}

.notify_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.date_notify {
    margin-top: 2px;
}

#notify_list {
    overflow: hidden;
    padding: 0px;
}

#notify_content {
    max-height: 364px;
    overflow: hidden;
    overflow-y: auto;
}

.notify_reaction,
.notify_prolike,
.notify_gold {
    width: 16px;
    height: 16px;
    vertical-align: bottom;
    margin-bottom: -2px;
}

.notify_prolike {
    border-radius: 50%;
}

.notify_icon {
    width: 22px !important;
    height: 22px !important;
    position: absolute;
    top: 22px;
    right: -2px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
}

/* top notification */
#top_notify {
    position: fixed;
    top: 20px;
    left: 10px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    z-index: 9999;
}

.top_notify {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border-radius: 8px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.top_notify_avatar {
    width: 40px;
    vertical-align: top;
}

.top_notify_icon {
    width: 30px;
    vertical-align: top;
}

.top_notify_avatar img,
.top_notify_icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.top_notify_icon img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.top_notify_btn {
    width: 30px;
    text-align: center;
    vertical-align: top;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 0.95;
    }
}

/* spinner box css */
.large_spinner {
    width: 50px;
    height: 50px;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    font-size: 50px;
}

.boom_spinner {
    width: 100%;
}

/* room option css */
.room_options {
    width: 100%;
    padding: 0 5px 15px 5px;
}

.room_elem {
    display: table;
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.room_celem {
    display: table;
    padding: 8px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.room_content {
    padding: 0 0 0 10px;
}

.room_name {
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.room_cname {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.room_icon_wrap {
    width: 60px;
    height: 60px;
}

.room_icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: block;
}

.room_cicon_wrap {
    width: 50px;
    height: 50px;
}

.room_cicon {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: block;
}

.room_count {
    font-size: 15px;
    font-weight: bold;
    text-align: right;
}

.room_ccount {
    font-size: 14px;
    font-weight: bold;
    text-align: right;
}

.room_enter {
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.room_description {
    font-size: 12px;
    padding: 3px 0;
}

.room_cdescription {
    font-size: 11px;
    padding: 1px 0;
}

.room_img {
    width: 100%;
    height: auto;
    display: block;
}

.room_tag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.room_ctag {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.roomopt {
    width: 20px;
}

.roomcopt {
    width: 16px;
}

.chat_rlist {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.room_preview {
    width: 120px;
    height: 120px;
    border-radius: 10px;
}


.warn_icon {
    width: 20px;
}

.ricon_current_wrap {
    width: 120px;
    display: table-cell;
    vertical-align: bottom;
    position: relative;
}

.ricon_current {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: block;
}

.ricon_control {
    position: absolute;
    display: table;
    table-layout: fixed;
    width: 100%;
    z-index: 40;
    width: 80px;
    left: 20px;
    border-radius: 50px;
    bottom: 10px;
}

.ricon_button {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 40px;
    padding: 8px 0;
    position: relative;
}

/* player css */
.chat_player {
    display: table;
    table-layout: auto;
}

.music_player {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

.player_menu {
    display: table-cell;
    width: 40px;
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
}

.player_button {
    display: table-cell;
    width: 36px;
    font-size: 30px;
    text-align: center;
    vertical-align: middle;
}

.player_sound {
    display: table-cell;
    width: 40px;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
}

.player_current {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
    width: 100px;
    max-width: 100px;
    line-height: 1em !Important;
}

.player_volume {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px;
}

.player_list_container {
    padding: 10px 0 5px 0;
}

.player_change {
    width: 40px;
    font-size: 18px;
    text-align: center;
}

.cur_play {
    padding-bottom: 10px;
}

#player_listing {
    max-height: 160px;
    overflow-y: auto;
}

#sound_display {
    width: 26px;
    font-size: 20px;
}

#slider {
    width: 100%;
}

.splay_btn {
    width: 36px;
}

#current_play_btn {
    font-size: 36px;
}

.footer_play {
    font-size: 24px;
}

/* main menu top */
.avmmenu {
    width: 40px;
}

.avmmenu img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: block;
}

.gold_icon,
.ruby_icon {
    width: 18px;
}

.gold_icon2,
.ruby_icon2 {
    width: 16px;
}

.gold_icon img,
.ruby_icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.gold_icon2 img,
.ruby_icon2 img {
    width: 16px;
    height: 16px;
    display: block;
}

.gold_text,
.ruby_text {
    font-size: 16px;
}

.gold_text2,
.ruby_text2 {
    font-size: 16px;
}

.editstatus {
    width: 36px;
}

.menuname {
    font-size: 16px;
    font-weight: bold;
}

.stat_icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.stat_icon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.menuranking {
    height: 11px;
    width: auto;
}

.menuranktxt {
    font-size: 11px;
}

/* left menu top */
.roomcv {
    width: 40px;
}

.roomcv img {
    width: 40px;
    height: auto;
    border-radius: 3px;
    display: block;
}

.mroom_name {
    font-size: 16px;
    font-weight: bold;
}

.mroom_text {
    font-size: 11px;
}

.mroom_change {
    width: 24px;
    font-size: 18px;
    text-align: center;
}

/* item custom */
.action_item {
    margin-bottom: 3px;
    border-radius: 5px;
}

.radio_item {
    margin-bottom: 3px;
}

.reply_item {
    margin-bottom: 3px;
}

.ulist_item {
    margin-bottom: 3px;
}

.docu_box {
    margin-bottom: 3px;
}

.report_item {
    margin-bottom: 5px;
}

.card_button {
    margin-bottom: 5px;
}

.ui-widget-content {
    border: none;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: none;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: none;
}

.ui-corner-all {
    border-radius: 10px;
}

.ui-slider-horizontal {
    height: 7px;
}

.ui-slider-horizontal .ui-slider-handle {
    cursor: pointer;
}

.sound_display {
    text-align: left;
    margin-left: 15px;
}

/* profile css */
.choose_avatar,
.choose_cover {
    position: relative;
}

.avatar_select {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.cover_select {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.cover_size {
    height: 230px;
}

.state_profile {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 30;
    border: 2px solid #fff;
    border-radius: 50px;
}

.state_note {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 30;
}

.proicon {
    width: 26px;
}

.proitem {
    padding: 12px;
}

.prodata {
    width: 50%;
}

.mobpico {
    font-size: 18px;
}

.vfavatar {
    height: 110px;
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* lookup css */
.scanbtn {
    width: 30px;
    font-size: 18px;
    text-align: center;
}

/* sub reg menu */
.reg_menu_container {
    position: relative;
}

.reg_menu {
    font-size: 0px;
}

.reg_menu ul li {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

/* sub lined menu */
.line_menu {
    position: relative;
}

.line_menu {
    font-size: 0px;
}

.line_menu ul li {
    display: inline-block;
    padding: 8px 10px;
    font-size: 15px;
    cursor: pointer;
}

/* pro top details */
.pdetails {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.pdetails_icon {
    display: table-cell;
    vertical-align: middle;
    width: 24px;
    cursor: pointer;
}

.pdetails_text {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    white-space: nowrap;
}

/* tab menu */
.tab_menu {
    font-size: 0px;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.tab_menu ul li {
    display: inline-block;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    margin: 5px;
}

/* modal menu */
.modal_menu {
    font-size: 0px;
    padding: 10px 0;
}

.modal_menu ul li {
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    margin: 0 5px 0 0;
    border-radius: 5px;
}

/* profile box */
.modal_top_menu {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 5px 0 5px 0;
    padding: 0 5px;
}

.modal_top_item {
    display: table-cell;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.modal_top_menu_empty {
    display: table-cell;
    vertical-align: middle;
    width: 10px;
}

.cover_menu {
    display: table-cell;
    vertical-align: middle;
    width: 80px;
}

.cover_item_wrap {
    display: table;
    border-radius: 50px;
    overflow: hidden;
}

.cover_item {
    width: 40px;
    height: 30px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.profile_background {
    background-size: cover !important;
    background-position: 50% 50% !important;
}

.hide_zone {
    display: none;
}

.modal_wrap_top {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    min-height: 220px;
    border-radius: 20px 20px 0 0;
}

.profile_top {
    padding: 0 15px 15px 15px;
    position: relative;
    height: 100%;
}

.profile_avatar {
    display: table-cell;
    width: 100px;
    vertical-align: bottom;
    position: relative;
    border-radius: 5px;
    text-align: center;
}

.avatar_profile {
    width: 100px;
    height: 100px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
}

.avatar_button {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 8px 0;
    position: relative;
}

.profile_tinfo {
    display: table-cell;
    vertical-align: bottom;
    padding: 0 10px;
    position: relative;
}

.pro_name {
    font-size: 25px;
    font-weight: bold;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.pro_name_icon {
    width: 18px;
    height: 18px;
    display: block;
}

.pro_ranking {
    height: 14px;
    width: auto;
}

.pro_mute {
    height: 15px;
    width: auto;
}

.pro_rank {
    font-size: 14px;
    margin-bottom: -3px;
    font-weight: bold;
    display: block;
}

.pro_mood {
    font-size: 12px;
    font-weight: bold
}

.add_cover {
    position: relative;
}

.profile_info_box {
    font-size: 11px;
    padding: 10px 15px;
}

.level_profile {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 7px 0;
}

.pro_flag {
    display: inline-block;
    height: 12px;
}

.proli {
    width: 160px;
}

.avatar_control {
    position: absolute;
    display: table;
    table-layout: fixed;
    width: 100%;
    z-index: 40;
    width: 60px;
    left: 20px;
    border-radius: 50px;
    bottom: 10px;
}

.avatar_spin {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 30;
}

/* avatar uploader */
.uploader {
    max-width: 240px;
    margin: 10px auto;
    font-family: system-ui, sans-serif;
}

.av_slide_opt {
    width: 40px;
    text-align: center;
}

.stage {
    position: relative;
    width: var(--frame);
    height: var(--frame);
    margin: 12px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    touch-action: none;
    margin: 0 auto;
}

canvas#view {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 20000px rgba(0, 0, 0, .45);
    background: rgba(255, 255, 255, .06);
    outline-offset: -1px;
}

.overlay.circle {
    border-radius: 50%;
}

#avatar_file {
    display: none;
}

#stage {
    width: 240px;
    height: 240px;
}

#view {
    width: 100%;
    height: 100%;
    display: block;
}

/* upload box css */
.up_input {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 0px !important;
    overflow: hidden;
}


/* report box */
.report_item {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.report_check {
    display: table-cell;
    width: 30px;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
}

.report_text {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

/* report report css */
.head_report {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.report_name {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}

.report_avatar {
    display: table-cell;
    vertical-align: middle;
    width: 36px;
}

.report_avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.prep_avatar {
    display: table-cell;
    vertical-align: top;
    width: 30px;
}

.prep_avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

/* section css */
.empty_zone {
    width: 100%;
}

/* other account */
.othera {
    margin: 0px 8px 5px 0px;
    display: inline-block;
}

/* upload progress */
#private_progress {
    display: none;
}

#main_progress {
    display: none;
}

.uprogress {
    width: 140px;
    background: #666;
    color: #fff;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.uprogress_wrap {
    width: 140px;
    height: 30px;
    position: relative;
}

.uprogress_progress {
    width: 0%;
    height: 30px;
    background: #74b20e;
}

.uprogress_content {
    width: 140px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

.uprogress_text {
    padding: 0 10px;
}

.uprogress_icon {
    width: 40px;
    text-align: center;
}

/* back to bottom */
#back_to_bottom {
    width: 40px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    display: none;
    text-align: center;
}

/* theme preview */
.theme_wrap {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme_preview {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.theme_control {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: right;
    padding: 0 10px;
}

.header_preview {
    height: 30px;
}

.header_preview_option {
    width: 30px;
    text-align: center;
    font-size: 12px;
}

.preview_name {
    font-weight: bold;
    font-size: 7px !important;
}

.chat_preview {
    height: 150px;
    padding: 10px 8px;
    position: relative;
    z-index: 1;
}

.chat_preview_back {
    z-index: 0;
    pointer-events: none;
}

.chat_preview_back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: .4;
}

.chat_preview>*:not(.chat_preview_back) {
    position: relative;
    z-index: 1;
}

.log_preview {
    margin: 1px 0;
}

.avatar_preview {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.avatar_preview img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
}

.content_preview {
    padding: 1px 5px;
    font-size: 8px !important;
    vertical-align: middle;
}

.preview_bubble {
    padding: 3px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1px;
}

.preview_tlogs {
    padding: 3px 0px;
    display: inline-block;
    margin-top: 1px;
}

.preview_author {
    display: inline-block;
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 5px;
    z-index: 202;
}

/* private typing */
#ptyping {
    position: absolute;
    bottom: 0px;
    left: 10px;
    width: auto;
    border-radius: 100px;
    padding: 3px;
    font-size: 20px;
    display: none;
}

#ptyping_avatar {
    width: 18px;
    height: 18px;
}

#ptyping_av {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

#ptyping_text {
    width: 50px;
    height: 18px;
}

/* private view */
.prview {
    padding-right: 5px;
}

.prview_hide {
    display: none;
}

/* input extra */
#main_input_extra {
    width: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 5px;
    display: none;
    border-radius: 5px;
    max-width: calc(100% - 10px);
    margin: 5px;
}

.sub_options {
    width: 46px;
    height: 46px;
    padding: 5px;
    margin: 3px;
    float: left;
    position: relative;
    cursor: pointer;
}

.sub_options:hover {
    padding: 0px;
    transition: all 0.3s;
}

.sub_options img {
    width: 100%;
    height: auto;
}

/* private input extra */
#priv_input_extra {
    width: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 3px;
    display: none;
    border-radius: 5px;
    max-width: 240px;
    margin: 5px;
}

.psub_options {
    width: 40px;
    height: 40px;
    padding: 5px;
    margin: 3px;
    float: left;
    position: relative;
    cursor: pointer;
}

.psub_options:hover {
    padding: 0px;
    transition: all 0.3s;
}

.psub_options img {
    width: 100%;
    height: auto;
}

/* emoticon panels */
#main_emoticon {
    width: 530px;
    max-width: calc(100% - 10px);
    border-radius: 15px;
    height: 222px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: none;
    margin: 5px;
    overflow: hidden;
}

#private_emoticon {
    width: calc(100% - 10px);
    border-radius: 5px;
    height: 200px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: none;
    margin: 5px;
}

.emo_head {
    width: 100%;
    height: 40px;
    display: table;
    table-layout: fixed;
}

.emo_content {
    width: 100%;
    height: 180px;
    overflow: hidden;
    overflow-y: auto;
    padding: 5px;
}

.sticker {
    height: 48px;
    float: left;
    margin: 6px;
}

.emoticon {
    height: 24px;
    float: left;
    margin: 5px;
}

.custom_emo {
    max-width: 48px;
    max-height: 48px;
    float: left;
    margin: 6px;
}

.emo_content .emoticon img {
    height: 100%;
    width: auto;
}

.emo_content .sticker img {
    height: 100%;
}

.emo_content .custom_emo img {
    max-width: 48px;
    max-height: 48px;
}

.emo_menu {
    width: 40px;
    height: 100%;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    display: table-cell;
    vertical-align: middle;
}

.emo_select {
    height: 40px;
    width: 40px;
    display: block;
}

.empty_emo {
    display: table-cell;
    height: 40px;
}

.emo_content_priv {
    width: 100%;
    height: 160px;
    overflow: hidden;
    overflow-y: auto;
    padding: 5px;
}

.emo_content_priv .emoticon img {
    height: 100%;
    width: auto;
}

.emo_content_priv .sticker img {
    height: 100%;
}

.emo_content_priv .custom_emo img {
    max-width: 48px;
    max-height: 48px;
}

.emoticon,
.sticker,
.custom_emo {
    cursor: pointer;
}

.emo_result {
    min-height: 240px;
    max-height: 400px;
}

/* admin section css */
.saved_data {
    padding: 15px;
    font-size: 24px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    z-index: 1002;
}

.ex_admin {
    padding: 5px 0 0 0;
    font-style: italic;
    font-size: 13px;
}

.admin_search {
    display: table;
    width: 100%;
    overflow: hidden;
    border-radius: 3px;
}

.admin_search_btn {
    display: table-cell;
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.edit_verify {
    margin-top: 8px;
}

/* other element */
.sp_box {
    width: calc(50% - 10px);
    display: block;
    float: left;
    margin: 5px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
}

.sp_content {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.sp_icon {
    width: 70px;
    font-size: 30px;
    text-align: center;
    padding: 20px 0;
}

.sp_info {
    padding: 0 10px;
}

.sp_title {
    font-size: 12px;
}

.sp_count {
    font-size: 26px;
    font-weight: bold;
}

/* container cam */
#container_call {
    z-index: 201;
    position: fixed;
    top: 80px;
    left: 10px;
    margin-left: 0px;
    margin-top: 0px;
    display: none;
    border-radius: 15px;
    overflow: hidden;
}

.videosize,
.audiosize,
.groupsize,
.groupvideosize {
    height: 100% !important;
    width: 100% !important;
}

.callwidth {
    width: 360px;
    max-width: 100%;
}

.callheight {
    height: 300px;
    max-height: 100%;
}

.biframe {
    padding: 0;
    margin: 0;
    border: 0;
    display: block;
}

.vcallhide {
    display: none !important;
}

#vcall_streams {
    height: 100%;
    width: 100%;
}

#vcall_self {
    width: 80px;
    height: 100px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.vcall_self {
    width: 140px !important;
    height: 160px !important;
}

.vcall_player {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vcall_player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcall_container {
    width: 100%;
    height: 100%;
}

.vcall_user {
    display: flex;
    align-items: center;
    column-gap: 0.5em;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    margin: 0;
    font-size: 18px;
}

.vcall_vol {
    height: 20px;
    width: 20px;
}

#vcall_control {
    display: table;
    width: 100%;
    position: absolute;
    bottom: 15px;
    left: 0;
}

#vcall_group_control {
    display: table;
    width: 100%;
    position: fixed;
    bottom: 15px;
    left: 0;
    z-index: 200;
}

.vcall_btn {
    width: 30px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
}

.vcall_spacer {
    width: 15px;
}

.vcall_icon {
    display: block;
    height: 18px;
    width: 18px;
}

.call_status_btn {
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 13px;
    max-width: 100%;
    text-align: center;
}

/* call item */
.call_item_container {
    padding: 15px 15px 60px 15px;
}

.call_video_item_container {
    padding: 12px 12px 12px 12px;
}

.call_item {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.call_item_avatar {
    width: 30px;
}

.call_item_avatar img {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.call_item_name {
    padding: 0 10px;
    font-size: 16px;
}

.call_mic {
    width: 30px;
}

.call_mic img {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    display: block;
}

.call_action {
    width: 40px;
    font-size: 16px;
    text-align: center;
}

/* call list */
.call_lock {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.call_ctag {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.call_count {
    font-size: 14px;
    font-weight: bold;
    text-align: right;
}

.call_opt {
    width: 20px;
}

.call_cicon_wrap {
    width: 46px;
    height: 46px;
}

.call_cicon_wrap img {
    width: 46px;
    height: 46px;
    border-radius: 5px;
    display: block;
}

/* call join */
.incall_user {
    display: inline-block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin: 0 -3px;
}

/* call request box */
#call_request {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    border-radius: 100px;
    z-index: 1300;
}

.call_avatar {
    width: 40px;
    height: 40px;
}

.call_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.call_btn {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.call_btn img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.call_spacer {
    width: 5px;
}

/* sub mobile menu and subpage */
#open_sub_mobile {
    display: none;
    width: 36px;
    vertical-align: middle;
    text-align: center;
    font-size: 24px;
}

#close_sub_mob {
    height: 100%;
    display: table;
    width: 100%;
    cursor: pointer;
}

#close_sub {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    padding: 0 10px;
    font-size: 22px;
}

/* private modal box */
.p_data {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: auto;
}

.p_item {
    display: table-cell;
    vertical-align: middle;
    width: 24px;
    font-size: 20px;
}

.p_empty {
    display: table-cell;
}

.get_info {
    cursor: pointer;
}

/* modal css */
.small_modal_out,
.large_modal_out {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    cursor: pointer;
}

.over_modal_out,
.over_emodal_out {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    cursor: pointer;
}

.top_modal_out {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    cursor: pointer;
}

.small_modal_in {
    border-radius: 20px;
    margin: 5% auto;
    max-width: 400px;
    width: 96%;
    position: relative;
}

.large_modal_in {
    border-radius: 20px;
    margin: 5% auto;
    max-width: 500px;
    width: 96%;
    position: relative;
}

.over_modal_in {
    border-radius: 20px;
    margin: 6% auto;
    max-width: 500px;
    width: 96%;
    position: relative;
}

.top_modal_in {
    border-radius: 20px;
    margin: 6% auto;
    max-width: 500px;
    width: 96%;
    position: relative;
}

.over_emodal_in {
    border-radius: 20px;
    margin: 6% auto;
    max-width: 500px;
    width: 96%;
    position: relative;
}

.modal_top {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.modal_top_text {
    display: table-cell;
    font-size: 15px;
    vertical-align: middle;
}

.modal_top_empty {
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    padding: 0 5px;
}

.modal_top_element {
    display: table-cell;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
}

.avatar_top_mod {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 40px;
    height: 50px;
    padding: 5px;
}

.avatar_top_mod img {
    display: block;
    margin: 0 auto;
    width: 100%;
    border-radius: 50%;
}

.avatar_top_name {
    display: table-cell;
    padding: 0 5px 0 2px;
    font-size: 14px;
    vertical-align: middle;
    font-weight: bold;
}

.modal_pad {
    padding: 36px 20px 20px 20px;
}

.modal_control {
    padding-top: 15px;
    padding-bottom: 10px;
}

.modal_title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 15px;
}

.modal_close {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    text-align: center;
    display: table;
}

.modal_user {
    margin-top: -10px;
    margin-bottom: 10px;
}

.modal_user_avatar {
    width: 40px;
    height: 40px;
}

.modal_user_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* tab error */
.tab_error_out {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    cursor: pointer;
}

.tab_error_in {
    border-radius: 3px;
    margin: 5% auto;
    max-width: 400px;
    width: 98%;
}

/* console css */
.console_reason img {
    max-height: 40px;
}

.console_reason .chat_video_container {
    max-width: 200px !important;
}

/* quote control css */
.qwraper {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: 5px;
    display: block;
    width: 180px;
    border-radius: 10px;
    display: none;
}

.qcontrol {
    display: table;
    width: 100%;
    height: 46px;
    padding: 5px;
    table-layout: fixed;
}

.qavatarwrap {
    display: table-cell;
    vertical-align: middle;
    width: 36px;
    height: 36px;
}

.qavatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
}

.qusername_wrap {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.qcancel {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    font-size: 16px;
    text-align: center;
}

/* main logs quote */
.cqbox {
    width: 100%;
    margin-top: 3px;
}

.cquote {
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
    max-width: min(800px, calc(100% - 40px));
    margin-bottom: -5px;
}

.ctquote {
    margin-bottom: 0px;
}

.cqwrap {
    display: table;
    table-layout: auto;
}

.cqav {
    display: table-cell;
    width: 24px;
    vertical-align: top;
}

.cqav img {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.cqcontent {
    display: table-cell;
    padding: 0 5px;
}

.cqname {
    font-size: 11px;
    font-weight: bold;
}

.cqmess {
    font-size: 13px;
    word-break: break-word;
}

.cqmess .chat_image {
    height: 50px;
    max-width: 100%;
    margin: 3px 0 0 0;
}

.cqmess .emo_chat {
    margin-bottom: -3px;
    height: 18px;
}

/* vip module css */
.vip_table_list {
    display: block;
    margin: 0 auto;
}

.vip_price_cell {
    width: 100px;
    padding: 0 10px;
}

.vip_checkbox {
    width: 40px;
    font-size: 24px;
    text-align: center;
}

.avatar_vip {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* avatar gender */
.avagen {
    border: 2px solid;
    box-sizing: border-box;
}

/* whisper css */
#whisper_controller {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: 5px;
    display: block;
    width: 190px;
    border-radius: 100px;
    display: none;
}

/* file upload */
.chat_file {
    height: 50px;
    margin-top: 5px;
    cursor: pointer;
    display: inline-block;
}

.cqmess .chat_file {
    height: 40px;
    cursor: pointer;
}

/* info pop */
.infopop {
    font-size: 15px;
    padding: 0 5px;
}

.help_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.help_text {
    padding: 10px 0;
}

.help_tlink {
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 5px;
}

.help_link {
    margin-bottom: 10px;
    display: block;
}

/* extra settings for first-child and last-child */
.sub_list:first-child,
.avitem:first-child {
    border-top: none !important;
}

.sub_list:last-child,
.blisting:last-child,
.blist:last-child,
.bmenu:last-child,
.submenu:last-child,
.bpmenu:last-child,
.avitem:last-child,
.nobborder {
    border-bottom: none !important;
}

/* forced element overwrite */
.bwidth20 {
    width: 20%;
}

.bwidth25 {
    width: 25%;
}

.bwidth33 {
    width: 33%;
}

.bwidth50 {
    width: 50%;
}

.bwidth66 {
    width: 66%;
}

.bwidth100 {
    width: 100%;
}

.pwidth10 {
    width: 10px;
}

.pwidth20 {
    width: 20px;
}

.pwidth30 {
    width: 30px;
}

.pwidth40 {
    width: 40px;
}

.pwidth50 {
    width: 50px;
}

.pwidth60 {
    width: 60px;
}

.pwidth70 {
    width: 70px;
}

.pwidth80 {
    width: 80px;
}

.pwidth90 {
    width: 90px;
}

.pwidth100 {
    width: 100px;
}

.square20 {
    width: 20px;
    height: 20px;
}

.square30 {
    width: 30px;
    height: 30px;
}

.square40 {
    width: 40px;
    height: 40px;
}

.square50 {
    width: 50px;
    height: 50px;
}

.square60 {
    width: 60px;
    height: 60px;
}

.square70 {
    width: 70px;
    height: 70px;
}

.square80 {
    width: 80px;
    height: 80px;
}

.square90 {
    width: 90px;
    height: 90px;
}

.square100 {
    width: 100px;
    height: 100px;
}

.btauto {
    table-layout: auto;
}

.bcauto {
    width: 1%;
    white-space: nowrap;
}

.bbreak {
    word-break: break-word;
}

/* fancy bg */
.fancybox-bg {
    opacity: .6 !important;
}

/* docu box */
.docu_box {
    border-radius: 3px;
}

.docu_head {
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
}

.docu_content {
    padding: 20px 0;
    display: none;
}

.docu_content_view {
    padding: 0;
}

.docu_content img,
.docu_content_view img {
    max-width: 100%;
}

.docu_title {
    padding: 5px 10px;
    font-weight: bold;
    font-size: 13px;
}

.docu_description {
    padding: 5px 10px;
    font-size: 13px;
}

.docu_sub_list {
    padding: 10px;
    margin-left: 10px;
}

.docu_sub_list li {
    list-style: disc;
}

.docu_intro_text {
    font-size: 13px;
    padding: 10px;
}

.doc_zone {
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

/* title box */
.title_icon {
    width: 20px;
    height: 20px;
}

.title_icon img {
    width: 20px;
    height: 20px;
}

.title_text {
    font-size: 18px;
    font-weight: bold;
    padding: 0 8px;
}

/* profile likes */
.plike_item {
    float: left;
    padding: 3px 5px;
    margin-right: 5px;
    border-radius: 100px;
    cursor: pointer;
}

.plike_item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}

.plike_count {
    font-size: 12px;
    font-weight: bold;
    padding: 0 2px;
}

/* profile level */
.plevel_item {
    float: left;
    padding: 3px 5px;
    margin-right: 5px;
    border-radius: 100px;
    cursor: pointer;
}

.plevel_item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}

.plevel_count {
    font-size: 12px;
    font-weight: bold;
    padding: 0 2px;
}

/* profile music */
.proplayer {
    width: 70px;
    padding: 3px 5px;
    margin-right: 5px;
    border-radius: 100px;
    cursor: pointer;
    margin: 0 auto;
}

.proplayer_play {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}

.proplayer_beat {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
}

.proplayer_btn {
    width: auto;
    padding: 5px 8px;
    margin-right: 5px;
    border-radius: 100px;
    cursor: pointer;
    margin: 0 auto;
    display: inline-block;
    position: relative;
}

/* card level */
.clevel_item {
    float: left;
    padding: 3px 5px;
    margin-right: 5px;
    border-radius: 100px;
    cursor: pointer;
}

.clevel_item img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}

.clevel_count {
    font-size: 12px;
    font-weight: bold;
    padding: 0 2px;
}

/* progress bar */
.progress_box {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.progress_bar {
    width: 50%;
    height: 30px;
    background-color: #74b20e;
    text-align: center;
    line-height: 30px;
    color: white;
}

/* special log */
.splog {
    padding: 15px 10px;
}

.sptext,
.tptext {
    margin-top: 2px;
}

.my_notice {
    padding: 3px 8px;
    display: inline-block;
    line-height: 1em;
    margin-top: 2px;
    border-radius: 10px;
    font-weight: normal;
}

/* notice */
.boom_notice {
    padding: 15px 12px;
    border-radius: 10px;
}

.boom_notice_spacer {
    width: 10px;
}

.boom_notice_icon {
    width: 24px;
}

.boom_notice_icon img {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: block;
}

.boom_notice_text {
    font-size: 12px;
}

/* icon size */
.tiny_icon {
    width: 16px;
    height: 16px;
}

.xsmall_icon {
    width: 24px;
    height: 24px;
}

.small_icon {
    width: 32px;
    height: 32px;
}

.reg_icon {
    width: 50px;
    height: 50px;
}

.med_icon {
    width: 64px;
    height: 64px;
}

.large_icon {
    width: 100px;
    height: 100px;
}

.xlarge_icon {
    width: 140px;
    height: 140px;
}

/* avatar size */
.small_avatar {
    width: 40px;
    height: 40px;
}

.med_avatar {
    width: 64px;
    height: 64px;
}

.large_avatar {
    width: 100px;
    height: 100px;
}

/* warning box */
.boom_alert {
    position: relative;
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid transparent;
    width: 100%;
}

/* radius border for item */
.blist,
.blisting {
    border-radius: 0px;
}

.brad0 {
    border-radius: 0px;
}

.brad2 {
    border-radius: 2px;
}

.brad3 {
    border-radius: 3px;
}

.brad5 {
    border-radius: 5px;
}

.brad8 {
    border-radius: 8px;
}

.brad10 {
    border-radius: 10px;
}

.brad50 {
    border-radius: 50%;
}

.brad100 {
    border-radius: 200px;
}

/* UPDATED SINGLE-LINE CHAT MESSAGE STYLES (v3 - With Quotes) */

.chat_message_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.chat_message_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 2px 0;
}

.chat_rank_cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    min-width: 18px;
}

.chat_avatar_cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    min-width: 34px;
    margin-right: 6px;
}

.chat_avatar_cell .cavatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
}

.chat_name_cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 0px;
}

.chat_name_cell .username {
    font-size: 12px;
    font-weight: 500;
    padding: 0 4px;
}

.chat_name_cell::after {
    content: ":";
    font-size: 12px;
    margin-left: 2px;
}

.chat_content_cell {
    display: block;
    flex-grow: 1;
    min-width: 0;
    word-break: break-word;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

.chat_content_cell .mbubble,
.chat_content_cell>div {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    background: none !important;
    border: none !important;
}

.chat_date_cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 65px;
    min-width: 65px;
    font-size: 10px;
    text-align: center;
    padding: 0 5px;
}

.chat_menu_cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    min-width: 30px;
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .chat_date_cell {
        display: none;
    }

    .chat_message_wrapper {
        gap: 12px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .chat_rank_cell {
        width: 14px;
        min-width: 14px;
        flex-shrink: 0;
    }

    .chat_avatar_cell {
        width: 26px;
        min-width: 26px;
        flex-shrink: 0;
    }

    .chat_avatar_cell .cavatar {
        width: 24px;
        height: 24px;
    }

    .chat_name_cell {
        flex-shrink: 0;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .chat_name_cell .username {
        font-size: 11px;
    }

    .chat_menu_cell {
        width: 20px;
        min-width: 20px;
        flex-shrink: 0;
    }

    .chat_content_cell {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }
}

/* QUOTE STYLING */
.cqbox {
    margin-bottom: 5px;
    margin-right: 50px;
    /* محاذاة الاقتباس ليكون فوق الرسالة تقريباً */
    max-width: 80%;
}

.cquote {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 5px;
    border-right: 3px solid #ccc;
}

.cqwrap {
    display: flex;
    gap: 8px;
    align-items: center;
}


.cqav img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.cqname {
    font-size: 11px;
    font-weight: bold;
}

.cqmess {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide old structures */
.ch_logs .my_text,
.ch_logs .cname,
.ch_logs .cdate,
.ch_logs .cclear,
.ch_logs .log_content,
.ch_logs .btable {
    display: none !important;
}

.ch_logs {
    display: block !important;
}

.verified-badge {
    color: #1DA1F2;
    margin-right: 5px;
    font-size: 15px;
    vertical-align: middle;
}

/* Chat general multiline text alignment fix — 2026-08-15 */
.chat_message_wrapper {
    align-items: flex-start !important;
}

.chat_content_cell {
    align-self: flex-start;
    min-width: 0;
    text-align: right;
    direction: rtl;
}

.chat_content_cell > div:first-child {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: right;
}

@media (max-width: 600px) {
    .chat_message_wrapper {
        align-items: flex-start !important;
    }

    .chat_content_cell {
        align-self: flex-start;
        width: auto;
        min-width: 0;
        line-height: 1.55;
    }
}

/* global element css */
.pad_box {
    padding: 15px;
}

.clearbox {
    overflow-y: auto;
}

.nopad {
    padding: 0px;
}

.noborder {
    border: none !important;
}

.mauto {
    margin: 0 auto;
}

.bclear {
    clear: both;
}

.clear {
    width: 100%;
    height: 1px;
    clear: both;
}

.clear3 {
    width: 100%;
    height: 3px;
    clear: both;
}

.clear5 {
    width: 100%;
    height: 5px;
    clear: both;
}

.clear10 {
    width: 100%;
    height: 10px;
    clear: both;
}

.clear15 {
    width: 100%;
    height: 15px;
    clear: both;
}

.clear20 {
    width: 100%;
    height: 20px;
    clear: both;
}

.clear25 {
    width: 100%;
    height: 25px;
    clear: both;
}

.clear30 {
    width: 100%;
    height: 30px;
    clear: both;
}

.tmargin3 {
    margin-top: 3px;
}

.tmargin5 {
    margin-top: 5px;
}

.tmargin10 {
    margin-top: 10px;
}

.tmargin15 {
    margin-top: 15px;
}

.tmargin20 {
    margin-top: 20px;
}

.tmargin25 {
    margin-top: 25px;
}

.tmargin30 {
    margin-top: 30px;
}

.bmargin3 {
    margin-bottom: 3px;
}

.bmargin5 {
    margin-bottom: 5px;
}

.bmargin10 {
    margin-bottom: 10px;
}

.bmargin15 {
    margin-bottom: 15px;
}

.bmargin20 {
    margin-bottom: 20px;
}

.bmargin25 {
    margin-bottom: 25px;
}

.bmargin30 {
    margin-bottom: 30px;
}

.lmargin3 {
    margin-left: 3px;
}

.lmargin5 {
    margin-left: 5px;
}

.lmargin10 {
    margin-left: 10px;
}

.lmargin15 {
    margin-left: 15px;
}

.lmargin20 {
    margin-left: 20px;
}

.lmargin25 {
    margin-left: 25px;
}

.lmargin30 {
    margin-left: 30px;
}

.rmargin3 {
    margin-right: 3px;
}

.rmargin5 {
    margin-right: 5px;
}

.rmargin10 {
    margin-right: 10px;
}

.rmargin15 {
    margin-right: 15px;
}

.rmargin20 {
    margin-right: 20px;
}

.rmargin25 {
    margin-right: 25px;
}

.rmargin30 {
    margin-right: 30px;
}

.vmargin5 {
    margin-top: 3px;
    margin-bottom: 3px;
}

.vmargin5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.vmargin10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.vmargin15 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.vmargin20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.vmargin25 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.vmargin30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.hmargin5 {
    margin-left: 3px;
    margin-right: 3px;
}

.hmargin5 {
    margin-left: 5px;
    margin-right: 5px;
}

.hmargin10 {
    margin-left: 10px;
    margin-right: 10px;
}

.hmargin15 {
    margin-right: 15px;
    margin-right: 15px;
}

.hmargin20 {
    margin-right: 20px;
    margin-right: 20px;
}

.hmargin25 {
    margin-right: 25px;
    margin-right: 25px;
}

.hmargin30 {
    margin-right: 30px;
    margin-right: 30px;
}

.nmargin3 {
    margin-top: -3px;
}

.nmargin5 {
    margin-top: -5px;
}

.nmargin10 {
    margin-top: -10px;
}

.nmargin15 {
    margin-top: -15px;
}

.nmargin20 {
    margin-top: -20px;
}

.nmargin25 {
    margin-top: -25px;
}

.notpad3 {
    padding: 0px 3px 3px 3px;
}

.notpad5 {
    padding: 0px 5px 5px 5px;
}

.notpad10 {
    padding: 0px 10px 10px 10px;
}

.notpad15 {
    padding: 0px 15px 15px 15px;
}

.notpad20 {
    padding: 0px 20px 20px 20px;
}

.notpad25 {
    padding: 0px 25px 25px 25px;
}

.notpad30 {
    padding: 0px 30px 30px 30px;
}

.pad3 {
    padding: 3px;
}

.pad5 {
    padding: 5px;
}

.pad10 {
    padding: 10px;
}

.pad15 {
    padding: 15px;
}

.pad20 {
    padding: 20px;
}

.pad25 {
    padding: 25px;
}

.pad30 {
    padding: 30px;
}

.tpad0 {
    padding-top: 0px;
}

.tpad3 {
    padding-top: 3px;
}

.tpad5 {
    padding-top: 5px;
}

.tpad10 {
    padding-top: 10px;
}

.tpad15 {
    padding-top: 15px;
}

.tpad20 {
    padding-top: 20px;
}

.tpad25 {
    padding-top: 25px;
}

.tpad30 {
    padding-top: 30px;
}

.bpad0 {
    padding-bottom: 0px;
}

.bpad3 {
    padding-bottom: 3px;
}

.bpad5 {
    padding-bottom: 5px;
}

.bpad10 {
    padding-bottom: 10px;
}

.bpad15 {
    padding-bottom: 15px;
}

.bpad20 {
    padding-bottom: 20px;
}

.bpad25 {
    padding-bottom: 25px;
}

.bpad30 {
    padding-bottom: 30px;
}

.lpad0 {
    padding-left: 0px;
}

.lpad3 {
    padding-left: 3px;
}

.lpad5 {
    padding-left: 5px;
}

.lpad10 {
    padding-left: 10px;
}

.lpad15 {
    padding-left: 15px;
}

.lpad20 {
    padding-left: 20px;
}

.lpad25 {
    padding-left: 25px;
}

.lpad30 {
    padding-left: 30px;
}

.rpad0 {
    padding-right: 0px;
}

.rpad3 {
    padding-right: 3px;
}

.rpad5 {
    padding-right: 5px;
}

.rpad10 {
    padding-right: 10px;
}

.rpad15 {
    padding-right: 15px;
}

.rpad20 {
    padding-right: 20px;
}

.rpad25 {
    padding-right: 25px;
}

.rpad30 {
    padding-right: 30px;
}

.vpad0 {
    padding-top: 0px;
    padding-bottom: 0px;
}

.vpad3 {
    padding-top: 3px;
    padding-bottom: 3px;
}

.vpad5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.vpad10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.vpad15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.vpad20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.vpad25 {
    padding-top: 25px;
    padding-bottom: 25px;
}

.vpad30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.hpad0 {
    padding-left: 0px;
    padding-right: 0px;
}

.hpad3 {
    padding-left: 3px;
    padding-right: 3px;
}

.hpad5 {
    padding-left: 5px;
    padding-right: 5px;
}

.hpad10 {
    padding-left: 10px;
    padding-right: 10px;
}

.hpad15 {
    padding-left: 15px;
    padding-right: 15px;
}

.hpad20 {
    padding-left: 20px;
    padding-right: 20px;
}

.hpad25 {
    padding-left: 25px;
    padding-right: 25px;
}

.hpad30 {
    padding-left: 30px;
    padding-right: 30px;
}

@keyframes bcSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* System Join Special Style */
.sys_log_join {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.12), rgba(142, 68, 173, 0.12));
    border-radius: 8px;
    margin: 3px 0 !important;
    padding: 8px 5px !important;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.dark .sys_log_join,
.night .sys_log_join {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.2), rgba(142, 68, 173, 0.2));
}

/* Avatar Frame Overlay Styles */
.avatar_wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.avatar_wrapper img.cavatar,
.avatar_wrapper img.avatar_private,
.avatar_wrapper img.puser_avatar_img,
.avatar_wrapper img.avav {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.avatar_frame_overlay {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    pointer-events: none;
    z-index: 2;
}

/* Context specific adjustments */
.chat_avatar_cell .avatar_wrapper {
    width: 30px;
    height: 30px;
}

.private_avatar .avatar_wrapper {
    width: 26px;
    height: 26px;
}

.puser_avatar .avatar_wrapper {
    width: 32px;
    height: 32px;
}

/* قائمة المتصلين/الأعضاء */
.user_item_avatar {
    overflow: visible !important;
    position: relative;
}

.user_item_avatar .avatar_frame_wrap {
    width: 36px;
    height: 36px;
    position: relative;
    display: inline-block;
}

.user_item_avatar .avatar_frame_wrap img:not(.avatar_frame_overlay) {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

.story_action_btn {
    cursor: pointer;
    font-size: 18px;
    margin-left: 12px;
    color: #ffffff;
    transition: .2s;
}

.story_action_btn:hover {
    opacity: .8;
}

.view_all_chats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.view_all_chats:hover {
    background: #f7f7f7;
}

.private_settings_title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    width: 100%;
    text-align: center;
}

.private_settings_title i {
    color: #2d8cff;
}

.private_settings_sub {
    color: #888;
    font-size: 13px;
    margin-bottom: 18px;
}

.private_settings_box .setting_element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: .2s;
}

.private_settings_box .setting_element:hover {
    background: rgba(0, 0, 0, .05);
}

.private_settings_box .setting_left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.private_settings_box .setting_left i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #666;
}

.private_settings_box .setting_element .fa-angle-left {
    display: none;
}

.private_settings_box .delete_setting {
    color: #d93025;
}

.private_settings_box .delete_setting .setting_left i,
.private_settings_box .delete_setting .fa-angle-left {
    color: #d93025;
}

.favorite_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f7f7f7;
    cursor: pointer;
    transition: .2s;
}

.favorite_item:hover {
    background: #ececec;
}

.favorite_info {
    flex: 1;
    text-align: right;
    margin-right: 15px;
}

.favorite_avatar {
    width: 52px;
    height: 52px;
    margin-right: 8px;
    margin-left: 12px;
    flex-shrink: 0;
}

.favorite_avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.favorite_list {
    max-height: 430px;
    overflow-y: auto;
    padding: 0 10px;
    margin-top: 15px;
}

.favorite_search {
    margin: 10px 10px 15px;
}

.favorite_search input {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 10px;
    padding: 0 15px;
    background: #f4f4f4;
    font-size: 14px;
    outline: none;
    transition: .2s;
}

.favorite_search input:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(22, 168, 227, .15);
}

.avatar_frame_wrap {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.avatar_frame_wrap .avatar_frame_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.4);
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: contain;
    z-index: 2;
}

/* ============================================================ */
/* إضافة لصندوق كتابة الرسائل الخاصة (priv_input)               */
/* الهدف: وضع أيقونة السمايل بشكل صحيح جوه صندوق الكتابة،        */
/* بنفس منطق التصميم الأصلي للشات العام (position:absolute       */
/* جوه أب له position:relative)، من غير ما نعتمد على أي كلاس     */
/* خارجي مش موجود في main.css.                                   */
/* ============================================================ */
#priv_input #private_input_box {
    position: relative;
}

#priv_input #emo_item_priv {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    display: block !important;
    margin: 0 !important;
    cursor: pointer;
    z-index: 2;
}

#priv_input #emo_item_priv i {
    font-size: 18px;
}

#priv_input #message_content {
    padding-right: 34px !important;
}
/* ============================================
   LUXURY JOIN ROW
   سطر انضمام فاخر - هادئ - صغير
   ============================================ */

.sys_log_join {
    position: relative;

    display: flex !important;
    align-items: center !important;

    width: fit-content !important;
    max-width: 90% !important;

    direction: rtl !important;
    text-align: right !important;

    margin: 6px 7px 6px auto !important;
    padding: 4px 11px 4px 9px !important;

    background:
        linear-gradient(
            90deg,
            rgba(142, 68, 173, 0.025),
            rgba(192, 57, 43, 0.065)
        ) !important;

    border: 1px solid rgba(192, 57, 43, 0.14) !important;
    border-radius: 7px !important;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.035),
        inset 0 1px 0 rgba(255,255,255,0.45) !important;

    overflow: hidden !important;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

    animation: luxuryJoinIn .3s cubic-bezier(.22,1,.36,1);
}


/* خط فاخر رفيع على اليمين */
.sys_log_join::before {
    content: "";

    position: absolute;

    right: 0;
    top: 5px;
    bottom: 5px;

    width: 2px;

    border-radius: 3px;

    background:
        linear-gradient(
            180deg,
            #d4af37,
            #c0392b 45%,
            #8e44ad
        );

    opacity: .85;
}


/* لمعة بسيطة جدًا */
.sys_log_join::after {
    content: "";

    position: absolute;

    top: 0;
    right: 10px;
    left: 10px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    opacity: .6;
}


/* Hover */
.sys_log_join:hover {
    border-color: rgba(192, 57, 43, 0.24) !important;

    box-shadow:
        0 4px 14px rgba(142, 68, 173, 0.08),
        inset 0 1px 0 rgba(255,255,255,.5) !important;

    transform: translateX(-2px);
}


/* مساحة الأفاتار */
.sys_log_join .chat_savatar {
    width: 32px !important;
    min-width: 32px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* الأفاتار */
.sys_log_join .savatar {
    width: 27px !important;
    height: 27px !important;

    border-radius: 50% !important;

    border: 1px solid rgba(212,175,55,.75) !important;

    box-shadow:
        0 0 0 1px rgba(142,68,173,.10),
        0 2px 7px rgba(0,0,0,.12) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.sys_log_join .savatar:hover {
    transform: scale(1.06);

    box-shadow:
        0 0 0 2px rgba(212,175,55,.12),
        0 3px 10px rgba(0,0,0,.15) !important;
}


/* النص */
.sys_log_join .chat_system {
    font-size: 11px !important;
    font-weight: 500 !important;

    line-height: 19px !important;

    white-space: nowrap;

    color: #777 !important;
}


/* اسم العضو */
.sys_log_join .sysname {
    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: .2px;

    background:
        linear-gradient(
            90deg,
            #b8860b,
            #c0392b 45%,
            #8e44ad
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* كلمة الانضمام */
.sys_log_join .chat_system:not(.sysname) {
    opacity: .78;
}


/* حركة دخول راقية */
@keyframes luxuryJoinIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================
   DARK / NIGHT
   ============================================ */

.dark .sys_log_join,
.night .sys_log_join {

    background:
        linear-gradient(
            90deg,
            rgba(142,68,173,.045),
            rgba(192,57,43,.075)
        ) !important;

    border-color:
        rgba(212,175,55,.14) !important;

    box-shadow:
        0 3px 12px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.035) !important;
}


.dark .sys_log_join .chat_system,
.night .sys_log_join .chat_system {
    color: #aaa !important;
}


.dark .sys_log_join .sysname,
.night .sys_log_join .sysname {
    background:
        linear-gradient(
            90deg,
            #d4af37,
            #d05a4a,
            #a66bc5
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 600px) {

    .sys_log_join {
        max-width: 94% !important;

        margin-right: 4px !important;
        margin-left: auto !important;

        padding: 3px 9px 3px 7px !important;
    }

    .sys_log_join .chat_savatar {
        width: 29px !important;
        min-width: 29px !important;
    }

    .sys_log_join .savatar {
        width: 25px !important;
        height: 25px !important;
    }

    .sys_log_join .chat_system {
        font-size: 10px !important;
    }

    .sys_log_join .sysname {
        font-size: 11px !important;
    }
}
/* اخفاء بوكس الكتابة افتراضيًا لحد ما الـ JS يتأكد ان الخاص مفتوح */
#priv_input {
	display: none;
}

/* ============================================
   .cannotpriv — نفس المكان الأصلي، بدون تغيير الـ display
   ============================================ */
.cannotpriv {
    width: 100%;
    display: table;
    table-layout: fixed;
    text-align: center;
    padding: 18px 10px;
    box-sizing: border-box;
}

/* ============================================
   البوكس نفسه — مربوط بـ id العنصر فقط (#cannot_private)
   عشان مايأثرش على حاجة تانية في الشات
   ============================================ */
#cannot_private .priv_locked_luxury {
    position: relative;
    display: inline-block;
    text-align: center;
    max-width: 190px;
    padding: 16px 14px 14px;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(212,175,55,0.14) 0%, rgba(192,57,43,0.10) 50%, rgba(142,68,173,0.14) 100%);
    border: 1px solid rgba(212,175,55,0.45);
    box-shadow:
        0 14px 28px rgba(0,0,0,0.14),
        0 3px 10px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

#cannot_private .priv_locked_icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #e8c04d, #c0392b 55%, #8e44ad);
    color: #fff;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    box-shadow:
        0 6px 16px rgba(192,57,43,0.4),
        0 0 0 4px rgba(212,175,55,0.12);
}

#cannot_private .priv_locked_text {
    display: block;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(90deg, #a5720a, #c0392b 45%, #7d3c98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.45;
}

#cannot_private .priv_locked_sub {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    font-weight: 600;
    color: #8a7a6a;
    -webkit-text-fill-color: #8a7a6a;
    background: none;
    line-height: 1.5;
}

.dark #cannot_private .priv_locked_luxury,
.night #cannot_private .priv_locked_luxury {
    background: linear-gradient(150deg, rgba(212,175,55,0.16) 0%, rgba(192,57,43,0.12) 50%, rgba(142,68,173,0.16) 100%);
    border-color: rgba(212,175,55,0.5);
}
.dark #cannot_private .priv_locked_sub,
.night #cannot_private .priv_locked_sub {
    color: #c9b896;
    -webkit-text-fill-color: #c9b896;
}

/* ============================================
   #private_disabled — نفس المكان الأصلي، إضافة فقط بدون حذف position/padding
   ============================================ */
#private_input,
#private_disabled,
#private_load {
    width: 100%;
    padding: 4px;
    position: relative;
}

#private_disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8c04d 0%, #c0392b 55%, #8e44ad 100%);
    border: 1px solid rgba(212,175,55,0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
/* ============================================
   ROOM LIST — PREMIUM APP CARD STYLE v2
   (بدون تغيير display/table-layout — تحسين شكلي بحت)
   ============================================ */

.room_elem,
.room_celem {
    position: relative;
    background: linear-gradient(135deg, rgba(212,175,55,0.10) 0%, rgba(192,57,43,0.06) 55%, rgba(142,68,173,0.10) 100%);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.55);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

/* خط جانبي ذهبي فاخر */
.room_elem::before,
.room_celem::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #d4af37, #c0392b 45%, #8e44ad);
    opacity: .9;
}

.room_elem:hover,
.room_celem:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,0.6);
    box-shadow:
        0 14px 30px rgba(142,68,173,0.16),
        inset 0 1px 0 rgba(255,255,255,0.65);
}

.dark .room_elem,
.night .room_elem,
.dark .room_celem,
.night .room_celem {
    background: linear-gradient(135deg, rgba(212,175,55,0.13) 0%, rgba(192,57,43,0.09) 55%, rgba(142,68,173,0.13) 100%);
    border-color: rgba(212,175,55,0.35);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.06);
}
.dark .room_elem:hover,
.night .room_elem:hover,
.dark .room_celem:hover,
.night .room_celem:hover {
    box-shadow:
        0 14px 30px rgba(142,68,173,0.3),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ============================================
   الأيقونة — أصغر ودائرية (زي أفاتار غرفة عالمية)
   ============================================ */
.room_icon_wrap {
    width: 46px !important;
}

.room_icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.18),
        0 0 0 2.5px rgba(212,175,55,0.55);
    transition: box-shadow .2s ease, transform .2s ease;
}

.room_cicon_wrap {
    width: 38px !important;
}

.room_cicon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    box-shadow:
        0 3px 10px rgba(0,0,0,0.18),
        0 0 0 2px rgba(212,175,55,0.55);
}

.room_elem:hover .room_icon,
.room_celem:hover .room_cicon {
    transform: scale(1.06);
    box-shadow:
        0 6px 16px rgba(0,0,0,0.22),
        0 0 0 2.5px rgba(212,175,55,0.85);
}

/* ============================================
   اسم الروم — فخم ومميز بعلامة صغيرة
   ============================================ */
.room_name,
.room_cname {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .1px;
    background: linear-gradient(90deg, #a5720a, #c0392b 45%, #7d3c98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room_name::before {
    content: "✦";
    -webkit-text-fill-color: #d4af37;
    margin-left: 5px;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

.dark .room_name,
.night .room_name,
.dark .room_cname,
.night .room_cname {
    background: linear-gradient(90deg, #d4af37, #d05a4a, #a66bc5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* الوصف تحت الاسم */
.room_description,
.room_cdescription {
    opacity: .7;
    font-weight: 500;
}

/* عداد الأعضاء — badge فاخر */
.room_count,
.room_ccount {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, #e8c04d, #c0392b 55%, #8e44ad);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-size: 12px !important;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(192,57,43,0.3);
}

/* أيقونة الدخول/السهم */
.room_enter {
    color: #c0392b;
    opacity: .8;
    transition: transform .2s ease, opacity .2s ease;
}

.room_elem:hover .room_enter {
    transform: translateX(-2px);
    opacity: 1;
}

@media (max-width: 600px) {
    .room_icon_wrap { width: 42px !important; }
    .room_icon { width: 42px !important; height: 42px !important; }
    .room_name, .room_cname { font-size: 14px; }
}
/*
 * Arabz Chat — Premium Room List v3
 * Visual-only layer: preserves existing room markup and switchRoom() behavior.
 */

.chat_rlist {
    --room-panel-bg: #f4f7fb;
    --room-panel-border: rgba(20, 42, 75, .10);
    --room-card-bg: rgba(255, 255, 255, .92);
    --room-card-bg-hover: #ffffff;
    --room-card-border: rgba(20, 42, 75, .10);
    --room-card-border-hover: rgba(31, 132, 255, .45);
    --room-text: #17243a;
    --room-muted: #708096;
    --room-accent: #1687e8;
    --room-accent-2: #6b55e8;
    --room-accent-soft: rgba(22, 135, 232, .11);
    --room-count-bg: #eaf5ff;
    --room-count-text: #1268b6;
    --room-shadow: 0 10px 28px rgba(31, 61, 96, .08);
    --room-shadow-hover: 0 16px 34px rgba(31, 96, 165, .16);
    --room-focus: rgba(22, 135, 232, .22);
    box-sizing: border-box;
    padding: 16px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 135, 232, .08), transparent 34%),
        var(--room-panel-bg);
}

.dark .chat_rlist,
.night .chat_rlist,
.dark_mode .chat_rlist,
.chat_dark_mode .chat_rlist,
body.chat_dark_mode .chat_rlist,
body:has(#actual_theme[href*="/Dark/"]) .chat_rlist {
    --room-panel-bg: #101722;
    --room-panel-border: rgba(166, 190, 221, .12);
    --room-card-bg: rgba(25, 35, 50, .94);
    --room-card-bg-hover: #202e42;
    --room-card-border: rgba(166, 190, 221, .14);
    --room-card-border-hover: rgba(80, 181, 255, .62);
    --room-text: #f2f7ff;
    --room-muted: #9eafc5;
    --room-accent: #50b5ff;
    --room-accent-2: #9b83ff;
    --room-accent-soft: rgba(80, 181, 255, .14);
    --room-count-bg: rgba(80, 181, 255, .16);
    --room-count-text: #bfe7ff;
    --room-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    --room-shadow-hover: 0 18px 38px rgba(0, 0, 0, .34);
    --room-focus: rgba(80, 181, 255, .30);
    background:
        radial-gradient(circle at 100% 0%, rgba(80, 181, 255, .12), transparent 34%),
        var(--room-panel-bg);
}

.dark #room_filter,
.night #room_filter,
.dark_mode #room_filter,
.chat_dark_mode #room_filter,
body.chat_dark_mode #room_filter,
body:has(#actual_theme[href*="/Dark/"]) #room_filter {
    background: rgba(25, 35, 50, .90);
}

#room_filter {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 0 14px;
    padding: 13px !important;
    border: 1px solid var(--room-panel-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    background: color-mix(in srgb, var(--room-card-bg) 88%, transparent);
    box-shadow: var(--room-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#room_filter .room_search {
    position: relative;
    padding: 0 !important;
}

#room_filter .room_search::after {
    content: "⌕";
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 1;
    color: var(--room-accent);
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-53%);
}

#search_chat_room {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 44px 0 15px !important;
    color: var(--room-text) !important;
    background: var(--room-accent-soft) !important;
    border: 1px solid var(--room-card-border) !important;
    border-radius: 14px !important;
    outline: 0;
    font-size: 13px;
    font-weight: 700;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#search_chat_room::placeholder {
    color: var(--room-muted) !important;
    opacity: .95;
}

#search_chat_room:focus {
    background: var(--room-card-bg) !important;
    border-color: var(--room-accent) !important;
    box-shadow: 0 0 0 4px var(--room-focus);
}

#container_room {
    padding-top: 0 !important;
}

#container_room .room_elem,
#container_room .room_celem {
    display: table;
    box-sizing: border-box;
    width: 100%;
    min-height: 78px;
    margin: 0 0 11px;
    padding: 12px 14px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid var(--room-card-border);
    border-radius: 18px;
    background: var(--room-card-bg);
    box-shadow: var(--room-shadow);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

#container_room .room_elem::before,
#container_room .room_celem::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 0;
    z-index: -1;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background: linear-gradient(180deg, var(--room-accent), var(--room-accent-2));
    opacity: .85;
}

#container_room .room_elem::after,
#container_room .room_celem::after {
    content: "";
    position: absolute;
    top: -45px;
    left: -35px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--room-accent-soft) 0%, transparent 68%);
    pointer-events: none;
}

#container_room .room_elem:hover,
#container_room .room_celem:hover,
#container_room .room_elem:focus-visible,
#container_room .room_celem:focus-visible {
    background: var(--room-card-bg-hover);
    border-color: var(--room-card-border-hover);
    box-shadow: var(--room-shadow-hover);
    transform: translateY(-2px);
}

#container_room .room_elem:active,
#container_room .room_celem:active {
    transform: translateY(0) scale(.99);
}

#container_room .room_icon_wrap,
#container_room .room_cicon_wrap {
    box-sizing: border-box;
    width: 58px !important;
    height: 58px;
    padding: 2px;
    vertical-align: middle;
}

#container_room .room_cicon_wrap {
    width: 52px !important;
    height: 52px;
}

#container_room .room_icon,
#container_room .room_cicon {
    display: block;
    box-sizing: border-box;
    width: 54px !important;
    height: 54px !important;
    border: 2px solid rgba(22, 135, 232, .45);
    border-color: color-mix(in srgb, var(--room-accent) 45%, transparent);
    border-radius: 16px !important;
    object-fit: cover;
    box-shadow: 0 7px 16px rgba(20, 56, 92, .16);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#container_room .room_cicon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
}

#container_room .room_elem:hover .room_icon,
#container_room .room_celem:hover .room_cicon {
    border-color: var(--room-accent);
    box-shadow: 0 9px 20px rgba(22, 135, 232, .25);
    transform: scale(1.045) rotate(-1deg);
}

#container_room .room_content {
    box-sizing: border-box;
    width: 100%;
    padding: 0 13px 0 0 !important;
    vertical-align: middle;
}

#container_room .room_name,
#container_room .room_cname {
    display: block;
    overflow: hidden;
    max-width: 100%;
    color: var(--room-text) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#container_room .room_name::before {
    content: "✦";
    margin-left: 6px;
    color: var(--room-accent);
    -webkit-text-fill-color: var(--room-accent) !important;
    font-size: 11px;
    vertical-align: 1px;
}

#container_room .room_description,
#container_room .room_cdescription {
    display: block;
    overflow: hidden;
    max-width: 100%;
    padding: 3px 0 0;
    color: var(--room-muted) !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#container_room .room_content > .btable {
    margin-top: 8px;
    line-height: 1;
}

#container_room .room_tag,
#container_room .room_ctag {
    width: 15px;
    height: 15px;
    opacity: .9;
}

#container_room .room_count,
#container_room .room_ccount {
    display: inline-block;
    min-width: 25px;
    padding: 4px 8px;
    border: 1px solid rgba(22, 135, 232, .24);
    border-color: color-mix(in srgb, var(--room-accent) 24%, transparent);
    border-radius: 999px;
    color: var(--room-count-text) !important;
    background: var(--room-count-bg);
    font-size: 11px !important;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

#container_room .room_count::before,
#container_room .room_ccount::before {
    content: "●";
    margin-left: 4px;
    color: #27c98a;
    font-size: 8px;
    vertical-align: 1px;
}

.chat_rlist::-webkit-scrollbar {
    width: 7px;
}

.chat_rlist::-webkit-scrollbar-track {
    background: transparent;
}

.chat_rlist::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(22, 135, 232, .48);
    background: color-mix(in srgb, var(--room-accent) 48%, transparent);
    background-clip: padding-box;
}

@media (max-width: 600px) {
    .chat_rlist { padding: 11px !important; }
    #room_filter { padding: 10px !important; border-radius: 16px; }
    #room_filter::before { font-size: 13px; }
    #container_room .room_elem,
    #container_room .room_celem { min-height: 70px; margin-bottom: 9px; padding: 10px 11px; border-radius: 15px; }
    #container_room .room_icon_wrap,
    #container_room .room_cicon_wrap { width: 48px !important; height: 48px; }
    #container_room .room_icon,
    #container_room .room_cicon { width: 44px !important; height: 44px !important; border-radius: 13px !important; }
    #container_room .room_name,
    #container_room .room_cname { font-size: 13px; }
    #container_room .room_description,
    #container_room .room_cdescription { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    #container_room .room_elem,
    #container_room .room_celem,
    #container_room .room_icon,
    #container_room .room_cicon { transition: none; }
}

/* CSS color-mix fallback for older embedded browsers */
@supports not (color: color-mix(in srgb, white, black)) {
    #room_filter { background: var(--room-card-bg); }
    #container_room .room_icon,
    #container_room .room_cicon { border-color: var(--room-accent); }
}

/* End premium room list layer */

/* Current room state */
#container_room .room_current {
    border-color: var(--room-accent) !important;
    background:
        linear-gradient(135deg, var(--room-accent-soft), transparent 58%),
        var(--room-card-bg-hover);
    box-shadow: 0 0 0 3px var(--room-focus), var(--room-shadow-hover);
}

#container_room .room_current::before {
    width: 6px;
    opacity: 1;
    box-shadow: 0 0 14px var(--room-accent);
}

#container_room .room_current .room_name,
#container_room .room_current .room_cname {
    color: var(--room-accent) !important;
    font-weight: 950;
}

#container_room .room_current .room_name::after,
#container_room .room_current .room_cname::after {
    content: "  • الآن";
    color: #27c98a;
    -webkit-text-fill-color: #27c98a !important;
    font-size: 10px;
    font-weight: 900;
}

#container_room .room_current .room_count,
#container_room .room_current .room_ccount {
    background: var(--room-accent);
    color: #fff !important;
    border-color: transparent;
}

.dark #container_room .room_current,
.night #container_room .room_current,
.dark_mode #container_room .room_current,
.chat_dark_mode #container_room .room_current,
body.chat_dark_mode #container_room .room_current,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_current {
    background:
        linear-gradient(135deg, rgba(80, 181, 255, .18), transparent 58%),
        var(--room-card-bg-hover);
}

.dark #container_room .room_current .room_name,
.dark #container_room .room_current .room_cname,
.night #container_room .room_current .room_name,
.night #container_room .room_current .room_cname,
.dark_mode #container_room .room_current .room_name,
.dark_mode #container_room .room_current .room_cname,
.chat_dark_mode #container_room .room_current .room_name,
.chat_dark_mode #container_room .room_current .room_cname,
body.chat_dark_mode #container_room .room_current .room_name,
body.chat_dark_mode #container_room .room_current .room_cname,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_current .room_name,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_current .room_cname {
    color: var(--room-accent) !important;
}


/* Empty-room state: target the real empty child list, not its non-empty wrapper. */
#show_chat > #chat_logs_container:empty {
    position: relative;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    max-height: none;
    padding: 28px 20px;
    color: var(--room-muted, #708096);
    background:
        radial-gradient(circle at 50% 42%, rgba(22, 135, 232, .08), transparent 34%),
        transparent;
}

#show_chat > #chat_logs_container:empty::before {
    content: "لا توجد رسائل بعد\Aابدأ أول محادثة في هذه الغرفة";
    display: block;
    max-width: 280px;
    padding: 22px 24px;
    border: 1px solid var(--room-card-border, rgba(20, 42, 75, .10));
    border-radius: 22px;
    color: var(--room-text, #17243a);
    background: var(--room-card-bg, rgba(255, 255, 255, .92));
    box-shadow: var(--room-shadow, 0 10px 28px rgba(31, 61, 96, .08));
    font-size: 14px;
    font-weight: 800;
    line-height: 2;
    text-align: center;
    white-space: pre-line;
}

.chat_dark_mode #show_chat > #chat_logs_container:empty,
body:has(#actual_theme[href*="/Dark/"]) #show_chat > #chat_logs_container:empty {
    background:
        radial-gradient(circle at 50% 42%, rgba(80, 181, 255, .12), transparent 34%),
        transparent;
}

@media (max-width: 600px) {
    #show_chat > #chat_logs_container:empty { padding: 22px 14px; }
    #show_chat > #chat_logs_container:empty::before {
        max-width: 240px;
        padding: 18px 16px;
        font-size: 13px;
    }
}

/* Keep the private-room/contact strip visually separate from room cards. */
#container_room + *,
#container_room ~ .room_contact_strip,
#container_room ~ .contact_room_strip {
    margin-top: 14px;
}

#container_room {
    padding-bottom: 2px !important;
}

#container_room .room_elem:last-child,
#container_room .room_celem:last-child {
    margin-bottom: 0;
}

/* End empty-room and room-list spacing layer */


/* Premium room metadata chips: count and actions stay visually separate. */
#container_room .room_content > .btable {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-height: 30px;
    width: 100%;
    direction: rtl;
}

#container_room .room_content > .btable > .roomopt,
#container_room .room_content > .btable > .roomcopt {
    position: relative;
    display: inline-flex !important;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px !important;
    height: 28px !important;
    min-width: 30px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--room-accent) 24%, transparent);
    border-radius: 10px;
    background: linear-gradient(145deg, var(--room-card-bg-hover), var(--room-accent-soft));
    box-shadow: 0 4px 10px rgba(31, 61, 96, .09), inset 0 1px 0 rgba(255, 255, 255, .58);
    vertical-align: middle;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#container_room .room_content > .btable > .roomopt:hover,
#container_room .room_content > .btable > .roomcopt:hover,
#container_room .room_content > .btable > .roomopt:focus-within,
#container_room .room_content > .btable > .roomcopt:focus-within {
    z-index: 2;
    border-color: var(--room-accent);
    background: var(--room-card-bg-hover);
    box-shadow: 0 7px 15px rgba(31, 96, 165, .16), 0 0 0 3px var(--room-focus);
    transform: translateY(-2px);
}

#container_room .room_content > .btable > .roomopt img,
#container_room .room_content > .btable > .roomcopt img,
#container_room .room_content > .btable > .roomopt svg,
#container_room .room_content > .btable > .roomcopt svg,
#container_room .room_content > .btable > .roomopt i,
#container_room .room_content > .btable > .roomcopt i {
    display: block;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    margin: 0 !important;
    object-fit: contain;
    color: var(--room-accent) !important;
    filter: drop-shadow(0 2px 3px rgba(20, 56, 92, .18));
    transition: transform .18s ease, filter .18s ease;
}

#container_room .room_content > .btable > .roomopt:hover img,
#container_room .room_content > .btable > .roomcopt:hover img,
#container_room .room_content > .btable > .roomopt:hover svg,
#container_room .room_content > .btable > .roomcopt:hover svg,
#container_room .room_content > .btable > .roomopt:hover i,
#container_room .room_content > .btable > .roomcopt:hover i {
    filter: drop-shadow(0 3px 5px rgba(22, 135, 232, .30));
    transform: scale(1.12);
}

#container_room .room_content > .btable > .room_count,
#container_room .room_content > .btable > .room_ccount {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 50px;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid color-mix(in srgb, var(--room-accent) 34%, transparent);
    border-radius: 10px;
    color: var(--room-count-text) !important;
    background: linear-gradient(145deg, var(--room-count-bg), color-mix(in srgb, var(--room-accent) 9%, var(--room-card-bg)));
    box-shadow: 0 4px 10px rgba(31, 61, 96, .10), inset 0 1px 0 rgba(255, 255, 255, .62);
    direction: ltr;
    font-size: 11px !important;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#container_room .room_content > .btable > .room_count::before,
#container_room .room_content > .btable > .room_ccount::before {
    content: "";
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin: 0 !important;
    border: 2px solid color-mix(in srgb, #27c98a 35%, transparent);
    border-radius: 50%;
    background: #27c98a;
    box-shadow: 0 0 0 2px rgba(39, 201, 138, .12), 0 0 8px rgba(39, 201, 138, .56);
}

#container_room .room_content > .btable > .room_count:hover,
#container_room .room_content > .btable > .room_ccount:hover {
    border-color: var(--room-accent);
    box-shadow: 0 7px 15px rgba(31, 96, 165, .16), 0 0 0 3px var(--room-focus);
    transform: translateY(-2px);
}

#container_room .room_content > .btable > .roomopt:has(img[src*="user_count"]),
#container_room .room_content > .btable > .roomcopt:has(img[src*="user_count"]) {
    border-color: rgba(39, 201, 138, .34);
    background: linear-gradient(145deg, rgba(39, 201, 138, .15), var(--room-card-bg-hover));
}

#container_room .room_content > .btable > .roomopt:has(img[src*="user_count"]) img,
#container_room .room_content > .btable > .roomcopt:has(img[src*="user_count"]) img {
    filter: sepia(.35) saturate(1.25) drop-shadow(0 2px 3px rgba(39, 201, 138, .24));
}

.chat_dark_mode #container_room .room_content > .btable > .roomopt,
.chat_dark_mode #container_room .room_content > .btable > .roomcopt,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_content > .btable > .roomopt,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_content > .btable > .roomcopt {
    border-color: rgba(80, 181, 255, .26);
    background: linear-gradient(145deg, var(--room-card-bg-hover), rgba(80, 181, 255, .10));
    box-shadow: 0 5px 13px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.chat_dark_mode #container_room .room_content > .btable > .room_count,
.chat_dark_mode #container_room .room_content > .btable > .room_ccount,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_content > .btable > .room_count,
body:has(#actual_theme[href*="/Dark/"]) #container_room .room_content > .btable > .room_ccount {
    border-color: rgba(80, 181, 255, .38);
    background: linear-gradient(145deg, rgba(80, 181, 255, .22), rgba(25, 35, 50, .94));
    box-shadow: 0 5px 13px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
}

@media (max-width: 600px) {
    #container_room .room_content > .btable { gap: 5px; }
    #container_room .room_content > .btable > .roomopt,
    #container_room .room_content > .btable > .roomcopt { flex-basis: 27px; width: 27px !important; min-width: 27px; height: 26px !important; border-radius: 9px; }
    #container_room .room_content > .btable > .room_count,
    #container_room .room_content > .btable > .room_ccount { min-width: 45px; height: 26px !important; padding: 0 8px !important; border-radius: 9px; }
    #container_room .room_content > .btable > .roomopt img,
    #container_room .room_content > .btable > .roomcopt img,
    #container_room .room_content > .btable > .roomopt svg,
    #container_room .room_content > .btable > .roomcopt svg,
    #container_room .room_content > .btable > .roomopt i,
    #container_room .room_content > .btable > .roomcopt i { width: 14px; height: 14px; max-width: 14px; max-height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    #container_room .room_content > .btable > .roomopt,
    #container_room .room_content > .btable > .roomcopt,
    #container_room .room_content > .btable > .room_count,
    #container_room .room_content > .btable > .room_ccount { transition: none; }
}

/* End premium room metadata chips */


/* arabz game navigation polish 23.03 */
.game_nav_item .left_menu_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game_nav_icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 115, 180, .22), inset 0 1px 0 rgba(255,255,255,.32);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.game_nav_icon i {
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
}

.game_nav_xo .game_nav_icon,
.game_fmenu_xo .game_nav_icon {
    background: linear-gradient(145deg, #18c9e8 0%, #1284c4 52%, #1764aa 100%);
}

.game_nav_ludo .game_nav_icon,
.game_fmenu_ludo .game_nav_icon {
    background: linear-gradient(145deg, #a96bea 0%, #7951c7 52%, #4f3b9c 100%);
}

.game_nav_item:hover .game_nav_icon,
.game_fmenu_game:hover .game_nav_icon {
    transform: translateY(-1px) scale(1.04);
    filter: saturate(1.12);
    box-shadow: 0 7px 16px rgba(0, 115, 180, .32), inset 0 1px 0 rgba(255,255,255,.38);
}

.game_fmenu_game .fmenu_icon {
    width: 40px;
}

.game_fmenu_game .fmenu_icon .game_nav_icon {
    width: 31px;
    height: 31px;
}

.game_fmenu_game .fmenu_text {
    font-weight: 700;
    letter-spacing: .05px;
}

.dark_mode .game_nav_icon,
.chat_dark_mode .game_nav_icon,
body.dark .game_nav_icon,
body.night .game_nav_icon {
    box-shadow: 0 6px 15px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.26);
}

/* arabz compact left navigation polish 23.04 */
#left_menu {
    font-size: 16px;
}
#left_menu_content {
    padding: 5px 4px 3px;
}
#left_menu_content > .left_menu_item {
    height: 34px;
    min-height: 34px;
    margin-bottom: 4px;
    border-radius: 8px;
    line-height: 1;
}
#left_menu_content > .left_menu_item .left_menu_icon {
    height: 34px;
    min-height: 34px;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-1px);
}
#left_menu_content > .left_menu_item .leftmenui {
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
}
#left_menu_content > .left_menu_item.game_nav_item .game_nav_icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    box-shadow: 0 4px 9px rgba(0, 115, 180, .22), inset 0 1px 0 rgba(255,255,255,.32);
}
#left_menu_content > .left_menu_item.game_nav_item .game_nav_icon i {
    font-size: 15px;
}
#left_menu_content > .left_menu_item:hover,
#left_menu_content > .left_menu_item:focus-visible {
    transform: translateY(-1px);
}
@media (max-width: 600px) {
    #left_menu_content {
        padding-top: 4px;
    }
    #left_menu_content > .left_menu_item {
        height: 33px;
        min-height: 33px;
        margin-bottom: 3px;
    }
    #left_menu_content > .left_menu_item .left_menu_icon {
        height: 33px;
        min-height: 33px;
    }
}
/* End compact left navigation polish */


/* arabz compact floating chat menu polish 23.05 */
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item {
    box-sizing: border-box;
    min-height: 36px;
    height: 36px;
    margin: 0 4px 3px;
    padding: 3px 9px;
    border-radius: 8px;
    line-height: 1;
    display: flex;
    align-items: center;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon > i {
    font-size: 15px;
    line-height: 1;
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_text {
    font-size: 14px;
    line-height: 1.15;
    font-weight: 500;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_arrow {
    font-size: 11px;
    line-height: 1;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon i {
    font-size: 14px;
}
@media (max-width: 600px) {
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item {
        min-height: 34px;
        height: 34px;
        margin-bottom: 2px;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_text {
        font-size: 13px;
    }
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon {
        width: 28px;
        min-width: 28px;
        height: 28px;
    }
}
/* End compact floating chat menu polish */


/* arabz unified compact menu icons 23.06 */
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item {
    min-height: 33px;
    height: 33px;
    margin: 0 4px 2px;
    padding: 2px 8px;
    gap: 5px;
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon,
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon {
    box-sizing: border-box;
    width: 26px;
    min-width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    line-height: 1;
    transform: none;
}
/* حاويات الأيقونات العادية: نفس الشكل والمقاس، واللون يتبع العنصر أو التلوين الشخصي. */
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item:not(.game_fmenu_game) .fmenu_icon {
    --menu-icon-color: #14a9c5;
    color: var(--menu-icon-color);
    background: color-mix(in srgb, var(--menu-icon-color) 18%, transparent);
    box-shadow: 0 2px 7px color-mix(in srgb, var(--menu-icon-color) 24%, transparent), inset 0 1px 0 rgba(255,255,255,.24);
}
#chat_left_menu #left_menu_content > #left_main_content > #room_menu .fmenu_icon {
    --menu-icon-color: #12a8c6;
}
#chat_left_menu #left_menu_content > #left_main_content > #wall_menu .fmenu_icon {
    --menu-icon-color: #1a9fc2;
}
#chat_left_menu #left_menu_content > #left_main_content > #news_menu .fmenu_icon {
    --menu-icon-color: #258fc0;
}
#chat_left_menu #left_menu_content > #left_main_content > #events_menu .fmenu_icon {
    --menu-icon-color: #16b5af;
}
#chat_left_menu #left_menu_content > #left_main_content > #personal_style_menu .fmenu_icon {
    --menu-icon-color: #00bcd4;
}
#chat_left_menu #left_menu_content > #left_main_content > #app_menu_btn .fmenu_icon {
    --menu-icon-color: #2aa6c7;
}
#chat_left_menu #left_menu_content > #left_main_content > #tool_menu_btn .fmenu_icon {
    --menu-icon-color: #4f9fc4;
}
#chat_left_menu #left_menu_content > #left_main_content > #leaderboard_menu_btn .fmenu_icon {
    --menu-icon-color: #c79b28;
}
/* تظل خلفيات XO وLudo وألوانهما المحددة في قواعد game_nav_xo/game_nav_ludo. */
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon {
    color: #fff;
} 
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon > i,
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon i {
    font-size: 13px;
    line-height: 1;
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon > img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_text {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 500;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_arrow {
    font-size: 9px;
    line-height: 1;
    margin-inline-start: 2px;
    transform: translateY(-1px);
}
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item:hover .fmenu_icon,
#chat_left_menu #left_menu_content > #left_main_content > .fmenu_item:focus-visible .fmenu_icon {
    filter: brightness(1.06);
}
@supports not (background: color-mix(in srgb, red 20%, transparent)) {
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item:not(.game_fmenu_game) .fmenu_icon {
        background: rgba(20, 169, 197, .16);
        box-shadow: 0 2px 7px rgba(20, 169, 197, .22), inset 0 1px 0 rgba(255,255,255,.24);
    }
}
@media (max-width: 600px) {
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item {
        min-height: 31px;
        height: 31px;
        margin-bottom: 1px;
        padding: 1px 7px;
    }
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon,
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon {
        width: 24px;
        min-width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 7px;
    }
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_icon > i,
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .game_nav_icon i {
        font-size: 12px;
    }
    #chat_left_menu #left_menu_content > #left_main_content > .fmenu_item .fmenu_text {
        font-size: 12.5px;
    }
}
/* End unified compact menu icons */

/* Chat general: let multiline text flow under the name on mobile and desktop — 2026-08-15 */
.chat_text_flow {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    display: block;
    direction: rtl;
    text-align: right;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: normal;
}

.chat_text_flow .chat_name_cell {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: auto;
    max-width: none;
    min-width: 0;
    vertical-align: baseline;
    white-space: nowrap;
}

.chat_text_flow .chat_content_cell {
    display: inline !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    line-height: inherit;
    direction: rtl;
    text-align: right;
}

.chat_text_flow .chat_content_cell > div:first-child {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: baseline;
}

.chat_text_flow .chat_content_cell .mbubble {
    display: inline !important;
    max-width: none !important;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: baseline;
}

@media (max-width: 600px) {
    .chat_text_flow {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        line-height: 1.5;
    }

    .chat_text_flow .chat_name_cell {
        max-width: none;
        white-space: nowrap;
    }

    .chat_text_flow .chat_content_cell {
        font-size: 13px;
        white-space: normal;
    }
}

/* End chat_text_flow */


/* Alternative chat multiline flow after rollback — 2026-08-15 */
.chat_text_flow {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    direction: rtl;
    text-align: right !important;
    line-height: 1.4;
    overflow: visible;
}

.chat_text_flow::after {
    content: "";
    display: block;
    clear: both;
}

.chat_text_flow .chat_name_cell {
    float: right;
    display: inline-flex !important;
    align-items: baseline;
    justify-content: flex-start;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 0 4px;
    white-space: nowrap;
    flex: none !important;
}

.chat_text_flow .chat_content_cell {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: rtl;
    text-align: right !important;
    line-height: inherit;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.chat_text_flow .chat_content_cell > div:first-child {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: pre-wrap;
    direction: rtl;
    text-align: right !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.chat_text_flow .chat_content_cell .mbubble {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .chat_text_flow {
        line-height: 1.35;
    }

    .chat_text_flow .chat_name_cell {
        margin-left: 3px;
    }
}

/* End alternative chat multiline flow */

/* Compact only unusually long chat text on narrow screens */
@media (max-width: 600px) {
    .chat_text_flow .chat_long_text > div:first-child,
    .chat_text_flow .chat_long_text > div:first-child .mbubble {
        font-size: 11px !important;
        letter-spacing: -0.3px;
        line-height: 1.35;
    }
}

/* Mobile long-message flow fix — CSS only, tested against live HTML structure */
@media (max-width: 800px) {
    .chat_message_wrapper {
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) 26px 14px !important;
        column-gap: 12px !important;
        row-gap: 0 !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 2px 0 !important;
        direction: ltr !important;
    }

    .chat_rank_cell {
        grid-column: 4 !important;
        grid-row: 1 !important;
        position: static !important;
        width: 14px !important;
        min-width: 14px !important;
        margin: 0 !important;
    }

    .chat_avatar_cell {
        grid-column: 3 !important;
        grid-row: 1 !important;
        position: static !important;
        width: 26px !important;
        min-width: 26px !important;
        height: 26px !important;
        margin: 0 !important;
    }

    .chat_name_cell {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        width: max-content !important;
        max-width: 80px !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .chat_content_cell {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        align-self: start !important;
        direction: rtl !important;
        text-align: right !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .chat_content_cell > div:first-child {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        white-space: pre-wrap !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        text-align: right !important;
    }

    .chat_date_cell {
        display: none !important;
    }

    .chat_menu_cell {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: static !important;
        width: 20px !important;
        min-width: 20px !important;
        margin: 0 !important;
    }
}

/* Mobile name-adjacent first-line flow — supersedes the grid-only text row */
@media (max-width: 800px) {
    .chat_message_wrapper {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 30px !important;
        padding: 2px 0 !important;
        direction: ltr !important;
        overflow: visible !important;
        line-height: 1.45 !important;
    }

    .chat_rank_cell {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: flex !important;
        width: 14px !important;
        min-width: 14px !important;
        height: 26px !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .chat_avatar_cell {
        position: absolute !important;
        top: 0 !important;
        right: 26px !important;
        display: flex !important;
        width: 26px !important;
        min-width: 26px !important;
        height: 26px !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .chat_name_cell {
        float: right !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: max-content !important;
        max-width: 80px !important;
        min-width: 0 !important;
        height: 26px !important;
        margin: 0 64px 0 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        z-index: 3 !important;
    }

    .chat_content_cell {
        display: block !important;
        float: none !important;
        position: static !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        direction: rtl !important;
        text-align: right !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .chat_content_cell > div:first-child,
    .chat_content_cell > div:first-child .mbubble {
        display: inline !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: pre-wrap !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        direction: rtl !important;
        text-align: right !important;
    }

    .chat_date_cell {
        display: none !important;
    }

    .chat_menu_cell {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        display: flex !important;
        width: 20px !important;
        min-width: 20px !important;
        height: 26px !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .chat_message_wrapper::after {
        content: "" !important;
        display: block !important;
        clear: both !important;
    }
}

/* Fine spacing: only the first text line sits beside the name */
@media (max-width: 800px) {
    .chat_name_cell {
        height: 18px !important;
        min-height: 18px !important;
        margin: 0 64px 0 6px !important;
        line-height: 18px !important;
    }
    .chat_name_cell .username,
    .chat_name_cell .achbadge_list,
    .chat_name_cell::after {
        line-height: 18px !important;
    }
}

/* Final spacing refinement for narrow mobile chat */
@media (max-width: 800px) {
    .chat_name_cell {
        margin-left: 10px !important;
    }
    .chat_content_cell {
        line-height: 1.25 !important;
    }
    .chat_content_cell > div:first-child,
    .chat_content_cell > div:first-child .mbubble {
        line-height: 1.25 !important;
    }
}

/* 3RBY.CHAT-style name separator — candidate only */
.chat_name_cell::after {
  content: ':' !important;
  display: inline-block !important;
  margin-inline: 5px 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* 3RBY.CHAT-style mobile message rows — candidate only */
@media (max-width: 800px) {
  .chat_message_wrapper {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 30px !important;
    padding: 4px 0 !important;
    direction: ltr !important;
    overflow: visible !important;
    line-height: 1.45 !important;
  }

  .chat_rank_cell {
    position: absolute !important;
    top: 4px !important;
    right: 0 !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 24px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
  }

  .chat_avatar_cell {
    position: absolute !important;
    top: 4px !important;
    right: 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
  }

  .chat_menu_cell {
    position: absolute !important;
    top: 4px !important;
    left: 0 !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 24px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 2 !important;
  }

  .chat_name_cell {
    float: right !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: max-content !important;
    max-width: 84px !important;
    min-width: 0 !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 64px 0 7px !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    line-height: 24px !important;
    z-index: 3 !important;
  }

  .chat_name_cell .username {
    display: inline-block !important;
    max-width: 84px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 20px !important;
  }

  .chat_name_cell::after {
    content: ':' !important;
    display: inline-block !important;
    margin-inline: 5px 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: 24px !important;
  }

  .chat_content_cell {
    display: block !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: rtl !important;
    text-align: right !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .chat_content_cell > div:first-child,
  .chat_content_cell > div:first-child .mbubble {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    direction: rtl !important;
    text-align: right !important;
  }

  .chat_date_cell {
    display: none !important;
  }

  .chat_message_wrapper::after {
    content: '' !important;
    display: block !important;
    clear: both !important;
  }
}

/* RTL separator and one-line float correction — local candidate */
@media (max-width: 800px) {
  .chat_name_cell {
    direction: rtl !important;
    flex-direction: row !important;
    height: 20px !important;
    min-height: 20px !important;
    line-height: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .chat_name_cell .username {
    line-height: 18px !important;
  }
  .chat_name_cell::after {
    order: 2 !important;
    margin-inline: 0 5px !important;
    line-height: 20px !important;
  }
  .chat_content_cell {
    line-height: 22px !important;
  }
  .chat_content_cell > div:first-child,
  .chat_content_cell > div:first-child .mbubble {
    line-height: 22px !important;
  }
}

/* RTL separator and one-line float correction — local candidate */
@media (max-width: 800px) {
  .chat_name_cell {
    direction: rtl !important;
    flex-direction: row !important;
    height: 20px !important;
    min-height: 20px !important;
    line-height: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .chat_name_cell .username {
    line-height: 18px !important;
  }
  .chat_name_cell::after {
    order: 2 !important;
    margin-inline: 0 5px !important;
    line-height: 20px !important;
  }
  .chat_content_cell {
    line-height: 22px !important;
  }
  .chat_content_cell > div:first-child,
  .chat_content_cell > div:first-child .mbubble {
    line-height: 22px !important;
  }
}

/* Keep reaction summary and quote/share controls on the message line. */
@media (max-width: 800px) {
  .chat_content_cell .chat_react_summary,
  .chat_content_cell .chat_react_opt:not(:empty),
  .chat_content_cell .chat_quote_opt {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    float: none !important;
    clear: none !important;
    width: max-content !important;
    max-width: max-content !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 17px !important;
    margin: 0 4px 0 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    position: relative !important;
  }
  .chat_content_cell .chat_react_opt:not(:empty) {
    gap: 2px !important;
    padding-inline: 0 !important;
  }
  .chat_content_cell .chat_react_summary {
    top: 0 !important;
  }
}

/* Keep message text, reaction summary and share/quote controls in one inline flow on all widths. */
.chat_content_cell > div:first-child,
.chat_content_cell > div:first-child .mbubble {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  vertical-align: baseline !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.chat_content_cell .chat_react_summary,
.chat_content_cell .chat_react_opt:not(:empty),
.chat_content_cell .chat_quote_opt {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  float: none !important;
  clear: none !important;
  width: max-content !important;
  max-width: max-content !important;
  min-width: 0 !important;
  margin: 0 4px 0 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  position: relative !important;
  top: 0 !important;
}
.chat_content_cell .chat_react_opt:not(:empty) {
  gap: 2px !important;
  padding-inline: 0 !important;
}

/* Final transparent mic/chat footer treatment */
#mic_seat_bar_wrap,.mic_seat_bar_wrap{background:rgba(12,18,35,.78) !important;border-top:1px solid rgba(255,255,255,.10) !important;border-bottom:1px solid rgba(0,0,0,.18) !important;box-shadow:0 -4px 18px rgba(0,0,0,.16) !important;backdrop-filter:blur(8px) !important;-webkit-backdrop-filter:blur(8px) !important;}
#mic_seat_bar_wrap:before,.mic_seat_bar_wrap:before{background:transparent !important;}
@media(max-width:600px){#mic_seat_bar_wrap,.mic_seat_bar_wrap{padding:6px 6px 4px !important;}}


/* Desktop identity cell source layout: keep rank, avatar, and name as one inline unit. */
@media (min-width: 601px) {
    .chat_message_wrapper > .chat_identity_cell {
        display: flex;
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        width: auto;
        min-width: max-content;
        max-width: 100%;
        height: auto;
        min-height: 30px;
        margin: 0;
        padding: 0;
        position: relative;
        float: none;
        clear: none;
        direction: rtl;
        white-space: nowrap;
        overflow: visible;
        box-sizing: border-box;
    }
    .chat_message_wrapper > .chat_identity_cell > .chat_rank_cell,
    .chat_message_wrapper > .chat_identity_cell > .chat_avatar_cell,
    .chat_message_wrapper > .chat_identity_cell > .chat_name_cell {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        float: none;
        clear: none;
        transform: none;
    }
}

/* Live games leaderboard icon — 2026-08-21 */
.game_leader_fmenu .game_leader_icon {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(145deg, #fb923c 0%, #f97316 54%, #c2410c 100%) !important;
    box-shadow: 0 5px 13px rgba(249, 115, 22, .30), inset 0 1px 0 rgba(255,255,255,.34);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.game_leader_fmenu .game_leader_icon i {
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
}
.game_leader_fmenu:hover .game_leader_icon,
.game_leader_fmenu:focus-visible .game_leader_icon {
    transform: translateY(-1px) scale(1.05);
    filter: saturate(1.12);
    box-shadow: 0 8px 17px rgba(249, 115, 22, .38), inset 0 1px 0 rgba(255,255,255,.42);
}
body.nogoom-theme .game_leader_fmenu .game_leader_icon {
    background: linear-gradient(145deg, #ef4444 0%, #b91c1c 54%, #7f1d1d 100%) !important;
    box-shadow: 0 5px 13px rgba(153, 27, 27, .34), inset 0 1px 0 rgba(255,255,255,.30);
}
body.nogoom-theme .game_leader_fmenu:hover .game_leader_icon,
body.nogoom-theme .game_leader_fmenu:focus-visible .game_leader_icon {
    box-shadow: 0 8px 17px rgba(153, 27, 27, .44), inset 0 1px 0 rgba(255,255,255,.38);
}
@media (max-width: 600px) {
    .game_leader_fmenu .game_leader_icon {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
        flex-basis: 24px !important;
        border-radius: 7px;
    }
    .game_leader_fmenu .game_leader_icon i {
        font-size: 12px;
    }
}
/* End live games leaderboard icon */


/* Main games button icon — live lobby */
.game_nav_3d .game_nav_icon,
.game_fmenu_3d .game_nav_icon {
    background: linear-gradient(145deg, #fb923c 0%, #f97316 54%, #c2410c 100%);
    color: #fff !important;
    box-shadow: 0 5px 13px rgba(249, 115, 22, .30), inset 0 1px 0 rgba(255,255,255,.34);
}
.game_nav_3d .game_nav_icon i,
.game_fmenu_3d .game_nav_icon i {
    color: #fff !important;
}
.game_nav_3d:hover .game_nav_icon,
.game_nav_3d:focus-visible .game_nav_icon,
.game_fmenu_3d:hover .game_nav_icon,
.game_fmenu_3d:focus-visible .game_nav_icon {
    transform: translateY(-1px) scale(1.05);
    filter: saturate(1.12);
}
body.nogoom-theme .game_nav_3d .game_nav_icon,
body.nogoom-theme .game_fmenu_3d .game_nav_icon {
    background: linear-gradient(145deg, #ef4444 0%, #b91c1c 54%, #7f1d1d 100%);
    box-shadow: 0 5px 13px rgba(153, 27, 27, .34), inset 0 1px 0 rgba(255,255,255,.30);
}
/* End main games button icon */

/* Unified sidebar menu icons and games leaderboard row v86 */
.game_nav_3d .game_nav_icon,.game_fmenu_3d .game_nav_icon{display:inline-flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;filter:none!important}
.game_nav_3d .game_nav_icon i,.game_fmenu_3d .game_nav_icon i{color:inherit!important;background:transparent!important;text-shadow:none!important}
.game_nav_3d:hover .game_nav_icon,.game_nav_3d:focus-visible .game_nav_icon,.game_fmenu_3d:hover .game_nav_icon,.game_fmenu_3d:focus-visible .game_nav_icon{transform:none!important;filter:none!important;box-shadow:none!important}
.game_leader_fmenu .game_leader_icon{display:table-cell!important;vertical-align:middle!important;width:30px!important;min-width:30px!important;height:30px!important;flex-basis:30px!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
.game_leader_fmenu .game_leader_icon i{color:inherit!important;font-size:16px!important;text-shadow:none!important}
.game_leader_fmenu:hover .game_leader_icon,.game_leader_fmenu:focus-visible .game_leader_icon{background:transparent!important;box-shadow:none!important;transform:none!important}
