::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    min-height: 20px;
    border: solid transparent;
    border-width: 1px 3px;
    border-radius: 6px;
    background-clip: content-window;
    box-shadow: inset 0 0 0 10px rgba(62,58,58,0.85);
}

body, html{ 
    font-family: 'Inter', sans-serif;
    font-weight: 400; background-color: var(--bg-color);
    font-size: 14px; color: var(--color);
    height: 100%; margin: 0;
}

a{
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
    text-decoration: none !important;
}

a:focus, a:hover{
    color: var(--ttcolor);
}

.container-fluid{ max-width: 95vw; }

.modal-content{
    background-color: var(--bgf-color);
}

header.app{
}

.window{
}

    .window input{
        margin-bottom: 8px;
        background-color: var(--bgf-color); color: var(--color);
        border-radius: 6px;
        border: transparent;
        outline: none;
    }
    .window textarea{
        background-color: var(--bgf-color);
        color: var(--color);
        border-radius: 6px;
        resize: vertical; 
        width: 100%; 
        height: auto; min-height: 100px;
        border: none; outline: none;
        padding: 8px 10px; 
    }

    .window .btn{
        background-color: #2F6EA5; color: #ffffff;
        font-weight: bold; font-size: 14px;
        padding: 12px 24px; border: none;
    }
    .window .btn:hover{
        opacity: 0.75;
    }

.window.auth{
    background-color: var(--bgi-color);
    border-radius: 6px;
    overflow: auto;
    padding: 30px;
    margin-top: 10vh;
}
    .window.auth .title{
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
    }
    .window.auth input{
        margin-bottom: 8px;
        background-color: var(--bgi-color); color: var(--color);
        border-radius: 6px;
        border: transparent;
        outline: none;
    }
    .window.auth .btn{
        background-color: #2F6EA5; color: #ffffff;
        font-weight: bold; font-size: 14px;
        padding: 12px 24px;
    }
    .window.auth .btn:hover{
        opacity: 0.75;
    }

    .window.linker{
        padding: 24px 12px;
        text-align: center;
    }
    .window.linker a{
        color: var(--ttcolor); font-size: 12px;
    }
    .window.linker a i{
        margin-right: 5px;
    }

.dk-area{
    background-color: var(--bgf-color);
    border-radius: 6px;
    margin-bottom: 10px;
}
    .dk-area textarea{
        background-color: var(--bgf-color);
        color: #b5b5b5;
        border-radius: 6px;
        resize: none; 
        width: 100%; font-weight: 400;
        height: auto; min-height: 100px;
        border: none; outline: none;
        padding: 12px; font-size: 13px;
    }
    .dk-area .btn{
        border: none; display: inline-block;
        background-color: #75CACA; color: #1C1F23;
        border: 1px solid #75CACA;
        font-weight: bold; font-size: 12px;
        padding: 6px 14px; margin: 10px -4px 10px 8px;
    }
    .dk-area .btn:hover{
        background-color: transparent; color: #75CACA;    
    }
    .dk-area .btn i{
        margin-right: 5px;
    }

#breadcrumbs{
    font-size: 15px; font-weight: 600;
    color: var(--ttcolor); margin-bottom: 20px;
    display: flex;
}
    #breadcrumbs div{
        margin-right: 7px;
    }
    #breadcrumbs a{
        color: var(--ttcolor);
    }
    #breadcrumbs a i{
        margin-right: 3px;
    }

.mainpage-view{
    padding: 15px 0;
}

.workspace-view{
    padding: 15px 0;
}

.empty{
    color: var(--ttcolor);
    font-weight: 400;
    font-size: 16px;
}
    .empty a{
        color: #75CACA;
        font-weight: 600;
        font-size: 16px;
    }

.dashboard-focus{
    padding: 10px 0px 0px 20px;
    margin-bottom: 10px;
}
    .dashboard-focus .fa-bullseye{
        color: #fa1303;
    }

.dashboard-focus{
    padding: 10px 0px 0px 0px;
    margin-bottom: 10px;
}
    .dashboard-focus .fa-fire{
        color: #fa1303;
    }

.dashboard-redhot{
    padding: 10px 0px 0px 20px;
    margin-bottom: 10px;
}
    .dashboard-redhot .fa-fire{
        color: #fa1303;
    }

.dashboard-workspaces{
    padding-left: 20px;
}

#workspace-area{
    background-color: var(--wpa-color);
}
#workspace-menu{

    display: flex;
    gap: 5px;
}
    .workspace-menu-item{
        opacity: 0.40; text-align: right;
    }
    .workspace-menu-item a{
        display: inline-block;
        background-color: var(--bg-color);
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 4px 4px 0px 0px;
        color: var(--incolor);
        font-weight: bold;
    }
    .workspace-menu-item.active{
        opacity: 1;
    }
    .workspace-menu-item:hover{
        opacity: 0.85;
    }
    .workspace-menu-item a span{
        display: block;
        width: 100%; height: 2px;
        margin-top: 3px;
    }
    .workspace-menu-item a i{
        margin-right: 3px;
    }

.workspace-projects-list{
}
    .workspace-projects-list-name{
    }
    .workspace-projects-list-name i{
        margin-right: 5px;
    }
    .workspace-projects-list-name a{
        font-weight: 400; font-size: 16px;
        color: var(--incolor); opacity: 0.65;
    }
    .workspace-projects-list .workspace-projects{
        padding: 10px 15px 10px 25px;
    }

