#login-container,body {
    background: linear-gradient(to right,#1f2937,#3b4e63)
}
#radioPopup,#theme-popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(.8);
    width: 90%;
    visibility: hidden;
    transition: .3s ease-in-out;
    z-index: 1000
}
#usercount,.sistem-detay.closesystem {
    position: absolute;
    top: 10px;
    right: 10px
}
#settingsModal .color-btn:hover,.emoji-button:hover,.emoji:hover,.theme-color:hover {
    transform: scale(1.2)
}
.private-message-item img,.radio-select {
    margin-right: 10px
}
#login-container,#sistem-icerik,.popup {
    opacity: 0;
    transform: translateY(-50px);
    animation: 1s forwards fadeIn,1s forwards slideDown
}
#overlay,#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 999
}
#channelContextMenu,#context-menu,#login-form,#notification-panel {
    box-shadow: 0 4px 6px rgba(0,0,0,.1)
}
.chat-message img,.chat-message strong,.emojione,.sistem-detay {
    vertical-align: middle
}
#muafListContainer,#notificationDropdown,.emoji-panel {
    max-height: 200px
}
.dropdown-item,.noti-btn,.popup-btn {
    text-decoration: none
}
.w-1/5 {
    max-width: 220px
}
.w-3/5 {
    width: 100%
}
.nick-item {
    display: flex;
    justify-content: flex-start;
    align-items: center
}
.private-message-item {
    display: flex;
    align-items: stretch
}
.chpvname {
    width: 85%
}
.message-time,.notification-time {
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right
}
.notification-entry {
    border-left: 4px solid #181579;
    padding: 3px;
    border-radius: 5px;
    border-top: 5px;
    display: table
}
.notification-entry strong {
    color: #333;
    font-weight: 700
}
.notification-entry .not-sender {
    color: #ff5722;
    font-weight: 700
}
.notification-entry .notification-action {
    color: red;
    cursor: pointer;
    font-size: 12px
}
@media (max-width: 768px) {
    body {
        font-size: 12px;
        font-family: Poppins
    }
    .ChannelGizleButton,.channelListsee,.nickListGizleButton,.nickListsee,.nickList,.channelList {
        display: none
    }
    .game-box img {
        height:100px
    }
    .channelList,.nickList,.nickListsee,.chanListsee..ChannelGizleButton,.nickListGizleButton {
        display: none;
    }
    #game-bottom {
        flex-direction: column
    }
    #game-chat-area,#game-tables {
        height: 50%
    }
    .emoji-panel {
        width:100%;
        right: 5px;
        bottom: 70px
    }
    .channelList,.header-icon span,.header-user .buttons-container span,.lg\:block,.nickList {
        display: none
    }
    .header-buttons {
        display: flex;
        justify-content: space-between;
        width: 100%
    }
    .header-user {
        display: flex;
        justify-content: flex-end;
        width: 100%
    }
    .header-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 5%;
        background-color: transparent;
        color: #fff;
        font-size: 12px;
        transition: background-color .3s
    }
    .hidden-lg {
        display: block
    }
    .game-box img {
        height:100px
    }
    #game-bottom {
        flex-direction: column
    }
    #game-chat-area,#game-tables {
        height: 50%
    }
    #channelListall, #nickListall {
        position: fixed;
        top: 3.5rem;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: calc(100% - 3.5rem);
        background-color: white;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
        box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    }

    #channelListall.active, #nickListall.active {
        transform: translateX(0);
        display: block;
    }

    .mobile-float-toggle {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 25%;
        right: 16px;
        z-index: 150;
        transform: translateY(-50%);
        gap: 5px;
    }
    .chat-message{
        font-size: 0.75rem;
    }
    .mobile-float-toggle button {
        width: 36px;
        height: 36px;
        border-radius: 9999px;
        background-color: #2563eb;
        transform: translateY(-50%);
        color: white;
        border: none;
        font-size: 20px;
        padding: 2px 2px;
    }
}
.channelList,.nickList,label {
    font-size: 14px
}

