.ce-system-loading:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    --ce-loading-background: var(--mossy-background);
    background: var(--ce-loading-background);
    container-type: size;
}
.ce-system-loading[hidden] { display: none; }
.ce-loading-square {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 44px;
    height: 44px;
    border: 1px solid #48494c;
}
.ce-loading-square::before,
.ce-loading-square::after {
    content: "";
    position: absolute;
}
.ce-loading-square::before {
    inset: -25%;
    background: conic-gradient(transparent 55%, #fff6 85%, transparent);
}
.ce-loading-square::after {
    inset: 0;
    background: var(--ce-loading-background);
    margin: 1px;
}
@container (max-width: 180px) or (max-height: 120px) {
    .ce-loading-square {
        width: 24px;
        height: 24px;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .ce-loading-square::before { animation: ce-loading-orbit 2.8s linear infinite; }
}
@keyframes ce-loading-orbit { to { transform: rotate(1turn); } }