.workspace-projects{
}
    .workspace-projects-item{
        margin: 0px 0px 30px 0px;
    }
    .workspace-projects-item .meta{
        margin-bottom: 10px;
    }
    .workspace-projects-item .meta .title{
        font-size: 18px; 
    }
    .workspace-projects-item  .meta a.title{
        font-weight: 600;
        color: var(--incolor); 
        margin-right: 7px;
    }
    .workspace-projects-item a.title i{
        margin-right: 5px;
    }
    .workspace-projects-item .meta .title sup span{
        background-color: var(--bgi-color); color: var(--color);
        font-size: 12px;
        padding: 3px 6px; border-radius: 3px;
    }
    .workspace-projects-item .meta{
        margin-top: 5px;
    }
    .workspace-projects-item .meta a.btn-add{
        opacity: 0.45;
        color: #75CACA;
        border: 1px solid #75CACA;
        border-radius: 6px;
        font-weight: 600; font-size: 11px;
        padding: 4px 6px;
    }
    .workspace-projects-item:hover .meta a.btn-add{
        opacity: 1;
    }
    .workspace-projects-item .meta a.btn-add:hover{
        opacity: 1;
    }

.workspace-members{
    margin: 0px 0px 15px 0px;
}

.workspace-ws-members-list{
    display: flex;
}
    .workspace-member-item{
        margin-right: 7px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px; height: 40px;
        border-radius: 6px;
        background-color: var(--bgf-color);
    }
    .workspace-member-item img{
        border-radius: 6px; padding: 1px;
    }

    .workspace-member-inputer{
    }
        .workspace-member-inputer input{
            background-color: var(--bgf-color);
            text-align: center;
        }

    .workspace-member-results{
        display: flex; margin-left: 5px;
    }

.tasklist-month{
    margin: 6px 0px 10px 0px;
    opacity: 0.45;
}
    .tasklist-month span{
        color: var(--incolor);
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 8px;
    }

.tasklist-title{
    padding: 12px 0px 12px 12px;
    background-color: #262b31;
    font-size: 15px;
    font-weight: 600;
}
.tasklist-item{ 
    background-color: var(--bgt-color);
    border-radius: 3px;
    padding: 12px;
    color: var(--ttcolor); margin-bottom: 2px;
    
}
.tasklist-item.wg{
    cursor: pointer;
}
    .tasklist-item-meta{
        display: flex;
    }
    .tasklist-item-meta .price{
    }
    .tasklist-item-meta .price span{
        background-color: #0d7660;
        display: inline-block;
        padding: 6px;
        font-size: 11px; line-height: 11px;
        color: #fff !important; font-weight: bold;
        border-radius: 6px 0px 0px 6px;
        width: 65px;
        text-align: right;
        display: flex;
        justify-content: right;
        align-items: right;
    }
    .tasklist-item-meta .price span i{
        margin-left: 5px;
    }
    .tasklist-item-meta .priority{
        margin-right: 10px;
        background-color: var(--ttcolor);
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
        width: 30px; height: 26px;
        min-width: 30px;   
    }
    .tasklist-item-meta .descr{
        display: flex;
        align-items: center;
        justify-content: left;
        width: 100%;
    }
    .tasklist-item-meta .descr .path{
        font-size: 11px; font-weight: 300;
        color: var(--incolor); opacity: 0.55;
        margin-bottom: 3px;
    }
        .tasklist-item-meta .title{
            font-weight: 600;
            margin-right: 20px;
        }
        .tasklist-item-meta .title a{
            color: var(--ttcolor); 
            font-size: 16px; font-weight: 300;
        }
        .tasklist-item-meta .content{
            font-size: 16px; font-weight: 300;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--ttcolor); max-width: 300px;
        }

    .tasklist-item .deadline{
        display: flex;
        align-items: center; 
        justify-content: right;
    }
        .deadline span{
            background-color: var(--bgi-color);
            padding: 3px 6px;
            min-width: 40px;
            text-align: center;
            border-radius: 6px;
            font-size: 10px;
            font-weight: bold;
        }
        .deadline span.expired{
            background-color: #F21700;
        }
        .deadline span.warning{
            background-color: #fdda02;
            color: var(--color);
        }
        .deadline span.waiting{
            background-color: #75ba75;
        }

    .tasklist-item .performer{
        margin-left: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }
        .tasklist-item .performer img{
            width: 25px; border-radius: 6px;
        }

    .priority{
        font-weight: bold;
    }
    .priority[data-color="0"] {
        background-color: var(--incolor); color: var(--ttcolor);
    }
    .priority[data-color="1"] {
        background-color: var(--bgi-color); color: var(--ttcolor);
    }
    .priority[data-color="2"] {
        background-color: #A0BCD4; color: var(--ttcolor);
    }
    .priority[data-color="3"] {
        background-color: #7DC5D3;
    }
    .priority[data-color="4"] {
        background-color: #5EBCAC;
    }
    .priority[data-color="5"] {
        background-color: #B8CA00; color: var(--color);
    }
    .priority[data-color="6"] {
        background-color: #FFCB00; color: var(--color);
    }
    .priority[data-color="7"] {
        background-color: #FFA300; color: var(--color);
    }
    .priority[data-color="8"] {
        background-color: #FF7300;
    }
    .priority[data-color="9"] {
        background-color: #FF4B00;
    }
    .priority[data-color="10"] {
        background-color: #F21700;
    }

.task-view{
    padding: 3vh 3vh 8vh 3vh;
}

.tasklist-item.completed{
    opacity: 0.5;
}   
    .tasklist-item.completed .title{
        text-decoration: line-through;
    }
    .tasklist-item.completed .content{
        display: none;
    }

#task-widget{
    position: fixed; 
    top: 0; left: 0px;
    width: 100%; height: 100%;
    display: none;
}
    #task-widget-bg{
        position: fixed; 
        top: 0; left: 0px;
        width: 100%; height: 100%;
        background-color: rgba(0, 0, 0, 0.75);
    }
    #task-widget-content{
        width: 50vw;
        margin: 5vh auto;
    }

.task-form-editer .note{
    padding: 10px;
    font-size: 12px;
    border: 1px solid #232323;
    margin: 5px auto;
    border-radius: 6px;
    text-align: center;
}

    .task-form-editer .note-editor {
      background-color: var(--color);
      color: #fff;
    }

    .task-form-editer .note-toolbar {
      background-color: #444;
      color: #fff;
      border: none;
    }
    .btn-default{
        border: 1px solid #232323;
    }

    .task-form-editer .note-btn {
      background-color: #555;
      color: #fff;
    }

    .task-form-editer .note-editable {
      padding-top: 15px !important;
      background-color: var(--bgf-color);
      color: var(--color);
      font-size: 15px;
    } 

    .task-form-editer .note-popover {
      background-color: #444;
      color: #fff;
    }

