body.clue-operation-loading {
    overflow: hidden;
}

.clue-operation-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 42%, rgba(52, 214, 255, .14), transparent 34%),
        rgba(5, 15, 38, .72);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.clue-operation-loader.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.clue-operation-loader__card {
    position: relative;
    isolation: isolate;
    width: min(100%, 390px);
    overflow: hidden;
    padding: 30px 32px 26px;
    text-align: center;
    color: #eaf6ff;
    border: 1px solid rgba(92, 221, 255, .72);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(30, 58, 138, .98), rgba(9, 29, 75, .99) 54%, rgba(7, 22, 57, .99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -1px 0 rgba(0, 0, 0, .28),
        0 0 0 5px rgba(52, 214, 255, .07),
        0 24px 70px rgba(2, 8, 23, .48),
        0 0 42px rgba(37, 99, 235, .22);
    transform: translateY(12px) scale(.96);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.clue-operation-loader__card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -55% -35% auto;
    height: 190px;
    background: radial-gradient(ellipse, rgba(52, 214, 255, .23), transparent 68%);
    pointer-events: none;
}

.clue-operation-loader__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .075) 45%, transparent 62%);
    background-size: 240% 100%;
    animation: clue-loader-card-sheen 3.8s ease-in-out infinite;
    pointer-events: none;
}

.clue-operation-loader.is-visible .clue-operation-loader__card {
    transform: translateY(0) scale(1);
}

.clue-operation-loader__visual {
    position: relative;
    width: 116px;
    height: 116px;
    margin: -3px auto 10px;
}

.clue-operation-loader__orbit {
    position: absolute;
    border-radius: 50%;
}

.clue-operation-loader__orbit--outer {
    inset: 3px;
    border: 2px solid rgba(52, 214, 255, .17);
    border-top-color: #66e4ff;
    border-right-color: rgba(37, 99, 235, .86);
    box-shadow: 0 0 16px rgba(52, 214, 255, .18);
    animation: clue-loader-spin 1.65s linear infinite;
}

.clue-operation-loader__orbit--inner {
    inset: 15px;
    border: 1px dashed rgba(176, 236, 255, .58);
    animation: clue-loader-spin-reverse 3.2s linear infinite;
}

.clue-operation-loader__core {
    position: absolute;
    inset: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 15px;
    color: #082357;
    font-size: 1.45rem;
    background: linear-gradient(145deg, #f7fcff, #8feaff 52%, #39cbea);
    box-shadow: 0 0 0 7px rgba(52, 214, 255, .09), 0 0 27px rgba(52, 214, 255, .43);
    transform: rotate(45deg);
    animation: clue-loader-core-pulse 1.8s ease-in-out infinite;
}

.clue-operation-loader__core i {
    transform: rotate(-45deg);
}

.clue-operation-loader__spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #69e5ff, 0 0 18px #34d6ff;
}

.clue-operation-loader__spark--one {
    top: 15px;
    right: 17px;
    animation: clue-loader-spark 1.4s ease-in-out infinite;
}

.clue-operation-loader__spark--two {
    bottom: 17px;
    left: 16px;
    width: 5px;
    height: 5px;
    animation: clue-loader-spark 1.4s .7s ease-in-out infinite;
}

.clue-operation-loader h2 {
    margin: 0;
    color: #6ce6ff;
    font: 700 1.55rem/1.25 var(--iv-font-heading, "Outfit", sans-serif);
    letter-spacing: .01em;
}

.clue-operation-loader #clueOperationLoaderMessage {
    max-width: 315px;
    margin: 9px auto 19px;
    color: rgba(226, 240, 255, .78);
    font: 400 .84rem/1.65 var(--iv-font-body, "Poppins", sans-serif);
}

.clue-operation-loader__progress {
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(2, 12, 35, .58);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .36);
}

.clue-operation-loader__progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #34d6ff 38%, #fff 68%, #34d6ff);
    box-shadow: 0 0 12px rgba(52, 214, 255, .8);
    /* transform (not left) so Safari / iOS keeps running the sweep on the compositor while a page change loads. */
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    will-change: transform;
    -webkit-animation: clue-loader-progress 1.35s cubic-bezier(.45, 0, .55, 1) infinite;
    animation: clue-loader-progress 1.35s cubic-bezier(.45, 0, .55, 1) infinite;
}

.clue-operation-loader[data-operation="delete"] .clue-operation-loader__core {
    color: #6d1720;
    background: linear-gradient(145deg, #fff, #ffc7cd 55%, #fb7185);
    box-shadow: 0 0 0 7px rgba(251, 113, 133, .09), 0 0 27px rgba(251, 113, 133, .36);
}

.clue-operation-loader[data-operation="delete"] .clue-operation-loader__orbit--outer {
    border-top-color: #ffb1bd;
    border-right-color: #fb7185;
}

@keyframes clue-loader-spin { to { transform: rotate(360deg); } }
@keyframes clue-loader-spin-reverse { to { transform: rotate(-360deg); } }
@-webkit-keyframes clue-loader-progress { from { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } to { -webkit-transform: translate3d(252%, 0, 0); transform: translate3d(252%, 0, 0); } }
@keyframes clue-loader-progress { from { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } to { -webkit-transform: translate3d(252%, 0, 0); transform: translate3d(252%, 0, 0); } }
@keyframes clue-loader-card-sheen { 0%, 18% { background-position: 150% 0; } 70%, 100% { background-position: -80% 0; } }
@keyframes clue-loader-core-pulse { 0%, 100% { scale: .94; } 50% { scale: 1.04; } }
@keyframes clue-loader-spark { 0%, 100% { opacity: .35; scale: .75; } 50% { opacity: 1; scale: 1.18; } }

@media (max-width: 480px) {
    .clue-operation-loader { padding: 18px; }
    .clue-operation-loader__card { padding: 24px 22px 22px; border-radius: 22px; }
    .clue-operation-loader__visual { width: 104px; height: 104px; }
    .clue-operation-loader__core { inset: 28px; }
    .clue-operation-loader h2 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .clue-operation-loader *,
    .clue-operation-loader *::before,
    .clue-operation-loader *::after {
        animation-duration: 2.8s !important;
    }
}
