.position-root,
.position-root *,
.position-root *::before,
.position-root *::after{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: normal;
    user-select: none;
}

@keyframes position-skeleton-loading{
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.position-root {
    --default-skeleton-gradient-from-color: var(--skeleton-gradient-from-color, rgba(133, 133, 133, 0.1));
    --default-skeleton-gradient-to-color: var(--skeleton-gradient-to-color, rgba(133, 133, 133, 0.2));
    --default-skeleton-radius: var(--skeleton-radius, 8px);
    --default-skeleton-color: var(--skeleton-color, transparent);

    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    line-height: 1;
    border-radius: var(--default-skeleton-radius);
    color: var(--default-skeleton-color);

    background: linear-gradient(90deg, var(--default-skeleton-gradient-from-color) 25%, var(--default-skeleton-gradient-to-color) 37%, var(--default-skeleton-gradient-from-color) 63%);
    background-size: 400% 100%;

    animation-name: position-skeleton-loading;
    animation-duration: 1.4s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;

    &[data-pause]{
        animation-play-state: paused;
    }

    &[data-round]{
        width: auto;
        height: auto;
        border-radius: 50%;
        aspect-ratio: 1;
    }
    &[data-aspect]{
        width: auto;
        height: auto;
    }
}

