/* _content/StarWebSite/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-lc2zo5z2j9] {
    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-lc2zo5z2j9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/StarWebSite/Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ============================================================
   재연결 모달 — 별하늘 테마.
   표시/숨김 규칙은 Blazor 스크립트가 토글하는 클래스에 맞춰 그대로 둔다.
   ============================================================ */
.components-reconnect-first-attempt-visible[b-n6sqnmzdh0],
.components-reconnect-repeated-attempt-visible[b-n6sqnmzdh0],
.components-reconnect-failed-visible[b-n6sqnmzdh0],
.components-pause-visible[b-n6sqnmzdh0],
.components-resume-failed-visible[b-n6sqnmzdh0],
.components-rejoining-animation[b-n6sqnmzdh0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-retrying[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-failed[b-n6sqnmzdh0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-n6sqnmzdh0] {
    display: block;
}

/* ===== 상자 ===== */
#components-reconnect-modal[b-n6sqnmzdh0] {
    width: min(22rem, 88vw);
    margin: auto;
    padding: 2.5rem 2rem 2.2rem;
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.4));
    border-radius: 28px;
    background: var(--bg-dropdown, rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-login, 0 30px 80px rgba(0, 0, 0, 0.2));
    color: var(--text-primary, #2b2738);
    font-family: 'Segoe UI', 'Helvetica', sans-serif;
    text-align: center;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-n6sqnmzdh0 0.5s both;
}

#components-reconnect-modal[open][b-n6sqnmzdh0] {
    animation: components-reconnect-modal-slideUp-b-n6sqnmzdh0 1.2s cubic-bezier(.05, .89, .25, 1.02) 0.2s,
               components-reconnect-modal-fadeInOpacity-b-n6sqnmzdh0 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-n6sqnmzdh0]::backdrop {
    background: rgba(11, 11, 26, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: components-reconnect-modal-fadeInOpacity-b-n6sqnmzdh0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-n6sqnmzdh0 {
    0% { transform: translateY(30px) scale(0.95); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-n6sqnmzdh0 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-n6sqnmzdh0 {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.components-reconnect-container[b-n6sqnmzdh0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

/* ===== 글 ===== */
#components-reconnect-modal p[b-n6sqnmzdh0] {
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: var(--text-secondary, rgba(43, 39, 56, 0.78));
}

#components-seconds-to-next-attempt[b-n6sqnmzdh0] {
    color: #f5a623;
    font-weight: 500;
    font-size: 1.05rem;
}

/* ===== 버튼 ===== */
#components-reconnect-modal button[b-n6sqnmzdh0] {
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.16), rgba(245, 200, 100, 0.1));
    color: var(--text-primary, #2b2738);
    padding: 0.6rem 1.8rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

#components-reconnect-modal button:hover[b-n6sqnmzdh0] {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.28), rgba(245, 200, 100, 0.18));
    border-color: rgba(245, 166, 35, 0.45);
    transform: scale(1.03);
}

#components-reconnect-modal button:active[b-n6sqnmzdh0] {
    transform: scale(0.97);
}

/* ===== 별빛이 퍼지는 애니메이션 ===== */
.components-rejoining-animation[b-n6sqnmzdh0] {
    position: relative;
    width: 88px;
    height: 88px;
}

.components-rejoining-animation div[b-n6sqnmzdh0] {
    position: absolute;
    border: 2px solid rgba(245, 166, 35, 0.55);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-n6sqnmzdh0 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-n6sqnmzdh0] {
    animation-delay: -0.6s;
}

/* 가운데에서 반짝이는 별 */
.components-rejoining-animation .reconnect-star[b-n6sqnmzdh0] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    line-height: 1;
    animation: reconnect-star-pulse-b-n6sqnmzdh0 1.8s ease-in-out infinite alternate;
}

@keyframes reconnect-star-pulse-b-n6sqnmzdh0 {
    0% {
        transform: translate(-50%, -50%) scale(0.9) rotate(-8deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.25));
    }
    100% {
        transform: translate(-50%, -50%) scale(1.12) rotate(8deg);
        filter: drop-shadow(0 0 26px rgba(255, 215, 0, 0.7));
    }
}

@keyframes components-rejoining-animation-b-n6sqnmzdh0 {
    0%, 4.9% {
        top: 44px;
        left: 44px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 44px;
        left: 44px;
        width: 0;
        height: 0;
        opacity: 0.9;
    }

    100% {
        top: 0;
        left: 0;
        width: 88px;
        height: 88px;
        opacity: 0;
    }
}