body,html {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column
}
@keyframes fadeIn {
    to {
        opacity: 1
    }
}
@keyframes slideDown {
    to {
        transform: translateY(0)
    }
}
#notification-count[data-count="0"],#notification-list[data-count="0"],.badge--count[data-count="0"] {
    visibility: hidden
}
.notification {
    word-break: break-word;
    overflow-wrap: break-word
}
#popup-overlay {
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-in-out
}
#popup-overlay.active {
    opacity: 1;
    visibility: visible
}
#theme-popup {
    position: fixed;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,.2);
    max-width: 450px;
    opacity: 0;
    font-family: Poppins,sans-serif
}
#radioPopup,#settingsModal .modal-container,#userdatamodal .bg-white {
    box-shadow: 0 4px 10px rgba(0,0,0,.2)
}
#chatContent,.channelList,.nickList {
    font-family: Poppins
}
#radioPopup.active,#theme-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%,-50%) scale(1)
}
#theme-popup h2 {
    font-size: 22px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: center
}
#theme-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px
}
.theme-color {
    border: 2px solid transparent;
    transition: transform .2s,box-shadow .2s
}
.theme-color:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,.15)
}
.theme-color.selected-color {
    border-color: #6b46c1
}
label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #4a5568
}
input[type=range],select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1)
}
#font-bold,#font-italic,#font-underline {
    background-color: #6b46c1;
    color: #fff
}
#font-bold:hover,#font-italic:hover,#font-underline:hover {
    background-color: #5a3cb1
}
.close-popup {
    background-color: #e53e3e;
    color: #fff
}
.close-popup:hover {
    background-color: #cc3232
}
#font-size-value {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px
}
#radioPopup {
    position: fixed;
    border-radius: 10px;
    max-width: 500px;
    opacity: 0
}
.radiomodal {
    background: linear-gradient(20deg,#87b754bd,#d1a8a8,#e1b948,transparent);
    color: #fff
}
.aboutlogo {
    position: center;
    width: 100%;
    max-heigt: 100px
}
.sistem-detay.closesystem {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: var(--bg-darken-10);
    color: var(--text-lighten-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: .3s;
    opacity: 1
}
#notificationDropdown p,.channel-item,.nick-item,.private-message-item {
    background-color: #f5f5f5;
    transition: background-color .3s;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 5px
}
button {
    transition: background-color .3s
}
.chat-container {
    display: flex;
    flex-direction: column
}
#channelContextMenu.hidden,#notification-panel.hidden,#overlay,#sistem,#webrtcModal,.ahidden,.dropdown-menu.hidden,.game-hidden,.hidden,.hidden-lg,.modal.hidden,.notification-count.hidden,.secret,.settingsModalhidden,.tab-content {
    display: none
}
.chat-container .custom-scrollbar,.flex-1 {
    flex: 1;
    overflow-y: auto
}
.channelList {
    max-width: 230px
}
.nickList {
    max-width: 220px
}
#usercount {
    z-index: 10
}
#chatarea,.relative {
    position: relative
}
#channelContextMenu ul li {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color .2s
}
#channelContextMenu ul li:hover {
    background-color: #f1f1f1
}
#channelContextMenu .divider {
    height: 1px;
    background-color: #ddd;
    margin: 5px 0
}
#chatarea {
    flex-grow: 1;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column-reverse
}
.radio-select option,.text-black {
    color: #000
}
#notificationDropdown p:hover,.channel-item:hover,.message-input-wrapper button:hover,.nick-item:hover {
    background-color: #e0e0e0
}
.channel-item {
    display: flex;
    justify-content: space-between;
    align-items: center
}
.nick-item,.private-message-item {
    display: flex;
    align-items: center
}
.emoji,.emoji-button {
    transition: transform .2s
}
.private-message-item.img {
    max-width: 10px;
    max-height: 10px
}
.custom-scrollbar {
    scrollbar-width: thin
}
.custom-scrollbar::-webkit-scrollbar {
    width: 8px
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #333
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px
}
.message-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%
}
.message-input-wrapper p-4 {
    padding: .1rem
}
.message-input-wrapper input {
    flex-grow: 1;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: #fff;
    font-size: 16px;
    color: #333
}
.message-input-wrapper input:focus {
    outline: 0;
    border-color: #007bff;
    box-shadow: 0 0 3px rgba(0,123,255,.5)
}
.message-input-wrapper button {
    display: flex;
    padding: 5px;
    right: 1px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer
}
.message-input-wrapper .send-button {
    background-color: #007bff;
    color: #fff;
    transition: background-color .2s
}
.message-input-wrapper .send-button:hover {
    background-color: #0056b3
}
.emoji-button:hover {
    color: #007bff
}
.emojione {
    width: 24px;
    height: 24px
}
.emoji-panel {
    bottom: 60px;
    right: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    padding: 10px;
    z-index: 1000;
    overflow-y: auto
}
.emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}
.emoji-grid span {
    height: 48px;
    width: 48px:
}
.emoji-button {
    font-size: 20px;
    color: #999;
    background: 0 0;
    border: none;
    padding: 5px;
    cursor: pointer
}
.font-size-picker,.text-bold,.text-italic {
    padding: 4px;
    border: 1px solid #ccc
}
.emoji img,.emoji-button img {
    width: 48px;
    height: 48px;
    object-fit: contain
}
.callclass img,.callclass video,.game-box img,.main-video,.small-video {
    object-fit: cover
}
.emoji-item,.theme-color {
    width: 24px;
    height: 24px;
    cursor: pointer
}
.emoji {
    font-size: 44px;
    cursor: pointer
}
.emoji-toolbar {
    display: flex;
    gap: 4px
}
.emoji-item {
    background-size: cover
}
.text-bold,.text-italic {
    background-color: #fff;
    cursor: pointer
}
#settingsModal input:checked+.slider,.send-button {
    background-color: #4caf50
}
.message-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc
}
.send-button {
    border: none;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer
}
.radio-select,button,button:hover {
    background-color: #1d3d70
}
.notification-button span,.profile img,.theme-color {
    border-radius: 50%
}
.radio-controls {
    display: flex;
    align-items: center;
    gap: 8px
}
.radio-select-option {
    color: #1d3d70
}
.text-white,button {
    color: #fff
}
header {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}
.flex-1 {
    flex: 1
}
.chat-container {
    display: flex;
    height: 100vh;
    overflow: hidden
}
.bg-gray-50 {
    background-color: #f9fafb
}
#menu-items .menu-header,.bg-gray-200 {
    background-color: #e5e7eb
}
#header,.bg-gray-800 {
    background-color: #1f2937
}
.bg-teal-500 {
    background-color: #38b2ac
}
.bg-orange-500 {
    background-color: #f97316
}
.bg-cyan-500 {
    background-color: #06b6d4
}
.bg-amber-500 {
    background-color: #fcd34d
}
.bg-indigo-500 {
    background-color: #667eea
}
.bg-lime-500 {
    background-color: #a3e635
}
button:hover {
    opacity: .8
}
.space-x-2>*+* {
    margin-left: .5rem
}
.space-x-4>*+* {
    margin-left: 1rem
}
.p-2 {
    padding: .3rem
}
.p-4 {
    padding: .4rem
}
.w-8 {
    width: 2rem
}
.h-8 {
    height: 2rem
}
#channelContextMenu,#context-menu,.absolute,.notification-badge {
    position: absolute
}
.top-0 {
    top: 0
}
.right-0 {
    right: 0
}
.rounded-full {
    border-radius: 9999px
}
.bg-red-500 {
    background-color: #ef4444
}
.text-xs {
    font-size: .75rem
}
.w-4 {
    width: 1rem
}
.h-4 {
    height: 1rem
}
.flex {
    display: flex
}
.justify-center {
    justify-content: center
}
.items-center {
    align-items: center
}
input[type=text] {
    border: 1px solid #374151;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    background-color: #dadfe9
}
input[type=text]:focus {
    outline: 0;
    border-color: #1d3d70;
    box-shadow: 0 0 5px rgba(0,123,255,.5)
}
button {
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    border-radius: 4px
}
.no-hover:hover {
    background-color: inherit!important
}
.selected-color {
    filter: brightness(.85);
    border: 2px solid #fff
}
.video-chat {
    display: flex;
    justify-content: space-between
}
#channelContextMenu {
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0;
    width: 200px
}
#context-menu {
    background-color: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    z-index: 1000;
    padding: 0;
    min-width: 200px;
    display: none
}
#menu-items {
    list-style-type: none;
    margin: 0;
    padding: 0
}
#menu-items .menu-header {
    font-weight: 700;
    color: #1f2937;
    padding: 8px 12px;
    border-bottom: 1px solid #d1d5db;
    text-align: center
}
#menu-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 4px;
    color: #374151;
    cursor: pointer;
    transition: background-color .2s,color .2s
}
#menu-items li:hover {
    background-color: #f3f4f6;
    color: #1f2937
}
#menu-items .separator {
    height: 1px;
    background-color: #d1d5db;
    margin: 4px 0
}
#menu-items li i {
    color: #6b7280;
    transition: color .2s
}
#menu-items li:hover i {
    color: #374151
}
#header {
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,.1)
}
.header-buttons,.modal {
    justify-content: center
}
.header-buttons {
    display: flex;
    flex-grow: 1
}
.avatar-modal.ahidden{
    display: none;
}
@media screen(1024>) {
    .mobile-float-toggle {
        display: none!;
    }
    #toggleChannel,#toggleUser{
        display:none;
    }
    .header-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        border-radius: 8%;
        background-color: transparent;
        color: #fff;
        font-size: 14px;
        transition: background-color .3s
    }
    .nickListGizleButton,.chanListGizleButton{
        display: none;
    }
}
.header-icon:hover {
    background-color: rgba(255,255,255,.1)
}
.notification-badge {
    background-color: red;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    padding: 4px 8px;
    top: 0;
    right: 0
}
.user-profile .dropdown-menu {
    margin-top: -1px;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}
