/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-q4uljto1ul] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-q4uljto1ul] {
    flex: 1;
}

.sidebar[b-q4uljto1ul] {
    background-image: linear-gradient(180deg, #0d0d1a 0%, #16102a 60%, #1a0d2e 100%);
    border-right: 1px solid #1e1e2a;
}

.top-row[b-q4uljto1ul] {
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-q4uljto1ul]  a:not(.dropdown-item), .top-row[b-q4uljto1ul]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-q4uljto1ul]  a:not(.dropdown-item):hover, .top-row[b-q4uljto1ul]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-q4uljto1ul]  a:not(.dropdown-item):first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-q4uljto1ul] {
        justify-content: flex-end;
    }

    .top-row[b-q4uljto1ul]  a, .top-row[b-q4uljto1ul]  .btn-link {
        margin-left: 0;
    }
}

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

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

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

    .top-row.auth[b-q4uljto1ul]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-q4uljto1ul], article[b-q4uljto1ul] {
        padding-left: 2rem !important;
        padding-right: 2.5rem !important;
    }

    .top-row[b-q4uljto1ul] {
        padding-top: 0.75rem !important;
    }
}

#blazor-error-ui[b-q4uljto1ul] {
    background: #2a1010;
    color: #ffd0d0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.5);
    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-q4uljto1ul] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Sidebar container ──────────────────────────────────── */
.sidebar-nav[b-htmfayyx37] {
    width: 64px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    overflow: hidden;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav.expanded[b-htmfayyx37] {
    width: 248px;
    align-items: stretch;
}

/* ── Logo ───────────────────────────────────────────────── */
.sidebar-logo[b-htmfayyx37] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    min-height: 64px;
    padding: 0 10px;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    gap: 0;
    cursor: pointer;
}

.logo-icon[b-htmfayyx37] {
    display: inline-block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: width 0.28s ease, height 0.28s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-logo:hover .logo-icon[b-htmfayyx37] {
    transform: scale(1.12);
    animation: logo-glow-b-htmfayyx37 2.4s ease-in-out infinite, logo-wobble-b-htmfayyx37 3.2s ease-in-out infinite;
}

@keyframes logo-glow-b-htmfayyx37 {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(180, 138, 255, 0.2)); }
    50%       { filter: drop-shadow(0 0 7px rgba(200, 160, 255, 0.4))
                        drop-shadow(0 0 16px rgba(180, 138, 255, 0.15)); }
}

@keyframes logo-wobble-b-htmfayyx37 {
    0%, 100% { transform: scale(1.12) rotate(0deg); }
    20%       { transform: scale(1.13) rotate(-2deg); }
    40%       { transform: scale(1.12) rotate(1.5deg); }
    60%       { transform: scale(1.13) rotate(-1.5deg); }
    80%       { transform: scale(1.12) rotate(1deg); }
}

.sidebar-nav.expanded .logo-icon[b-htmfayyx37] {
    width: 42px;
    height: 42px;
}

.logo-brand[b-htmfayyx37] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    max-width: 0;
    margin-left: 0;
    transition: opacity 0.2s ease 0.08s, max-width 0.28s ease, margin-left 0.28s ease;
}

.sidebar-nav.expanded .logo-brand[b-htmfayyx37] {
    opacity: 1;
    max-width: 160px;
    margin-left: 10px;
}

.logo-text[b-htmfayyx37] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c8a8ff;
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.logo-sub[b-htmfayyx37] {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(180, 138, 255, 0.5);
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

/* ── Nav container ──────────────────────────────────────── */
.nav[b-htmfayyx37] {
    flex: 1;
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item[b-htmfayyx37] {
    width: 100%;
    padding: 0;
}

/* ── Nav links — collapsed ──────────────────────────────── */
.nav-item[b-htmfayyx37]  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 50px;
    padding: 0;
    margin: 0;
    color: #8888a8;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    background: none;
}

.nav-item[b-htmfayyx37]  .nav-link:hover {
    background: none;
    color: #c8a8ff;
}

.nav-item[b-htmfayyx37]  a.active {
    color: #c8a8ff;
    background: none;
    box-shadow: none;
}

/* ── Nav links — expanded ───────────────────────────────── */
.sidebar-nav.expanded .nav-item[b-htmfayyx37] {
    padding: 0 10px;
}

.sidebar-nav.expanded .nav-item[b-htmfayyx37]  .nav-link {
    justify-content: flex-start;
    padding: 0 12px;
    gap: 11px;
    border-radius: 10px;
}

.sidebar-nav.expanded .nav-item[b-htmfayyx37]  a.active {
    background-color: rgba(180, 138, 255, 0.12);
    border: 1px solid rgba(180, 138, 255, 0.18);
}

.sidebar-nav.expanded .nav-item[b-htmfayyx37]  a.active:hover {
    background-color: rgba(180, 138, 255, 0.16);
}

/* ── Nav icons ──────────────────────────────────────────── */
.nav-icon[b-htmfayyx37] {
    display: inline-block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}

.nav-item[b-htmfayyx37]  .nav-link:hover .nav-icon {
    opacity: 1;
    transform: scale(1.25);
    filter: drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

.nav-item[b-htmfayyx37]  a.active .nav-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(180, 138, 255, 0.4));
}

