/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Shared layout styles live in wwwroot/site-theme.css for both Blazor and Identity pages. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Shared layout styles live in wwwroot/site-theme.css for both Blazor and Identity pages. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8wq8ly4ubj],
.components-reconnect-repeated-attempt-visible[b-8wq8ly4ubj],
.components-reconnect-failed-visible[b-8wq8ly4ubj],
.components-pause-visible[b-8wq8ly4ubj],
.components-resume-failed-visible[b-8wq8ly4ubj],
.components-rejoining-animation[b-8wq8ly4ubj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-retrying[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-failed[b-8wq8ly4ubj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8wq8ly4ubj] {
    display: block;
}


#components-reconnect-modal[b-8wq8ly4ubj] {
    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-8wq8ly4ubj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8wq8ly4ubj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8wq8ly4ubj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8wq8ly4ubj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-8wq8ly4ubj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8wq8ly4ubj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8wq8ly4ubj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8wq8ly4ubj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8wq8ly4ubj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8wq8ly4ubj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8wq8ly4ubj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8wq8ly4ubj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-8wq8ly4ubj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-8wq8ly4ubj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8wq8ly4ubj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8wq8ly4ubj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8wq8ly4ubj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8wq8ly4ubj {
    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/ChamekungluColor.razor.rz.scp.css */
.color-editor[b-3x9pj6eyt6] {
    --accent: 250, 158, 55;
    box-sizing: border-box;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 2rem;
    color: #242424;
    background: radial-gradient( circle at top right, rgba(var(--accent), 0.18), transparent 55% ), #ffffff;
    border: 1px solid rgba(var(--accent), 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(var(--accent), 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
}

    .color-editor h1[b-3x9pj6eyt6] {
        margin: 0 0 1.5rem;
        font-size: clamp(1.55rem, 4vw, 2rem);
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
    }

.editor-layout[b-3x9pj6eyt6] {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(260px, 0.85fr);
    align-items: start;
    gap: 1.5rem;
}

.character-preview[b-3x9pj6eyt6] {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.character-canvas[b-3x9pj6eyt6] {
    display: block;
    box-sizing: border-box;
    width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
    background: rgba(var(--accent), 0.06);
    border: 1px solid rgba(var(--accent), 0.22);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(var(--accent), 0.14);
}

.controls[b-3x9pj6eyt6] {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(var(--accent), 0.22);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.preset-section[b-3x9pj6eyt6] {
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--accent), 0.2);
}

.preset-title[b-3x9pj6eyt6] {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.preset-colors[b-3x9pj6eyt6] {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    gap: 0.65rem;
}

.preset-color[b-3x9pj6eyt6] {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    border: 2px solid rgba(36, 36, 36, 0.25);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

    .preset-color:hover[b-3x9pj6eyt6] {
        transform: translateY(-2px) scale(1.06);
        border-color: #242424;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    }

    .preset-color[aria-pressed="true"][b-3x9pj6eyt6] {
        border-color: #242424;
        box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(var(--accent), 0.75), 0 5px 12px rgba(0, 0, 0, 0.16);
    }

        .preset-color[aria-pressed="true"][b-3x9pj6eyt6]::after {
            position: absolute;
            inset: 0;
            display: grid;
            color: #242424;
            font-size: 1rem;
            font-weight: 900;
            content: "✓";
            place-items: center;
            text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff;
        }

.color-picker-row[b-3x9pj6eyt6],
.slider-row[b-3x9pj6eyt6],
.preview-row[b-3x9pj6eyt6] {
    box-sizing: border-box;
    min-width: 0;
}

.color-picker-row[b-3x9pj6eyt6] {
    display: grid;
    grid-template-columns: 80px 52px minmax(0, 120px);
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--accent), 0.2);
}

    .color-picker-row > span[b-3x9pj6eyt6],
    .slider-row > span[b-3x9pj6eyt6],
    .preview-row > span:first-child[b-3x9pj6eyt6] {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .color-picker-row input[type="color"][b-3x9pj6eyt6] {
        width: 52px;
        height: 42px;
        padding: 3px;
        cursor: pointer;
        background: #ffffff;
        border: 1px solid rgba(var(--accent), 0.55);
        border-radius: 10px;
    }

.hex-input[b-3x9pj6eyt6] {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem 0.75rem;
    color: #242424;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #ffffff;
    border: 1px solid rgba(var(--accent), 0.4);
    border-radius: 10px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

    .hex-input:focus[b-3x9pj6eyt6] {
        border-color: rgb(var(--accent));
        box-shadow: 0 0 0 3px rgba(var(--accent), 0.16);
    }

.slider-row[b-3x9pj6eyt6] {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 0.75rem;
}

    .slider-row input[type="range"][b-3x9pj6eyt6] {
        width: 100%;
        height: 6px;
        margin: 0;
        cursor: pointer;
        accent-color: rgb(var(--accent));
    }

    .slider-row output[b-3x9pj6eyt6] {
        color: rgb(183, 96, 3);
        font-size: 0.8rem;
        font-weight: 750;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

.preview-row[b-3x9pj6eyt6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
    padding: 1rem;
    background: rgba(var(--accent), 0.08);
    border: 1px solid rgba(var(--accent), 0.2);
    border-radius: 14px;
}

    .preview-row > span:first-child[b-3x9pj6eyt6] {
        margin-right: auto;
    }

.color-preview[b-3x9pj6eyt6] {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 2px solid #242424;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}

.preview-row strong[b-3x9pj6eyt6] {
    min-width: 68px;
    color: #242424;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.reset-button[b-3x9pj6eyt6] {
    justify-self: start;
    padding: 0.65rem 1rem;
    color: #ffffff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    background: rgb(196, 99, 0);
    border: 1px solid rgb(196, 99, 0);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(var(--accent), 0.2);
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

    .reset-button:hover[b-3x9pj6eyt6] {
        transform: translateY(-2px);
        background: rgb(var(--accent));
        border-color: rgb(var(--accent));
        box-shadow: 0 7px 16px rgba(var(--accent), 0.28);
    }

    .reset-button:focus-visible[b-3x9pj6eyt6],
    .preset-color:focus-visible[b-3x9pj6eyt6],
    .color-picker-row input:focus-visible[b-3x9pj6eyt6],
    .slider-row input:focus-visible[b-3x9pj6eyt6] {
        outline: 3px solid rgba(var(--accent), 0.3);
        outline-offset: 3px;
    }

    .reset-button:active[b-3x9pj6eyt6] {
        transform: translateY(0);
    }

@media (max-width: 640px) {
    .color-editor[b-3x9pj6eyt6] {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .character-canvas[b-3x9pj6eyt6] {
        border-radius: 14px;
    }

    .editor-layout[b-3x9pj6eyt6] {
        grid-template-columns: minmax(180px, 1fr) minmax(230px, 1fr);
        align-items: start;
        gap: 0.85rem;
        overflow-x: auto;
    }

    .controls[b-3x9pj6eyt6] {
        padding: 1rem;
        border-radius: 14px;
    }

    .color-picker-row[b-3x9pj6eyt6] {
        grid-template-columns: 1fr 52px;
    }

    .hex-input[b-3x9pj6eyt6] {
        grid-column: 1 / -1;
    }

    .slider-row[b-3x9pj6eyt6] {
        grid-template-columns: 62px minmax(0, 1fr) 36px;
        gap: 0.55rem;
    }

    .preview-row[b-3x9pj6eyt6] {
        flex-wrap: wrap;
    }

        .preview-row > span:first-child[b-3x9pj6eyt6] {
            flex: 1 0 100%;
            margin-right: 0;
        }

    .reset-button[b-3x9pj6eyt6] {
        width: 100%;
    }

    .preset-colors[b-3x9pj6eyt6] {
        grid-template-columns: repeat(7, minmax(34px, 1fr));
    }

    .preset-color[b-3x9pj6eyt6] {
        width: min(44px, 100%);
        aspect-ratio: 1;
        height: auto;
    }
}

@media (max-width: 420px) {
    .preset-colors[b-3x9pj6eyt6] {
        grid-template-columns: repeat(4, 44px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reset-button[b-3x9pj6eyt6],
    .preset-color[b-3x9pj6eyt6],
    .hex-input[b-3x9pj6eyt6] {
        transition: none;
    }
}