#task-comments{
    background-color: var(--bgt-color);
    padding: 8px;
    border-radius: 6px;
}
    .task-comments-form{
        display: flex;
    }
        .task-comments-form div.form{
            width: 100%; position: relative;
        }
        .task-comments-form div.form textarea{
            border: none; border-radius: 6px;
            color: var(--ttcolor);
            background-color: var(--bgi-color);
            width: 100%; resize: vertical;
            min-height: 100px;
            outline: none;
        }
        .task-comments-form div.form button{
            background-color: #004c8a;
            color: #fafafa;
            border: none; border-radius: 4px;
            position: absolute;
            bottom: 0; right: 0;
            padding: 6px 12px;
        }
        .task-comments-form div.form button:hover{
            color: #fafafa;
            background-color: #2C81C7;
        }
        .task-comments-form div.userpic{
            margin-right: 12px;
        }
        .task-comments-form div.userpic img{
            width: 50px; border-radius: 50%;
        }

    .task-comments-list-item {
        display: flex; margin-bottom: 8px;
        border-bottom: 1px solid #2B3037;
        padding: 10px 0px;
        margin-bottom: 8px;
    }
        .task-comments-list-item div.userpic{
            margin-right: 6px;
        }
        .task-comments-list-item .userpic img{
            width: 50px; border-radius: 50%;
        }
        .task-comments-list-item div.comment{
            border-radius: 6px;
            color: var(--ttcolor);
            width: 100%;
            padding: 0px 12px 8px 8px;
        }
        .task-comments-list-item .datetime{
            font-size: 12px; color: var(--ttcolor);
            margin-bottom: 3px;
        }
        .task-comments-list-item .content{
        }
        .comment{

        }
        .comment button{
            font-size: 12px; color: var(--ttcolor);
            outline: none; border: none;
            background-color: transparent;
            padding: 0; margin: 0;
        }
        .comment a{
            font-size: 12px; color: var(--ttcolor);
        }
        .comment .attach{
            padding: 10px 0px;
        }

#task-corrector{
    margin: 0px 0px 10px 0px;
    display: flex;
}
    #task-corrector a{
        background-color: rgb(117, 187, 117);
        color: var(--color);
        padding: 3px 5px;
        border-radius: 6px;
        margin-right: 2px;
        font-size: 12px;
        font-weight: bold;
        min-width: 25px;
        text-align: center;
    }
    #task-corrector a.red{
        background-color: rgb(237, 40, 66);
    }

#attach-uploader{
    position: absolute;
    background-color: transparent;
    border: none; outline: none;
    bottom: 5px; left: 5px;
    font-size: 11px;
    color: var(--ttcolor);
}

.form-view{
    padding: 3vh 3vh 8vh 3vh;
}
    .form-view input, .form-view input[disabled]{
        background-color: var(--bgf-color) !important; color: var(--incolor);
        outline: none; border: none;
        border-radius: 6px; margin-bottom: 6px;
        padding: 15px;
    }
    .form-view textarea{
        background-color: var(--bgf-color);
        outline: none; border: none;
        border-radius: 6px; margin-bottom: 6px;
        padding: 15px; color: var(--incolor);
        font-size: 15px; font-weight: 400;
        height: auto; width: 100%;
        min-height: 150px;
        overflow-y: hidden;
        resize: none;
    }

.project-form-top{
    display: flex; margin-bottom: 10px;
}
    .project-form-top .title{
        width: 100%; position: relative;
    }
        .project-form-top .title input{
            padding: 15px; color: var(--incolor);
            font-size: 16px; font-weight: 600;
            height: 50px; 
        }

    .project-form-top .button{
        margin: 0px 0px 6px 6px;
    }
        .project-form-top button{
            background-color: #004c8a;
            color: #f1f1f1;
            height: 100%;
            padding: 0px 20px;
            font-size: 15px;
            font-weight: 700;
            border-radius: 6px;
            outline: none !important;
            -webkit-transition: all .4s ease;
            -o-transition: all .4s ease;
            -moz-transition: all .4s ease;
            transition: all .4s ease;
        }
        .project-form-top button:hover{
            color: #fff;
            background-color: #2C81C7;
        }

    .project-form-top .workspaces{
        margin-right: 7px;
    }
    .project-form-top .workspaces select{
        font-size: 15px; width: 150px;
        background-color: var(--bgf-color);
        outline: none; border: none;
        border-radius: 6px;
        padding: 15px; color: var(--incolor);
        height: auto;
    }

/* */

.task-form-top{
    display: flex; margin-bottom: 10px;
}
    .task-form-top .title{
        width: 100%; position: relative; display: flex;
    }
        .task-form-top .title input{
            padding: 15px; color: var(--incolor);
            font-size: 16px; font-weight: 600;
            height: 50px; 
        }
        .task-form-top .title input[name="price"] {
            width: 85px; margin-right: 7px;
        }

    .task-form-top .priority{
        position: absolute;
        top: 0; right: 0;
        width: 50px; height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px 6px 6px 0px;
        cursor: pointer;
    }
    .task-form-top .priority-list{
        display: none;
        position: absolute;
        top: 10px; right: 10px;
        min-height: 120px;
        background-color: rgba(0, 0, 0, 0.35);
        width: 300px; border-radius: 6px;
        padding: 10px 0px 0px 10px;
        z-index: 99;
    } 
    .task-form-top .priority-list.active{
        display: block;
    } 
    .priority-list-row{
        display: flex; margin-bottom: 10px;
    }
        .priority-list .priority{
            position: relative;
            align-items: center;
            margin-right: 10px;
            width: 50px; height: 50px;
            cursor: pointer;
        }
        .priority-list .priority{
            border-radius: 6px;
        }

    .task-form-top .button{
        margin: 0px 0px 6px 6px;
    }
        .task-form-top button{
            background-color: #004c8a;
            color: #f1f1f1;
            height: 100%;
            padding: 0px 20px;
            font-size: 15px;
            font-weight: 700;
            border-radius: 6px;
            outline: none !important;
            -webkit-transition: all .4s ease;
            -o-transition: all .4s ease;
            -moz-transition: all .4s ease;
            transition: all .4s ease;
        }
        .task-form-top button:hover{
            color: #fff;
            background-color: #2C81C7;
        }