.icon-home[b-htmfayyx37] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(0.65) sepia(1) saturate(0.5) hue-rotate(220deg);
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-home,
.nav-item[b-htmfayyx37]  a.active .icon-home {
    filter: brightness(0) invert(0.8) sepia(1) saturate(1.5) hue-rotate(220deg)
            drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

.icon-dictionary[b-htmfayyx37] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811V2.828zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(0.65) sepia(1) saturate(0.5) hue-rotate(220deg);
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-dictionary,
.nav-item[b-htmfayyx37]  a.active .icon-dictionary {
    filter: brightness(0) invert(0.8) sepia(1) saturate(1.5) hue-rotate(220deg)
            drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

.icon-flashcards[b-htmfayyx37] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 8zm0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(0.65) sepia(1) saturate(0.5) hue-rotate(220deg);
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-flashcards,
.nav-item[b-htmfayyx37]  a.active .icon-flashcards {
    filter: brightness(0) invert(0.8) sepia(1) saturate(1.5) hue-rotate(220deg)
            drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

.icon-quiz[b-htmfayyx37] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z'/%3E%3Cpath fill-rule='evenodd' d='M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5v11z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(0.65) sepia(1) saturate(0.5) hue-rotate(220deg);
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-quiz,
.nav-item[b-htmfayyx37]  a.active .icon-quiz {
    filter: brightness(0) invert(0.8) sepia(1) saturate(1.5) hue-rotate(220deg)
            drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

.icon-alphabet[b-htmfayyx37] {
    background-image: none;
    filter: none;
    font-size: 1.7rem;
    line-height: 1;
    color: #8888a8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    opacity: 0.55;
    transition: color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.2s ease, text-shadow 0.2s ease;
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-alphabet {
    color: #c8a8ff;
    opacity: 1;
    transform: scale(1.25);
    text-shadow: 0 0 8px rgba(180, 138, 255, 0.6);
}

.nav-item[b-htmfayyx37]  a.active .icon-alphabet {
    color: #c8a8ff;
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 0 0 6px rgba(180, 138, 255, 0.4);
}

/* ── Nav label ──────────────────────────────────────────── */
.nav-label[b-htmfayyx37] {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: inherit;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease 0.08s, max-width 0.28s ease;
}

.sidebar-nav.expanded .nav-label[b-htmfayyx37] {
    opacity: 1;
    max-width: 180px;
}

/* ── Toggle button ──────────────────────────────────────── */
.sidebar-toggle[b-htmfayyx37] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    min-height: 52px;
    flex-shrink: 0;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    padding: 0;
    gap: 10px;
    transition: color 0.2s ease;
}

.sidebar-toggle:hover .toggle-icon[b-htmfayyx37] {
    transform: scale(1.2);
    filter: drop-shadow(0 0 4px rgba(180, 138, 255, 0.4));
}

.sidebar-toggle:hover.rotated .toggle-icon[b-htmfayyx37] {
    transform: scale(1.2) rotate(180deg);
}

.toggle-icon[b-htmfayyx37] {
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238888a8'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}

.toggle-icon.rotated[b-htmfayyx37] {
    transform: rotate(180deg);
}

.toggle-label[b-htmfayyx37] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #6868a8;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease 0.08s, max-width 0.28s ease;
}

.sidebar-nav.expanded .toggle-label[b-htmfayyx37] {
    opacity: 1;
    max-width: 120px;
}

.icon-collections[b-htmfayyx37] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M2.5 3.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm2-2a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1h-7zM0 13a1.5 1.5 0 0 0 1.5 1.5h13A1.5 1.5 0 0 0 16 13V6a1.5 1.5 0 0 0-1.5-1.5h-13A1.5 1.5 0 0 0 0 6v7zm1.5.5A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-13z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(0.65) sepia(1) saturate(0.5) hue-rotate(220deg);
}

.nav-item[b-htmfayyx37]  .nav-link:hover .icon-collections,
.nav-item[b-htmfayyx37]  a.active .icon-collections {
    filter: brightness(0) invert(0.8) sepia(1) saturate(1.5) hue-rotate(220deg)
            drop-shadow(0 0 5px rgba(180, 138, 255, 0.5));
}

/* ── Burger button (desktop: скрыт) ─────────────────────── */
.mobile-burger[b-htmfayyx37] {
    display: none;
}

/* ── Backdrop (всегда в DOM только если _isMobileOpen) ───── */
.mobile-backdrop[b-htmfayyx37] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    backdrop-filter: blur(2px);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    /* Бургер */
    .mobile-burger[b-htmfayyx37] {
        display: flex;
        position: fixed;
        top: 11px;
        left: 12px;
        z-index: 1100;
        width: 40px;
        height: 40px;
        background: rgba(22, 16, 42, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        padding: 0;
    }

    .mobile-burger span[b-htmfayyx37] {
        display: block;
        width: 20px;
        height: 2px;
        background: #8888a8;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .mobile-burger.is-open span:nth-child(1)[b-htmfayyx37] {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-burger.is-open span:nth-child(2)[b-htmfayyx37] {
        opacity: 0;
    }

    .mobile-burger.is-open span:nth-child(3)[b-htmfayyx37] {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Sidebar → slide-in drawer */
    .sidebar-nav[b-htmfayyx37] {
        position: fixed;
        top: 0;
        left: -260px;
        width: 240px;
        height: 100vh;
        z-index: 1000;
        display: flex;
        align-items: stretch;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
        box-shadow: none;
    }

    .sidebar-nav.mobile-open[b-htmfayyx37] {
        left: 0;
        box-shadow: 6px 0 32px rgba(0, 0, 0, 0.6);
    }

    /* В мобильном дравере всегда показываем лейблы и лого */
    .sidebar-nav .logo-brand[b-htmfayyx37] {
        opacity: 1;
        max-width: 160px;
        margin-left: 10px;
    }

    .sidebar-nav .nav-label[b-htmfayyx37] {
        opacity: 1;
        max-width: 180px;
    }

    .sidebar-nav .nav-item[b-htmfayyx37] {
        padding: 0 10px;
    }

    .sidebar-nav .nav-item[b-htmfayyx37]  .nav-link {
        justify-content: flex-start;
        padding: 0 12px;
        gap: 11px;
        border-radius: 10px;
    }

    .sidebar-nav .nav-item[b-htmfayyx37]  a.active {
        background-color: rgba(180, 138, 255, 0.12);
        border: 1px solid rgba(180, 138, 255, 0.18);
    }

    /* Кнопку expand/collapse скрываем на мобилке */
    .sidebar-toggle[b-htmfayyx37] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xbxgr5el0o],
.components-reconnect-repeated-attempt-visible[b-xbxgr5el0o],
.components-reconnect-failed-visible[b-xbxgr5el0o],
.components-pause-visible[b-xbxgr5el0o],
.components-resume-failed-visible[b-xbxgr5el0o],
.components-rejoining-animation[b-xbxgr5el0o] {
    display: none;
}

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


#components-reconnect-modal[b-xbxgr5el0o] {
    background-color: #1c1c1f;
    color: #f0f0f2;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid #2e2e34;
    border-radius: 0.5rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xbxgr5el0o 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-xbxgr5el0o {
    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/Alphabet/Alphabet.razor.rz.scp.css */
.alphabet-page[b-q2ojknd7og] {
    padding: 2rem;
    max-width: 760px;
    margin: 0 auto;
}

.alphabet-title[b-q2ojknd7og] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 0.25rem;
}

.alphabet-subtitle[b-q2ojknd7og] {
    color: var(--dark-text-muted);
    margin: 0 0 2.5rem;
    font-size: 0.9rem;
}

.alphabet-tiles[b-q2ojknd7og] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.alphabet-tile[b-q2ojknd7og] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 2rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark-text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.alphabet-tile:hover[b-q2ojknd7og] {
    border-color: var(--dark-accent);
    background: var(--dark-surface-elevated);
    transform: translateY(-2px);
    color: var(--dark-text);
    text-decoration: none;
}

.alphabet-tile--disabled[b-q2ojknd7og] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.tile-kana[b-q2ojknd7og] {
    font-size: 4rem;
    line-height: 1;
    color: #b48aff;
    font-weight: 400;
}

.tile-name[b-q2ojknd7og] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
}

.tile-desc[b-q2ojknd7og] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

/* Learn tile — полная ширина, горизонтальная компоновка */
.alphabet-tile--learn[b-q2ojknd7og] {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(145deg, #0f1f3d 0%, #1a2f5a 50%, #16102a 100%);
    border-color: #1e3060;
}

.alphabet-tile--learn:hover[b-q2ojknd7og] {
    border-color: #2a4a8a;
}

.tile-quiz-svg[b-q2ojknd7og] {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    fill: var(--dark-accent);
}

.alphabet-tile--learn .tile-name[b-q2ojknd7og] {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.2rem;
}

.alphabet-tile--learn .tile-desc[b-q2ojknd7og] {
    font-size: 0.78rem;
    color: var(--dark-text-muted);
}

.tile-badge[b-q2ojknd7og] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--dark-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
/* /Components/Pages/Alphabet/AlphabetQuiz.razor.rz.scp.css */
/* ── Container ───────────────────────────────────────── */
.quiz-container[b-ljsxdl6lpd] {
    max-width: 680px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

/* ── Header ──────────────────────────────────────────── */
.quiz-header[b-ljsxdl6lpd] {
    width: 100%;
    text-align: center;
}

.aq-back-link[b-ljsxdl6lpd] {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.aq-back-link:hover[b-ljsxdl6lpd] {
    color: var(--dark-text);
    text-decoration: none;
}

.quiz-title[b-ljsxdl6lpd] {
    margin: 0 0 0.25rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

.quiz-subtitle[b-ljsxdl6lpd] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-text-muted);
}

/* ── Type selection tiles ────────────────────────────── */
.aq-type-tiles[b-ljsxdl6lpd] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.aq-type-tile[b-ljsxdl6lpd] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 2.5rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.aq-type-tile:hover:not(.aq-type-tile--disabled)[b-ljsxdl6lpd] {
    border-color: var(--dark-accent);
    background: var(--dark-surface-elevated);
    transform: translateY(-2px);
}

.aq-type-tile--disabled[b-ljsxdl6lpd] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.aq-tile-kana[b-ljsxdl6lpd] {
    font-size: 3rem;
    line-height: 1;
    color: #b48aff;
}

.aq-tile-name[b-ljsxdl6lpd] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
}

.aq-tile-desc[b-ljsxdl6lpd] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
}

.aq-tile-badge[b-ljsxdl6lpd] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    background: rgba(255,255,255,0.07);
    color: var(--dark-text-muted);
}

/* ── Progress ────────────────────────────────────────── */
.quiz-progress-row[b-ljsxdl6lpd] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quiz-progress-text[b-ljsxdl6lpd] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    align-self: flex-end;
}

.progress-track[b-ljsxdl6lpd] {
    width: 100%;
    height: 3px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill[b-ljsxdl6lpd] {
    height: 100%;
    background: var(--dark-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* ── Question card ───────────────────────────────────── */
.question-card[b-ljsxdl6lpd] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-top: 3px solid var(--dark-accent);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.question-type-badge[b-ljsxdl6lpd] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark-text-muted);
    background: var(--dark-surface-elevated);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.question-prompt[b-ljsxdl6lpd] {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.2;
}

.prompt-kana[b-ljsxdl6lpd] {
    font-size: 3.5rem !important;
}

/* ── Answer options ──────────────────────────────────── */
.options-grid[b-ljsxdl6lpd] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.option-btn[b-ljsxdl6lpd] {
    padding: 0.875rem 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.625rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, transform 0.1s;
    line-height: 1.3;
    user-select: none;
}

.option-btn:hover:not(:disabled)[b-ljsxdl6lpd] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-accent);
    transform: translateY(-1px);
}

.option-btn:disabled[b-ljsxdl6lpd] {
    cursor: default;
}

.option-btn.correct[b-ljsxdl6lpd] {
    background: rgba(45, 106, 79, 0.2);
    border-color: #52b788;
    color: #52b788;
    font-weight: 600;
}

.option-btn.wrong[b-ljsxdl6lpd] {
    background: rgba(122, 26, 26, 0.2);
    border-color: #f85149;
    color: #f85149;
}

.option-btn.dimmed[b-ljsxdl6lpd] {
    opacity: 0.35;
}

.option-kana[b-ljsxdl6lpd] {
    font-size: 1.6rem;
    padding: 1rem;
}

/* ── Next button ─────────────────────────────────────── */
.quiz-nav[b-ljsxdl6lpd] {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.quiz-next-btn[b-ljsxdl6lpd] {
    padding: 0.625rem 1.5rem;
    background: var(--dark-accent);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.quiz-next-btn:hover[b-ljsxdl6lpd] {
    background: var(--dark-accent-hover);
}

/* ── Results ─────────────────────────────────────────── */
.result-card[b-ljsxdl6lpd] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.result-icon[b-ljsxdl6lpd] {
    font-size: 2.5rem;
    line-height: 1;
}

.result-score[b-ljsxdl6lpd] {
    margin: 0.25rem 0 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.result-label[b-ljsxdl6lpd] {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-text-muted);
}

.result-actions[b-ljsxdl6lpd] {
    display: flex;
    gap: 0.75rem;
}

.quiz-btn[b-ljsxdl6lpd] {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s, opacity 0.15s;
}

.quiz-btn-primary[b-ljsxdl6lpd] {
    background: var(--dark-accent);
    color: #fff;
}

.quiz-btn-primary:hover[b-ljsxdl6lpd] {
    background: var(--dark-accent-hover);
}

.quiz-btn-secondary[b-ljsxdl6lpd] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text-muted);
    border: 1px solid var(--dark-border);
}

.quiz-btn-secondary:hover[b-ljsxdl6lpd] {
    color: var(--dark-text);
    border-color: var(--dark-accent);
}

/* ── Loader ──────────────────────────────────────────── */
.list-loader[b-ljsxdl6lpd] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.spinner[b-ljsxdl6lpd] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: aq-spin-b-ljsxdl6lpd 0.7s linear infinite;
}

