.beta-banner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: linear-gradient(90deg, rgba(232, 160, 32, 0.18) 0%, rgba(232, 160, 32, 0.28) 50%, rgba(232, 160, 32, 0.18) 100%);
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 0 14px rgba(232, 160, 32, 0.18);
    user-select: none;
    z-index: 1;
}

    .beta-banner svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        animation: betaPulse 2.4s ease-in-out infinite;
    }

@keyframes betaPulse {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .beta-banner {
        display: none;
    }
}

@media (max-width: 900px) {
    #flowchart-main {
        position: relative;
    }

    #sidebar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 30;
        box-shadow: 4px 0 18px rgba(0,0,0,.35);
    }

    #props {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 30;
        box-shadow: -4px 0 18px rgba(0,0,0,.35);
    }

    #flowchart-toolbar {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        #flowchart-toolbar::-webkit-scrollbar {
            display: none;
        }

        #flowchart-toolbar > * {
            flex-shrink: 0;
        }
}

@media (max-width: 640px) {
    #minimap {
        display: none;
    }

    .nav-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        .nav-tabs::-webkit-scrollbar {
            display: none;
        }

    #props {
        width: min(300px, 88vw);
    }

    .ss-btn {
        min-width: 38px;
        min-height: 34px;
    }
}
