/* PCJND28 blue-ice data stream. It inherits the existing result colors. */
.pcjnd-research-home #result-area.pcjnd-stream-active {
    position: relative;
    isolation: isolate;
}

.pcjnd-research-home #result-area.pcjnd-stream-active .attr-col {
    opacity: .42;
    transition: opacity .18s ease;
}

.pcjnd-research-home #result-area .pcjnd-stream-host {
    position: relative;
    overflow: hidden;
    contain: paint;
    font-variant-numeric: tabular-nums;
}

.pcjnd-research-home .pcjnd-stream-overlay {
    --pcjnd-stream-blur: 1.4px;
    position: absolute;
    inset: -1px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: inherit;
    background: inherit;
    color: inherit;
    line-height: 1;
    pointer-events: none;
}

.pcjnd-research-home .pcjnd-stream-digit {
    display: block;
    min-width: 100%;
    text-align: center;
    line-height: 1;
    transform: translateZ(0);
    will-change: transform, opacity, filter;
}

.pcjnd-research-home .pcjnd-stream-overlay--up:not(.is-locked) .pcjnd-stream-digit {
    animation: pcjndStreamUp .16s linear infinite;
}

.pcjnd-research-home .pcjnd-stream-overlay--down:not(.is-locked) .pcjnd-stream-digit {
    animation: pcjndStreamDown .16s linear infinite;
}

.pcjnd-research-home .pcjnd-stream-overlay.is-locked .pcjnd-stream-digit {
    animation: pcjndStreamLock .18s cubic-bezier(.2,.8,.25,1) both;
}

.pcjnd-research-home .pcjnd-stream-scan {
    position: absolute;
    z-index: 5;
    top: 5%;
    bottom: 5%;
    left: 0;
    width: 1px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
    opacity: 0;
    pointer-events: none;
    animation: pcjndStreamScan 3.6s linear both;
}

.pcjnd-research-home #result-area.pcjnd-stream-complete .ball {
    animation: pcjndStreamFocus .26s ease-out both;
}

@keyframes pcjndStreamUp {
    0% { transform: translateY(42%); opacity: .34; filter: blur(var(--pcjnd-stream-blur)); }
    50% { transform: translateY(0); opacity: 1; filter: blur(0); }
    100% { transform: translateY(-42%); opacity: .34; filter: blur(var(--pcjnd-stream-blur)); }
}

@keyframes pcjndStreamDown {
    0% { transform: translateY(-42%); opacity: .34; filter: blur(var(--pcjnd-stream-blur)); }
    50% { transform: translateY(0); opacity: 1; filter: blur(0); }
    100% { transform: translateY(42%); opacity: .34; filter: blur(var(--pcjnd-stream-blur)); }
}

@keyframes pcjndStreamLock {
    0% { transform: scale(.94); opacity: .58; filter: blur(var(--pcjnd-stream-blur)); }
    100% { transform: scale(1); opacity: 1; filter: blur(0); }
}

@keyframes pcjndStreamScan {
    0% { left: 0; opacity: 0; }
    8% { opacity: .18; }
    90% { opacity: .18; }
    100% { left: calc(100% - 1px); opacity: 0; }
}

@keyframes pcjndStreamFocus {
    0% { filter: blur(.7px); opacity: .78; }
    100% { filter: blur(0); opacity: 1; }
}

@media (max-width: 540px) {
    .pcjnd-research-home .pcjnd-stream-overlay {
        --pcjnd-stream-blur: .7px;
    }

    .pcjnd-research-home .pcjnd-stream-scan {
        box-shadow: 0 0 5px currentColor;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pcjnd-research-home .pcjnd-stream-overlay,
    .pcjnd-research-home .pcjnd-stream-scan,
    .pcjnd-research-home #result-area.pcjnd-stream-complete .ball {
        animation: none !important;
        filter: none !important;
    }
}