.spinner-lg[b-ljsxdl6lpd] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

@keyframes aq-spin-b-ljsxdl6lpd {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/Alphabet/Hiragana.razor.rz.scp.css */
.hiragana-page[b-dh4fabjsh8] {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────── */
.hiragana-header[b-dh4fabjsh8] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.back-link[b-dh4fabjsh8] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.back-link:hover[b-dh4fabjsh8] {
    color: var(--dark-text);
    text-decoration: none;
}

.back-arrow[b-dh4fabjsh8] {
    font-size: 1rem;
}

.hiragana-title[b-dh4fabjsh8] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.title-jp[b-dh4fabjsh8] {
    font-weight: 400;
    color: var(--dark-text-muted);
    margin-left: 0.4rem;
    font-size: 1.1rem;
}

/* ── Loader ─────────────────────────────────────────────── */
.hiragana-loader[b-dh4fabjsh8] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ── Sections ───────────────────────────────────────────── */
.kana-sections[b-dh4fabjsh8] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.kana-section[b-dh4fabjsh8] {}

.section-title[b-dh4fabjsh8] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.section-title-sub[b-dh4fabjsh8] {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--dark-text-muted);
    margin-left: 0.5rem;
}

/* ── Table ──────────────────────────────────────────────── */
.kana-table[b-dh4fabjsh8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kana-row[b-dh4fabjsh8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.row-label[b-dh4fabjsh8] {
    width: 28px;
    min-width: 28px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Kana cell ──────────────────────────────────────────── */
.kana-cell[b-dh4fabjsh8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 68px;
    height: 68px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.kana-cell:hover[b-dh4fabjsh8] {
    border-color: var(--dark-accent);
    background: var(--dark-surface-elevated);
}

.kana-cell.known[b-dh4fabjsh8] {
    border-color: rgba(52, 208, 88, 0.4);
    background: rgba(52, 208, 88, 0.06);
}

.kana-char[b-dh4fabjsh8] {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--dark-text);
}

.kana-roma[b-dh4fabjsh8] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
    letter-spacing: 0.03em;
}

.kana-mem[b-dh4fabjsh8] {
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
}

.kana-mem.mem-high[b-dh4fabjsh8] { color: #52b788; }
.kana-mem.mem-mid[b-dh4fabjsh8]  { color: #f4a261; }
.kana-mem.mem-low[b-dh4fabjsh8]  { color: #f85149; }

/* Yoon cells are slightly wider for compound kana */
.kana-table--yoon .kana-cell[b-dh4fabjsh8] {
    width: 76px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .hiragana-page[b-dh4fabjsh8] {
        padding: 1rem;
    }

    .kana-cell[b-dh4fabjsh8] {
        width: 58px;
        height: 58px;
    }

    .kana-char[b-dh4fabjsh8] {
        font-size: 1.35rem;
    }
}
/* /Components/Pages/Alphabet/Katakana.razor.rz.scp.css */
.katakana-page[b-6eua8g5k8d] {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────── */
.katakana-header[b-6eua8g5k8d] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.back-link[b-6eua8g5k8d] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.back-link:hover[b-6eua8g5k8d] {
    color: var(--dark-text);
    text-decoration: none;
}

.back-arrow[b-6eua8g5k8d] {
    font-size: 1rem;
}

.katakana-title[b-6eua8g5k8d] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.title-jp[b-6eua8g5k8d] {
    font-weight: 400;
    color: var(--dark-text-muted);
    margin-left: 0.4rem;
    font-size: 1.1rem;
}

/* ── Loader ─────────────────────────────────────────────── */
.katakana-loader[b-6eua8g5k8d] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ── Sections ───────────────────────────────────────────── */
.kana-sections[b-6eua8g5k8d] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.kana-section[b-6eua8g5k8d] {}

.section-title[b-6eua8g5k8d] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.section-title-sub[b-6eua8g5k8d] {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--dark-text-muted);
    margin-left: 0.5rem;
}

/* ── Table ──────────────────────────────────────────────── */
.kana-table[b-6eua8g5k8d] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kana-row[b-6eua8g5k8d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.row-label[b-6eua8g5k8d] {
    width: 28px;
    min-width: 28px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Kana cell ──────────────────────────────────────────── */
.kana-cell[b-6eua8g5k8d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 68px;
    height: 68px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.kana-cell:hover[b-6eua8g5k8d] {
    border-color: var(--dark-accent);
    background: var(--dark-surface-elevated);
}

.kana-cell.known[b-6eua8g5k8d] {
    border-color: rgba(52, 208, 88, 0.4);
    background: rgba(52, 208, 88, 0.06);
}

.kana-char[b-6eua8g5k8d] {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--dark-text);
}

.kana-roma[b-6eua8g5k8d] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
    letter-spacing: 0.03em;
}

.kana-mem[b-6eua8g5k8d] {
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
}

.kana-mem.mem-high[b-6eua8g5k8d] { color: #52b788; }
.kana-mem.mem-mid[b-6eua8g5k8d]  { color: #f4a261; }
.kana-mem.mem-low[b-6eua8g5k8d]  { color: #f85149; }

/* Yoon cells are slightly wider for compound kana */
.kana-table--yoon .kana-cell[b-6eua8g5k8d] {
    width: 76px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .katakana-page[b-6eua8g5k8d] {
        padding: 1rem;
    }

    .kana-cell[b-6eua8g5k8d] {
        width: 58px;
        height: 58px;
    }

    .kana-char[b-6eua8g5k8d] {
        font-size: 1.35rem;
    }
}
/* /Components/Pages/CollectionDetail.razor.rz.scp.css */
.cd-container[b-nn0liwn5ch] {
    max-width: 720px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── header ──────────────────────────────────────────────── */
.cd-header[b-nn0liwn5ch] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cd-back[b-nn0liwn5ch] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.15s;
    width: fit-content;
}

.cd-back:hover[b-nn0liwn5ch] { color: var(--dark-text); }

.cd-back-icon[b-nn0liwn5ch] {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    filter: brightness(0) invert(0.55);
}

.cd-back:hover .cd-back-icon[b-nn0liwn5ch] {
    filter: brightness(0) invert(0.8);
}

.cd-title[b-nn0liwn5ch] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* ── word list — reuse dictionary styles ─────────────────── */
.word-list[b-nn0liwn5ch] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-item[b-nn0liwn5ch] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-left: 3px solid transparent;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: background 0.15s, border-color 0.15s;
}

.cd-remove-btn[b-nn0liwn5ch] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
    padding: 0;
}

.word-item:hover .cd-remove-btn[b-nn0liwn5ch] { opacity: 1; }
.cd-remove-btn:hover[b-nn0liwn5ch] { background: rgba(248, 81, 73, 0.15); }

.cd-remove-icon[b-nn0liwn5ch] {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f85149'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.word-item.known[b-nn0liwn5ch] {
    border-left-color: #52b788;
    background: rgba(45, 106, 79, 0.08);
}

.word-japanese[b-nn0liwn5ch] {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.word-kana[b-nn0liwn5ch] {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-text);
}

.word-kanji[b-nn0liwn5ch] {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-top: 0.1rem;
}

.word-translation[b-nn0liwn5ch] {
    flex: 1;
    font-size: 0.9rem;
    color: var(--dark-text-muted);
}

.word-badge[b-nn0liwn5ch] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.word-badge.level-n5[b-nn0liwn5ch] { background: rgba(45, 106, 79, 0.25);  color: #52b788; }
.word-badge.level-n4[b-nn0liwn5ch] { background: rgba(29, 106, 106, 0.25); color: #48cae4; }
.word-badge.level-n3[b-nn0liwn5ch] { background: rgba(30, 77, 140, 0.25);  color: #74b3f7; }
.word-badge.level-n2[b-nn0liwn5ch] { background: rgba(122, 79, 26, 0.25);  color: #f4a261; }
.word-badge.level-n1[b-nn0liwn5ch] { background: rgba(122, 26, 26, 0.25);  color: #f85149; }

.mem-badge[b-nn0liwn5ch] {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.mem-badge.mem-high[b-nn0liwn5ch]   { color: #52b788; background: rgba(45, 106, 79, 0.2); }
.mem-badge.mem-mid[b-nn0liwn5ch]    { color: #f4a261; background: rgba(122, 79, 26, 0.2); }
.mem-badge.mem-low[b-nn0liwn5ch]    { color: #f85149; background: rgba(122, 26, 26, 0.2); }

.known-indicator[b-nn0liwn5ch] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    transition: background 0.15s, border-color 0.15s;
}

.word-item.known .known-indicator[b-nn0liwn5ch] {
    background: #52b788;
    border-color: #52b788;
}

/* ── loading / empty / end ───────────────────────────────── */
.cd-loader[b-nn0liwn5ch] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.cd-loader-more[b-nn0liwn5ch] {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.cd-empty[b-nn0liwn5ch] {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    padding: 3rem 0;
}

.cd-end[b-nn0liwn5ch] {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    padding: 1rem 0;
}

.spinner-lg[b-nn0liwn5ch] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.spinner[b-nn0liwn5ch] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-nn0liwn5ch 0.7s linear infinite;
}

@keyframes spin-b-nn0liwn5ch {
    to { transform: rotate(360deg); }
}

.sentinel[b-nn0liwn5ch] {
    height: 1px;
}

@media (max-width: 640px) {
    .cd-remove-btn[b-nn0liwn5ch] {
        opacity: 1;
    }
}
/* /Components/Pages/Collections.razor.rz.scp.css */
.coll-page[b-97lhl2stip] {
    max-width: 640px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── header ─────────────────────────────────────────────── */
.coll-page-header[b-97lhl2stip] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coll-page-title[b-97lhl2stip] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

.coll-new-btn[b-97lhl2stip] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    background: var(--dark-accent);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.coll-new-btn:hover[b-97lhl2stip] { opacity: 0.85; }

.coll-new-icon[b-97lhl2stip] {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── create form ─────────────────────────────────────────── */
.coll-create-form[b-97lhl2stip] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.coll-create-input[b-97lhl2stip] {
    flex: 1;
    padding: 0.5rem 0.875rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-accent);
    border-radius: 0.5rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    outline: none;
}

.coll-create-input[b-97lhl2stip]::placeholder { color: var(--dark-text-muted); }

.coll-create-submit[b-97lhl2stip] {
    padding: 0.5rem 1rem;
    background: var(--dark-accent);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
}

.coll-create-submit:disabled[b-97lhl2stip] { opacity: 0.6; cursor: default; }
.coll-create-submit:not(:disabled):hover[b-97lhl2stip] { opacity: 0.85; }

.coll-create-cancel[b-97lhl2stip] {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    color: var(--dark-text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.coll-create-cancel:hover[b-97lhl2stip] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.coll-error[b-97lhl2stip] {
    font-size: 0.82rem;
    color: #f85149;
    padding: 0 0.25rem;
}

/* ── list ────────────────────────────────────────────────── */
.coll-list[b-97lhl2stip] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coll-item[b-97lhl2stip] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: background 0.15s;
    cursor: pointer;
}

.coll-item:hover[b-97lhl2stip] { background: var(--dark-surface-elevated); }

.coll-item-icon[b-97lhl2stip] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238888a8'%3E%3Cpath d='M.5 3l.04-.87a1 1 0 0 1 .92-.33l2.83.3 1.14.12.69-.29L7.25 1a1 1 0 0 1 .5 0l1.13.93.69.29 1.14-.12 2.83-.3a1 1 0 0 1 .92.33L14.5 3l.25 1H.25L.5 3zM0 5v8.5A1.5 1.5 0 0 0 1.5 15h13a1.5 1.5 0 0 0 1.5-1.5V5H0zm3.5 2h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1 0-1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
}

.coll-item-info[b-97lhl2stip] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.coll-item-name[b-97lhl2stip] {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-text);
}

.coll-item-count[b-97lhl2stip] {
    font-size: 0.78rem;
    color: var(--dark-text-muted);
}

.coll-item-delete[b-97lhl2stip] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

.coll-item:hover .coll-item-delete[b-97lhl2stip] { opacity: 1; }

.coll-item-delete:hover[b-97lhl2stip] { background: rgba(248, 81, 73, 0.15); }

.coll-delete-icon[b-97lhl2stip] {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f85149'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z'/%3E%3Cpath fill-rule='evenodd' d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── loading / empty ─────────────────────────────────────── */
.coll-loader[b-97lhl2stip] {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.coll-empty[b-97lhl2stip] {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    padding: 3rem 0;
}

.spinner-sm[b-97lhl2stip] {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.spinner-lg[b-97lhl2stip] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.spinner[b-97lhl2stip] {
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-97lhl2stip 0.7s linear infinite;
}

@keyframes spin-b-97lhl2stip {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/Dictionary.razor.rz.scp.css */
.dict-container[b-e6srjf945t] {
    max-width: 720px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── header ─────────────────────────────────────────── */
.dict-header[b-e6srjf945t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dict-title[b-e6srjf945t] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* ── level filter buttons ────────────────────────────── */
.level-filters[b-e6srjf945t] {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.level-btn[b-e6srjf945t] {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid var(--dark-border);
    background: transparent;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.level-btn:hover[b-e6srjf945t] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.level-btn.active[b-e6srjf945t] {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

/* ── level colour accents (border on active) ─────────── */
.level-btn.level-n5.active[b-e6srjf945t] { background: #2d6a4f; border-color: #2d6a4f; }
.level-btn.level-n4.active[b-e6srjf945t] { background: #1d6a6a; border-color: #1d6a6a; }
.level-btn.level-n3.active[b-e6srjf945t] { background: #1e4d8c; border-color: #1e4d8c; }
.level-btn.level-n2.active[b-e6srjf945t] { background: #7a4f1a; border-color: #7a4f1a; }
.level-btn.level-n1.active[b-e6srjf945t] { background: #7a1a1a; border-color: #7a1a1a; }

/* ── filter row (known filter + search) ──────────────── */
.filter-row[b-e6srjf945t] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.known-filters[b-e6srjf945t] {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.known-btn[b-e6srjf945t] {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid var(--dark-border);
    background: transparent;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.known-btn:hover[b-e6srjf945t] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.known-btn.active[b-e6srjf945t] {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

.known-btn--known.active[b-e6srjf945t]  { background: #2d6a4f; border-color: #2d6a4f; }
.known-btn--unknown.active[b-e6srjf945t] { background: #4a2020; border-color: #7a3a3a; }

.search-input[b-e6srjf945t] {
    width: 100%;
    padding: 0.5rem 0.875rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
}

.search-input[b-e6srjf945t]::placeholder {
    color: var(--dark-text-muted);
}

.search-input:focus[b-e6srjf945t] {
    border-color: var(--dark-accent);
}

/* ── word list ───────────────────────────────────────── */
.word-list[b-e6srjf945t] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-item[b-e6srjf945t] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-left: 3px solid transparent;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}

.word-item:hover[b-e6srjf945t] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-border);
}

.word-item.known[b-e6srjf945t] {
    border-left-color: #52b788;
    background: rgba(45, 106, 79, 0.08);
}

.word-item.known:hover[b-e6srjf945t] {
    background: rgba(45, 106, 79, 0.14);
}

/* ── memorization percent badge ──────────────────────── */
.mem-badge[b-e6srjf945t] {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.mem-badge.mem-high[b-e6srjf945t]   { color: #52b788; background: rgba(45, 106, 79, 0.2); }
.mem-badge.mem-mid[b-e6srjf945t]    { color: #f4a261; background: rgba(122, 79, 26, 0.2); }
.mem-badge.mem-low[b-e6srjf945t]    { color: #f85149; background: rgba(122, 26, 26, 0.2); }

/* ── known indicator dot ──────────────────────────────── */
.known-indicator[b-e6srjf945t] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    transition: background 0.15s, border-color 0.15s;
}

.word-item.known .known-indicator[b-e6srjf945t] {
    background: #52b788;
    border-color: #52b788;
}

.word-japanese[b-e6srjf945t] {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.word-kana[b-e6srjf945t] {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-text);
}

.word-kanji[b-e6srjf945t] {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-top: 0.1rem;
}

.word-translation[b-e6srjf945t] {
    flex: 1;
    font-size: 0.9rem;
    color: var(--dark-text-muted);
}

/* ── level badge ─────────────────────────────────────── */
.word-badge[b-e6srjf945t] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.word-badge.level-n5[b-e6srjf945t] { background: rgba(45, 106, 79, 0.25);  color: #52b788; }
.word-badge.level-n4[b-e6srjf945t] { background: rgba(29, 106, 106, 0.25); color: #48cae4; }
.word-badge.level-n3[b-e6srjf945t] { background: rgba(30, 77, 140, 0.25);  color: #74b3f7; }
.word-badge.level-n2[b-e6srjf945t] { background: rgba(122, 79, 26, 0.25);  color: #f4a261; }
.word-badge.level-n1[b-e6srjf945t] { background: rgba(122, 26, 26, 0.25);  color: #f85149; }

/* ── loading / end ───────────────────────────────────── */
.list-loader[b-e6srjf945t] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.spinner-lg[b-e6srjf945t] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.loading-row[b-e6srjf945t] {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.spinner[b-e6srjf945t] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-e6srjf945t 0.7s linear infinite;
}

@keyframes spin-b-e6srjf945t {
    to { transform: rotate(360deg); }
}

.empty-message[b-e6srjf945t] {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    padding: 2rem 0;
}

.end-message[b-e6srjf945t] {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    padding: 1rem 0;
}

.sentinel[b-e6srjf945t] {
    height: 1px;
}

/* ── collection dropdown anchor ──────────────────────────── */
.coll-anchor[b-e6srjf945t] {
    position: relative;
    flex-shrink: 0;
}

.coll-toggle-btn[b-e6srjf945t] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
    opacity: 0;
}

.word-item:hover .coll-toggle-btn[b-e6srjf945t],
.coll-toggle-btn.active[b-e6srjf945t] {
    opacity: 1;
}

.coll-toggle-btn:hover[b-e6srjf945t],
.coll-toggle-btn.active[b-e6srjf945t] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-border);
}

.coll-toggle-icon[b-e6srjf945t] {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238888a8'%3E%3Cpath d='M.5 3l.04-.87a1 1 0 0 1 .92-.33l2.83.3 1.14.12.69-.29L7.25 1a1 1 0 0 1 .5 0l1.13.93.69.29 1.14-.12 2.83-.3a1 1 0 0 1 .92.33L14.5 3l.25 1H.25L.5 3zM0 5v8.5A1.5 1.5 0 0 0 1.5 15h13a1.5 1.5 0 0 0 1.5-1.5V5H0zm3.5 2h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1 0-1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── dropdown panel ──────────────────────────────────────── */
.coll-dropdown[b-e6srjf945t] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 100;
    background: var(--dark-surface-elevated, #1c1c1f);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    min-width: 200px;
    max-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.coll-dd-loading[b-e6srjf945t] {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.coll-dd-empty[b-e6srjf945t] {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: var(--dark-text-muted);
}

.coll-dd-empty a[b-e6srjf945t] {
    color: var(--dark-accent);
    text-decoration: none;
}

.coll-dd-empty a:hover[b-e6srjf945t] { text-decoration: underline; }

.coll-dd-item[b-e6srjf945t] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.875rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--dark-border);
    color: var(--dark-text);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.coll-dd-item:last-child[b-e6srjf945t] { border-bottom: none; }

.coll-dd-item:hover[b-e6srjf945t] { background: rgba(255, 255, 255, 0.05); }

.coll-dd-item.in-coll[b-e6srjf945t] { color: var(--dark-text-muted); }

.coll-dd-mark[b-e6srjf945t] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none;
}

.coll-dd-mark.plus[b-e6srjf945t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2352b788'%3E%3Cpath d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.coll-dd-mark.minus[b-e6srjf945t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f85149'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.coll-dd-name[b-e6srjf945t] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spinner-sm[b-e6srjf945t] {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

@media (max-width: 640px) {
    .coll-toggle-btn[b-e6srjf945t] {
        opacity: 1;
    }

    .dict-container[b-e6srjf945t] {
        overflow-x: hidden;
    }

    .word-item[b-e6srjf945t] {
        gap: 0.5rem;
    }

    /* Японский блок: фиксированная ширина, обрезаем содержимое */
    .word-japanese[b-e6srjf945t] {
        min-width: 0;
        width: 90px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .word-kana[b-e6srjf945t],
    .word-kanji[b-e6srjf945t] {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Перевод: занимает остаток, обрезается */
    .word-translation[b-e6srjf945t] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* /Components/Pages/FlashCards.razor.rz.scp.css */
/* ── container ───────────────────────────────────────── */
.fc-container[b-0ixaoh1hxs] {
    max-width: 560px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ── header ──────────────────────────────────────────── */
.fc-header[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fc-title[b-0ixaoh1hxs] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* ── level filter buttons ────────────────────────────── */
.level-filters[b-0ixaoh1hxs] {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.level-btn[b-0ixaoh1hxs] {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid var(--dark-border);
    background: transparent;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.level-btn:hover[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.level-btn.active[b-0ixaoh1hxs] {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

.level-btn.level-n5.active[b-0ixaoh1hxs] { background: #2d6a4f; border-color: #2d6a4f; }
.level-btn.level-n4.active[b-0ixaoh1hxs] { background: #1d6a6a; border-color: #1d6a6a; }
.level-btn.level-n3.active[b-0ixaoh1hxs] { background: #1e4d8c; border-color: #1e4d8c; }
.level-btn.level-n2.active[b-0ixaoh1hxs] { background: #7a4f1a; border-color: #7a4f1a; }
.level-btn.level-n1.active[b-0ixaoh1hxs] { background: #7a1a1a; border-color: #7a1a1a; }

/* ── collection filter row ───────────────────────────── */
.fc-coll-row[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.fc-coll-btn[b-0ixaoh1hxs] {
    padding: 0.25rem 0.875rem;
    border-radius: 2rem;
    border: 1px solid var(--dark-border);
    background: transparent;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.fc-coll-btn:hover[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.fc-coll-btn.active[b-0ixaoh1hxs] {
    background: rgba(180, 138, 255, 0.15);
    border-color: var(--dark-accent);
    color: #c8a8ff;
}

.fc-coll-skeleton[b-0ixaoh1hxs] {
    height: 28px;
    width: 72px;
    border-radius: 2rem;
    background: var(--dark-surface-elevated);
    animation: fc-shimmer-b-0ixaoh1hxs 1.4s ease-in-out infinite;
}

.fc-coll-skeleton--wide[b-0ixaoh1hxs] { width: 110px; }

@keyframes fc-shimmer-b-0ixaoh1hxs {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* ── progress ────────────────────────────────────────── */
.fc-progress-row[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fc-progress-text[b-0ixaoh1hxs] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    align-self: flex-end;
}

.progress-track[b-0ixaoh1hxs] {
    width: 100%;
    height: 3px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill[b-0ixaoh1hxs] {
    height: 100%;
    background: var(--dark-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* ── flip card ───────────────────────────────────────── */
.card-scene[b-0ixaoh1hxs] {
    width: 100%;
    max-width: 480px;
    height: 280px;
    perspective: 1200px;
    cursor: pointer;
}

.card[b-0ixaoh1hxs] {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-scene:hover .card-face[b-0ixaoh1hxs] {
    border-color: var(--dark-accent);
}

.card.flipped[b-0ixaoh1hxs] {
    transform: rotateY(180deg);
}

.card-face[b-0ixaoh1hxs] {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 2rem;
    box-sizing: border-box;
    user-select: none;
}

.card-front[b-0ixaoh1hxs] {
    border-top: 3px solid var(--dark-accent);
}

.card-back[b-0ixaoh1hxs] {
    transform: rotateY(180deg);
    border-top: 3px solid #52b788;
    background: rgba(45, 106, 79, 0.06);
}

/* ── level badge on card ─────────────────────────────── */
.card-badge[b-0ixaoh1hxs] {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-badge.level-n5[b-0ixaoh1hxs] { background: rgba(45, 106, 79, 0.25);  color: #52b788; }
.card-badge.level-n4[b-0ixaoh1hxs] { background: rgba(29, 106, 106, 0.25); color: #48cae4; }
.card-badge.level-n3[b-0ixaoh1hxs] { background: rgba(30, 77, 140, 0.25);  color: #74b3f7; }
.card-badge.level-n2[b-0ixaoh1hxs] { background: rgba(122, 79, 26, 0.25);  color: #f4a261; }
.card-badge.level-n1[b-0ixaoh1hxs] { background: rgba(122, 26, 26, 0.25);  color: #f85149; }

/* ── card content ────────────────────────────────────── */
.card-content[b-0ixaoh1hxs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.card-kana[b-0ixaoh1hxs] {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.1;
}

.card-kanji[b-0ixaoh1hxs] {
    font-size: 1.1rem;
    color: var(--dark-text-muted);
}

.card-translation[b-0ixaoh1hxs] {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.2;
    text-align: center;
}

.card-kana-sub[b-0ixaoh1hxs] {
    font-size: 0.9rem;
    color: var(--dark-text-muted);
    margin-top: 0.25rem;
}

.card-hint[b-0ixaoh1hxs] {
    position: absolute;
    bottom: 0.875rem;
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    opacity: 0.6;
    letter-spacing: 0.02em;
}

/* ── controls ────────────────────────────────────────── */
.fc-controls[b-0ixaoh1hxs] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fc-btn[b-0ixaoh1hxs] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface);
    color: var(--dark-text);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
    flex-shrink: 0;
}

.fc-btn:hover:not(:disabled)[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-accent);
}

.fc-btn:disabled[b-0ixaoh1hxs] {
    opacity: 0.3;
    cursor: not-allowed;
}

.fc-btn-primary[b-0ixaoh1hxs] {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

.fc-btn-primary:hover:not(:disabled)[b-0ixaoh1hxs] {
    background: var(--dark-accent-hover);
    border-color: var(--dark-accent-hover);
}

.fc-done[b-0ixaoh1hxs] {
    font-size: 0.9rem;
    color: #52b788;
    font-weight: 500;
    padding: 0 0.5rem;
}

/* ── loading ─────────────────────────────────────────── */
.list-loader[b-0ixaoh1hxs] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    width: 100%;
}

.spinner-lg[b-0ixaoh1hxs] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.spinner[b-0ixaoh1hxs] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-0ixaoh1hxs 0.7s linear infinite;
}

.btn-spinner[b-0ixaoh1hxs] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-0ixaoh1hxs 0.7s linear infinite;
}

@keyframes spin-b-0ixaoh1hxs {
    to { transform: rotate(360deg); }
}

.empty-state[b-0ixaoh1hxs] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.empty-message[b-0ixaoh1hxs] {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-3fbauoq1jg] {
    max-width: 640px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 0.5rem;
}

/* ── Hero ────────────────────────────────────────────── */
.home-hero[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
}

/* Top row: identity | metrics */
.hero-top[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-identity[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.profile-avatar-link[b-3fbauoq1jg] {
    display: flex;
    flex-shrink: 0;
}

.profile-avatar-sm[b-3fbauoq1jg] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 2px solid rgba(180, 138, 255, 0.3);
    background-image: url('/female.png');
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.profile-avatar-link:hover .profile-avatar-sm[b-3fbauoq1jg] {
    transform: scale(1.15);
}

.hero-name[b-3fbauoq1jg] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Metrics: streak + xp ring */
.hero-metrics[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.hero-streak[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.streak-flame[b-3fbauoq1jg] {
    font-size: 1.4rem;
    line-height: 1;
}

.streak-info[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.streak-value[b-3fbauoq1jg] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f4a261;
}

.streak-label[b-3fbauoq1jg] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
    font-weight: 500;
}

/* XP circular ring */
.hero-xp[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.xp-ring-level[b-3fbauoq1jg] {
    font-size: 14px;
    font-weight: 900;
    fill: #c8a8ff;
    font-family: inherit;
}

.xp-ring[b-3fbauoq1jg] {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.xp-ring-bg[b-3fbauoq1jg] {
    fill: none;
    stroke: var(--dark-border);
    stroke-width: 3.5;
}

.xp-ring-fill[b-3fbauoq1jg] {
    fill: none;
    stroke: #b48aff;
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.xp-info[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.xp-value[b-3fbauoq1jg] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c8a8ff;
}

.xp-label[b-3fbauoq1jg] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* CTA button */
.hero-cta[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #5b2daa 0%, #7c3ccc 50%, #9b4fe0 100%);
    border: 1px solid rgba(180, 138, 255, 0.25);
    border-radius: 0.875rem;
    text-decoration: none;
    color: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 4px 16px rgba(120, 60, 200, 0.3);
}

.hero-cta:hover[b-3fbauoq1jg] {
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(120, 60, 200, 0.45);
    filter: brightness(1.08);
}

.hero-cta:active[b-3fbauoq1jg] {
    transform: translateY(0);
}

.hero-cta-main[b-3fbauoq1jg] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-cta-sub[b-3fbauoq1jg] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* Today words block */
.hero-today[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(180, 138, 255, 0.06);
    border: 1px solid rgba(180, 138, 255, 0.12);
    border-radius: 0.625rem;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-today:hover[b-3fbauoq1jg] {
    background: rgba(180, 138, 255, 0.11);
    border-color: rgba(180, 138, 255, 0.25);
    text-decoration: none;
}

.hero-today-stats[b-3fbauoq1jg] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.hero-today-count[b-3fbauoq1jg] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c8a8ff;
    line-height: 1;
}

.hero-today-label[b-3fbauoq1jg] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    font-weight: 500;
}

.hero-today-cta[b-3fbauoq1jg] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #b48aff;
}

/* ── Card wrapper ─────────────────────────────────────── */
.home-card[b-3fbauoq1jg] {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.home-card-header[b-3fbauoq1jg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-card-title[b-3fbauoq1jg] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-text-muted);
}

.stats-total[b-3fbauoq1jg] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

/* ── Section loader ───────────────────────────────────── */
.section-loader[b-3fbauoq1jg] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.spinner[b-3fbauoq1jg] {
    width: 28px;
    height: 28px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-3fbauoq1jg 0.7s linear infinite;
}

@keyframes spin-b-3fbauoq1jg {
    to { transform: rotate(360deg); }
}

/* ── Stats rows ───────────────────────────────────────── */
.stats-list[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.stat-row[b-3fbauoq1jg] {
    display: grid;
    grid-template-columns: 2.5rem 1fr 3.5rem 2.5rem;
    align-items: center;
    gap: 0.75rem;
}

.stat-level[b-3fbauoq1jg] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-level.level-n5[b-3fbauoq1jg] { color: #52b788; }
.stat-level.level-n4[b-3fbauoq1jg] { color: #48cae4; }
.stat-level.level-n3[b-3fbauoq1jg] { color: #74b3f7; }
.stat-level.level-n2[b-3fbauoq1jg] { color: #f4a261; }
.stat-level.level-n1[b-3fbauoq1jg] { color: #f85149; }

.stat-bar-wrap[b-3fbauoq1jg] {
    height: 6px;
    background: var(--dark-border);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar[b-3fbauoq1jg] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.level-bar-n5[b-3fbauoq1jg] { background: #52b788; }
.level-bar-n4[b-3fbauoq1jg] { background: #48cae4; }
.level-bar-n3[b-3fbauoq1jg] { background: #74b3f7; }
.level-bar-n2[b-3fbauoq1jg] { background: #f4a261; }
.level-bar-n1[b-3fbauoq1jg] { background: #f85149; }

.stat-bar--overall[b-3fbauoq1jg] { background: var(--dark-accent); }

.stat-count[b-3fbauoq1jg] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
    text-align: right;
}

.stat-total[b-3fbauoq1jg] {
    color: var(--dark-text-muted);
    font-weight: 400;
}

.stat-pct[b-3fbauoq1jg] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    text-align: right;
}

.stat-alpha-type[b-3fbauoq1jg] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dark-text-muted);
    font-family: sans-serif;
    text-align: center;
    width: 2.5rem;
}

.stat-bar--hiragana[b-3fbauoq1jg] { background: #e07b7b; }
.stat-bar--katakana[b-3fbauoq1jg] { background: #7bb3e0; }

/* ── Overall bar ──────────────────────────────────────── */
.stats-overall[b-3fbauoq1jg] {
    display: grid;
    grid-template-columns: 1fr 2.5rem;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--dark-border);
}

/* ── Navigation tiles ─────────────────────────────────── */
.home-tiles[b-3fbauoq1jg] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 140px) 120px;
    gap: 0.75rem;
}

/* Dictionary: 4 колонки × 2 строки */
.tile-dictionary[b-3fbauoq1jg] {
    grid-column: span 4;
    grid-row: span 2;
}

/* Flash Cards: 2 колонки × 1 строка */
.tile-flashcards[b-3fbauoq1jg] {
    grid-column: span 2;
    grid-row: span 1;
}

/* Quiz: 2 колонки × 1 строка */
.tile-quiz[b-3fbauoq1jg] {
    grid-column: span 2;
    grid-row: span 1;
}

/* Alphabet: нижняя строка, левые 3 колонки */
.tile-alphabet[b-3fbauoq1jg] {
    grid-column: span 3;
    grid-row: span 1;
}

/* Collections: нижняя строка, правые 3 колонки */
.tile-collections[b-3fbauoq1jg] {
    grid-column: span 3;
    grid-row: span 1;
}

/* ── Base tile ────────────────────────────────────────── */
.home-tile[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--dark-border);
    text-decoration: none;
    color: var(--dark-text);
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-tile:hover[b-3fbauoq1jg] {
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--dark-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Dictionary — тёмно-синий с градиентом */
.tile-dictionary[b-3fbauoq1jg] {
    background: linear-gradient(145deg, #0f1f3d 0%, #1a2f5a 50%, #16102a 100%);
    border-color: #1e3060;
}
.tile-dictionary:hover[b-3fbauoq1jg] { border-color: #2a4a8a; }

/* Flash Cards — тёмно-зелёный */
.tile-flashcards[b-3fbauoq1jg] {
    background: linear-gradient(145deg, #0d2e1e 0%, #1a4a2e 100%);
    border-color: #1a3d26;
}
.tile-flashcards:hover[b-3fbauoq1jg] { border-color: #2a6040; }

/* Quiz — тёмно-пурпурный */
.tile-quiz[b-3fbauoq1jg] {
    background: linear-gradient(145deg, #1a0d2e 0%, #2a1550 100%);
    border-color: #2a1a40;
}
.tile-quiz:hover[b-3fbauoq1jg] { border-color: #4a2a70; }

/* ── Tile icon ────────────────────────────────────────── */
.home-tile-icon[b-3fbauoq1jg] {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.5;
}

.tile-dictionary .home-tile-icon[b-3fbauoq1jg] {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.icon-dictionary[b-3fbauoq1jg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb3ff'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811V2.828zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z'/%3E%3C/svg%3E");
}

.icon-flashcards[b-3fbauoq1jg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2352b788'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 8zm0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.icon-quiz[b-3fbauoq1jg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b48aff'%3E%3Cpath d='M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z'/%3E%3Cpath fill-rule='evenodd' d='M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5v11z'/%3E%3C/svg%3E");
}

.icon-collections-tile[b-3fbauoq1jg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2348cae4'%3E%3Cpath d='M2.5 3.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm2-2a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1h-7zM0 13a1.5 1.5 0 0 0 1.5 1.5h13A1.5 1.5 0 0 0 16 13V6a1.5 1.5 0 0 0-1.5-1.5h-13A1.5 1.5 0 0 0 0 6v7zm1.5.5A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-13z'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.tile-collections .home-tile-title[b-3fbauoq1jg] { color: #48cae4; }

/* Alphabet — тёмно-красный (тушь/каллиграфия) */
.tile-alphabet[b-3fbauoq1jg] {
    background: linear-gradient(145deg, #2a0a0a 0%, #3d1515 50%, #1e0808 100%);
    border-color: #4a1a1a;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-start;
}
.tile-alphabet:hover[b-3fbauoq1jg] { border-color: #7a2a2a; }

/* Collections — тёмно-бирюзовый */
.tile-collections[b-3fbauoq1jg] {
    background: linear-gradient(145deg, #0a1f2a 0%, #0f2d3d 50%, #091820 100%);
    border-color: #0f2d3d;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-start;
}
.tile-collections:hover[b-3fbauoq1jg] { border-color: #1a5070; }

.tile-alphabet-char[b-3fbauoq1jg] {
    font-size: 3rem;
    line-height: 1;
    color: rgba(220, 120, 120, 0.75);
    flex-shrink: 0;
    font-family: sans-serif;
}

/* ── Tile content ─────────────────────────────────────── */
.home-tile-body[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.home-tile-title[b-3fbauoq1jg] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.01em;
}

.tile-dictionary .home-tile-title[b-3fbauoq1jg] {
    font-size: 1.2rem;
}

.home-tile-desc[b-3fbauoq1jg] {
    font-size: 0.78rem;
    color: var(--dark-text-muted);
    line-height: 1.4;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 640px) {
    .home-container[b-3fbauoq1jg] {
        margin: 0.75rem auto;
        padding: 0 0.75rem;
    }

    /* Простая 2-колоночная сетка */
    .home-tiles[b-3fbauoq1jg] {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .tile-dictionary[b-3fbauoq1jg],
    .tile-flashcards[b-3fbauoq1jg],
    .tile-quiz[b-3fbauoq1jg],
    .tile-alphabet[b-3fbauoq1jg],
    .tile-collections[b-3fbauoq1jg] {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 80px;
    }

    /* Альфабет и коллекции — строчка */
    .tile-alphabet[b-3fbauoq1jg],
    .tile-collections[b-3fbauoq1jg] {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    /* Скрываем описания — только название */
    .home-tile-desc[b-3fbauoq1jg] {
        display: none;
    }

    /* Иконки немного меньше */
    .home-tile-icon[b-3fbauoq1jg] {
        width: 28px;
        height: 28px;
    }

    .tile-dictionary .home-tile-icon[b-3fbauoq1jg] {
        width: 32px;
        height: 32px;
    }

    .tile-alphabet-char[b-3fbauoq1jg] {
        font-size: 2rem;
    }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.notfound-container[b-s3tg4zeopo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 3.5rem);
    padding: 2rem 1rem;
    text-align: center;
    gap: 2rem;
}

.notfound-illustration[b-s3tg4zeopo] {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 16px 40px rgba(91, 74, 138, 0.2));
}

.notfound-text[b-s3tg4zeopo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    max-width: 480px;
}

.notfound-title[b-s3tg4zeopo] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.notfound-subtitle[b-s3tg4zeopo] {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-text-muted);
    line-height: 1.65;
}

.notfound-btn[b-s3tg4zeopo] {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--dark-accent);
    color: #fff;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.notfound-btn:hover[b-s3tg4zeopo] {
    background: var(--dark-accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
/* /Components/Pages/Profile.razor.rz.scp.css */
.profile-container[b-afa32mwoe1] {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── card with avatar + name/email ───────────────────── */
.profile-card[b-afa32mwoe1] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #1c1c1f;
    border: 1px solid #2e2e34;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.profile-avatar[b-afa32mwoe1] {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    border: 2px solid rgba(180, 138, 255, 0.3);
    background-image: url('/female.png');
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.profile-name[b-afa32mwoe1] {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f0f0f2;
}

.profile-email[b-afa32mwoe1] {
    margin: 0;
    color: #9898a6;
    font-size: 0.9rem;
}

/* ── section block ───────────────────────────────────── */
.profile-section[b-afa32mwoe1] {
    background: #1c1c1f;
    border: 1px solid #2e2e34;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
}

.profile-section-title[b-afa32mwoe1] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9898a6;
    margin: 0 0 1rem;
}

/* ── action row ──────────────────────────────────────── */
.profile-action-row[b-afa32mwoe1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-action-label[b-afa32mwoe1] {
    font-weight: 500;
    font-size: 0.95rem;
    color: #f0f0f2;
}

.profile-action-hint[b-afa32mwoe1] {
    font-size: 0.8rem;
    color: #9898a6;
    margin-top: 0.15rem;
}

.profile-action-row form[b-afa32mwoe1] {
    margin: 0;
}

.profile-password-form[b-afa32mwoe1] {
    max-width: 360px;
}
/* /Components/Pages/Quiz.razor.rz.scp.css */
/* ── container ───────────────────────────────────────── */
.quiz-container[b-6dq6u0e1bs] {
    max-width: 680px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

/* ── header ──────────────────────────────────────────── */
.quiz-header[b-6dq6u0e1bs] {
    width: 100%;
    text-align: center;
}

.quiz-title[b-6dq6u0e1bs] {
    margin: 0 0 0.25rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
}

.quiz-subtitle[b-6dq6u0e1bs] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-text-muted);
}

/* ── level tiles ─────────────────────────────────────── */
/*
  Layout (4-column × 3-row grid):
  ┌──────────────┬───────────┐
  │              │   N4      │  row 1: 150px
  │     N5       ├───────────┤
  │  (2col×2row) │   N3      │  row 2: 150px
  ├──────┬───────┴───────────┤
  │  N2  │        N1         │  row 3: auto
  ├──────┴───────────────────┤
  │           All            │  row 4: auto
  └──────────────────────────┘
*/
.level-tiles[b-6dq6u0e1bs] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 150px 150px auto auto;
    gap: 0.75rem;
}

.level-tile[b-6dq6u0e1bs] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface);
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    user-select: none;
    overflow: hidden;
    position: relative;
}

.level-tile:hover[b-6dq6u0e1bs] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tile-level[b-6dq6u0e1bs] {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tile-label[b-6dq6u0e1bs] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
}

.tile-desc[b-6dq6u0e1bs] {
    font-size: 0.7rem;
    color: var(--dark-text-muted);
    line-height: 1.3;
}

/* ── grid placement ──────────────────────────────────── */
.tile-n5[b-6dq6u0e1bs] {
    grid-column: span 2;
    grid-row: span 2;
}

.tile-n4[b-6dq6u0e1bs] { grid-column: span 2; }
.tile-n3[b-6dq6u0e1bs] { grid-column: span 2; }
.tile-n2[b-6dq6u0e1bs] { grid-column: span 2; }
.tile-n1[b-6dq6u0e1bs] { grid-column: span 2; }

.tile-all[b-6dq6u0e1bs] {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.tile-all .tile-label[b-6dq6u0e1bs],
.tile-all .tile-desc[b-6dq6u0e1bs] {
    font-size: 0.85rem;
}

/* ── decorative background level text ────────────────── */
.tile-bg-level[b-6dq6u0e1bs] {
    position: absolute;
    top: -0.5rem;
    right: 0.75rem;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: currentColor;
}

/* N5 bigger text since tile is larger */
.tile-n5 .tile-level[b-6dq6u0e1bs] {
    font-size: 2rem;
}

.tile-n5 .tile-label[b-6dq6u0e1bs] {
    font-size: 0.9rem;
}

.tile-n5 .tile-desc[b-6dq6u0e1bs] {
    font-size: 0.75rem;
}

/* ── level colour themes ─────────────────────────────── */
.tile-n5[b-6dq6u0e1bs] { background: linear-gradient(145deg, #0d2e1e 0%, #1a4a2e 100%); border-color: #1a3d26; }
.tile-n5:hover[b-6dq6u0e1bs] { border-color: #2a6040; }
.tile-n5 .tile-level[b-6dq6u0e1bs] { color: #52b788; }

.tile-n4[b-6dq6u0e1bs] { background: linear-gradient(145deg, #0d2a2e 0%, #1a3d3d 100%); border-color: #1a3a3d; }
.tile-n4:hover[b-6dq6u0e1bs] { border-color: #2a5e62; }
.tile-n4 .tile-level[b-6dq6u0e1bs] { color: #48cae4; }

.tile-n3[b-6dq6u0e1bs] { background: linear-gradient(145deg, #0f1f3d 0%, #1a2f5a 100%); border-color: #1e3060; }
.tile-n3:hover[b-6dq6u0e1bs] { border-color: #2a4a8a; }
.tile-n3 .tile-level[b-6dq6u0e1bs] { color: #74b3f7; }

.tile-n2[b-6dq6u0e1bs] { background: linear-gradient(145deg, #2e1a0d 0%, #3d2810 100%); border-color: #3d2810; }
.tile-n2:hover[b-6dq6u0e1bs] { border-color: #624020; }
.tile-n2 .tile-level[b-6dq6u0e1bs] { color: #f4a261; }

.tile-n1[b-6dq6u0e1bs] { background: linear-gradient(145deg, #2e0d0d 0%, #3d1010 100%); border-color: #3d1010; }
.tile-n1:hover[b-6dq6u0e1bs] { border-color: #621a1a; }
.tile-n1 .tile-level[b-6dq6u0e1bs] { color: #f85149; }

.tile-all[b-6dq6u0e1bs] { background: linear-gradient(145deg, #1a0d2e 0%, #2a1550 100%); border-color: #2a1a40; }
.tile-all:hover[b-6dq6u0e1bs] { border-color: #4a2a70; }
.tile-all .tile-level[b-6dq6u0e1bs] { color: #b48aff; }

/* ── progress ────────────────────────────────────────── */
.quiz-progress-row[b-6dq6u0e1bs] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quiz-progress-text[b-6dq6u0e1bs] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    align-self: flex-end;
}

.progress-track[b-6dq6u0e1bs] {
    width: 100%;
    height: 3px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill[b-6dq6u0e1bs] {
    height: 100%;
    background: var(--dark-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* ── question card ───────────────────────────────────── */
.question-card[b-6dq6u0e1bs] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-top: 3px solid var(--dark-accent);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.question-type-badge[b-6dq6u0e1bs] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark-text-muted);
    background: var(--dark-surface-elevated);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.question-prompt[b-6dq6u0e1bs] {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.2;
}

/* ── answer options ──────────────────────────────────── */
.options-grid[b-6dq6u0e1bs] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.option-btn[b-6dq6u0e1bs] {
    padding: 0.875rem 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.625rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, transform 0.1s;
    line-height: 1.3;
    user-select: none;
}

.option-btn:hover:not(:disabled)[b-6dq6u0e1bs] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-accent);
    transform: translateY(-1px);
}

.option-btn:disabled[b-6dq6u0e1bs] {
    cursor: default;
}

.option-btn.correct[b-6dq6u0e1bs] {
    background: rgba(45, 106, 79, 0.2);
    border-color: #52b788;
    color: #52b788;
    font-weight: 600;
}

.option-btn.wrong[b-6dq6u0e1bs] {
    background: rgba(122, 26, 26, 0.2);
    border-color: #f85149;
    color: #f85149;
}

.option-btn.dimmed[b-6dq6u0e1bs] {
    opacity: 0.35;
}

/* ── next button ─────────────────────────────────────── */
.quiz-nav[b-6dq6u0e1bs] {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.quiz-next-btn[b-6dq6u0e1bs] {
    padding: 0.625rem 1.5rem;
    background: var(--dark-accent);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.quiz-next-btn:hover[b-6dq6u0e1bs] {
    background: var(--dark-accent-hover);
}

/* ── results ─────────────────────────────────────────── */
.result-card[b-6dq6u0e1bs] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.result-icon[b-6dq6u0e1bs] {
    font-size: 2.5rem;
    line-height: 1;
}

.result-score[b-6dq6u0e1bs] {
    margin: 0.25rem 0 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.result-label[b-6dq6u0e1bs] {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-text-muted);
}

.result-actions[b-6dq6u0e1bs] {
    display: flex;
    gap: 0.75rem;
}

.quiz-btn[b-6dq6u0e1bs] {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s, opacity 0.15s;
}

.quiz-btn-primary[b-6dq6u0e1bs] {
    background: var(--dark-accent);
    color: #fff;
}

.quiz-btn-primary:hover[b-6dq6u0e1bs] {
    background: var(--dark-accent-hover);
}

.quiz-btn-secondary[b-6dq6u0e1bs] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text-muted);
    border: 1px solid var(--dark-border);
}

.quiz-btn-secondary:hover[b-6dq6u0e1bs] {
    color: var(--dark-text);
    border-color: var(--dark-accent);
}

/* ── loading ─────────────────────────────────────────── */
.list-loader[b-6dq6u0e1bs] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.spinner-lg[b-6dq6u0e1bs] {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.spinner[b-6dq6u0e1bs] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--dark-accent);
    border-radius: 50%;
    animation: spin-b-6dq6u0e1bs 0.7s linear infinite;
}

@keyframes spin-b-6dq6u0e1bs {
    to { transform: rotate(360deg); }
}
/* /Components/Shared/UserAvatar.razor.rz.scp.css */
.avatar-trigger[b-m2ug5wucu6] {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.avatar-trigger:focus[b-m2ug5wucu6],
.avatar-trigger:focus-visible[b-m2ug5wucu6],
.avatar-trigger:active[b-m2ug5wucu6] {
    outline: none;
    box-shadow: none;
}

.avatar-circle[b-m2ug5wucu6] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid rgba(180, 138, 255, 0.3);
    background-image: url('/female.png');
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.avatar-trigger:hover .avatar-circle[b-m2ug5wucu6] {
    transform: scale(1.15);
}

.user-name[b-m2ug5wucu6] {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    color: #d4d4d8;
    padding-left: 0.5rem;
}

.dropdown-menu form[b-m2ug5wucu6] {
    display: contents;
}

@media (max-width: 640px) {
    .user-name[b-m2ug5wucu6] {
        display: none;
    }
}