#sistem {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: 0!important;
    -webkit-backface-visibility: hidden
}
#sistem-icerik {
    margin: auto;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg,#93386d,#f1ac7b,transparent);
    padding: 30px;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative
}
.sistem-detay {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    z-index: 1045
}
.tooltip,.tooltip .tooltip-text {
    visibility: hidden;
    text-align: center;
    left: 50%
}
#sistem-icerik.rounded {
    color: #b37676
}
#overlay.active,#settingsModal .tab-content.active,#sistem.active,.tab-content.active,.theme-btn:hover .tooltip,.user-profile:hover .dropdown-menu {
    display: block
}
#overlay {
    height: 100vh;
    background: rgba(0,0,0,.4)
}
.system-message {
    font-style: italic;
    opacity: .5;
    align-items: center;
    gap: 2px
}
.system-message.join {
    color: #4caf50;
    font-weight: 500
}
.system-message.mode {
    color: #441508;
    font-weight: 500
}
.system-message.part {
    color: #ff9800;
    font-weight: 500
}
.system-message.nickchange {
    color: #fc0;
    font-style: italic;
    opacity: .75
}
.system-message.quit {
    color: #e53935;
    font-weight: 500
}
.tooltip .tooltip-text,.tooltip-js {
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    position: absolute
}
.tooltip-js {
    background-color: rgba(0,0,0,.85);
    opacity: 0;
    transition: opacity .2s ease-in-out
}
.tooltip-js.show {
    opacity: 1
}
.tooltip .tooltip-text {
    width: 120px;
    background-color: rgba(0,0,0,.8);
    bottom: 150%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity .3s,transform .3s
}
.tooltip:hover,.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1
}
.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,.8) transparent transparent
}
.tooltip:hover .tooltip-text {
    transform: translateX(-50%) translateY(-5px)
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative
}
@media (max-width: 480px) {
    .chat-message{
        font-size: 0.75rem;
    }
    .header-logo,.header__logo {
        display:none
    }
    .channelList,.nickList,.nickListsee,.chanListsee,.nickListGizleButton,.ChannelGizleButton {
        display: none;
    }
}
@media (min-width: 481px) and (max-width:768px) {
    #chatContent,#header,.channelList .nickList {
        font-size:12px;
        font-family: Poppins
    }
    .channelList,.nickList,.nickListsee,.chanListsee {
        display: none;
    }
    #chatContent,#header {
        line-height: 1.1
    }
    .header__container {
        padding: 0
    }
    .header-logo,.header__logo {
        display: none
    }
}
@media (min-width: 1025px){
    .mobile-float-toggle {
        display: none!;
    }
    #toggleChannel,#toggleUser{
        display:none;
    }
}
@media (min-width: 769px) and (max-width:1024px) {
    .header__container {
        padding:0
    }

    .mobile-float-toggle {
        display: none!;
    }
    #toggleChannel,#toggleUser{
        display:none;
    }
    .header-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        border-radius: 10%;
        background-color: transparent;
        color: #fff;
        font-size: 12px;
        transition: background-color .3s
    }
    .header-logo,.header__logo {
        display: none
    }
}
.header__logo span {
    font-weight: 600;
    color: var(--text-lighten-70)
}
#settingsModal .tab-button,.caller-name,.game-box span,.message-nick,.muaf-list-item,.notice-message,.notification-count,.popup-name,.sender-info,.tab-button.active,.user-count,.user-name {
    font-weight: 700
}
.logo {
    display: flex;
    align-items: center;
    height: 55px;
    padding-right: 10px;
    border-right: 1px solid var(--bg-darken-10)
}
.logo img {
    height: 45px;
    filter: var(--logo-filter)
}
.logo--about {
    height: auto
}
.logo--about img {
    height: 35px;
    filter: var(--logo-filter);
    opacity: .5
}
.input-wrapper input {
    padding-right: 7rem
}
.message_color {
    white-space: pre-wrap
}
#roomcount,#roomtopic,.chat-message .message-time,.tooltip {
    white-space: nowrap
}
.tooltip {
    border-bottom: 1px dotted #000;
    z-index: 1;
    bottom: 100%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s
}
.message-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1px
}
.message-container {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    margin-bottom: 1px
}
.message-profile {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0
}
.message-content {
    flex: 1;
    display: flex;
    word-break: break-word;
    position: relative;
    align-content: center;
    flex-wrap: wrap
}
.message-nick {
    display: inline
}
.message-text {
    display: block;
    text-align: left;
    max-width: 100%;
    padding-left: 1px
}
.game-box,.modal-content,.tab-button,.user-count,.video-header {
    text-align: center
}
.message-content::before {
    content: "";
    display: block;
    height: 0
}
.notice-message {
    background: rgba(255,255,0,.2);
    padding: 4px;
    border-radius: 5px
}
.user-profile {
    display: flex;
    align-items: center;
    position: relative
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px
}
.user-name {
    color: #333;
    margin-right: 5px
}
.dropdown-toggle {
    background: 0 0;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 14px
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    width: 180px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 10px 0
}
.dropdown-item {
    padding: 8px 15px;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center
}
.dropdown-item i {
    margin-right: 8px;
    color: #888
}
.dropdown-item:hover {
    background: #f0f0f0;
    color: #000
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,.5);
    z-index: 1000;
    overflow: hidden
}
.call-buttons,.video-main {
    display: flex;
    justify-content: center
}
.modal-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    height: 100%
}
.caller-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px
}
.caller-name {
    font-size: 20px;
    margin: 10px 0
}
.caller-location {
    font-size: 14px;
    color: gray
}
.call-buttons {
    gap: 20px;
    margin-top: 20px
}
.accept-call,.reject-call {
    background: #4caf50;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    cursor: pointer
}
.reject-call {
    background: #f44336
}
.accept-call:hover,.control-button:hover,.reject-call:hover {
    opacity: .8
}
.video-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0
}
.video-header {
    background: #0d6efd;
    color: #fff;
    padding: 10px;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}