.task-form-meta{
    margin-bottom: 15px;
    display: flex;
}
    .task-form-meta .performer{
        width: 40%; margin-right: 7px;
    }
    .task-form-meta .projects{
        width: 30%; margin-right: 7px;
    }
    .task-form-meta .performer select,
    .task-form-meta .projects select{
        font-size: 15px; 
        background-color: var(--bgf-color);
        outline: none; border: none;
        border-radius: 6px;
        padding: 15px; color: var(--incolor);
        height: auto;
    }
    .task-form-meta .deadline{
        width: 30%;
    }
    .task-form-meta .deadline input{
        font-size: 15px; text-align: center;
        height: auto;
    }
    .task-form-meta i.hint{
        display: block;
        font-weight: 400;
        font-size: 12px;
        font-style: normal;
        margin-bottom: 5px;
    }

#killer{
    width: 200px; margin: 0 auto;
    margin-top: 30px;
    text-align: center;
    cursor: pointer;
}
    .killer-label{
        opacity: 0.25;
        color: var(--incolor);
        background-color: #302e41;
        padding: 14px 28px;
        -webkit-transition: all 1s ease;
        -o-transition: all 1s ease;
        -moz-transition: all 1s ease;
        transition: all 1s ease;
        border-radius: 6px;
        font-size: 16px;
    }
    #killer:hover .killer-label{
        opacity: 1;
    }

    .killer-confirm{
        display: none;
    }
    .killer-confirm a{
        font-weight: 600;
        background-color: #F8604A;
        padding: 14px 28px;
        color: #ffffff !important;
        border-radius: 6px;
    }

#task-viewer {
    background-color: var(--bgt-color);
    border-radius: 6px;
    padding: 10px 25px;
    margin-bottom: 10px;
    position: relative;
}
    #task-viewer .task-viewer-toggle{
        position: absolute;
        top: -40px; right: 40px;
    }
        #task-viewer .task-viewer-toggle a{
            border: none; padding: 5px 30px;
            background-color: #E2E8F3; opacity: 0.85;
            font-weight: bold;
        }
        #task-viewer .task-viewer-toggle a:hover{
            opacity: 1;
        }
        #task-viewer.completed .task-viewer-toggle a{
            background-color: #75CACA; 
        }

    #task-viewer .task-viewer-child{
        position: absolute;
        top: -40px; right: 0px;
    }
         #task-viewer .task-viewer-child a{
            border: none; padding: 5px 10px;
            background-color: #E2E8F3; opacity: 0.85;
            font-weight: bold;
        }
        #task-viewer .task-viewer-child a:hover{
            opacity: 1;
        }
        #task-viewer.completed .task-viewer-child a{
            display: none;
        }

    #task-viewer .task-viewer-headline{
        position: relative; margin-bottom: 20px;
        margin-top: 5px;
    }
    #task-viewer .title{
        font-size: 18px; font-weight: 600;
        margin-left: 30px;
        padding: 5px 12px; border-radius: 6px;
    }
    #task-viewer.completed .title{
        text-decoration: line-through;
        color: var(--ttcolor);
    }

    #task-viewer .title[contenteditable="true"]{
        outline: none !important;
        background-color: #3b3b3b;
    }

    #task-viewer .priority.current{
        position: absolute;
        top: 0px; left: -10px;
        width: 35px; height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 6px;
        cursor: pointer;
    }
    #task-viewer .priority-list{
        z-index: 999;
        display: none;
        position: absolute;
        top: 10px; left: 0;
        min-height: 100px;
        background-color: rgba(0, 0, 0, 0.35);
        width: auto; border-radius: 6px;
        padding: 10px 0px 0px 10px;
    } 
    #task-viewer .priority-list.active{
        display: block;
    } 
    #task-viewer .priority-list-row{
        display: flex; margin-bottom: 10px;
        overflow: auto;
    }
        #task-viewer .priority-list .priority{
            display: flex;
            position: relative;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            width: 35px; height: 35px;
            cursor: pointer;
        }
        #task-viewer .priority-list .priority{
            border-radius: 6px;
        }

    #task-viewer .task-path{
        display: flex; gap: 5px;
        margin-left: -10px; 
        margin-top: -25px;
        margin-bottom: 10px;
    }
        #task-viewer .task-path div{
            background-color: #565656;
            padding: 3px 9px;
            border-radius: 6px;
        }
        #task-viewer .task-path div a{
            color: #d3d3d3; font-size: 12px;
        }
        #task-viewer .task-path div a i{
            margin-right: 3px;
        }

    .task-viewer-datatime{
        font-size: 12px; margin-bottom: 10px;
        color: var(--incolor);
        position: relative;
    }
        .task-viewer-datatime i{
            display: inline-block;
            font-style: normal;
            padding: 0 4px;
        }
        .task-viewer-datatime span.deadline span{
            font-size: 11px;
            display: inline-block;
            margin-left: 5px;
        }
        .task-viewer-datatime .members-list{
            display: none;
            position: absolute;
            background-color: rgba(0, 0, 0, 0.85);
            top: 0;
            left: 0;
            overflow: auto;
            border-radius: 6px;
            width: 30px;
            overflow: hidden;
        }
        .task-viewer-datatime .members-list span{
            cursor: pointer; display: inline-block;
            padding: 0px; margin: 2.5px;
        }
        .task-viewer-datatime .members-list span img{
            border: 2px solid var(--incolor);
            border-radius: 50%;
        }
        .task-viewer-datatime .members:hover .members-list{
            display: block;
        }

        .task-timer{
            margin-right: 7px; font-weight: bold;
            background-color: #fafafa;
            padding: 3px 6px; color: var(--color);
            border-radius: 3px; min-width: 70px;
            display: inline-block;
            text-align: center;
        }
        .task-timer:before{
            display: inline-block;
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            content: '\f017';
            margin-right: 4px;
        }
        .task-price{
            margin-right: 7px; font-weight: bold;
            background-color: #fafafa;
            padding: 3px 6px; color: var(--color);
            border-radius: 3px; min-width: 70px;
            display: inline-block;
            text-align: center;
        }
        .task-timer.line{
            width: 80px; font-size: 13px;
            opacity: 0.25;
        }

    .performer{
        margin-right: 7px;
    }
        .performer img{
            border-radius: 50%;
        }


    .task-viewer-content{
        margin-bottom: 20px; font-size: 15px;
        color: var(--ttcolor);
    }
    .task-viewer-content a{
        color: #71a3c1;
    }
    .task-viewer-content ul{
        padding-left: 25px;
    }
    .task-viewer-content strike{
        opacity: 0.75;
    }

