#comboGlobalChatRoot,
#comboGlobalChatRoot *{
    box-sizing:border-box;
}
#comboGlobalChatRoot [hidden]{
    display:none !important;
}
.cgc-root{
    position:fixed;
    right:14px;
    bottom:14px;
    z-index:9998;
    width:auto;
    max-width:calc(100vw - 28px);
    font-family:Arial,Helvetica,sans-serif;
}
.cgc-root.is-hidden{
    display:none;
}
.cgc-toggle{
    position:relative;
    width:62px;
    height:62px;
    border:none;
    border-radius:20px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at top left, rgba(126,247,255,.22), transparent 38%),
        linear-gradient(180deg, rgba(10,31,42,.98) 0%, rgba(8,22,31,.99) 100%);
    border:1px solid rgba(111,230,255,.20);
    box-shadow:0 18px 36px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.03);
    color:#effdff;
    transition:.18s ease;
}
.cgc-toggle:hover{
    transform:translateY(-2px);
    border-color:rgba(111,230,255,.34);
}
.cgc-toggle.is-unread{
    border-color:rgba(255,215,114,.46);
    box-shadow:0 0 0 2px rgba(255,215,114,.14), 0 18px 36px rgba(0,0,0,.30), inset 0 0 0 1px rgba(255,255,255,.03);
    background:
        radial-gradient(circle at top left, rgba(255,226,137,.18), transparent 38%),
        linear-gradient(180deg, rgba(40,33,15,.98) 0%, rgba(22,19,10,.99) 100%);
}
.cgc-toggle__icon{
    width:34px;
    height:34px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(111,230,255,.12);
    color:#7ef7ff;
    font-size:18px;
}
.cgc-toggle.is-unread .cgc-toggle__icon{
    background:rgba(255,215,114,.18);
    color:#ffe38c;
}
.cgc-toggle__badge{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:24px;
    height:24px;
    padding:0 6px;
    border-radius:999px;
    background:#dc2626;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:900;
    line-height:1;
    box-shadow:0 10px 22px rgba(0,0,0,.24);
}
.cgc-panel{
    position:absolute;
    right:0;
    bottom:78px;
    width:min(430px, calc(100vw - 20px));
    height:min(760px, calc(100vh - 106px));
    display:none;
}
.cgc-panel.is-open{
    display:block;
}
.cgc-panel__inner{
    height:100%;
    display:flex;
    flex-direction:column;
    border-radius:24px;
    border:1px solid rgba(111,230,255,.14);
    background:
        radial-gradient(circle at top left, rgba(126,247,255,.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255,215,114,.08), transparent 24%),
        linear-gradient(180deg, rgba(8,20,28,.98) 0%, rgba(5,16,24,.99) 100%);
    box-shadow:0 26px 56px rgba(0,0,0,.32);
    overflow:hidden;
    backdrop-filter:blur(12px);
}
.cgc-header{
    padding:16px 16px 0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.cgc-header__main{
    min-width:0;
}
.cgc-kicker{
    color:#7ef7ff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.cgc-title{
    margin:0 0 6px;
    color:#f3feff;
    font-size:24px;
    line-height:1.15;
}
.cgc-sub{
    margin:0;
    color:#9fd0da;
    font-size:13px;
    line-height:1.5;
}
.cgc-header__actions{
    display:grid;
    gap:8px;
    justify-items:end;
}
.cgc-user-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:8px 10px;
    border-radius:999px;
    background:rgba(111,230,255,.08);
    border:1px solid rgba(111,230,255,.14);
    color:#dffcff;
    font-size:12px;
    font-weight:800;
    max-width:220px;
}
.cgc-user-label span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.cgc-close{
    width:42px;
    height:42px;
    border-radius:14px;
    border:1px solid rgba(255,96,96,.26);
    background:rgba(255,96,96,.10);
    color:#ff9f9f;
    cursor:pointer;
    transition:.18s ease;
}
.cgc-close:hover{
    transform:translateY(-1px);
    background:rgba(255,96,96,.16);
}
.cgc-status{
    margin:12px 16px 0;
    padding:11px 12px;
    border-radius:14px;
    background:rgba(111,230,255,.10);
    border:1px solid rgba(111,230,255,.14);
    color:#dffcff;
    font-size:13px;
    line-height:1.45;
}
.cgc-status.is-danger{
    background:rgba(255,96,96,.12);
    border-color:rgba(255,96,96,.18);
    color:#ffc7c7;
}
.cgc-status.is-success{
    background:rgba(82,255,174,.12);
    border-color:rgba(82,255,174,.18);
    color:#c8ffdd;
}
.cgc-tabs{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px 0;
}
.cgc-tab{
    min-height:40px;
    padding:9px 14px;
    border-radius:14px;
    border:1px solid rgba(111,230,255,.14);
    background:rgba(255,255,255,.04);
    color:#cfeef3;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:.18s ease;
}
.cgc-tab:hover{
    transform:translateY(-1px);
    border-color:rgba(111,230,255,.28);
}
.cgc-tab.is-active{
    background:linear-gradient(180deg,#76f7ff 0%, #21d7ea 100%);
    color:#042d33;
    border-color:transparent;
    box-shadow:0 12px 24px rgba(33,215,234,.16);
}
.cgc-view{
    min-height:0;
    flex:1 1 auto;
}
.cgc-chat-view{
    display:flex;
    flex-direction:column;
    min-height:0;
}
.cgc-messages{
    flex:1 1 auto;
    min-height:0;
    margin:14px 16px 0;
    padding:0 2px 6px;
    overflow:auto;
    display:grid;
    gap:10px;
    align-content:start;
}
.cgc-messages::-webkit-scrollbar{
    width:10px;
}
.cgc-messages::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#3fdff0 0%, #1c8f9d 100%);
    border-radius:999px;
}
.cgc-empty{
    min-height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
    color:#9dcad3;
    font-size:14px;
    line-height:1.55;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(111,230,255,.10);
}
.cgc-message{
    display:grid;
    gap:8px;
}
.cgc-message__meta{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.cgc-message__name{
    color:#f3feff;
    font-size:13px;
    font-weight:900;
}
.cgc-message__time,
.cgc-message__pool{
    color:#8fbfcc;
    font-size:11px;
    font-weight:700;
}
.cgc-message__pool{
    padding:5px 8px;
    border-radius:999px;
    background:rgba(111,230,255,.08);
    border:1px solid rgba(111,230,255,.12);
}
.cgc-message__delete{
    margin-left:auto;
    width:26px;
    height:26px;
    border:none;
    border-radius:9px;
    background:rgba(255,96,96,.12);
    color:#ff9f9f;
    cursor:pointer;
}
.cgc-message__bubble{
    max-width:100%;
    width:fit-content;
    min-width:0;
    padding:12px 14px;
    border-radius:16px;
    background:linear-gradient(180deg,rgba(10,31,42,.92) 0%, rgba(8,22,31,.98) 100%);
    border:1px solid rgba(111,230,255,.12);
    color:#effdff;
    font-size:14px;
    line-height:1.5;
    white-space:pre-wrap;
    word-break:break-word;
}
.cgc-message--own{
    justify-items:end;
}
.cgc-message--own .cgc-message__bubble{
    background:linear-gradient(180deg,rgba(17,67,72,.96) 0%, rgba(9,41,45,.98) 100%);
    border-color:rgba(111,230,255,.22);
}
.cgc-composer-shell{
    position:relative;
    margin:12px 16px 16px;
    flex:0 0 auto;
}
.cgc-form{
    position:relative;
    display:grid;
    gap:10px;
}
.cgc-form__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.cgc-form__tools{
    display:flex;
    align-items:center;
    gap:8px;
}
.cgc-tool-btn{
    min-height:38px;
    padding:8px 12px;
    border-radius:12px;
    border:1px solid rgba(111,230,255,.14);
    background:rgba(255,255,255,.04);
    color:#effdff;
    display:inline-flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
}
.cgc-char-count{
    color:#8fbfcc;
    font-size:12px;
    font-weight:800;
}
.cgc-emoji-panel{
    position:absolute;
    left:0;
    right:0;
    bottom:160px;
    z-index:30;
    border-radius:18px;
    border:1px solid rgba(111,230,255,.16);
    background:linear-gradient(180deg,rgba(10,31,42,.98) 0%, rgba(8,22,31,.99) 100%);
    overflow:hidden;
    box-shadow:0 24px 44px rgba(0,0,0,.34);
}
.cgc-emoji-panel__top{
    padding:12px;
    border-bottom:1px solid rgba(111,230,255,.10);
}
.cgc-emoji-panel__search{
    width:100%;
    min-height:44px;
    border-radius:14px;
    border:1px solid rgba(111,230,255,.16);
    background:rgba(6,18,26,.92);
    color:#effdff;
    padding:11px 13px;
    outline:none;
    font-size:14px;
}
.cgc-emoji-panel__search:focus{
    border-color:#39efff;
    box-shadow:0 0 0 3px rgba(57,239,255,.10);
}
.cgc-emoji-panel__results{
    max-height:300px;
    overflow:auto;
    padding:12px;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
}
.cgc-emoji-item{
    min-height:62px;
    border-radius:14px;
    border:1px solid rgba(111,230,255,.12);
    background:rgba(255,255,255,.03);
    color:#effdff;
    cursor:pointer;
    display:grid;
    place-items:center;
    gap:4px;
    padding:6px;
    text-align:center;
}
.cgc-emoji-item:hover{
    border-color:rgba(111,230,255,.28);
    background:rgba(111,230,255,.08);
}
.cgc-emoji-item__icon{
    font-size:24px;
    line-height:1;
}
.cgc-emoji-item__code{
    font-size:9px;
    line-height:1.2;
    color:#8fbfcc;
    font-weight:800;
}
.cgc-emoji-empty{
    grid-column:1 / -1;
    padding:18px;
    border-radius:14px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(111,230,255,.10);
    text-align:center;
    color:#9dcad3;
    font-size:13px;
}
.cgc-input{
    width:100%;
    min-height:96px;
    resize:none;
    border-radius:18px;
    border:1px solid rgba(111,230,255,.16);
    background:rgba(6,18,26,.94);
    color:#effdff;
    padding:13px 14px;
    font-size:15px;
    line-height:1.5;
    outline:none;
}
.cgc-input:focus{
    border-color:#39efff;
    box-shadow:0 0 0 4px rgba(57,239,255,.10);
}
.cgc-send{
    min-height:48px;
    border:none;
    border-radius:16px;
    background:linear-gradient(180deg,#76f7ff 0%, #21d7ea 100%);
    color:#042d33;
    font-size:15px;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(33,215,234,.20);
}
.cgc-suspended{
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(255,96,96,.18);
    background:linear-gradient(180deg,rgba(50,17,17,.94) 0%, rgba(24,9,9,.98) 100%);
    display:grid;
    gap:10px;
    text-align:center;
}
.cgc-suspended__badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:34px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,96,96,.14);
    border:1px solid rgba(255,96,96,.20);
    color:#ffc7c7;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
    justify-self:center;
}
.cgc-suspended__timer{
    color:#fff;
    font-size:32px;
    font-weight:900;
    line-height:1.1;
}
.cgc-suspended__text{
    color:#ffcece;
    font-size:13px;
    line-height:1.5;
}
.cgc-admin-view{
    padding:14px 16px 16px;
    overflow:auto;
}
.cgc-admin-view::-webkit-scrollbar{
    width:10px;
}
.cgc-admin-view::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#ffd772 0%, #c98f1a 100%);
    border-radius:999px;
}
.cgc-admin{
    padding:14px;
    border-radius:18px;
    border:1px solid rgba(255,215,114,.20);
    background:linear-gradient(180deg,rgba(28,25,14,.94) 0%, rgba(16,14,8,.98) 100%);
    display:grid;
    gap:12px;
}
.cgc-admin__top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.cgc-admin__kicker{
    color:#ffd772;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:4px;
}
.cgc-admin__title{
    color:#fff6d6;
    font-size:17px;
    font-weight:800;
}
.cgc-admin__pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:8px 10px;
    border-radius:999px;
    background:rgba(255,215,114,.14);
    border:1px solid rgba(255,215,114,.20);
    color:#ffe7a0;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.cgc-admin__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.cgc-admin__field--full{
    grid-column:1 / -1;
}
.cgc-admin__label{
    display:block;
    color:#ffe7a0;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.cgc-admin__select{
    width:100%;
    min-height:44px;
    border-radius:14px;
    border:1px solid rgba(255,215,114,.16);
    background:rgba(9,11,14,.84);
    color:#fff6d6;
    padding:10px 12px;
    font-size:14px;
    outline:none;
}
.cgc-admin__select:focus{
    border-color:#ffd772;
    box-shadow:0 0 0 3px rgba(255,215,114,.10);
}
.cgc-admin__preview{
    padding:10px 12px;
    border-radius:14px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,215,114,.14);
    color:#ffe7a0;
    font-size:13px;
    line-height:1.45;
}
.cgc-admin__actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.cgc-btn{
    min-height:44px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:14px;
    font-weight:800;
    transition:.18s ease;
}
.cgc-btn:hover{
    transform:translateY(-1px);
}
.cgc-btn--danger{
    background:linear-gradient(180deg,#ff9090 0%, #d94f4f 100%);
    color:#2c0909;
}
.cgc-btn--secondary{
    background:linear-gradient(180deg,rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 100%);
    color:#f2feff;
    border:1px solid rgba(111,230,255,.14);
}
.cgc-send:disabled,
.cgc-tool-btn:disabled,
.cgc-btn:disabled,
.cgc-tab:disabled{
    opacity:.56;
    cursor:not-allowed;
    box-shadow:none;
    transform:none;
}
@media (max-width:720px){
    .cgc-root{
        right:10px;
        bottom:10px;
        max-width:calc(100vw - 20px);
    }
    .cgc-toggle{
        width:58px;
        height:58px;
        border-radius:18px;
    }
    .cgc-panel{
        right:0;
        bottom:68px;
        width:calc(100vw - 20px);
        height:calc(100vh - 88px);
    }
    .cgc-title{
        font-size:22px;
    }
    .cgc-header{
        padding:14px 14px 0;
    }
    .cgc-status,
    .cgc-tabs,
    .cgc-messages,
    .cgc-composer-shell,
    .cgc-admin-view{
        margin-left:14px;
        margin-right:14px;
    }
    .cgc-tabs{
        padding-left:14px;
        padding-right:14px;
    }
    .cgc-admin-view{
        padding:14px 14px 14px;
    }
    .cgc-admin__grid{
        grid-template-columns:1fr 1fr;
    }
    .cgc-admin__actions{
        grid-template-columns:1fr;
    }
    .cgc-emoji-panel{
        bottom:154px;
    }
    .cgc-emoji-panel__results{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }
}
@media (max-width:520px){
    .cgc-panel{
        width:calc(100vw - 20px);
        height:calc(100vh - 92px);
    }
    .cgc-user-label{
        max-width:160px;
    }
    .cgc-emoji-panel__results{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}