.top-bar{
    position: absolute;
        top: 0;
        left: 0;
        height: 40px;
        width: 200vh;
        z-index: 30;
    /* background-color: rgb(109, 175, 133); */
    background-color: rgba(224, 227, 227, 0.8);
    /* background-image: url(../../../../Assets/Graphics/Pictures/Background/tienko-dima-uYoVf9I6ANI-unsplash.jpg); */
        background-size: 100%;
        background-position: 40% 60%;
    box-shadow: 1px 1px 4px rgb(148, 148, 152);
    /* box-shadow: 1px 0px 4px darkgreen; */
}
.left-bar {
    position: absolute;
        top: 40px;
        left: 0;
        height: calc(100% - 40px);
        /* width: 200px; */
        width: 241px;
        /* width: 160px; */
        z-index: 10;
    background-color: rgba(224, 227, 227, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 1px 1px 4px rgb(148, 148, 152);
    /* overflow-x: hidden;
    overflow-y: auto; */
    overflow: visible;
}

.resizer-right {
    width: 2px;
    cursor: col-resize;
    position: absolute;
    top: 0;
    left: -1px;
    bottom: 0;
    z-index: 80;
    background: transparent;
    transition: background 0.2s;
}
.resizer-right:hover {background: rgba(109, 175, 133, 0.5);}
.right-bar::-webkit-scrollbar {width: 3px;}
.right-bar::-webkit-scrollbar-track {
    background: transparent;
    border-left: 1px dashed rgba(159, 159, 159, 0.2);
}
.right-bar::-webkit-scrollbar-thumb {background: rgba(255, 60, 76, 0.4);}
.right-bar::-webkit-scrollbar-thumb:hover {background: rgba(255, 60, 76, 0.9);}

.right-bar {
    position: absolute;
        top: 90px;
        left: 1255px;
        /* left: 1065px; */
        height: calc(100% - 40px);
        width: 180px;
        z-index: 10;
    background: rgba(235, 238, 238, 0.6);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    overflow-y: auto;
    overflow-x: hidden;
}
.right-bar .tree-root {
    padding: 12px;
    list-style: none;
}
.right-bar .tree-root li {
    /* font-family: 'Helvetica Neue', Arial, sans-serif; */
    font-size: 11px;
    letter-spacing: 1.5px;
    /* text-transform: uppercase; */
    color: #4a5a6a;
    padding: 0px 0;
    /* padding: 8px 0; */
    border-bottom: 1px solid rgba(160, 170, 180, 0.15);
    transition: all 0.2s ease;
}
.right-bar .tree-root li:hover {
    color: #1a2a3a;
    /* background-color: #a5df0410; */
    padding-left: 1px;
}
.right-bar .tree-root li.active {
    color: #1a2a3a;
    font-weight: bold;
    border-bottom: 1px solid #1a2a3a;
}


#toast-container {
    position: fixed;
        bottom: 15px;
        left: 20px;
        z-index: 300;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none; 
}
.toast-message {
    min-width: 60px;
        max-width: 300px;
        width: fit-content;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;

    padding: 8px 12px;
        background-color: rgba(255, 255, 244, 0.278); 
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(50, 49, 50);
    font-family: 'Times New Roman', Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.5s ease;
}
.toast-message.toast-show {
    transform: translateX(0);
    opacity: 1;
}
.toast-message.toast-hide {
    transform: translateX(-20px) scale(0.95);
    opacity: 0;
}
.toast-prefix {
    opacity: 0.6;
    margin-right: 6px;
}
.toast-text {
    opacity: 0.95;
}
.toast-sys { border-left: 3px solid rgba(233, 233, 233, 0.7); }
.toast-msg { border-left: 3px solid rgba(193, 130, 255, 0.7); }
.toast-warn { border-left: 3px solid rgba(255, 100, 100, 0.7); }
.toast-test { border-left: 3px solid rgba(237, 255, 242, 0.7); }