.task-viewer-edit{
    position: absolute;
    top: 10px; right: 10px;
}
    .task-viewer-edit a{
        color: var(--incolor); font-size: 16px;
    }

:root {
    --header-height: 70px;
    --header-height-fixed: 10px;
    --chat-bg: #f8fbff;
    --chat-bg-gradient-start: #ffffff;
    --chat-bg-gradient-end: #f1f5fb;
    --chat-border: rgba(15, 23, 42, 0.12);
    --chat-text-main: #1f2937;
    --chat-text-muted: #64748b;
    --incoming-bg: #e8eef8;
    --incoming-bg-hover: #dde6f4;
    --outgoing-grad-start: #3b82f6;
    --outgoing-grad-end: #2563eb;
    --outgoing-text: #ffffff;
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
    --accent-blue: #3b82f6;
    --chat-header-bg-start: rgba(255, 255, 255, 0.96);
    --chat-header-bg-end: rgba(241, 245, 249, 0.92);
    --chat-icon-bg: rgba(226, 232, 240, 0.9);
    --chat-icon-hover-bg: rgba(191, 219, 254, 0.95);
    --chat-thread-bg: #dbeafe;
    --chat-context-bg: #ffffff;
    --chat-context-hover: #f1f5f9;
    --chat-context-shadow: 0 5px 25px rgba(15, 23, 42, 0.16);
}

[data-theme="dark"] {
    --chat-bg: #0e1116;
    --chat-bg-gradient-start: #0a0c10;
    --chat-bg-gradient-end: #11151d;
    --chat-border: rgba(255, 255, 255, 0.06);
    --chat-text-main: #e6e9ef;
    --chat-text-muted: #7a8394;
    --incoming-bg: #1b2430;
    --incoming-bg-hover: #232e3d;
    --outgoing-grad-start: #4b6bff;
    --outgoing-grad-end: #9d4bff;
    --outgoing-text: #ffffff;
    --input-bg: #11151d;
    --input-border: #2a3441;
    --accent-blue: #4b6bff;
    --chat-header-bg-start: rgba(15, 23, 42, 0.95);
    --chat-header-bg-end: rgba(15, 23, 42, 0.8);
    --chat-icon-bg: rgba(15, 23, 42, 0.8);
    --chat-icon-hover-bg: rgba(30, 64, 175, 0.8);
    --chat-thread-bg: #2a3463;
    --chat-context-bg: #11151d;
    --chat-context-hover: rgba(255, 255, 255, 0.08);
    --chat-context-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

#messenger-widget{
    position: sticky;               
    top: var(--header-height);
    height: calc(91.5vh - var(--header-height));
}
#messenger-widget.fixed{
    position: fixed;
    top: var(--header-height-fixed);
    height: calc(96.5vh - var(--header-height-fixed));
}
    #messenger{
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--chat-border);
        border-radius: 8px;
        box-sizing: border-box;
        background: linear-gradient(
            180deg,
            var(--chat-bg-gradient-start) 0%,
            var(--chat-bg-gradient-end) 100%
        );
        overflow: hidden;
    }

/* Шапка чата */
.chat-header {
    padding: 10px 14px;
    border-bottom: 1px solid var(--chat-border);
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: linear-gradient(90deg, var(--chat-header-bg-start), var(--chat-header-bg-end));
    backdrop-filter: blur(8px);
}

    .chat-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--chat-text-main);
    }

    .chat-subtitle {
        font-size: 11px;
        color: var(--chat-text-muted);
    }

/* Зона сообщений — растягивается между шапкой и инпутом */
.chat-messages {
    flex: 1;                          /* 👈 реально заработало */
    padding: 12px 10px;
    overflow-y: auto;                 /* 👈 скролл только здесь */
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
}

/* Одна строка сообщения */
.message-row {
    display: flex;
    align-items: flex-start;
}

.message-row--me {
    justify-content: flex-end;
}

/* Бабл сообщения */
.message {
    max-width: 80%;
    border-radius: 14px;
    padding: 8px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 1.35;
}

/* Входящее */
.message--incoming {
    background: var(--incoming-bg);
    color: var(--chat-text-main);
    transition: opacity .2s ease;
}
    .message--incoming:hover {
        background: var(--incoming-bg-hover);
    }

/* Исходящее */
.message--outgoing {
    background: linear-gradient(135deg, var(--outgoing-grad-start), var(--outgoing-grad-end));
    color: var(--outgoing-text);
    transition: opacity .2s ease;
}
    .message--outgoing:hover {
        opacity: 0.85;
    }

/* Шапка сообщения (автор + время) */
.message-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 2px;
}

.message-author {
    font-weight: 500;
    color: var(--chat-text-muted);
    padding-right: 10px;
}

