.loadPanel_shell:has(> .loadPanel_bar) {
    border: 1px solid #365879;
    border-radius: 14px;
    background: #152f4a;
    box-shadow: 0 12px 36px rgb(17 42 67 / 24%);
}

.pageLoad_shell > .loadPanel_shell:has(> .loadPanel_bar):not(.cancel) {
    position: absolute;
    inset: 50% auto auto 50%;
    box-sizing: border-box;
    width: min(320px, calc(100% - 32px));
    padding: 24px 16px;
    transform: translate(-50%, -50%);
}

.pageLoad_shell > .loadPanel_shell:has(> .loadPanel_bar):not(.cancel) > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.loadPanel_bar {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    min-height: 30px;
    background: none;
}

.loadPanel_bar::before {
    content: "COMPLETE IT";
    display: block;
    width: 11ch;
    color: #fff;
    font: 700 clamp(17px, 4vw, 24px) / 1.3 ui-monospace, Consolas, monospace;
    white-space: pre;
}

@supports (background-clip: text) {
    .loadPanel_bar::before {
        background-color: #9db8d4;
        background-image: linear-gradient(#fff, #fff);
        background-position: 0 50%;
        background-repeat: no-repeat;
        background-size: 1ch 100%;
        background-clip: text;
        color: transparent;
    }

    @media (prefers-reduced-motion: no-preference) {
        .loadPanel_bar::before {
            animation: complete-it-loading 1.65s steps(11, end) infinite;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .loadPanel_bar::before {
            background: none;
            color: #fff;
        }
    }
}

@keyframes complete-it-loading {
    to {
        background-position-x: 11ch;
    }
}