.tree-node-switch{
    color: rgb(95, 97, 98);
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.right-bar .tree-root .tree-node-switch{
    color: rgb(130, 135, 147);
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.franxx-standby {
    position: relative;
    /* margin-top: 60px; */
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    user-select: none;
     background: linear-gradient(90deg, rgba(255, 60, 76, 0.03), transparent 20%, transparent 80%, rgba(60, 160, 255, 0.03));
    border-left: 2px solid rgba(255, 60, 76, 0.5); 
    border-right: 2px solid rgba(60, 160, 255, 0.5);
}
.franxx-silent-standby {
    position: relative;
    /* margin: 30px 15px; */
    padding: 15px 10px;
    margin-top: 60px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}
.franxx-hud-lines {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: rgb(159, 159, 159);
    font-size: 10px;
    margin-bottom: 8px;
    opacity: 0.6;
}
.franxx-status {
    font-size: 14px;
    font-weight: bold;
    color: #1e2d3b;
    letter-spacing: 3px;
    margin-bottom: 2px;
}
.franxx-code {
    font-size: 10px;
    color: rgb(180, 100, 100);
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.franxx-thread-red,
.franxx-thread-blue {
    position: absolute;
    width: 1px;
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}
.franxx-thread-red {
    left: 20px;
    background: linear-gradient(180deg, transparent, rgba(255, 60, 76, 0.8), transparent);
}
.franxx-thread-blue {
    right: 20px;
    background: linear-gradient(180deg, transparent, rgba(60, 160, 255, 0.8), transparent);
}
.franxx-sub {
    font-size: 9px;
    color: #72908e;
    text-align: center;
    line-height: 1.4;
    border-top: 1px dotted rgba(159, 159, 159, 0.4);
    padding-top: 6px;
    width: 80%;
}
.franxx-silent-crosshair {
    width: 12px;
    height: 12px;
    position: relative;
    opacity: 0.6;
}
.franxx-silent-crosshair::before,
.franxx-silent-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgb(159, 159, 159);
}
.franxx-silent-crosshair::before {
    top: 5px; 
    left: 0; 
    right: 0; 
    height: 1px;
}
.franxx-silent-crosshair::after {
    left: 5px; 
    top: 0; 
    bottom: 0; 
    width: 1px;
}


/* .right-bar {
    position: absolute;
        /* top: 40px; */
        /* top: 90px;
        left: 1065px; */
        /* right: 0; */
        /* height: calc(100% - 40px);
        width: 160px;
        z-index: 10;
    background-color: rgba(224, 227, 227, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: -1px 1px 4px rgb(148, 148, 152); */
    
    /* overflow: visible; */
    /* border-right: 1px solid rgba(60, 160, 255, 0.3);  */
    /* font-family: 'Courier New', Courier, monospace; */
    
    /* overflow-y: auto; 
    overflow-x: hidden; */
/* } */




.hanging-ornament {
    position: absolute;
    top: 40px;
    /* left: 1060px; */
    left: 1250px;
    z-index: 1000;
    width: 60px;
    pointer-events: none;
    transform-origin: top center;
    animation: gentleSwing 6s ease-in-out infinite alternate;
}
@keyframes gentleSwing {
    0% { transform: rotate(-1deg); }
    100% { transform: rotate(1deg); }
}



.resizer {
    width: 2px;
    cursor: col-resize;
    position: absolute;
        top: 0;
        right: -1px;
        bottom: 0;
        z-index: 80;
    background: transparent;
    transition: background 0.2s;
}
.resizer:hover {background: rgba(109, 175, 133, 0.5);}
.tree-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* overflow-x: auto; */
    overflow-x: visible;
    scrollbar-width: none; 

    /* For Old */
    -ms-overflow-style: none;
}
.tree-container::-webkit-scrollbar {
    display: none;
}

.main-content{
    position: absolute;
        top: 50px;
        left: 245px;
        width: 1010px;
        /* width: 900px; */
        /* right: 0; */
        bottom: 0;
        padding: 0;
    overflow: hidden;
    /* overflow: auto; */
    /* outline: 1px dotted rgb(159, 159, 159); */
    /* background-color: #ffffff; */
}






/* --- */

.fullscreen-trigger {
    color: rgba(255, 255, 255, 0.572);
    font-size: 14px;
    cursor: pointer;
    line-height: 20px;
    user-select: none;
    width: 10px;
    text-align: left;
    height: 10px;
    /* transition: color 0.2s ease, transform 0.2s ease; */
}
.bg-toggle-trigger {
    color: rgba(255, 255, 255, 0.572);
    font-size: 14px;
    cursor: pointer;
    line-height: 4px;
    user-select: none;
    width: 4px;
    height: 4px;
    text-align: left;
    /* transition: color 0.2s ease, transform 0.2s ease; */
}
.cosmic-timer {
    position: absolute;
    left: 515px;
    top: 13px;
    font-size: 10px;
    color: rgb(233, 233, 233);
    font-family: 'Times New Roman', Times, serif;
    user-select: none;
    white-space: nowrap;
    z-index: 100;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
/* .fullscreen-trigger:hover {
    color: rgb(138, 203, 185);
    transform: scale(1.05);
} */







.tree-root, .tree-children {
    list-style-type: none;
    padding-left: 10px;
    margin: 0;
    font-size: 12px;
    font-family:'Courier New', Courier, monospace
    /* font-family:'Times New Roman', Times, serif */
}
/* .tree-root { padding-left: 10px; padding-top: 10px; } */
.tree-children { 
    display: none;
    border-left: 1px solid #ccc;
    margin-left: 5px;
}
.tree-children.expanded { display: block; }
.node-label {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 0;
    /* padding: 4px 5px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.1s ease;
}
.node-label:hover { 
    color: rgb(109, 175, 133);
    background-color: rgba(109, 175, 133, 0.1);
 }

.level-2:hover > .tree-children.flyout-menu { display: none; }
/* .level-2 { position: relative; }
.tree-children.flyout-menu {
    position: absolute;
        left: 100%;
        top: 0;
        z-index: 50;
        padding: 5px;
    background: rgb(224, 227, 227);
    border: 1px solid #999;
    min-width: 120px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.level-2:hover > .tree-children.flyout-menu {
    display: block;
} */

.tree-node-block {
    list-style-type: none;
    margin: 2px 0 6px -10px;
    height: 18px;
    position: relative;
}

.node-block-divider {
    position: absolute;
        left: -6px;
        right: -12px;
        z-index: 90;
    background-color: #1e2d3b;
    color: #e0e3e3;
        padding: 5px 12px;
        font-size: 11px;
        font-weight: bold;
        /* text-shadow: 1px 1px 1px rgb(88, 107, 119); */
        letter-spacing: 1px;
    white-space: nowrap;
    box-sizing: border-box;
    
    border-radius: 0 4px 4px 0; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    
    user-select: none;
    cursor: default;
}
.node-block-divider:hover{
    background-color: #1e2d3b;
    /* background-color: rgba(3, 64, 19, 0.072); */
    color: rgb(229, 244, 229);
}

.tree-node-rblock {
    list-style-type: none;
    margin: 2px 0 6px -10px;
    height: 15px;
    position: relative;
}
.node-rblock-divider {
    position: absolute;
        left: -6px;
        right: -12px;
        z-index: 90;
    background-color: #1e343b;
    color: #e0e3e3;
        padding: 2px 12px;
        font-size: 11px;
        font-weight: bold;
        /* text-shadow: 1px 1px 1px rgb(88, 107, 119); */
        letter-spacing: 1px;
    white-space: nowrap;
    box-sizing: border-box;
    
    border-radius: 0 4px 4px 0; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    
    user-select: none;
    cursor: default;
}
.node-rblock-divider:hover{
    /* background-color: #1e2d3b; */
    /* background-color: rgba(3, 64, 19, 0.072); */
    color: rgb(229, 244, 229);
}



.tree-node-lblock {
    list-style-type: none;
    margin: 2px 0 6px -10px;
    height: 12px;
    position: relative;
}
.node-lblock-divider {
    position: absolute;
        left: 0px;
        right: -12px;
        z-index: 90;
    background-color: #1e2d3bbd;
    color: #e0e3e3;
        padding: 5px 12px;
        font-size: 7px;
        font-weight: bold;
        /* text-shadow: 1px 1px 1px rgb(88, 107, 119); */
        letter-spacing: 1px;
    white-space: nowrap;
    box-sizing: border-box;
    
    border-radius: 0 4px 4px 0; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    
    user-select: none;
    cursor: default;
}
.node-lblock-divider:hover{
    /* background-color: #1e2d3b; */
    /* background-color: rgba(3, 64, 19, 0.072); */
    color: rgb(229, 244, 229);
}

.node-title {
            /* font-family: 'Courier New', Courier, monospace; */
            font-family: "Fredericka the Great", serif;
            margin: 0;
            padding: 3px 9px;
            position: relative;
            height: 20px;
            /* border-left: 3px double rgba(27, 60, 95, 0.3); */
            border-top: 3px double rgba(4, 27, 50, 0.3);
            border-bottom: 3px double rgba(4, 27, 50, 0.3);
            display: flex;
            align-items: center;
            /* text-shadow: 1px 1px 2px rgba(55, 30, 142, 0.136), 0 0 2px rgb(255, 255, 255), 0 0 2px rgb(186, 227, 229); */
            /* color: rgb(78, 82, 145);  */
            font-size: 13px;
            font-weight: normal;
            color: #062332;
            letter-spacing: 1px;
            margin: 0;
}
.right-bar .node-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word; 
    line-height: 1.5;
    height: auto;
    padding: 0px 0px; 
}
.right-bar .tree-root li.node-title {
    border-bottom: 3px double rgba(4, 27, 50, 0.3);
    padding: 0px 0px; 
    margin-top: 3px;
}
li.node-title > div.node-title {
    border: none;
    padding: 0;
    height: auto;
}

.tree-node-presblock > .tree-children {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tree-node-presblock {
    list-style: none;
    /* border-bottom: 1px dotted rgba(4, 27, 50, 0.3); */
    margin: 0;
    padding: 0;
}


.tree-node-hr {
    list-style-type: none;
    margin: 6px 20px 6px -10px;
    padding: 0;
    height: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    pointer-events: none;
    user-select: none;
}
.node-hr-line {
    position: relative;
        width: 100%;
        height: 1px;
    display: flex;
        align-items: center;
        justify-content: center;
    background: linear-gradient(
        to right, 
        rgba(148, 148, 152, 0) 0%, 
        rgba(148, 148, 152, 0.35) 30%, 
        rgba(148, 148, 152, 0.35) 70%, 
        rgba(148, 148, 152, 0) 100%
    );
}
.node-hr-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: transparent;
}
.node-hr-ornament {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(148, 148, 152, 0.7);
    transform: rotate(45deg);
}
.node-hr-ornament::before,
.node-hr-ornament::after {
    display: none;
}


/* .tree-node-switch:hover{
    color:white; 
    background-color: rgba(151, 174, 157, 0.25);
    text-shadow: 1px 1px 3px white;
} */