.message--outgoing .message-author {
    color: rgba(249, 250, 251, 0.85);
    opacity: 0.9;
}

.message-time {
    color: var(--chat-text-muted);
    opacity: 0.8;
}

/* Текст сообщения */
.message-text {
    word-wrap: break-word;
}

/* Нижняя панель — всегда прижата к низу #messenger */
.chat-input {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--chat-bg-gradient-end);
    border-top: 1px solid var(--chat-border);
}

/* Кнопки слева/справа */
.chat-btn {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.chat-btn--icon {
    background: var(--chat-icon-bg);
}

.chat-btn--icon i {
    color: var(--chat-text-muted);
    outline: none;
}

.chat-btn--icon:hover {
    background: var(--chat-icon-hover-bg);
}

.chat-btn--primary {
    background: var(--accent-blue);
    box-shadow: 0 0 0 1px rgba(59,130,246,.35);
}
    .chat-btn--primary:hover {
        box-shadow: 0 8px 16px rgba(37,99,235,0.35);
    }
    .chat-btn--primary i {
         color: #fff;
    }

/* Поле ввода */
.chat-textarea {
    flex: 1;
    max-height: 160px;
    min-height: 36px;
    resize: none;
    border-radius: 6px;
    padding: 8px 12px;
    outline: none !important;
    font-size: 13px;
    box-sizing: border-box;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--chat-text-main);
}
    .chat-textarea::placeholder {
        color: var(--chat-text-muted);
    }

.im-separator{
    text-align: center;
    font-size: 10px;
    padding: 6px 0px;
    opacity: 0.65;
}

    .im-separator i{
        margin-right: 5px;
    }
    .im-separator.reply{
        font-size: 11px;
        opacity: 0.85;
        padding: 3px 0px;
    }
    .im-separator.reply a{
        color: var(--incolor);
    }

.messenger-threads{
    display: flex;
    gap: 5px; min-height: 35px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
    .messenger-threads::-webkit-scrollbar {
        width: 4px; height: 4px;
    }
    .messenger-threads a{
        color: var(--incolor); font-size: 12px;
        display: inline-block;
        background-color: var(--chat-thread-bg);
        padding: 3px 6px;
        border-radius: 4px;
        opacity: 0.65;
        white-space: nowrap;
    }
    .messenger-threads a:hover{
        opacity: 0.85;
    }
    .messenger-threads a.current{
        opacity: 1;
    }

.chat-context-menu {
    position: fixed;
    min-width: 160px;
    background: var(--chat-context-bg);
    border: 1px solid var(--chat-border);
    border-radius: 6px;
    padding: 4px 0;
    display: none;
    z-index: 99999;
    box-shadow: var(--chat-context-shadow);
}

.chat-context-menu .ctx-item {
    padding: 8px 14px;
    color: var(--chat-text-main);
    font-size: 13px;
    cursor: pointer;
}

.chat-context-menu .ctx-item:hover {
    background: var(--chat-context-hover);
}


/* Адаптив */
@media (max-width: 767.98px) {
    #messenger-widget,
    #messenger-widget.fixed {
        height: calc(100vh - 110px);
    }

    .message {
        max-width: 90%;
    }

    .chat-header {
        padding: 8px 10px;
    }

    .chat-input {
        padding: 8px;
        gap: 6px;
    }
}

.box{
    background-color: var(--card-bg);
    margin: 20px 0px;
    border: 1px solid #fafafa;
    border-radius: 6px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
}
    .box .title{
        padding: 7px 14px;
        background-color: #fafafa;
        font-weight: bold;
    }
    .box .body{
        padding: 7px 14px;
    }
    

#navigator{
    display: flex;
    padding: 12px 0px;
    align-items: center;
    justify-content: right;
}
    .navigator-item{
        padding: 7px 14px;
        margin-right: 7px;
        background-color: #B3D3E0;
        font-weight: bold;
        border-radius: 7px;
    }
    .navigator-item i{
        margin-right: 5px;
    }
    .navigator-item i.fa-home{
        margin: 0;
    }

    .navigator-item.wallet{
        background-color: transparent;
        border: 2px solid #75bb75;
        font-weight: bold; font-size: 13px;
    }
    .navigator-item.wallet a{
        color: #75bb75;
    }

    #tomato{
        background-color: transparent;
        cursor: pointer;
    }
    #tomato[data-status="pause"]{
        filter: grayscale(1);
    }
    #tomato[data-status="stop"]{
        opacity: 0.35; filter: grayscale(1);
    }
    #tomato[data-status="work"]{
        opacity: 1;
    }
    #tomato .timer{
        width: 45px; display: inline-block;
        text-align: center;
    }

.capa-row{
    display: flex;
    margin: 20px 0;
}
.capa-item{
    padding-right: 30px;
    max-width: 50%;
}   
    .capa-title{
        font-weight: bold;
        font-size: 20px;
    }


.project-nav{
    margin-bottom: 10px;
}
.project{
    background-color: var(--card-bg);
    box-shadow: 0px 2px 2px rgba(0,0,0,.15);
    border-radius: 6px; margin-bottom: 20px;
}
    .project > .title{
        padding: 10px 14px;
        font-weight: bold;
        background-color: #549bd1;
        color: #ffffff;
        border-radius: 6px 6px 0px 0px;
        font-size: 17px;
    }
    .project > .content{
        padding: 8px 14px;
    }
    .project > .meta{
        background-color: #fafafa;
        padding: 10px 15px;
        font-size: 12px;
    }

.docs-item{
    background-color: var(--card-bg);
    padding: 5px 5px;
    box-shadow: 0px 2px 2px rgba(0,0,0,.15);
    border-radius: 6px; margin-bottom: 20px;
    position: relative;
}
    .docs-item [name="title"] {
        background-color: #f9eccb;
        border: none; outline: none;
        margin-bottom: 5px;
        font-size: 16px;
        font-weight: bold;
    }
    .docs-item [name="content"] {
        background-color: #f9eccb;
        border: none; outline: none;
        margin-bottom: 0px;
        font-size: 14px;
        resize: vertical;
        min-height: 200px;
        font-weight: 500px;
    }
    .docs-item [type="submit"] {
        position: absolute;
        bottom: 5px; right: 5px;
        outline: none !important;
        min-width: 120px;
        border: 1px solid #ffffff;
        background-color: #FFE857;
        font-size: 13px;
    }

