/* /Components/Features/AchievementsPage.razor.rz.scp.css */
/* ── Header ──────────────────────────────────────────────────────────────── */
.ach-header[b-w5e2hasiuu] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bs-tertiary-bg, #1a1a2e);
    border: 1px solid var(--bs-border-color, rgba(255,255,255,.1));
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

.ach-level-badge[b-w5e2hasiuu] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}
.ach-level-icon[b-w5e2hasiuu] { font-size: 2.5rem; line-height: 1; }
.ach-level-num[b-w5e2hasiuu]  { font-size: .7rem; color: var(--bs-secondary-color, rgba(255,255,255,.5)); text-transform: uppercase; letter-spacing: .1em; }
.ach-level-title[b-w5e2hasiuu] { font-size: 1.05rem; font-weight: 700; color: var(--bs-body-color, #fff); }

.ach-xp-block[b-w5e2hasiuu] { flex: 1; }
.ach-xpbar-track[b-w5e2hasiuu] {
    height: 8px;
    background: var(--bs-secondary-bg, rgba(255,255,255,.1));
    border-radius: 4px;
    overflow: hidden;
}
.ach-xpbar-fill[b-w5e2hasiuu] {
    height: 100%;
    background: linear-gradient(90deg, #a29bfe, #ffd700);
    border-radius: 4px;
    transition: width .8s ease;
}

.ach-xp-range[b-w5e2hasiuu] {
    font-size: .75rem;
    color: var(--bs-secondary-color, rgba(255,255,255,.6));
}

.ach-earned-summary[b-w5e2hasiuu] { flex-shrink: 0; text-align: right; }
.ach-earned-num[b-w5e2hasiuu]   { font-size: 1.5rem; font-weight: 800; color: #ffd700; }
.ach-earned-label[b-w5e2hasiuu] { font-size: .72rem; color: var(--bs-secondary-color, rgba(255,255,255,.5)); display: block; }

/* ── Workflow section ────────────────────────────────────────────────────── */
.ach-workflow-title[b-w5e2hasiuu] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-body-color, #fff);
}

/* ── Achievement progress track ─────────────────────────────────────────── */
.ach-track[b-w5e2hasiuu] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.ach-step[b-w5e2hasiuu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    padding: .6rem .4rem;
    border-radius: 10px;
    border: 1px solid var(--bs-border-color, rgba(255,255,255,.08));
    background: var(--bs-secondary-bg, rgba(255,255,255,.04));
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    text-align: center;
}
.ach-step:hover[b-w5e2hasiuu] { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

.ach-step-locked[b-w5e2hasiuu] {
    opacity: .4;
    filter: grayscale(1);
}
.ach-step-earned[b-w5e2hasiuu] {
    background: linear-gradient(135deg, rgba(162,155,254,.15), rgba(255,215,0,.08));
    border-color: rgba(162,155,254,.3);
}
.ach-step-earned.anim-rare[b-w5e2hasiuu]      { border-color: rgba(162,155,254,.5); }
.ach-step-earned.anim-epic[b-w5e2hasiuu]      { border-color: rgba(253,121,168,.5); background: linear-gradient(135deg, rgba(253,121,168,.1), rgba(0,184,148,.1)); }
.ach-step-earned.anim-legendary[b-w5e2hasiuu] { border-color: rgba(255,215,0,.6); background: linear-gradient(135deg, rgba(255,215,0,.15), rgba(255,159,67,.1)); box-shadow: 0 0 12px rgba(255,215,0,.2); }

.ach-step-icon[b-w5e2hasiuu] { font-size: 1.6rem; line-height: 1.2; }
.ach-step-name[b-w5e2hasiuu] { font-size: .65rem; color: var(--bs-body-color, rgba(255,255,255,.8)); line-height: 1.3; margin-top: .2rem; word-break: break-word; }
.ach-step-xp[b-w5e2hasiuu]   { font-size: .6rem; color: #ffd700; font-weight: 700; margin-top: .15rem; }

/* ── Guidance modal ──────────────────────────────────────────────────────── */
.ach-guidance-overlay[b-w5e2hasiuu] {
    position: fixed;
    inset: 0;
    z-index: 99000;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.ach-guidance-card[b-w5e2hasiuu] {
    background: var(--bs-card-bg, #1a1a2e);
    border: 1px solid var(--bs-border-color, rgba(255,255,255,.12));
    border-radius: 14px;
    padding: 1.75rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    animation: guidancePop-b-w5e2hasiuu .3s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes guidancePop-b-w5e2hasiuu {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.ach-guidance-icon[b-w5e2hasiuu]  { font-size: 3rem; line-height: 1.2; }
.ach-guidance-title[b-w5e2hasiuu] { font-size: 1.2rem; font-weight: 700; color: var(--bs-body-color, #fff); margin: .4rem 0 .1rem; }
.ach-guidance-earned-badge[b-w5e2hasiuu] { color: #00b894; font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
.ach-guidance-desc[b-w5e2hasiuu]  { font-size: .82rem; color: var(--bs-secondary-color, rgba(255,255,255,.65)); }
.ach-guidance-hint[b-w5e2hasiuu]  {
    background: rgba(162,155,254,.12);
    border: 1px solid rgba(162,155,254,.2);
    border-radius: 8px;
    padding: .65rem .85rem;
    font-size: .78rem;
    color: var(--bs-body-color, rgba(255,255,255,.8));
    text-align: left;
    margin-top: .75rem;
}
/* /Components/Features/AdminPromoVideo.razor.rz.scp.css */
/* ── Slideshow Player ────────────────────────────────────────────────────── */

.promo-player-overlay[b-xrehdo5cdm] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
}

.promo-player-slide-wrap[b-xrehdo5cdm] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.promo-player-img[b-xrehdo5cdm] {
    max-width: 100%;
    max-height: calc(100vh - 72px);
    object-fit: contain;
    display: block;
    user-select: none;
}

/* Banner overlay on slide */
.promo-player-banner[b-xrehdo5cdm] {
    position: absolute;
    left: 0;
    right: 0;
    padding: .75rem 2.5rem;
    background: rgba(0, 0, 0, .72);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: .03em;
    backdrop-filter: blur(6px);
}
.promo-player-banner-top[b-xrehdo5cdm]    { top: 0; }
.promo-player-banner-center[b-xrehdo5cdm] { top: 50%; transform: translateY(-50%); }
.promo-player-banner-bottom[b-xrehdo5cdm] { bottom: 72px; }

/* HUD: slide counter + caption at top */
.promo-player-hud[b-xrehdo5cdm] {
    position: absolute;
    top: .75rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    pointer-events: none;
    z-index: 10;
}

.promo-player-counter[b-xrehdo5cdm] {
    background: rgba(0, 0, 0, .55);
    color: rgba(255, 255, 255, .75);
    font-size: .72rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    letter-spacing: .04em;
}

.promo-player-caption[b-xrehdo5cdm] {
    max-width: 65%;
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .45);
    padding: .25rem .75rem;
    border-radius: 6px;
    line-height: 1.45;
}

/* Controls bar at bottom */
.promo-player-controls[b-xrehdo5cdm] {
    position: relative;
    flex-shrink: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 60%, transparent);
    padding: 0 4rem;
}

.promo-ctrl-btn[b-xrehdo5cdm] {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.promo-ctrl-btn:hover:not(:disabled)[b-xrehdo5cdm] { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.promo-ctrl-btn:disabled[b-xrehdo5cdm]             { opacity: .3; cursor: default; }

.promo-ctrl-play[b-xrehdo5cdm] {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    background: rgba(124, 58, 237, .75);
    border-color: rgba(124, 58, 237, .5);
}
.promo-ctrl-play:hover:not(:disabled)[b-xrehdo5cdm] { background: rgba(124, 58, 237, .95); }

.promo-ctrl-close[b-xrehdo5cdm] {
    position: absolute;
    right: 1.25rem;
    background: rgba(220, 38, 38, .35);
    border-color: rgba(220, 38, 38, .3);
}
.promo-ctrl-close:hover:not(:disabled)[b-xrehdo5cdm] { background: rgba(220, 38, 38, .7); }

/* ── Export / Render Panel ──────────────────────────────────────────────────── */
.render-panel[b-xrehdo5cdm] {
    background: rgba(245, 158, 11, .06);
    border: 1px solid rgba(245, 158, 11, .2);
    border-radius: 8px;
    padding: .85rem 1rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0s0qgksgzg] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0s0qgksgzg] {
    flex: 1;
    overflow-y: auto;
}

.sidebar[b-0s0qgksgzg] {
    background: var(--ads-sidebar-bg, #0d0d10);
    position: relative;   /* anchors the absolute-positioned hamburger toggle */
}

.top-row[b-0s0qgksgzg] {
    background: var(--ads-topbar-bg, transparent);
    border-bottom: 1px solid var(--ads-border, rgba(255,255,255,0.07));
    justify-content: space-between;
    height: 2.75rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

@media (max-width: 640.98px) {
    .top-row[b-0s0qgksgzg] {
        justify-content: space-between;
    }
}

@media (min-width: 641px) {
    .page[b-0s0qgksgzg] {
        flex-direction: row;
    }

    .sidebar[b-0s0qgksgzg] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    main[b-0s0qgksgzg] {
        height: 100vh;
    }

    .top-row[b-0s0qgksgzg] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-0s0qgksgzg], article[b-0s0qgksgzg] {
        padding-left: 1.75rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-0s0qgksgzg] {
    color-scheme: light only;
    background: #7f1d1d;
    color: #fecaca;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.4);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

#blazor-error-ui .dismiss[b-0s0qgksgzg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xc0hz1pa5o],
.components-reconnect-repeated-attempt-visible[b-xc0hz1pa5o],
.components-reconnect-failed-visible[b-xc0hz1pa5o],
.components-pause-visible[b-xc0hz1pa5o],
.components-resume-failed-visible[b-xc0hz1pa5o],
.components-rejoining-animation[b-xc0hz1pa5o] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-retrying[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-failed[b-xc0hz1pa5o],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-xc0hz1pa5o] {
    display: block;
}


#components-reconnect-modal[b-xc0hz1pa5o] {
    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-xc0hz1pa5o 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-xc0hz1pa5o 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-xc0hz1pa5o 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-xc0hz1pa5o]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-xc0hz1pa5o 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xc0hz1pa5o {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xc0hz1pa5o {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-xc0hz1pa5o {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-xc0hz1pa5o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-xc0hz1pa5o] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-xc0hz1pa5o] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-xc0hz1pa5o] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-xc0hz1pa5o] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-xc0hz1pa5o] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-xc0hz1pa5o] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-xc0hz1pa5o 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-xc0hz1pa5o] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-xc0hz1pa5o {
    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/SettingsPage.razor.rz.scp.css */
/* ── Theme swatch picker ─────────────────────────────────────────────────── */

.theme-swatch[b-8bz7998t46] {
    display:          flex;
    align-items:      center;
    gap:              6px;
    padding:          6px 10px;
    border:           1px solid rgba(255,255,255,0.12);
    border-radius:    8px;
    background:       var(--swatch-bg, #1a1a2e);
    color:            #ccc;
    font-size:        0.78rem;
    cursor:           pointer;
    transition:       border-color .15s, box-shadow .15s, color .15s;
}

.theme-swatch:hover[b-8bz7998t46] {
    border-color: var(--swatch-primary, #6366f1);
    color:        #fff;
}

.theme-swatch.active[b-8bz7998t46] {
    border-color: var(--swatch-primary, #6366f1);
    box-shadow:   0 0 0 2px var(--swatch-primary, #6366f1);
    color:        #fff;
}

.swatch-dot[b-8bz7998t46] {
    width:         12px;
    height:        12px;
    border-radius: 50%;
    background:    var(--swatch-primary, #6366f1);
    flex-shrink:   0;
}
/* /Components/Shared/AchievementToast.razor.rz.scp.css */
/* ── Achievement toast stack ─────────────────────────────────────────────── */
.achievement-stack[b-d3rg5mlg81] {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 99000;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    pointer-events: none;
    max-width: 340px;
}

/* ── Base toast ──────────────────────────────────────────────────────────── */
.achievement-toast[b-d3rg5mlg81] {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: .65rem .85rem .65rem .7rem;
    color: #fff;
    font-family: inherit;
    box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
    pointer-events: all;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ── Enter / leave animations ────────────────────────────────────────────── */
.toast-enter[b-d3rg5mlg81] {
    animation: toastSlideIn-b-d3rg5mlg81 .35s cubic-bezier(.175,.885,.32,1.275) both;
}
.toast-leave[b-d3rg5mlg81] {
    animation: toastSlideOut-b-d3rg5mlg81 .4s ease-in both;
}
@keyframes toastSlideIn-b-d3rg5mlg81 {
    from { opacity: 0; transform: translateX(110%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastSlideOut-b-d3rg5mlg81 {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(60%) scale(.9); }
}

/* ── Icon ────────────────────────────────────────────────────────────────── */
.toast-icon-wrap[b-d3rg5mlg81] {
    position: relative;
    flex-shrink: 0;
}
.toast-icon[b-d3rg5mlg81] {
    font-size: 2rem;
    line-height: 1;
    display: block;
}
.toast-ring[b-d3rg5mlg81] {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid gold;
    animation: ringPulse-b-d3rg5mlg81 1.2s ease-out infinite;
    pointer-events: none;
}
@keyframes ringPulse-b-d3rg5mlg81 {
    0%   { transform: scale(.9); opacity: .9; }
    70%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(.9); opacity: 0; }
}

/* ── Text body ───────────────────────────────────────────────────────────── */
.toast-body[b-d3rg5mlg81] {
    flex: 1;
    min-width: 0;
}
.toast-label[b-d3rg5mlg81] {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #a29bfe;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: .1rem;
}
.toast-title[b-d3rg5mlg81] {
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast-desc[b-d3rg5mlg81] {
    font-size: .72rem;
    color: rgba(255,255,255,.65);
    line-height: 1.3;
    margin-top: .1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast-xp[b-d3rg5mlg81] {
    font-size: .7rem;
    color: #ffd700;
    font-weight: 700;
    margin-top: .2rem;
}

/* ── Close button ────────────────────────────────────────────────────────── */
.toast-close[b-d3rg5mlg81] {
    background: none;
    border: none;
    color: rgba(255,255,255,.45);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 .15rem;
    cursor: pointer;
    flex-shrink: 0;
    align-self: flex-start;
    pointer-events: all;
}
.toast-close:hover[b-d3rg5mlg81] { color: #fff; }

/* ── Progress bar ────────────────────────────────────────────────────────── */
.toast-progress[b-d3rg5mlg81] {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #a29bfe, #6c5ce7);
    transform-origin: left;
    animation: toastProgress-b-d3rg5mlg81 linear 1 forwards;
}
@keyframes toastProgress-b-d3rg5mlg81 {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* ── Rarity variants ─────────────────────────────────────────────────────── */
.anim-rare[b-d3rg5mlg81] {
    border-color: rgba(162,155,254,.4);
    box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 0 16px rgba(162,155,254,.25);
}
.anim-rare .toast-label[b-d3rg5mlg81] { color: #a29bfe; }
.anim-rare .toast-progress[b-d3rg5mlg81] { background: linear-gradient(90deg, #a29bfe, #6c5ce7); }

.anim-epic[b-d3rg5mlg81] {
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
    border-color: rgba(253,121,168,.5);
    box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 24px rgba(253,121,168,.3);
}
.anim-epic .toast-label[b-d3rg5mlg81] { color: #fd79a8; }
.anim-epic .toast-progress[b-d3rg5mlg81] { background: linear-gradient(90deg, #fd79a8, #e84393); }

.anim-legendary[b-d3rg5mlg81] {
    background: linear-gradient(135deg, #4a0e0e 0%, #7b2900 50%, #4a0e0e 100%);
    border-color: rgba(255,215,0,.6);
    box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 32px rgba(255,215,0,.4);
    animation: toastSlideIn-b-d3rg5mlg81 .35s cubic-bezier(.175,.885,.32,1.275) both,
               legendaryGlow-b-d3rg5mlg81 2s ease-in-out infinite;
}
.anim-legendary .toast-label[b-d3rg5mlg81] { color: #ffd700; }
.anim-legendary .toast-ring[b-d3rg5mlg81]  { border-color: #ffd700; }
.anim-legendary .toast-progress[b-d3rg5mlg81] { background: linear-gradient(90deg, #ffd700, #ff9f43); }
@keyframes legendaryGlow-b-d3rg5mlg81 {
    0%, 100% { box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 32px rgba(255,215,0,.4); }
    50%       { box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 48px rgba(255,215,0,.7); }
}
/* /Components/Shared/AppAssistant.razor.rz.scp.css */
/* All AppAssistant styles are in wwwroot/css/assistant.css (global).
   Scoped CSS can't span the sub-component boundaries created when the
   panel was split into AppAssistantPanel_* and AppAssistantAvatar components. */
/* /Components/Shared/AppAssistantAvatar.razor.rz.scp.css */
/* ── Live2D floating avatar ─────────────────────────────────────────────── */
.live2d-float-wrap[b-xhxc7d1w3o] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 150px;
    height: 150px;
    cursor: grab;
    z-index: 1500;
    transition: transform .2s;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
    pointer-events: none;
}
.live2d-float-wrap .live2d-canvas[b-xhxc7d1w3o] {
    display: block;
    pointer-events: none;
}
.live2d-hit-zone[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    pointer-events: auto;
    cursor: grab;
    border-radius: 0 0 8px 8px;
}
.live2d-hit-zone:active[b-xhxc7d1w3o] { cursor: grabbing; }
.live2d-float-wrap:active[b-xhxc7d1w3o] { cursor: grabbing; }
.live2d-float-wrap:hover[b-xhxc7d1w3o] { transform: scale(1.03); }
.live2d-float-wrap.live2d-loading[b-xhxc7d1w3o] {
    opacity: 0;
    pointer-events: none;
}
.live2d-hint[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: .7rem;
    padding: .2rem .5rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s, transform .18s;
}
.live2d-float-wrap:hover .live2d-hint[b-xhxc7d1w3o] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── 3D / VRM floating avatar ───────────────────────────────────────────── */
.avatar3d-float-wrap[b-xhxc7d1w3o] {
    position: fixed;
    bottom: 0;
    right: 1rem;
    width: 140px;
    height: 200px;
    cursor: pointer;
    z-index: 1500;
    overflow: hidden;
    transition: transform .2s;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.avatar3d-float-wrap:hover[b-xhxc7d1w3o] { transform: scale(1.04); }
.avatar3d-float-wrap:hover .live2d-hint[b-xhxc7d1w3o] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── PNGtuber avatar ─────────────────────────────────────────────────────── */
.pngtuber-avatar[b-xhxc7d1w3o] {
    width: 140px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px 12px 0 0;
    display: block;
}
@keyframes pngtuber-float-b-xhxc7d1w3o {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}
@keyframes pngtuber-talk-b-xhxc7d1w3o {
    0%, 100% { transform: translateY(0px) scale(1); }
    25%       { transform: translateY(-4px) scale(1.02); }
    75%       { transform: translateY(-2px) scale(0.99); }
}
.pngtuber-idle[b-xhxc7d1w3o]    { animation: pngtuber-float-b-xhxc7d1w3o 3s ease-in-out infinite; }
.pngtuber-talking[b-xhxc7d1w3o] { animation: pngtuber-talk-b-xhxc7d1w3o 0.18s ease-in-out infinite; }

/* ── Avatar size variants ───────────────────────────────────────────────── */
.avatar-size-small[b-xhxc7d1w3o] { transform: scale(0.5); transform-origin: bottom right; }
.avatar-size-large[b-xhxc7d1w3o] { transform: scale(2);   transform-origin: bottom right; }

/* ── Floating Action Button ─────────────────────────────────────────────── */
.assistant-fab[b-xhxc7d1w3o] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #0d6efd;
    box-shadow: 0 4px 16px rgba(13,110,253,.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    transition: transform .15s, box-shadow .15s;
}
.assistant-fab:hover[b-xhxc7d1w3o]  { transform: scale(1.08); box-shadow: 0 6px 24px rgba(13,110,253,.65); }
.assistant-fab:active[b-xhxc7d1w3o] { transform: scale(.95); }

/* ── Clippy character (CSS art) ─────────────────────────────────────────── */
.clippy-fab[b-xhxc7d1w3o] {
    background: #ffe066;
    box-shadow: 0 4px 16px rgba(255,200,0,.5);
    width: 64px;
    height: 64px;
}
.clippy-fab:hover[b-xhxc7d1w3o] { box-shadow: 0 6px 24px rgba(255,200,0,.7); }

.clippy-idle[b-xhxc7d1w3o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    animation: clippyBob-b-xhxc7d1w3o 2.5s ease-in-out infinite;
}
.clippy-body[b-xhxc7d1w3o] {
    width: 38px;
    height: 30px;
    background: #fff;
    border: 2.5px solid #333;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.clippy-body.sm[b-xhxc7d1w3o] {
    width: 20px;
    height: 16px;
    border-radius: 4px;
    gap: 3px;
}
.clippy-eye[b-xhxc7d1w3o] {
    width: 7px;
    height: 7px;
    background: #333;
    border-radius: 50%;
    animation: clippyBlink-b-xhxc7d1w3o 3.5s infinite;
    margin-bottom: 4px;
}
.clippy-body.sm .clippy-eye[b-xhxc7d1w3o] { width: 4px; height: 4px; margin-bottom: 2px; }
.clippy-mouth[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 6px;
    border: 2.5px solid #333;
    border-top: none;
    border-radius: 0 0 8px 8px;
}
.clippy-legs[b-xhxc7d1w3o] { display: flex; gap: 7px; }
.clippy-leg[b-xhxc7d1w3o] {
    width: 8px;
    height: 9px;
    background: #333;
    border-radius: 0 0 4px 4px;
}
@keyframes clippyBob-b-xhxc7d1w3o {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}
@keyframes clippyBlink-b-xhxc7d1w3o {
    0%, 90%, 100% { transform: scaleY(1); }
    95%           { transform: scaleY(0.1); }
}
@keyframes clippySpeak-b-xhxc7d1w3o {
    0%,100% { height: 4px; border-radius: 0 0 5px 5px; }
    33%      { height: 8px; border-radius: 0 0 3px 3px; }
    66%      { height: 2px; border-radius: 0 0 5px 5px; }
}
.clippy-speaking .clippy-mouth[b-xhxc7d1w3o] {
    animation: clippySpeak-b-xhxc7d1w3o 170ms steps(1, end) infinite;
}

/* ── Anime skin ─────────────────────────────────────────────────────────── */
.anime-fab[b-xhxc7d1w3o]         { background: #1a1a2e; box-shadow: 0 4px 16px rgba(244,114,182,.45); }
.anime-fab-female[b-xhxc7d1w3o]  { background: #2d1b33; box-shadow: 0 4px 16px rgba(244,114,182,.5); }
.anime-fab-male[b-xhxc7d1w3o]    { background: #1a2433; box-shadow: 0 4px 16px rgba(96,165,250,.5); }
.anime-fab:hover[b-xhxc7d1w3o]   { box-shadow: 0 6px 24px rgba(244,114,182,.7); }

.anime-idle[b-xhxc7d1w3o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: clippyBob-b-xhxc7d1w3o 2.5s ease-in-out infinite;
}
.anime-ahoge[b-xhxc7d1w3o] {
    width: 4px;
    height: 10px;
    border-radius: 2px 2px 0 0;
    margin-bottom: -2px;
    position: relative;
    z-index: 1;
}
.anime-female .anime-ahoge[b-xhxc7d1w3o] { background: #c084fc; transform: rotate(-8deg); }
.anime-male   .anime-ahoge[b-xhxc7d1w3o] { background: #60a5fa; width: 5px; height: 8px; transform: rotate(5deg); }

.anime-face[b-xhxc7d1w3o] {
    width: 34px;
    height: 30px;
    border-radius: 50% 50% 45% 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.anime-female .anime-face[b-xhxc7d1w3o] { background: #fde8f0; border: 1.5px solid #f9a8d4; }
.anime-male   .anime-face[b-xhxc7d1w3o] { background: #e0eeff; border: 1.5px solid #93c5fd; }
.anime-face.sm[b-xhxc7d1w3o] { width: 24px; height: 20px; gap: 3px; }

.anime-eye[b-xhxc7d1w3o] {
    width: 8px;
    height: 11px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    animation: clippyBlink-b-xhxc7d1w3o 3.5s infinite;
    flex-shrink: 0;
}
.anime-female .anime-eye[b-xhxc7d1w3o] { background: #7c3aed; border: 1.5px solid #5b21b6; }
.anime-male   .anime-eye[b-xhxc7d1w3o] { background: #1d4ed8; border: 1.5px solid #1e3a8a; }
.anime-eye.sm[b-xhxc7d1w3o] { width: 5px; height: 7px; }

.anime-pupil[b-xhxc7d1w3o] {
    position: absolute;
    width: 4px;
    height: 5px;
    background: #000;
    border-radius: 50%;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}
.anime-eye.sm .anime-pupil[b-xhxc7d1w3o] { width: 3px; height: 3px; bottom: 1px; }

.anime-shine[b-xhxc7d1w3o] {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    top: 2px;
    right: 1px;
}
.anime-nose[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 2px;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
}
.anime-mouth[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 5px;
    border: 1.5px solid rgba(0,0,0,.4);
    border-top: none;
    border-radius: 0 0 8px 8px;
}
.anime-female .anime-mouth[b-xhxc7d1w3o] { border-color: #f472b6; }
.anime-male   .anime-mouth[b-xhxc7d1w3o] { border-color: #60a5fa; }

.anime-blush[b-xhxc7d1w3o] {
    position: absolute;
    bottom: 9px;
    width: 7px;
    height: 4px;
    background: rgba(251,113,133,.5);
    border-radius: 50%;
}
.anime-blush.left[b-xhxc7d1w3o]  { left: 2px; }
.anime-blush.right[b-xhxc7d1w3o] { right: 2px; }

.anime-mouth.sm[b-xhxc7d1w3o] {
    width: 6px;
    height: 3px;
    bottom: 1px;
    border-radius: 0 0 4px 4px;
}

@keyframes animeSpeak-b-xhxc7d1w3o {
    0%,100% { height: 5px; border-radius: 0 0 8px 8px; }
    25%      { height: 9px; border-radius: 0 0 5px 5px; border-top: none; }
    50%      { height: 3px; border-radius: 0 0 8px 8px; }
    75%      { height: 8px; border-radius: 0 0 4px 4px; }
}
.anime-speaking .anime-mouth[b-xhxc7d1w3o]    { animation: animeSpeak-b-xhxc7d1w3o 180ms steps(1, end) infinite; }
.anime-speaking .anime-mouth.sm[b-xhxc7d1w3o] { animation: animeSpeak-b-xhxc7d1w3o 180ms steps(1, end) infinite; }

/* Custom AI-generated avatar image */
.anime-custom-fab[b-xhxc7d1w3o] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    animation: clippyBob-b-xhxc7d1w3o 2.5s ease-in-out infinite;
}
/* /Components/Shared/LevelUpOverlay.razor.rz.scp.css */
/* ── Level-up full-screen overlay ────────────────────────────────────────── */
.levelup-overlay[b-iumyogu3cb] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.levelup-enter[b-iumyogu3cb] {
    animation: lvlFadeIn-b-iumyogu3cb .4s ease both;
}
.levelup-leave[b-iumyogu3cb] {
    animation: lvlFadeOut-b-iumyogu3cb .5s ease both;
}
@keyframes lvlFadeIn-b-iumyogu3cb {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes lvlFadeOut-b-iumyogu3cb {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.levelup-card[b-iumyogu3cb] {
    text-align: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(160deg, #0f0c29, #302b63, #24243e);
    border: 1px solid rgba(255,215,0,.35);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(255,215,0,.25), 0 20px 60px rgba(0,0,0,.6);
    max-width: 380px;
    width: 90%;
    animation: lvlCardPop-b-iumyogu3cb .5s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes lvlCardPop-b-iumyogu3cb {
    from { transform: scale(.7) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.levelup-badge[b-iumyogu3cb] {
    font-size: 2rem;
    animation: lvlBadgeSpin-b-iumyogu3cb 1s ease both;
}
@keyframes lvlBadgeSpin-b-iumyogu3cb {
    from { transform: rotate(-180deg) scale(0); }
    to   { transform: rotate(0)       scale(1); }
}

.levelup-label[b-iumyogu3cb] {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .25em;
    color: #ffd700;
    text-shadow: 0 0 16px #ffd700;
    margin: .4rem 0 .2rem;
    animation: lvlGlow-b-iumyogu3cb 1.5s ease-in-out infinite;
}
@keyframes lvlGlow-b-iumyogu3cb {
    0%, 100% { text-shadow: 0 0 16px #ffd700; }
    50%       { text-shadow: 0 0 32px #ffd700, 0 0 8px #fff; }
}

.levelup-icon[b-iumyogu3cb] {
    font-size: 4rem;
    line-height: 1.2;
    animation: lvlIconBounce-b-iumyogu3cb .8s .2s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes lvlIconBounce-b-iumyogu3cb {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.levelup-title[b-iumyogu3cb] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: .4rem 0 .2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.levelup-desc[b-iumyogu3cb] {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.25rem;
}

/* ── XP bar fill ─────────────────────────────────────────────────────────── */
.levelup-xpbar-wrap[b-iumyogu3cb] {
    height: 8px;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.levelup-xpbar[b-iumyogu3cb] {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a29bfe, #ffd700);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.levelup-xpbar-full[b-iumyogu3cb] {
    width: 100%;
}

.levelup-dismiss[b-iumyogu3cb] {
    font-size: .7rem;
    color: rgba(255,255,255,.35);
    letter-spacing: .05em;
}
