.restaurant-analytics-preloader {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: clamp(24px, 6vw, 64px);
    background:
        radial-gradient(circle at 50% 42%, rgba(226, 37, 32, 0.12), transparent 24%),
        radial-gradient(circle at 50% 58%, rgba(196, 164, 92, 0.08), transparent 30%),
        linear-gradient(180deg, #15110f 0%, #080807 58%, #030303 100%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), visibility 620ms linear;
}

.restaurant-analytics-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-stage {
    width: min(72vw, 360px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.preloader-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.plate-shadow {
    fill: rgba(255, 246, 225, 0.015);
}

.plate-rim,
.plate-inner {
    fill: rgba(255, 248, 232, 0.018);
    stroke: rgba(245, 236, 216, 0.86);
    stroke-width: 1.5;
}

.plate-inner {
    stroke: rgba(245, 236, 216, 0.22);
    stroke-width: 1;
}

.preloader-motion-paths {
    opacity: 0;
    pointer-events: none;
}

.motion-path {
    fill: none;
    stroke: transparent;
}

.preloader-ingredient {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.ingredient-circle {
    fill: #F4E8CF;
}

.ingredient-oval {
    fill: #C7A44E;
}

.ingredient-leaf {
    fill: #788556;
}

.ingredient-diamond {
    fill: #B83A2F;
}

.ingredient-dot-one,
.ingredient-dot-two,
.ingredient-dot-three {
    fill: #6B1724;
}

.preloader-analytics-chart {
    opacity: 0;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.26));
}

.pie-segment {
    stroke: rgba(8, 8, 7, 0.76);
    stroke-width: 1.5;
    transform-box: fill-box;
    transform-origin: center;
}

.pie-segment-milk {
    fill: #F4E8CF;
}

.pie-segment-gold {
    fill: #C7A44E;
}

.pie-segment-olive {
    fill: #788556;
}

.pie-segment-tomato {
    fill: #B83A2F;
}

.pie-segment-burgundy {
    fill: #6B1724;
}

.pie-center {
    fill: #15110f;
    stroke: rgba(245, 236, 216, 0.28);
    stroke-width: 1;
}

.pie-outline {
    fill: none;
    stroke: rgba(245, 236, 216, 0.42);
    stroke-width: 1.25;
}

@media (max-width: 560px) {
    .restaurant-analytics-preloader {
        padding: 20px;
    }

    .preloader-stage {
        width: min(84vw, 300px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .restaurant-analytics-preloader {
        transition-duration: 260ms;
    }

    .preloader-plate,
    .preloader-analytics-chart {
        opacity: 1;
    }

    .preloader-ingredients {
        opacity: 0;
    }
}