#workspaces-nav{
    display: flex;
}
    .workspaces-nav-item{
        background-color: #fafafa; 
        padding: 4px 8px; margin-right: 6px;
        font-size: 13px; margin-top: 5px;
        font-weight: bold;
        border-radius: 6px;
    }
    .workspaces-nav-item.active{
        background-color: #FFE857;
    }
    .workspaces-nav-item a{
        color: var(--ttcolor);
    }

#workspaces-meta{
    background-color: var(--card-bg);
}
    #workspaces-meta .title{
        padding: 10px 20px;
        font-size: 24px;
        font-weight: bold;
    }

#fixed-nav{
    position: fixed;
    bottom: 85px; right: 15px;
}
    .fixed-nav-button{
        position: absolute;
        padding: 10px 15px;
        background-color: #004c8a; color: #f1f1f1;
        cursor: pointer;
        border-radius: 6px;
        bottom: 0px; right: 0px;
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        -moz-transition: all .4s ease;
        transition: all .4s ease;
    }
    .fixed-nav-button:hover{
        background-color: #2C81C7;
        color: #FFF;
    }
    .fixed-nav-menu{
        display: none;
        text-align: right;
        min-width: 200px;
        position: absolute;
        bottom: 0px; right: 50px;
    }
    .fixed-nav-menu a{
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.25); color: #fff;
        padding: 6px 12px;
        border-radius: 6px;
        margin-top: 5px;
        font-size: 11px;
        text-align: left;
    }
    .fixed-nav-menu a i{
        margin-right: 5px;
    }

    #fixed-nav.active .fixed-nav-menu{
        display: block;
    }

.note-editing-area{

}
    .note-editing-area a{
        color: #71a3c1;
    }

.process-view{
    background-color: var(--bgf-color);
    min-height: calc(100vh - 70px);
}
.process-new{
    text-align: center;
}
    .process-new textarea{
        background-color: var(--bgf-color);
    }
    .process-new button{
        background-color: transparent;
        color: #75bb75;
        padding: 10px 25px;
        border: none;
        min-width: 200px;
        border: 2px solid #75bb75;
        margin-top: 10px;
        font-weight: bold;
        border-radius: 7px;
    }
    .process-new button i{
        margin-right: 5px;
    }

.processes-menu{
    margin-top: 15px;
}
    .processes-menu-item {
        padding: 0px 10px;
        border-radius: 8px;
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        -moz-transition: all .4s ease;
        transition: all .4s ease;
    }
    .processes-menu-item:hover{
        background-color: var(--bgf-color);
    }
    .processes-menu-item a{
        color: var(--color);
        display: inline-block;
        width: 100%;
        padding: 8px 0px;
    }
    .processes-menu-item a i{
        margin-right: 5px;
    }

.processes-list-title{
    margin: 7px 0px;
    font-size: 16px;
    font-weight: bold;
    padding: 0px 8px;
}
    .processes-list-title i{
        margin-right: 3px;
    }
    .processes-list-item{
        padding: 0px 10px;
        border-radius: 8px;
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        -moz-transition: all .4s ease;
        transition: all .4s ease;
        margin-bottom: 3px;
    }
    .processes-list-item.inactive{
        opacity: 0.5;
    }
    .processes-list-item:hover{
        background-color: var(--bgf-color);
    }
        .processes-list-item a{
            color: var(--color);
            display: inline-block;
            width: 100%;
            padding: 6px 0px;
        }


.process-title{
    padding: 3vh 0 1vh 0;
    font-weight: bold;
    font-size: 22px;
}
.process-context{

}
    .process-context pre{
        background-color: #1f2024;
        font-size: 14px;
        border: none;
        color: #CCC;
    }
.process-dialog{
    padding: 3vh 0;
    min-height: calc(100vh - 200px)
}
    .process-dialog-line{
        overflow: auto;
        margin-bottom: 8px;
    }
    
    .dialog-message-area{
        max-width: 60%;
        padding: 7px 10px;
        border-radius: 6px;
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        -moz-transition: all .4s ease;
        transition: all .4s ease;
        font-size: 15px;
    }
        .dialog-message-area.user{
            float: right;
            background-color: var(--bgf-color);
            margin: 10px 0;
        }
        .dialog-message-area.user p{
            margin-bottom: 0;
        }
        .dialog-message-area li p{
            margin-bottom: 0;
        }
        .dialog-message-area li p strong{
            display: block; 
            margin-bottom: 5px;
        }
        .dialog-message-area ul li{
            margin-bottom: 3px;
        }

        .dialog-message-area.debug{
            max-width: 100%; width: 100%;
            opacity: 0.35;
        }
        .dialog-message-area.debug:hover{
            opacity: 1;
        }
        .dialog-message-area.assistant{
            max-width: 100%; width: 100%;
        }
        .dialog-message-text{

        }
            .dialog-message-text pre{
                margin: 8px 0px;
                background: #1e2024;
                color: #e5e7eb;
                padding: 12px 16px;
                border-radius: 8px;
                overflow-x: auto;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
                font-size: 14px;
                line-height: 1.5;
                margin: 10px 0;
                border: none;
            }
            .dialog-message-text code{
                background: none;
                color: inherit;
                padding: 0;
            }
   
            .dialog-message-text .ai-inline {
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
                background: var(--bgi-color);
                padding: 2px 6px;
                border-radius: 4px;
                color: var(--color);
            }

            .dialog-message-date{
                text-align: right;
                font-size: 10px;
            }

