/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-260l1snoh4] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-260l1snoh4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sauxblxt3l],
.components-reconnect-repeated-attempt-visible[b-sauxblxt3l],
.components-reconnect-failed-visible[b-sauxblxt3l],
.components-pause-visible[b-sauxblxt3l],
.components-resume-failed-visible[b-sauxblxt3l],
.components-rejoining-animation[b-sauxblxt3l] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-retrying[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-failed[b-sauxblxt3l],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-sauxblxt3l] {
    display: block;
}


#components-reconnect-modal[b-sauxblxt3l] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-sauxblxt3l 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-sauxblxt3l 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-sauxblxt3l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-sauxblxt3l]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-sauxblxt3l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-sauxblxt3l {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-sauxblxt3l {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-sauxblxt3l {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-sauxblxt3l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-sauxblxt3l] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-sauxblxt3l] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-sauxblxt3l] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-sauxblxt3l] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-sauxblxt3l] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-sauxblxt3l] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-sauxblxt3l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-sauxblxt3l] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-sauxblxt3l {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.notfound-container[b-r69py96vbb] {
    position: fixed;
    inset: 0;
    background-image: url('/images/404.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.notfound-overlay[b-r69py96vbb] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.notfound-content[b-r69py96vbb] {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.notfound-code[b-r69py96vbb] {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: #6a0dad;
    text-shadow: 0 0 40px rgba(106, 13, 173, 0.8), 0 0 80px rgba(106, 13, 173, 0.4);
    letter-spacing: 0.05em;
}

.notfound-title[b-r69py96vbb] {
    font-size: 2rem;
    font-weight: 700;
    color: #c0a8e0;
    margin: 0.5rem 0 1.25rem;
    text-shadow: 0 0 20px rgba(192, 168, 224, 0.5);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.notfound-message[b-r69py96vbb] {
    font-size: 1rem;
    color: #a0a0b0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.notfound-link[b-r69py96vbb] {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid #6a0dad;
    color: #c0a8e0;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.notfound-link:hover[b-r69py96vbb] {
    background: rgba(106, 13, 173, 0.3);
    color: #e0d0f8;
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.5);
}
/* /Components/Pages/Sandbox.razor.rz.scp.css */
.sprite[b-q9t2mw98y2] {
    position: relative;
    display: inline-block;
    width: 160px;
    height: 160px;
}

.sprite img[b-q9t2mw98y2] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* The overlay layer */
.drain-fx[b-q9t2mw98y2] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    border-radius: 12px;
}

/* Play state */
.sprite.drain-playing .drain-fx[b-q9t2mw98y2] {
    opacity: 1;
    animation: drainFade-b-q9t2mw98y2 900ms ease-out forwards;
}

/* Dark magical aura/vignette */
.drain-fx[b-q9t2mw98y2]::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at center,
            rgba(88, 255, 122, 0.45) 0%,
            rgba(88, 255, 122, 0.20) 22%,
            rgba(87, 29, 116, 0.35) 48%,
            rgba(0, 0, 0, 0.65) 76%,
            rgba(0, 0, 0, 0.0) 100%);
    mix-blend-mode: screen;
    animation: drainAura-b-q9t2mw98y2 900ms ease-out forwards;
}

/* Rising soul stream */
.drain-fx[b-q9t2mw98y2]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    width: 34px;
    height: 90px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse at center,
            rgba(170, 255, 190, 0.95) 0%,
            rgba(74, 255, 119, 0.55) 28%,
            rgba(145, 65, 190, 0.35) 55%,
            rgba(0, 0, 0, 0) 75%);
    filter: blur(2px);
    border-radius: 50%;
    animation: drainSoul-b-q9t2mw98y2 900ms ease-out forwards;
}

/* Life particles being pulled inward */
.drain-fx span[b-q9t2mw98y2] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #75ff8a;
    box-shadow:
        0 0 6px #75ff8a,
        0 0 12px rgba(117, 255, 138, 0.7);
    transform: translate(var(--x), var(--y)) scale(0.4);
    opacity: 0;
    animation: drainParticle-b-q9t2mw98y2 700ms ease-in forwards;
    animation-delay: var(--delay);
}

/* Optional: make the victim look drained */
.sprite.drain-playing img[b-q9t2mw98y2] {
    animation: drainVictim-b-q9t2mw98y2 900ms ease-out forwards;
}

@keyframes drainFade-b-q9t2mw98y2 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes drainAura-b-q9t2mw98y2 {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0;
    }

    20% {
        transform: scale(1.05) rotate(12deg);
        opacity: 1;
    }

    55% {
        transform: scale(0.92) rotate(-18deg);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.3) rotate(35deg);
        opacity: 0;
    }
}

@keyframes drainSoul-b-q9t2mw98y2 {
    0% {
        transform: translateX(-50%) translateY(18px) scaleX(0.5) scaleY(0.2);
        opacity: 0;
    }

    25% {
        transform: translateX(-50%) translateY(0) scaleX(1) scaleY(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-70px) scaleX(0.35) scaleY(1.6);
        opacity: 0;
    }
}

@keyframes drainParticle-b-q9t2mw98y2 {
    0% {
        transform: translate(var(--x), var(--y)) scale(0.4);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1.15);
        opacity: 0;
    }
}

@keyframes drainVictim-b-q9t2mw98y2 {
    0% {
        filter: none;
        transform: scale(1);
    }

    25% {
        filter: brightness(0.65) saturate(0.65) hue-rotate(60deg);
        transform: scale(0.98);
    }

    55% {
        filter: brightness(0.45) saturate(0.45) hue-rotate(90deg);
        transform: scale(0.96);
    }

    100% {
        filter: none;
        transform: scale(1);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sprite.drain-playing .drain-fx[b-q9t2mw98y2],
    .sprite.drain-playing img[b-q9t2mw98y2],
    .drain-fx[b-q9t2mw98y2]::before,
    .drain-fx[b-q9t2mw98y2]::after,
    .drain-fx span[b-q9t2mw98y2] {
        animation: none;
    }

    .sprite.drain-playing .drain-fx[b-q9t2mw98y2] {
        opacity: 0.45;
    }
}