.main-video,.video-main {
    background: #000;
    width: 100%
}
.video-main {
    position: relative;
    height: 400px;
    align-items: center
}
.notification-icon,.video-controls {
    justify-content: center;
    display: flex
}
.main-video {
    height: 100%
}
.small-video {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 10px
}
.video-controls {
    gap: 15px;
    margin-top: 15px;
    padding-bottom: 20px
}
.control-button {
    background: #0d6efd;
    border: none;
    padding: 15px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer
}
.notification-icon {
    position: relative;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    cursor: pointer
}
.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center
}
.radio-btn {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    transition: background-color .3s
}
.radio-btn:hover {
    background-color: rgba(255,255,255,.2)
}
.user-profile .dropdown-menu {
    display: none;
    z-index: 1000
}
.notification-button,.radio-btn,.theme-btn {
    display: flex;
    justify-content: center;
    align-items: center
}
#notification-panel {
    display: block;
    position: absolute;
    top: 50px;
    right: 0;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 1000
}
#chantopic,#settingsModal .tab-buttons,.game-box img {
    border-bottom: 2px solid #ddd
}
#notification-list {
    list-style: none;
    padding: 0;
    margin: 0
}
#notification-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center
}
#notification-list li:last-child {
    border-bottom: none
}
.notification-action {
    color: #007bff;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px
}
.notification-action:hover {
    text-decoration: underline
}
.buttons-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    height: 50px
}
.notification-button,.radio-btn,.theme-btn {
    position: relative;
    background-color: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.1)
}
#notification-count,.tooltip {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: #fff;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700
}
#settingsModal,#userdatamodal {
    inset: 0;
    background: rgba(0,0,0,.5)
}
.tooltip {
    top: -10px;
    right: 0;
    transform: translateX(50%);
    font-size: 10px;
    padding: 5px;
    background-color: #4f46e5;
    border-radius: 4px;
    color: #fff;
    display: none
}
.chanListsee,.nickListsee {
    right: 470px;
    transform: translateY(-50%);
    background-color: #4a5fc1;
    transition: right .3s ease-in-out;
    z-index: 1000;
    position: fixed
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    height: 40px;
    border-radius: 1px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.1)
}
.nickListsee {
    top: 130px;
    padding: 10px;
    border-radius: 5px
}
.chanListsee {
    top: 180px;
    padding: 10px;
    border-radius: 5px
}
@media (min-width: 769px) {
    .chanListsee,.nickListsee {
        position:fixed;
        background-color: #4a5fc1;
        padding: 10px;
        border-radius: 5px;
        transition: right .3s ease-in-out;
        z-index: 1000;
        color: #fff;
        cursor: pointer
    }
    .nickListsee {
        right: 470px;
        top: 130px
    }
    .chanListsee {
        right: 470px;
        top: 180px
    }
}
.chanlist-hidden .chanListsee,.nicklist-hidden .nickListsee {
    right: 10px!important
}