.process-form{
    text-align: right;
    padding: 0px 10px;
    position: relative;
    margin-bottom: 20px;
}   
    .process-form form{

    }
    .process-form textarea{
        resize: vertical;
        outline: none;
        min-height: 50px;
        height: 50px;
        background-color: var(--bgf-color);
        border: none;
        border-radius: 8px;
        color: var(--color);
        font-size: 15px;
    }
    .process-form button{
        position: absolute;
        bottom: 8px; right: 15px;
        color: #161616;
        border-radius: 25px;
        padding: 6px 11px;
        border: none;
    }

.process-btn-kill{
    padding: 15px 0px;
}
    .process-btn-kill a{
        color: var(--ttcolor);
        font-size: 11px;
    }
    .process-btn-kill a i{
        margin-right: 5px;
    }

.process-log{
    padding: 5vh 50px 5vh 0px;
}
    .log-item{
        font-size: 13px;
        margin-top: 10px;
    }
    .log-item span{
        display: inline-block;
        padding: 3px;
        background-color: #0142a6;
        color: #fff;
        font-size: 10px;
        border-radius: 6px;
        margin-left: 3px;
        font-weight: bold;
    }
    .log-item pre{
        border: none;
        background-color: #1f1f1f;
        color: #fff;
        margin-top: 10px;
    }

.fade-in {
    animation: fadeIn 0.85s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Редизайн */
#workspace-view{
    margin: 15px 0px;
}

#project-view{
    margin: 15px 0px;
}

.workspace-project{
}
    .workspace-project-item{
        margin: 5px 0px 20px 0px;
    }
    .workspace-project-item .meta{
        margin-bottom: 10px;
    }
    .workspace-project-item .meta .title{
        font-size: 18px; 
        font-weight: 600;
        color: var(--incolor); 
        margin-right: 7px;
    }
    .workspace-project-item  .meta a.title{
        font-size: 18px;
        font-weight: 600; 
        color: var(--incolor); 
        margin-right: 7px;
    }
    .workspace-project-item a.title i{
        margin-right: 5px;
    }
    .workspace-project-item .meta{
    }
    .workspace-project-item .meta a.btn-add{
        opacity: 0.45;
        color: #75CACA;
        border: 1px solid #75CACA;
        border-radius: 6px;
        font-weight: 600; font-size: 11px;
        padding: 4px 6px;
    }
    .workspace-project-item:hover .meta a.btn-add{
        opacity: 1;
    }
    .workspace-project-item .meta a.btn-add:hover{
        opacity: 1;
    }
    
.project-form-line.flex{
    display: flex;
    gap: 10px;
}
    .project-form-line.flex div{
        width: 100%;
    }

.project-form-line .hint span{
    background-color: var(--bgf-color);
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 7px;
    margin-bottom: -2px;
    border-radius: 6px 6px 0px 0px;
}   

.project-digit{
    display: flex;
    gap: 15px;
    margin: 10px 0px 15px 0px;
}   
    .project-deadline{
        text-align: center;
        font-weight: 600;
        letter-spacing: 0.75px;
    }
        .project-deadline span{
            padding: 1px 5px;
            border-radius: 8px;
            font-weight: 600;
        }
        .project-deadline span.warning{
            color: #f8a94d;
            border: 2px solid #f8a94d;
        }
        .project-deadline span.waiting{
            color: #b89c2d;
            border: 2px solid #b89c2d;
        }
        .project-deadline span.expired{
            color: #b3353d;
            border: 2px solid #b3353d;
        }

    .project-is_expired{
        font-size: 16px;
        margin: 10vh;
    }

    .project-is_expired span.expired{
        background-color: #b87983;
        color: #ffffff;
        display: inline-block;
        padding: 3px 6px;
        border-radius: 6px;
    }

.project-meta{
}


.pulse-table{
    margin: 5vh 0;
}
    .pulse-row{
        margin: 30px 0px;
    }
        .pulse-datetime{
            font-weight: bold;
            opacity: 0.55;
            text-align: center;
        }

        .pulse-workspaces{
            width: 100%;
        }

        .pulse-workspace{
            margin-bottom: 10px;
        }

            .pulse-workspace-title{
                margin-bottom: 7px;
                color: var(--ttcolor);
                font-size: 15px;
                font-weight: bold;
            }

#gamefy {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px 12px;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
}
    #gamefy progress {
        width: 100%;
        height: 14px;
        appearance: none;
    }

    #gamefy progress::-webkit-progress-bar {
        background: var(--bgi-color);
        border-radius: 999px;
    }
    #gamefy progress::-webkit-progress-value {
        background: linear-gradient(90deg, var(--primary), #60a5fa);
        border-radius: 999px;
    }
    #gamefy progress::-moz-progress-bar {
        background: linear-gradient(90deg, var(--primary), #60a5fa);
        border-radius: 999px;
    }
    #gamefy label {
        display: block;
        margin-top: 6px;
        color: var(--ttcolor);
        font-size: 12px;
        font-weight: 500;
    }

    .gamefy-team {
        display: flex;
        gap: 6px;
        margin-bottom: 12px;
        overflow-x: auto;
    }
        .gamefy-teammate img {
            border-radius: 0 0 8px 8px;
            border: 2px solid var(--border);
        }

    .gamefy-username {
        font-weight: 700;
        font-size: 16px;
        color: var(--text);
    }
    .gamefy-profile {
        display: flex;
        align-items: center;
        gap: 15px;
    }
        .gamefy-userpic{
            margin-right: 0;
        }
        .gamefy-userpic img{
            border-radius: 10px;
            border: 1px solid var(--border);
        }

    .gamefy-meta {
        display: flex;
        align-items: flex-end;
        gap: 10px;
        width: 100%;
    }
        .gamefy-username {
            margin-bottom: 8px;
        }
        .gamefy-progress {
            flex: 1;
            min-width: 0;
        }

    .gamefy-ctrl {
        min-width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

@media (max-width: 767.98px) {
    .gamefy-profile {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .gamefy-meta {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .gamefy-ctrl {
        min-width: 0;
        justify-content: flex-start;
    }
}