.chat-message {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal
}
.chat-message strong {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis
}
.my-message {
    background-color: rgba(0,132,255,.2);
    border-left: 4px solid #0084ff;
    padding: 5px;
    border-radius: 5px
}
@media (max-width: 728px) {
    .nickListsee .channelListsee {
        display:none
    }
    .channelList,.nickList {
        font-size: 14px;
        position: absolute;
        width: 45%;
        height: calc(100% - 50px);
        background-color: rgba(255,255,255,.95);
        box-shadow: -4px 0 6px rgba(0,0,0,.1);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        padding: 10px;
        box-sizing: border-box
    }
    .channelList {
        left: 0;
        border-right: 1px solid #ddd
    }
    .nickList {
        right: 0;
        border-left: 1px solid #ddd
    }
}
.channelList::-webkit-scrollbar,.nickList::-webkit-scrollbar {
    width: 8px
}
:root[data-theme=dark] {
    --bg-color: rgb(18, 18, 18);
    --text-color: rgb(255, 255, 255)
}
:root[data-theme=light] {
    --bg-color: rgb(255, 255, 255);
    --text-color: rgb(0, 0, 0)
}
#chatContent {
    font-size: 14px;
    line-height: 1.5
}
.game-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    transition: transform .2s,box-shadow .2s;
    cursor: pointer
}
.game-box img {
    width: 100%;
    height: 120px
}
.game-box span {
    display: block;
    padding: 10px;
    font-size: 14px;
    color: #333
}
.game-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,.2)
}
.userprivate {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 1px
}
#settingsModal .color-btn,.color-btn {
    height: 25px;
    margin: 5px;
    cursor: pointer
}
.userprivate img {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 1px;
    width: 40px;
    height: 40px
}
.userprivate span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    height: 40px
}
.userprivate button {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    padding: 3px
}
.user-count {
    font-size: 12px;
    background-color: red;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px
}
#chantopic {
    font-size: 14px;
    background-color: #f5f5f5
}
#command-suggestions {
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    bottom: 100%;
    transition: .2s ease-in-out
}
#command-suggestions li {
    padding: 8px 12px;
    cursor: pointer
}
#command-suggestions li:hover {
    background: #f0f0f0
}
#userdatamodal {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1000
}
#userdatamodal .bg-white {
    width: 400px;
    padding: 20px;
    border-radius: 10px
}
.tab-button {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: .3s
}
.tab-button.active {
    border-bottom: 3px solid #00f
}
#settingsModal .switch,.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px
}
#settingsModal .switch input,.switch input {
    opacity: 0;
    width: 0;
    height: 0
}
#settingsModal .slider,.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px
}
#settingsModal .slider:before,.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%
}
input:checked+.slider {
    background-color: #00f
}
#settingsModal input:checked+.slider:before,input:checked+.slider:before {
    transform: translateX(24px)
}
.color-btn {
    width: 25px;
    border-radius: 50%;
    border: none
}
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd
}
.setting-root {
    gap: 5px
}
#settingsModal {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001
}
#settingsModal .modal-container {
    width: 450px;
    color: #fff;
    max-width: 95%;
    background: linear-gradient(45deg,#c71a1a61,#d8e784);
    border-radius: 10px;
    padding: 20px
}
#settingsModal .tab-buttons {
    display: flex;
    gap: 3px
}
#settingsModal .tab-button {
    flex: 1;
    padding: 4px;
    text-align: center;
    cursor: pointer;
    background: 0 0;
    border: none;
    transition: .3s
}
#settingsModal .tab-content,.user-popup {
    padding: 15px;
    display: none
}
#settingsModal .tab-button.active {
    border-bottom: 3px solid #adc4af;
    color: #deefdf
}
#settingsModal .modal-content-sets {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px
}
#game-bottom,#roomcount,#roomtopic,.callclass {
    overflow: hidden
}
#settingsModal .color-btn {
    width: 25px;
    border-radius: 50%;
    border: none;
    transition: transform .3s
}
#topic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    max-height: 25px
}
#roomtopic {
    flex-grow: 1;
    text-align: left;
    text-overflow: ellipsis;
    max-height: 21px
}
#roomcount,.user-popup {
    text-align: center;
    color: #fff
}
#roomcount {
    width: 40px
}
.user-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: linear-gradient(to right,#7c8bd3,#f97316);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    width: 320px;
    z-index: 1000
}
.user-popup.left-align {
    transform: translateX(-100%)
}
.user-popup.right-align {
    transform: translateX(0)
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}
.popup-close-btn {
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer
}
.popup-close-btn.button {
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px
}
.popup-badge,.popup-badge.admin {
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px
}
.popup-badge {
    background: #fc0;
    color: #000
}
.popup-badge.admin {
    background: #cc0f84;
    color: #fff
}
.popup-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between
}
.popup-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff
}
.popup-name {
    font-size: 18px;
    margin: 0
}
.popup-meta {
    font-size: 14px;
    opacity: .8;
    margin: 0;
    text-align: right
}
.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px
}
.popup-btn {
    background: #fff;
    color: #0072ff;
    width: 48%;
    padding: 4px;
    border-radius: 6px;
    font-size: 12px;
    text-align: left;
    border: 1px solid #0072ff;
    transition: .3s
}
.popup-btn:hover {
    background: #0072ff;
    color: #fff
}
.popup-btn:nth-child(odd) {
    margin-right: 0
}
.callclass {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: #000;
    border-radius: 10px
}
.callclass .absolute {
    transition: .3s ease-in-out
}
#game-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%
}
#game-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3b4e63;
    padding: 10px;
    height: 50px;
    border-bottom: 2px solid #2c3e50
}
#game-top button {
    background: #1abc9c;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background .3s ease-in-out
}
#game-tables .game-table:hover,#game-top button:hover {
    background: #16a085
}
#create-table {
    background: #3498db
}
#create-table:hover {
    background: #2980b9
}
.chat-toggle {
    background: #e74c3c
}
.chat-toggle:hover {
    background: #c0392b
}
#game-bottom {
    display: flex;
    flex-direction: column;
    flex: 1
}
#game-tables {
    height: 60%;
    background: #2c3e50;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 2px solid #34495e
}
#game-chat-area {
    height: 40%;
    background: #34495e;
    padding: 10px;
    overflow-y: auto;
    transition: height .3s
}
.chat-hidden #game-chat-area {
    height: 0;
    padding: 0;
    overflow: hidden
}
.game-table {
    background: #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    cursor: pointer;
    transition: transform .2s ease-in-out
}
.game-table:hover {
    transform: scale(1.03)
}
.game-table h3 {
    color: #2c3e50;
    margin-bottom: 5px
}
.game-table p {
    color: #7f8c8d
}
#game-chat-area .chat-message {
    padding: 5px 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 14px;
    color: #fff
}
.avatar-img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 5px
}
#game-tables .game-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #1abc9c;
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
    transition: background .2s
}
.callModal {
    z-index: 1001
}
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
}
.avatar-container {
    background: linear-gradient(45deg,#bf7b7b,#c79f63,transparent);
    padding: 20px;
    border-radius: 18%;
    position: relative;
    text-align: center
}
.avatar-container img {
    width: 350px;
    height: 350px;
    border-radius: 20%
}
.avatar-container button {
    position: absolute;
    top: 5px;
    right: 10px;
    background: 0 0;
    border: none;
    font-size: 20px;
    cursor: pointer
}
.nicklist-search {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 5px;
    border-bottom: 1px solid #ccc
}
#chatNickMenu {
    position: fixed;
    bottom: 60px;
    left: 20px;
    width: 250px;
    background: linear-gradient(124deg,#562b56,#604056,#b54155,#00000061);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 65%);
    z-index: 1000;
    font-family: Arial,sans-serif
}
#chatNickMenu .menu-container {
    padding: 3px;
    background: linear-gradient(326deg,#dfc6c6,#ff8100,#48487eb5,transparent);
    color: #fff
}
#chatNickMenu .menu-container .h1 {
    padding: 3px
}
#chatNickMenu h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #e9dbdb;
    text-align: center
}
#chatNickMenu ul {
    list-style: none;
    margin: 0;
    padding: 0
}
#chatNickMenu .menu-item {
    padding: 4px;
    display: flex;
    align-items: center;
    transition: background .3s
}
.block-list-item,.muaf-list-item {
    justify-content: space-between;
    display: flex
}
#chatNickMenu .menu-item:hover {
    background: linear-gradient(346deg,#ff8100,#dfc6c6,#48487ec5,transparent)
}
#chatNickMenu .menu-item i {
    margin-right: 10px;
    font-size: 16px;
    color: #ede6e6
}
#muafListContainer {
    overflow-y: auto;
    background: rgba(0,0,0,.2);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2)
}
.muaf-list-item {
    align-items: center;
    background: linear-gradient(25deg,#aa5471,#b7a6c38f,#90847a);
    padding: 2px;
    margin-bottom: 2px;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    transition: transform .2s ease-in-out,background .3s
}
.muaf-list-item:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg,#9f476f,#eca67a)
}
.muaf-list-item .delete-btn {
    background: 0 0;
    border: none;
    color: #ff4d4d;
    font-size: 14px;
    cursor: pointer;
    transition: color .3s
}
.muaf-list-item .delete-btn:hover {
    color: red
}
#muafListContainer::-webkit-scrollbar {
    width: 8px
}
#muafListContainer::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,#a0486f,#eea97a);
    border-radius: 10px
}
#muafListContainer::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,#64748b,#94a3b8)
}
#muafListContainer::-webkit-scrollbar-track {
    background: rgba(255,255,255,.1);
    border-radius: 10px
}
.noti-btn {
    display: flex;
    background: #fff;
    color: #f8f8f9;
    width: 100%;
    padding: 4px;
    gap: 2px;
    border-radius: 1px;
    font-size: 12px;
    text-align: left;
    transition: .3s;
    justify-content: center;
    flex-wrap: nowrap;
    align-content: stretch
}
.block-list-item {
    align-items: center;
    padding: 4px;
    margin-top: 2px;
    border-radius: 6px;
    background: linear-gradient(to right,#fc8300,#837b76);
    color: #fff;
    font-weight: 200
}
.block-list-item:hover {
    background: linear-gradient(to right,#ff3d3d,#e5de9e);
    color: #fff
}
.block-list-item button {
    background: 0 0;
    border: none;
    cursor: pointer;
    font-size: 12px;
    transition: color .2s ease-in-out
}
.block-list-item button:hover {
    color: #ffeb3b;
    transform: scale(1.1)
}
.message-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f1f1;
    padding: 0 1px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 14px
}
.active-users {
    color: #333
}
.user-settings {
    display: flex;
    align-items: center;
    gap: 10px
}
.user-settings input[type=color],.user-settings select {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 0
}
.user-settings button {
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: unset;
    font-size: 14px
}