/* /Components/Landing/LandingAibo.razor.rz.scp.css */
/* ── Section ──────────────────────────────────────────── */
.la-section[b-fvk3znno78] {
    padding: 6rem 2rem;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(180, 138, 255, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(91, 141, 239, 0.06) 0%, transparent 50%),
        var(--dark-bg, #0d0d1a);
}

.la-inner[b-fvk3znno78] {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* ── Header ───────────────────────────────────────────── */
.la-header[b-fvk3znno78] {
    text-align: center;
    max-width: 540px;
}

.la-accent[b-fvk3znno78] {
    background: linear-gradient(135deg, #b48aff 0%, #7c6af7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.la-subtitle[b-fvk3znno78] {
    font-size: 1rem;
    color: var(--dark-text-muted, #9898a6);
    line-height: 1.7;
    margin-top: 0.75rem;
}

/* ── Cards grid ───────────────────────────────────────── */
.la-cards[b-fvk3znno78] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

/* ── Card ─────────────────────────────────────────────── */
.la-card[b-fvk3znno78] {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    border: 1.5px solid var(--dark-border, #2e2e34);
    overflow: hidden;
    background: var(--dark-surface, #1c1c1f);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.la-card:hover[b-fvk3znno78] {
    transform: translateY(-6px);
}

.la-card--female:hover[b-fvk3znno78] {
    border-color: rgba(220, 160, 255, 0.5);
    box-shadow: 0 16px 48px rgba(180, 138, 255, 0.18);
}

.la-card--male:hover[b-fvk3znno78] {
    border-color: rgba(100, 180, 255, 0.5);
    box-shadow: 0 16px 48px rgba(91, 141, 239, 0.18);
}

/* ── Character art area ───────────────────────────────── */
.la-card-art[b-fvk3znno78] {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.la-card--female .la-card-art[b-fvk3znno78] {
    background: linear-gradient(160deg, #1a0a2e 0%, #2d1050 40%, #1e0840 100%);
}

.la-card--male .la-card-art[b-fvk3znno78] {
    background: linear-gradient(160deg, #0a1830 0%, #0f2850 40%, #091a38 100%);
}

.la-character-img[b-fvk3znno78] {
    height: 90%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    transition: transform 0.22s ease;
}

.la-card:hover .la-character-img[b-fvk3znno78] {
    transform: translateY(-4px) scale(1.02);
}

.la-card-glow[b-fvk3znno78] {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.35;
    transition: opacity 0.22s ease;
}

.la-card:hover .la-card-glow[b-fvk3znno78] {
    opacity: 0.6;
}

.la-card-glow--female[b-fvk3znno78] {
    background: radial-gradient(circle, #b48aff 0%, transparent 70%);
}

.la-card-glow--male[b-fvk3znno78] {
    background: radial-gradient(circle, #5b8def 0%, transparent 70%);
}

/* ── Card body ────────────────────────────────────────── */
.la-card-body[b-fvk3znno78] {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.la-card-name-row[b-fvk3znno78] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.la-card-name[b-fvk3znno78] {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.la-card--female .la-card-name[b-fvk3znno78] { color: #c8a8ff; }
.la-card--male   .la-card-name[b-fvk3znno78] { color: #7eb3ff; }

.la-card-kanji[b-fvk3znno78] {
    font-size: 1.5rem;
    color: var(--dark-text-muted, #9898a6);
    font-family: sans-serif;
    opacity: 0.5;
}

/* ── Tags ─────────────────────────────────────────────── */
.la-card-tags[b-fvk3znno78] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.la-tag[b-fvk3znno78] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    border: 1px solid;
    letter-spacing: 0.03em;
}

.la-card--female .la-tag[b-fvk3znno78] {
    color: #b48aff;
    border-color: rgba(180, 138, 255, 0.3);
    background: rgba(180, 138, 255, 0.08);
}

.la-card--male .la-tag[b-fvk3znno78] {
    color: #7eb3ff;
    border-color: rgba(91, 141, 239, 0.3);
    background: rgba(91, 141, 239, 0.08);
}

/* ── Description ──────────────────────────────────────── */
.la-card-desc[b-fvk3znno78] {
    font-size: 0.85rem;
    color: var(--dark-text-muted, #9898a6);
    line-height: 1.6;
    flex: 1;
}

/* ── CTA row ──────────────────────────────────────────── */
.la-cta-row[b-fvk3znno78] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.la-cta-btn[b-fvk3znno78] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #b48aff 0%, #7c6af7 100%);
    color: #fff;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 28px rgba(180, 138, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.la-cta-btn:hover[b-fvk3znno78] {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(180, 138, 255, 0.5);
    opacity: 0.95;
}

.la-cta-arrow[b-fvk3znno78] {
    display: inline-block;
    transition: transform 0.2s;
}

.la-cta-btn:hover .la-cta-arrow[b-fvk3znno78] {
    transform: translateX(4px);
}

.la-cta-note[b-fvk3znno78] {
    font-size: 0.78rem;
    color: var(--dark-text-muted, #9898a6);
    opacity: 0.7;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .la-section[b-fvk3znno78] {
        padding: 4rem 1rem;
    }

    .la-cards[b-fvk3znno78] {
        grid-template-columns: 1fr;
    }

    .la-card-art[b-fvk3znno78] {
        height: 240px;
    }
}
/* /Components/Landing/LandingCta.razor.rz.scp.css */
/* ── Final CTA ──────────────────────────────────────────────────── */
.lcta[b-c1r3mkg7y6] {
    padding: 7rem 2rem;
    background:
        radial-gradient(ellipse at 50% 0%,  rgba(124, 106, 247, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(91, 141, 239, 0.1) 0%, transparent 60%),
        #111118;
    border-top: 1px solid #1e1e2a;
    text-align: center;
}

.lcta-inner[b-c1r3mkg7y6] {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lcta-kanji[b-c1r3mkg7y6] {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5b8def 0%, #b48aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1;
    opacity: 0.7;
    letter-spacing: -0.02em;
}

.lcta-title[b-c1r3mkg7y6] {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--dark-text);
    margin: 0 0 1.25rem;
}

.lcta-desc[b-c1r3mkg7y6] {
    font-size: 1rem;
    color: var(--dark-text-muted);
    line-height: 1.65;
    margin: 0 0 2.5rem;
}

.lcta-btn[b-c1r3mkg7y6] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #5b8def 0%, #7c6af7 100%);
    color: #fff;
    border-radius: 0.875rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 32px rgba(91, 141, 239, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    margin-bottom: 1.25rem;
}

.lcta-btn:hover[b-c1r3mkg7y6] {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(91, 141, 239, 0.55);
    opacity: 0.95;
}

.lcta-btn-arrow[b-c1r3mkg7y6] {
    display: inline-block;
    transition: transform 0.2s;
}

.lcta-btn:hover .lcta-btn-arrow[b-c1r3mkg7y6] {
    transform: translateX(5px);
}

.lcta-note[b-c1r3mkg7y6] {
    font-size: 0.78rem;
    color: #4a4a58;
    margin: 0;
}

@media (max-width: 640px) {
    .lcta[b-c1r3mkg7y6] { padding: 5rem 1rem; }
    .lcta-btn[b-c1r3mkg7y6] { padding: 0.9rem 1.75rem; font-size: 0.975rem; }
}
/* /Components/Landing/LandingFeatures.razor.rz.scp.css */
/* ── Features ───────────────────────────────────────────────────── */
.features[b-13sacncyuh] {
    padding: 6rem 2rem;
    background: #111118;
    border-top: 1px solid #1a1a28;
}

.features-inner[b-13sacncyuh] {
    max-width: 1100px;
    margin: 0 auto;
}

.feat-header[b-13sacncyuh] {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* reuse .l-tag / .l-title / .l-gradient from LandingHowItWorks — duplicated for scoping */
.l-tag[b-13sacncyuh] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b48aff;
    margin-bottom: 0.875rem;
}

.l-title[b-13sacncyuh] {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.2;
}

/* Grid */
.feat-grid[b-13sacncyuh] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feat-card[b-13sacncyuh] {
    background: #16102a;
    border: 1px solid #1e1e2a;
    border-radius: 1rem;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feat-card:hover[b-13sacncyuh] {
    border-color: rgba(91, 141, 239, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(91, 141, 239, 0.1);
}

.feat-card--highlight[b-13sacncyuh] {
    border-color: rgba(180, 138, 255, 0.28);
    background: linear-gradient(145deg, #16102a, #1a0d2e);
}

.feat-card--highlight:hover[b-13sacncyuh] {
    border-color: rgba(180, 138, 255, 0.55);
    box-shadow: 0 10px 36px rgba(180, 138, 255, 0.14);
}

.feat-icon[b-13sacncyuh] {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
    line-height: 1;
}

.feat-card h3[b-13sacncyuh] {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 0.5rem;
}

.feat-card p[b-13sacncyuh] {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .feat-grid[b-13sacncyuh] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .features[b-13sacncyuh] { padding: 4rem 1rem; }
    .feat-grid[b-13sacncyuh] { grid-template-columns: 1fr; }
}
/* /Components/Landing/LandingHero.razor.rz.scp.css */
/* ── Hero ───────────────────────────────────────────────────────── */
.hero[b-ypsfhkizys] {
    min-height: calc(100vh - 3.75rem);
    display: flex;
    align-items: center;
    padding: 4rem 2rem 5rem;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(180, 138, 255, 0.13) 0%, transparent 52%),
        radial-gradient(ellipse at 15% 80%, rgba(91, 141, 239, 0.08) 0%, transparent 52%),
        #0d0d1a;
    overflow: hidden;
}

.hero-inner[b-ypsfhkizys] {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ── Badge ── */
.hero-badge[b-ypsfhkizys] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(180, 138, 255, 0.08);
    border: 1px solid rgba(180, 138, 255, 0.22);
    border-radius: 2rem;
    font-size: 0.78rem;
    color: #c8a8ff;
    margin-bottom: 1.5rem;
}

.badge-dot[b-ypsfhkizys] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b48aff;
    animation: badge-pulse-b-ypsfhkizys 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badge-pulse-b-ypsfhkizys {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(1.6); }
}

/* ── Title ── */
.hero-title[b-ypsfhkizys] {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--dark-text);
    margin: 0 0 1.25rem;
}

.hero-title-gradient[b-ypsfhkizys] {
    background: linear-gradient(135deg, #5b8def 0%, #b48aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Description ── */
.hero-desc[b-ypsfhkizys] {
    font-size: 1.05rem;
    line-height: 1.72;
    color: var(--dark-text-muted);
    margin: 0 0 2rem;
    max-width: 460px;
}

/* ── CTAs ── */
.hero-actions[b-ypsfhkizys] {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    align-items: center;
}

.hero-btn-primary[b-ypsfhkizys] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #5b8def 0%, #7c6af7 100%);
    color: #fff;
    border-radius: 0.75rem;
    font-size: 0.975rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(91, 141, 239, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.hero-btn-primary:hover[b-ypsfhkizys] {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(91, 141, 239, 0.5);
    opacity: 0.95;
}

.hero-btn-arrow[b-ypsfhkizys] {
    display: inline-block;
    transition: transform 0.2s;
}

.hero-btn-primary:hover .hero-btn-arrow[b-ypsfhkizys] {
    transform: translateX(4px);
}

.hero-btn-secondary[b-ypsfhkizys] {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.4rem;
    color: var(--dark-text-muted);
    border: 1px solid var(--dark-border, #2e2e34);
    border-radius: 0.75rem;
    font-size: 0.975rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.hero-btn-secondary:hover[b-ypsfhkizys] {
    color: var(--dark-text);
    border-color: #4a4a58;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Perks ── */
.hero-perks[b-ypsfhkizys] {
    display: flex;
    gap: 1.25rem;
    font-size: 0.78rem;
    color: var(--dark-text-muted);
    flex-wrap: wrap;
}

/* ── Visual area ── */
.hero-visual[b-ypsfhkizys] {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow orb */
.hero-orb[b-ypsfhkizys] {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 106, 247, 0.18) 0%, transparent 70%);
    animation: orb-breathe-b-ypsfhkizys 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orb-breathe-b-ypsfhkizys {
    0%, 100% { transform: scale(1);   opacity: 0.7; }
    50%       { transform: scale(1.1); opacity: 1;   }
}

/* Fox placeholder */
.fox-placeholder[b-ypsfhkizys] {
    position: relative;
    width: 210px;
    height: 210px;
    z-index: 2;
    overflow: visible; /* allow image to pop above the ring */
}

/* The circle — backdrop only, no clipping */
.fox-ring[b-ypsfhkizys] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #16102a 0%, #1e1630 100%);
    border: 1.5px solid rgba(180, 138, 255, 0.32);
    box-shadow:
        0 0 48px rgba(124, 106, 247, 0.22),
        inset 0 0 28px rgba(180, 138, 255, 0.07);
    z-index: 1;
}

/* Image is larger than the ring — bottom anchored so character stands on it */
.fox-img[b-ypsfhkizys] {
    position: absolute;
    width: 265px;
    height: 265px;
    object-fit: contain;
    left: 50%;
    bottom: -12px;          /* feet rest slightly below ring center */
    transform: translateX(-50%);
    z-index: 2;
    animation: fox-float-b-ypsfhkizys 7s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(124, 106, 247, 0.28));
}

@keyframes fox-float-b-ypsfhkizys {
    0%, 100% { transform: translateX(-50%) translateY(0px);   }
    50%       { transform: translateX(-50%) translateY(-14px); }
}

/* ── Floating word cards ── */
.word-card[b-ypsfhkizys] {
    position: absolute;
    background: rgba(22, 16, 42, 0.92);
    border: 1px solid rgba(46, 30, 78, 0.9);
    border-radius: 0.875rem;
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    backdrop-filter: blur(10px);
    z-index: 3;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    min-width: 100px;
}

.wc-jp[b-ypsfhkizys] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
}

.wc-en[b-ypsfhkizys] {
    font-size: 0.68rem;
    color: var(--dark-text-muted);
    margin-top: 0.1rem;
}

.wc-level[b-ypsfhkizys] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #b48aff;
    background: rgba(180, 138, 255, 0.12);
    border-radius: 0.25rem;
    padding: 0.05rem 0.3rem;
    align-self: flex-start;
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

.wc-1[b-ypsfhkizys] {
    top: 6%;
    right: 10%;
    animation: card-float-a-b-ypsfhkizys 7s ease-in-out infinite;
}

.wc-2[b-ypsfhkizys] {
    bottom: 15%;
    right: 4%;
    animation: card-float-b-b-ypsfhkizys 8s ease-in-out infinite 1.2s;
}

.wc-3[b-ypsfhkizys] {
    top: 38%;
    left: 2%;
    animation: card-float-c-b-ypsfhkizys 6.5s ease-in-out infinite 0.6s;
}

@keyframes card-float-a-b-ypsfhkizys {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(0deg); }
}
@keyframes card-float-b-b-ypsfhkizys {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes card-float-c-b-ypsfhkizys {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50%       { transform: translateY(-14px) rotate(-2deg); }
}

/* ── Kana particles ── */
.kana[b-ypsfhkizys] {
    position: absolute;
    font-weight: 700;
    pointer-events: none;
    animation: kana-drift-b-ypsfhkizys 12s ease-in-out infinite;
}

.kana-1[b-ypsfhkizys] { top: 8%;  left: 12%;  font-size: 1.2rem; color: rgba(180, 138, 255, 0.28); animation-delay: 0s;   }
.kana-2[b-ypsfhkizys] { top: 68%; left: 22%;  font-size: 1.8rem; color: rgba(91, 141, 239, 0.22);  animation-delay: 2.5s; }
.kana-3[b-ypsfhkizys] { top: 18%; right: 22%; font-size: 1rem;   color: rgba(180, 138, 255, 0.2);  animation-delay: 4.5s; }
.kana-4[b-ypsfhkizys] { bottom: 8%; left: 42%; font-size: 1.4rem; color: rgba(91, 141, 239, 0.25); animation-delay: 1.5s; }

@keyframes kana-drift-b-ypsfhkizys {
    0%, 100% { transform: translateY(0px);   opacity: 0.6; }
    50%       { transform: translateY(-22px); opacity: 1;   }
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .hero-inner[b-ypsfhkizys] {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badge[b-ypsfhkizys]   { margin: 0 auto 1.5rem; }
    .hero-desc[b-ypsfhkizys]    { margin-left: auto; margin-right: auto; }
    .hero-actions[b-ypsfhkizys] { justify-content: center; }
    .hero-perks[b-ypsfhkizys]   { justify-content: center; }

    .hero-visual[b-ypsfhkizys] { height: 380px; }
}

@media (max-width: 640px) {
    .hero[b-ypsfhkizys] { padding: 2.5rem 1rem 4rem; }
    .hero-title[b-ypsfhkizys] { font-size: 2.25rem; }
    .hero-visual[b-ypsfhkizys] { height: 300px; }

    .fox-placeholder[b-ypsfhkizys] { width: 170px; height: 170px; }
    .fox-emoji[b-ypsfhkizys] { font-size: 3.5rem; }

    .wc-1[b-ypsfhkizys] { top: 5%;  right: 5%;  }
    .wc-3[b-ypsfhkizys] { display: none; }
}
/* /Components/Landing/LandingHowItWorks.razor.rz.scp.css */
/* ── How it works ───────────────────────────────────────────────── */
.hiw[b-12ykoadztp] {
    padding: 6rem 2rem;
    background: #0d0d1a;
    border-top: 1px solid #1a1a28;
}

.hiw-inner[b-12ykoadztp] {
    max-width: 1100px;
    margin: 0 auto;
}

.hiw-header[b-12ykoadztp] {
    text-align: center;
    margin-bottom: 4rem;
}

/* shared landing label + title */
.l-tag[b-12ykoadztp] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b48aff;
    margin-bottom: 0.875rem;
}

.l-title[b-12ykoadztp] {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.2;
}

.l-gradient[b-12ykoadztp] {
    background: linear-gradient(135deg, #5b8def 0%, #b48aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Steps row */
.hiw-steps[b-12ykoadztp] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hiw-step[b-12ykoadztp] {
    flex: 1;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.step-num[b-12ykoadztp] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b8def, #7c6af7);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    box-shadow: 0 0 18px rgba(91, 141, 239, 0.4);
    flex-shrink: 0;
}

.step-icon[b-12ykoadztp] {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.hiw-step h3[b-12ykoadztp] {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 0.5rem;
}

.hiw-step p[b-12ykoadztp] {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    line-height: 1.65;
    margin: 0;
}

.hiw-arrow[b-12ykoadztp] {
    font-size: 1.25rem;
    color: rgba(180, 138, 255, 0.3);
    padding-top: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Responsive */
@media (max-width: 860px) {
    .hiw-steps[b-12ykoadztp] {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hiw-arrow[b-12ykoadztp] {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .hiw-step[b-12ykoadztp] {
        max-width: 340px;
    }
}

@media (max-width: 640px) {
    .hiw[b-12ykoadztp] { padding: 4rem 1rem; }
    .hiw-arrow[b-12ykoadztp] { display: none; }
    .hiw-header[b-12ykoadztp] { margin-bottom: 2.5rem; }
}
/* /Components/Landing/LandingPreview.razor.rz.scp.css */
/* ── Preview section ────────────────────────────────────────────── */
.lp-section[b-vpwrqsftf9] {
    padding: 6rem 2rem;
    background: #0d0d1a;
    border-top: 1px solid #1a1a28;
}

.lp-inner[b-vpwrqsftf9] {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-header[b-vpwrqsftf9] {
    text-align: center;
    margin-bottom: 3.5rem;
}

.lp-sub[b-vpwrqsftf9] {
    font-size: 0.9rem;
    color: var(--dark-text-muted, #9898a6);
    margin: 0.75rem auto 0;
    max-width: 460px;
}

/* shared landing tag/title/gradient (scoped copy) */
.l-tag[b-vpwrqsftf9] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b48aff;
    margin-bottom: 0.875rem;
}

.l-title[b-vpwrqsftf9] {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--dark-text, #f0f0f2);
    margin: 0;
    line-height: 1.2;
}

.l-gradient[b-vpwrqsftf9] {
    background: linear-gradient(135deg, #5b8def 0%, #b48aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Two-panel layout ───────────────────────────────────────────── */
.lp-panels[b-vpwrqsftf9] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.lp-panel[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── Dashboard hero strip ───────────────────────────────────────── */
.dp-hero[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #1c1c1f;
    border: 1px solid #2e2e34;
    border-radius: 1rem;
}

.dp-identity[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.dp-avatar[b-vpwrqsftf9] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b8def, #b48aff);
    border: 2px solid rgba(180, 138, 255, 0.3);
    flex-shrink: 0;
}

.dp-name[b-vpwrqsftf9] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text, #f0f0f2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dp-metrics[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.dp-streak[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dp-flame[b-vpwrqsftf9] {
    font-size: 1.25rem;
    line-height: 1;
}

.dp-streak-info[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.dp-streak-val[b-vpwrqsftf9] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f4a261;
}

.dp-streak-lbl[b-vpwrqsftf9] {
    font-size: 0.6rem;
    color: var(--dark-text-muted, #9898a6);
}

.dp-xp[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dp-xp-ring[b-vpwrqsftf9] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.dp-xp-info[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.dp-xp-val[b-vpwrqsftf9] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c8a8ff;
}

.dp-xp-lbl[b-vpwrqsftf9] {
    font-size: 0.6rem;
    color: var(--dark-text-muted, #9898a6);
    white-space: nowrap;
}

/* ── Cards ──────────────────────────────────────────────────────── */
.dp-card[b-vpwrqsftf9] {
    background: #1c1c1f;
    border: 1px solid #2e2e34;
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
}

.dp-card-hdr[b-vpwrqsftf9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.875rem;
}

.dp-card-title[b-vpwrqsftf9] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-text-muted, #9898a6);
}

.dp-jp[b-vpwrqsftf9] {
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--dark-text-muted, #9898a6);
    margin-left: 0.3rem;
}

.dp-card-meta[b-vpwrqsftf9] {
    font-size: 0.72rem;
    color: var(--dark-text-muted, #9898a6);
}

/* ── Stat rows ──────────────────────────────────────────────────── */
.dp-stats-list[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.875rem;
}

.dp-stat-row[b-vpwrqsftf9] {
    display: grid;
    grid-template-columns: 2.25rem 1fr 3.25rem 2.25rem;
    align-items: center;
    gap: 0.6rem;
}

.dp-level[b-vpwrqsftf9] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.dp-alpha-lbl[b-vpwrqsftf9] {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--dark-text-muted, #9898a6);
    text-align: center;
    width: 2.25rem;
}

.dp-bar-wrap[b-vpwrqsftf9] {
    height: 5px;
    background: #2e2e34;
    border-radius: 3px;
    overflow: hidden;
}

.dp-bar[b-vpwrqsftf9] {
    height: 100%;
    border-radius: 3px;
}

.dp-bar-n5[b-vpwrqsftf9]      { background: #52b788; }
.dp-bar-n4[b-vpwrqsftf9]      { background: #48cae4; }
.dp-bar-n3[b-vpwrqsftf9]      { background: #74b3f7; }
.dp-bar-n2[b-vpwrqsftf9]      { background: #f4a261; }
.dp-bar-n1[b-vpwrqsftf9]      { background: #f85149; }
.dp-bar-overall[b-vpwrqsftf9] { background: #5b8def; }
.dp-bar-hira[b-vpwrqsftf9]    { background: #e07b7b; }
.dp-bar-kata[b-vpwrqsftf9]    { background: #7bb3e0; }

.dp-count[b-vpwrqsftf9] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark-text, #f0f0f2);
    text-align: right;
    white-space: nowrap;
}

.dp-of[b-vpwrqsftf9] {
    color: var(--dark-text-muted, #9898a6);
    font-weight: 400;
}

.dp-pct[b-vpwrqsftf9] {
    font-size: 0.68rem;
    color: var(--dark-text-muted, #9898a6);
    text-align: right;
}

.dp-overall[b-vpwrqsftf9] {
    display: grid;
    grid-template-columns: 1fr 2.25rem;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid #2e2e34;
}

/* ── Hiragana panel card ────────────────────────────────────────── */
.dp-card--kana[b-vpwrqsftf9] {
    padding: 1.1rem 1.25rem 1.25rem;
}

/* Two-column layout inside the kana card */
.kana-cols[b-vpwrqsftf9] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 0.25rem;
}

.kana-col[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.kana-col-divider[b-vpwrqsftf9] {
    width: 1px;
    background: #2e2e34;
    align-self: stretch;
    margin: 0 1rem;
    flex-shrink: 0;
}

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

.row-label[b-vpwrqsftf9] {
    width: 24px;
    min-width: 24px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark-text-muted, #9898a6);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Kana cells ─────────────────────────────────────────────────── */
.kana-cell[b-vpwrqsftf9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    width: 58px;
    height: 58px;
    background: #1c1c1f;
    border: 1px solid #2e2e34;
    border-radius: 9px;
    flex-shrink: 0;
}

.kana-cell.known[b-vpwrqsftf9] {
    border-color: rgba(52, 208, 88, 0.38);
    background: rgba(52, 208, 88, 0.055);
}

.kana-char[b-vpwrqsftf9] {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--dark-text, #f0f0f2);
}

.kana-roma[b-vpwrqsftf9] {
    font-size: 0.6rem;
    color: var(--dark-text-muted, #9898a6);
    letter-spacing: 0.02em;
}

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

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

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1050px) {
    .lp-panels[b-vpwrqsftf9] {
        grid-template-columns: 1fr;
    }

    .lp-panel--stats[b-vpwrqsftf9] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .dp-hero[b-vpwrqsftf9] {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .lp-section[b-vpwrqsftf9] { padding: 4rem 1rem; }

    .lp-panel--stats[b-vpwrqsftf9] {
        grid-template-columns: 1fr;
    }

    .dp-hero[b-vpwrqsftf9] {
        grid-column: span 1;
    }

    .kana-cols[b-vpwrqsftf9] {
        flex-direction: column;
        gap: 1rem;
    }

    .kana-col-divider[b-vpwrqsftf9] {
        width: auto;
        height: 1px;
        margin: 0;
    }

    .kana-cell[b-vpwrqsftf9] {
        width: 48px;
        height: 48px;
    }

    .kana-char[b-vpwrqsftf9] {
        font-size: 1.2rem;
    }
}
/* /Components/Landing/LandingWhyKokoro.razor.rz.scp.css */
/* ── Why Kokoro ─────────────────────────────────────────────────── */
.why[b-vak9jlf69f] {
    padding: 6rem 2rem;
    background: #0d0d1a;
    border-top: 1px solid #1a1a28;
}

.why-inner[b-vak9jlf69f] {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left */
.why-left[b-vak9jlf69f] {
    display: flex;
    flex-direction: column;
}

/* reuse landing tag / title / gradient (scoped copy) */
.l-tag[b-vak9jlf69f] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b48aff;
    margin-bottom: 0.875rem;
}

.l-title[b-vak9jlf69f] {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--dark-text);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.l-gradient[b-vak9jlf69f] {
    background: linear-gradient(135deg, #5b8def 0%, #b48aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-desc[b-vak9jlf69f] {
    font-size: 0.975rem;
    color: var(--dark-text-muted);
    line-height: 1.75;
    margin: 0 0 2rem;
}

.why-cta[b-vak9jlf69f] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-accent, #5b8def);
    text-decoration: none;
    transition: gap 0.2s, color 0.15s;
}

.why-cta:hover[b-vak9jlf69f] {
    color: #7eb3ff;
    gap: 0.7rem;
    text-decoration: none;
}

/* Right: bullet points */
.why-right[b-vak9jlf69f] {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.why-point[b-vak9jlf69f] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-bullet[b-vak9jlf69f] {
    color: #b48aff;
    font-size: 1rem;
    line-height: 1.6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.why-point-body strong[b-vak9jlf69f] {
    display: block;
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.3rem;
}

.why-point-body p[b-vak9jlf69f] {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
    .why-inner[b-vak9jlf69f] {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .why[b-vak9jlf69f] { padding: 4rem 1rem; }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-layout[b-95cwag751w] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg, #131316);
}
/* /Components/Layout/LandingLayout.razor.rz.scp.css */
.landing-page[b-6py58izgm4] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0d0d1a;
    color: var(--dark-text);
}

/* ── Fixed glassmorphism header ─────────────────────────────────── */
.landing-header[b-6py58izgm4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 3.75rem;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: rgba(13, 13, 26, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(46, 46, 52, 0.5);
}

.landing-header-inner[b-6py58izgm4] {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo[b-6py58izgm4] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.landing-logo:hover[b-6py58izgm4] {
    color: var(--dark-text);
    text-decoration: none;
}

.landing-logo-img[b-6py58izgm4] {
    width: 26px;
    height: 26px;
}

.landing-header-actions[b-6py58izgm4] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.lhdr-signin[b-6py58izgm4] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text-muted);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    transition: color 0.15s;
}

.lhdr-signin:hover[b-6py58izgm4] {
    color: var(--dark-text);
    text-decoration: none;
}

.lhdr-cta[b-6py58izgm4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    background: linear-gradient(135deg, #5b8def 0%, #7c6af7 100%);
    border-radius: 0.6rem;
    transition: opacity 0.15s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(91, 141, 239, 0.3);
}

.lhdr-cta:hover[b-6py58izgm4] {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.landing-main[b-6py58izgm4] {
    flex: 1;
    padding-top: 3.75rem;
}

/* ── Error UI ────────────────────────────────────────────────────── */
#blazor-error-ui[b-6py58izgm4] {
    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-6py58izgm4] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .landing-header[b-6py58izgm4] {
        padding: 0 1rem;
    }

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

main[b-q4uljto1ul] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.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;
    padding: 0 2.5rem;
}

@media (max-width: 640.98px) {
    .top-row[b-q4uljto1ul] {
        padding: 0 1rem;
    }
}

@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[b-q4uljto1ul] {
        padding-top: 0.75rem;
    }
}

.content[b-q4uljto1ul] {
    flex: 1;
}

#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);
}

/* Kanji tile — полная ширина */
.alphabet-tile--kanji[b-q2ojknd7og] {
    grid-column: span 2;
    background: linear-gradient(145deg, #1f1a0f 0%, #2e2510 50%, #12100a 100%);
    border-color: #4a3a10;
}

.alphabet-tile--kanji:hover[b-q2ojknd7og] {
    border-color: #7a6020;
}

.tile-kana--kanji[b-q2ojknd7og] {
    color: #e8c84a;
}

/* 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);
}

/* Kanji Quiz tile — full width, horizontal like Learn */
.alphabet-tile--kanji-quiz[b-q2ojknd7og] {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(145deg, #1f1a0f 0%, #2e2510 50%, #12100a 100%);
    border-color: #4a3a10;
}

.alphabet-tile--kanji-quiz:hover[b-q2ojknd7og] {
    border-color: #7a6020;
}

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

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

.alphabet-tile--kanji-quiz .tile-kana--kanji[b-q2ojknd7og] {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.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);
}

/* ── Group / section picker ──────────────────────────── */
.aq-back-btn[b-ljsxdl6lpd] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.aq-top-btns[b-ljsxdl6lpd] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.aq-all-btn[b-ljsxdl6lpd] {
    padding: 0.875rem 1.25rem;
    background: var(--dark-surface);
    border: 1px dashed var(--dark-accent);
    border-radius: 0.75rem;
    color: var(--dark-accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    text-align: center;
}

.aq-all-btn:hover[b-ljsxdl6lpd] {
    background: var(--dark-surface-elevated);
    opacity: 0.9;
}

.aq-known-btn[b-ljsxdl6lpd] {
    padding: 0.875rem 1.25rem;
    background: var(--dark-surface);
    border: 1px dashed #52b788;
    border-radius: 0.75rem;
    color: #52b788;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    text-align: center;
}

.aq-known-btn:hover[b-ljsxdl6lpd] {
    background: var(--dark-surface-elevated);
    opacity: 0.9;
}

.aq-section-block[b-ljsxdl6lpd] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.aq-section-label[b-ljsxdl6lpd] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark-text-muted);
}

.aq-jp[b-ljsxdl6lpd] {
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 0.3em;
    color: var(--dark-text-muted);
    opacity: 0.7;
}

/* Individual sound-row buttons (あ, か, さ …) */
.aq-row-grid[b-ljsxdl6lpd] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.aq-row-btn[b-ljsxdl6lpd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.625rem 0.25rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

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

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

.aq-row-romaji[b-ljsxdl6lpd] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
    font-weight: 500;
}

/* Section preset tiles (Voiced, Semi-voiced …) */
.aq-section-tiles[b-ljsxdl6lpd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.aq-section-tile[b-ljsxdl6lpd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.875rem 0.75rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

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

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

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

.aq-section-jp[b-ljsxdl6lpd] {
    font-size: 0.65rem;
    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/KanjiQuiz.razor.rz.scp.css */
/* ── Container ───────────────────────────────────────── */
.quiz-container[b-z8pa2ala2j] {
    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-z8pa2ala2j] {
    width: 100%;
    text-align: center;
}

.aq-back-link[b-z8pa2ala2j] {
    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-z8pa2ala2j] {
    color: var(--dark-text);
    text-decoration: none;
}

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

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

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

/* ── Mode selection tiles ────────────────────────────── */
.kq-mode-tiles[b-z8pa2ala2j] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.kq-mode-tile[b-z8pa2ala2j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem 1rem;
    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;
}

.kq-mode-tile:hover[b-z8pa2ala2j] {
    background: var(--dark-surface-elevated);
    transform: translateY(-2px);
}

.kq-mode-tile--known:hover[b-z8pa2ala2j]  { border-color: #52b788; }
.kq-mode-tile--unknown:hover[b-z8pa2ala2j] { border-color: #f4a261; }
.kq-mode-tile:not(.kq-mode-tile--known):not(.kq-mode-tile--unknown):hover[b-z8pa2ala2j] {
    border-color: #e8c84a;
}

.kq-tile-char[b-z8pa2ala2j] {
    font-size: 2.8rem;
    line-height: 1;
    color: #e8c84a;
}

.kq-tile-char--known[b-z8pa2ala2j]   { color: #52b788; }
.kq-tile-char--unknown[b-z8pa2ala2j] { color: #f4a261; }

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

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

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

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

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

.progress-fill[b-z8pa2ala2j] {
    height: 100%;
    background: #e8c84a;
    border-radius: 2px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* ── Question card ───────────────────────────────────── */
.question-card[b-z8pa2ala2j] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-top: 3px solid #e8c84a;
    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-z8pa2ala2j] {
    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-z8pa2ala2j] {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.2;
}

.prompt-kanji[b-z8pa2ala2j] {
    font-size: 4rem !important;
    color: #e8c84a;
}

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

.option-btn[b-z8pa2ala2j] {
    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-z8pa2ala2j] {
    background: var(--dark-surface-elevated);
    border-color: #e8c84a;
    transform: translateY(-1px);
}

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

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

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

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

.option-kanji[b-z8pa2ala2j] {
    font-size: 2rem;
    padding: 1rem;
    color: #e8c84a;
}

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

.quiz-next-btn[b-z8pa2ala2j] {
    padding: 0.625rem 1.5rem;
    background: #e8c84a;
    border: none;
    border-radius: 0.5rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.quiz-next-btn:hover[b-z8pa2ala2j] {
    opacity: 0.85;
}

/* ── Results ─────────────────────────────────────────── */
.result-card[b-z8pa2ala2j] {
    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-z8pa2ala2j] {
    font-size: 2.5rem;
    line-height: 1;
}

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

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

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

.quiz-btn[b-z8pa2ala2j] {
    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-z8pa2ala2j] {
    background: #e8c84a;
    color: #1a1a1a;
}

.quiz-btn-primary:hover[b-z8pa2ala2j] {
    opacity: 0.85;
}

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

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

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

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

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

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

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 480px) {
    .kq-mode-tiles[b-z8pa2ala2j] {
        grid-template-columns: 1fr;
    }

    .options-grid[b-z8pa2ala2j] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Alphabet/KanjiTable.razor.rz.scp.css */
.kanji-page[b-mmays7kpf0] {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

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

.kanji-quiz-btn[b-mmays7kpf0] {
    margin-left: auto;
    padding: 0.45rem 1rem;
    background: #e8c84a;
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.kanji-quiz-btn:hover[b-mmays7kpf0] {
    opacity: 0.85;
    text-decoration: none;
    color: #1a1a1a;
}

.back-link[b-mmays7kpf0] {
    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-mmays7kpf0] {
    color: var(--dark-text);
    text-decoration: none;
}

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

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

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

/* ── Search bar ─────────────────────────────────────────── */
.kanji-search-bar[b-mmays7kpf0] {
    margin-bottom: 1.5rem;
}

.kanji-search-input[b-mmays7kpf0] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

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

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

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

.kanji-load-more[b-mmays7kpf0] {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

/* ── Grid ───────────────────────────────────────────────── */
.kanji-grid[b-mmays7kpf0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 0.5rem;
}

/* ── Kanji cell ─────────────────────────────────────────── */
.kanji-cell[b-mmays7kpf0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.6rem 0.3rem 0.5rem;
    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, transform 0.1s ease;
    min-height: 80px;
    user-select: none;
}

.kanji-cell:hover[b-mmays7kpf0] {
    border-color: var(--dark-accent);
    background: var(--dark-surface-elevated);
    transform: translateY(-1px);
}

.kanji-cell.known[b-mmays7kpf0] {
    border-color: rgba(52, 208, 88, 0.45);
    background: rgba(52, 208, 88, 0.06);
}

.kanji-cell.known:hover[b-mmays7kpf0] {
    border-color: rgba(52, 208, 88, 0.7);
}

.kanji-char[b-mmays7kpf0] {
    font-size: 2rem;
    line-height: 1;
    color: #e8c84a;
}

.kanji-meaning[b-mmays7kpf0] {
    font-size: 0.6rem;
    color: var(--dark-text-muted);
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 0.2rem;
}

.kanji-mem[b-mmays7kpf0] {
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1;
}

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

/* ── Sentinel ───────────────────────────────────────────── */
.sentinel[b-mmays7kpf0] {
    height: 1px;
}

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

    .kanji-grid[b-mmays7kpf0] {
        grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
        gap: 0.4rem;
    }

    .kanji-cell[b-mmays7kpf0] {
        min-height: 70px;
    }

    .kanji-char[b-mmays7kpf0] {
        font-size: 1.7rem;
    }
}
/* /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/ChooseAibo.razor.rz.scp.css */
/* ── Page ─────────────────────────────────────────────── */
.ca-page[b-jgpv8newuf] {
    width: 100%;
    max-width: 960px;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* ── Header ───────────────────────────────────────────── */
.ca-header[b-jgpv8newuf] {
    text-align: center;
    max-width: 520px;
}

.ca-eyebrow[b-jgpv8newuf] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-text-muted, #9898a6);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: sans-serif;
}

.ca-title[b-jgpv8newuf] {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--dark-text, #f0f0f2);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.ca-title-accent[b-jgpv8newuf] {
    background: linear-gradient(135deg, #b48aff 0%, #7c6af7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ca-subtitle[b-jgpv8newuf] {
    font-size: 0.95rem;
    color: var(--dark-text-muted, #9898a6);
    line-height: 1.6;
}

/* ── Cards grid ───────────────────────────────────────── */
.ca-cards[b-jgpv8newuf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

.ca-card-form[b-jgpv8newuf] {
    display: contents;
}

/* ── Card ─────────────────────────────────────────────── */
.ca-card[b-jgpv8newuf] {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    border: 1.5px solid var(--dark-border, #2e2e34);
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-surface, #1c1c1f);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    text-align: left;
    padding: 0;
    width: 100%;
}

.ca-card:hover[b-jgpv8newuf] {
    transform: translateY(-6px);
}

.ca-card--female:hover[b-jgpv8newuf] {
    border-color: rgba(220, 160, 255, 0.5);
    box-shadow: 0 16px 48px rgba(180, 138, 255, 0.18);
}

.ca-card--male:hover[b-jgpv8newuf] {
    border-color: rgba(100, 180, 255, 0.5);
    box-shadow: 0 16px 48px rgba(91, 141, 239, 0.18);
}

/* ── Character art area ───────────────────────────────── */
.ca-card-art[b-jgpv8newuf] {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.ca-card--female .ca-card-art[b-jgpv8newuf] {
    background: linear-gradient(160deg, #1a0a2e 0%, #2d1050 40%, #1e0840 100%);
}

.ca-card--male .ca-card-art[b-jgpv8newuf] {
    background: linear-gradient(160deg, #0a1830 0%, #0f2850 40%, #091a38 100%);
}

.ca-character-img[b-jgpv8newuf] {
    height: 90%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    transition: transform 0.22s ease;
}

.ca-card:hover .ca-character-img[b-jgpv8newuf] {
    transform: translateY(-4px) scale(1.02);
}

.ca-card-glow[b-jgpv8newuf] {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.35;
    transition: opacity 0.22s ease;
}

.ca-card:hover .ca-card-glow[b-jgpv8newuf] {
    opacity: 0.55;
}

.ca-card-glow--female[b-jgpv8newuf] {
    background: radial-gradient(circle, #b48aff 0%, transparent 70%);
}

.ca-card-glow--male[b-jgpv8newuf] {
    background: radial-gradient(circle, #5b8def 0%, transparent 70%);
}

/* ── Card body ────────────────────────────────────────── */
.ca-card-body[b-jgpv8newuf] {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.ca-card-name-row[b-jgpv8newuf] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.ca-card-name[b-jgpv8newuf] {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--dark-text, #f0f0f2);
}

.ca-card--female .ca-card-name[b-jgpv8newuf] { color: #c8a8ff; }
.ca-card--male   .ca-card-name[b-jgpv8newuf] { color: #7eb3ff; }

.ca-card-kanji[b-jgpv8newuf] {
    font-size: 1.5rem;
    color: var(--dark-text-muted, #9898a6);
    font-family: sans-serif;
    opacity: 0.5;
}

/* ── Tags ─────────────────────────────────────────────── */
.ca-card-tags[b-jgpv8newuf] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.ca-tag[b-jgpv8newuf] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    border: 1px solid;
    letter-spacing: 0.03em;
}

.ca-card--female .ca-tag[b-jgpv8newuf] {
    color: #b48aff;
    border-color: rgba(180, 138, 255, 0.3);
    background: rgba(180, 138, 255, 0.08);
}

.ca-card--male .ca-tag[b-jgpv8newuf] {
    color: #7eb3ff;
    border-color: rgba(91, 141, 239, 0.3);
    background: rgba(91, 141, 239, 0.08);
}

/* ── Description ──────────────────────────────────────── */
.ca-card-desc[b-jgpv8newuf] {
    font-size: 0.85rem;
    color: var(--dark-text-muted, #9898a6);
    line-height: 1.6;
    flex: 1;
}

/* ── CTA ──────────────────────────────────────────────── */
.ca-card-cta[b-jgpv8newuf] {
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    transition: letter-spacing 0.18s ease;
}

.ca-card--female .ca-card-cta[b-jgpv8newuf] { color: #b48aff; }
.ca-card--male   .ca-card-cta[b-jgpv8newuf] { color: #7eb3ff; }

.ca-card:hover .ca-card-cta[b-jgpv8newuf] {
    letter-spacing: 0.02em;
}

/* ── Footer note ──────────────────────────────────────── */
.ca-footer-note[b-jgpv8newuf] {
    font-size: 0.78rem;
    color: var(--dark-text-muted, #9898a6);
    opacity: 0.6;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .ca-page[b-jgpv8newuf] {
        padding: 2rem 1rem 3rem;
        gap: 2rem;
    }

    .ca-cards[b-jgpv8newuf] {
        grid-template-columns: 1fr;
    }

    .ca-card-art[b-jgpv8newuf] {
        height: 240px;
    }
}
/* /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);
}

.coll-badge[b-nn0liwn5ch] {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
}

.coll-badge-global[b-nn0liwn5ch] {
    background: rgba(88, 101, 242, 0.15);
    color: #8a9cf0;
    border: 1px solid rgba(88, 101, 242, 0.25);
}

.coll-badge-public[b-nn0liwn5ch] {
    background: rgba(87, 171, 110, 0.12);
    color: #57ab6e;
    border: 1px solid rgba(87, 171, 110, 0.25);
}

/* ── 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 */
/* ── Page-scoped design tokens ───────────────────────────── */
.coll-page[b-97lhl2stip] {
    --coll-accent:       #a855f7;
    --coll-accent-hover: #9333ea;
    --coll-accent-dim:   rgba(168, 85, 247, 0.12);
    --coll-accent-glow:  rgba(168, 85, 247, 0.28);
    --coll-card-bg:      #16161e;
    --coll-card-border:  rgba(255, 255, 255, 0.06);

    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.coll-header-top[b-97lhl2stip] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.coll-header-text[b-97lhl2stip] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.coll-title[b-97lhl2stip] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

.coll-subtitle[b-97lhl2stip] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--dark-text-muted);
}

.coll-new-btn[b-97lhl2stip] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.125rem;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 0.625rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
    transition: opacity 0.15s, box-shadow 0.2s;
}

.coll-new-btn:hover[b-97lhl2stip] {
    opacity: 0.9;
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.45);
}

.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;
}

/* ── Search ──────────────────────────────────────────────── */
.coll-search-wrap[b-97lhl2stip] {
    position: relative;
}

.coll-search-icon[b-97lhl2stip] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    display: 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='%239898a6'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.coll-search-input[b-97lhl2stip] {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

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

.coll-search-input:focus[b-97lhl2stip] {
    border-color: var(--coll-accent);
    box-shadow: 0 0 0 3px var(--coll-accent-dim);
}

/* ── Filter chips ────────────────────────────────────────── */
.coll-filters[b-97lhl2stip] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.coll-filter-chip[b-97lhl2stip] {
    padding: 0.3rem 0.875rem;
    border-radius: 99px;
    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;
}

.coll-filter-chip:hover[b-97lhl2stip] {
    border-color: var(--dark-text-muted);
    color: var(--dark-text);
}

.coll-filter-chip.active[b-97lhl2stip] {
    background: var(--coll-accent-dim);
    border-color: var(--coll-accent);
    color: var(--coll-accent);
}

/* ── Create panel ────────────────────────────────────────── */
.coll-create-panel[b-97lhl2stip] {
    background: var(--dark-surface);
    border: 1px solid var(--coll-accent);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.12), 0 8px 30px rgba(168, 85, 247, 0.1);
}

.coll-create-top[b-97lhl2stip] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coll-create-preview[b-97lhl2stip] {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(168,85,247,.04));
    border: 1px solid rgba(168,85,247,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    user-select: none;
    transition: background 0.2s;
}

/* ── Icon picker ─────────────────────────────────────────── */
.coll-icon-picker[b-97lhl2stip] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.coll-icon-btn[b-97lhl2stip] {
    width: 38px;
    height: 38px;
    border-radius: 0.5rem;
    border: 1px solid var(--dark-border);
    background: var(--dark-bg);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, border-color 0.12s, transform 0.12s;
    user-select: none;
}

.coll-icon-btn:hover[b-97lhl2stip] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-text-muted);
    transform: scale(1.1);
}

.coll-icon-btn.selected[b-97lhl2stip] {
    border-color: var(--coll-accent);
    background: var(--coll-accent-dim);
    transform: scale(1.1);
}

.coll-create-input[b-97lhl2stip] {
    flex: 1;
    padding: 0.625rem 0.875rem;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 0.625rem;
    color: var(--dark-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
    min-width: 0;
}

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

.coll-create-actions[b-97lhl2stip] {
    display: flex;
    gap: 0.5rem;
}

.coll-create-submit[b-97lhl2stip] {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 80px;
    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.875rem;
    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;
}

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

.coll-section-header[b-97lhl2stip] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.coll-section-title[b-97lhl2stip] {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-text-muted);
}

.coll-section-count[b-97lhl2stip] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 99px;
    background: var(--dark-surface-elevated);
    color: var(--dark-text-muted);
}

/* ── Card grid ───────────────────────────────────────────── */
.coll-grid[b-97lhl2stip] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* ── Cards ───────────────────────────────────────────────── */
@keyframes cardIn-b-97lhl2stip {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.coll-card[b-97lhl2stip] {
    background: var(--coll-card-bg);
    border: 1px solid var(--coll-card-border);
    border-radius: 1rem;
    padding: 1.125rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: cardIn-b-97lhl2stip 0.28s ease both;
}

.coll-grid .coll-card:nth-child(2)[b-97lhl2stip] { animation-delay: 35ms; }
.coll-grid .coll-card:nth-child(3)[b-97lhl2stip] { animation-delay: 70ms; }
.coll-grid .coll-card:nth-child(4)[b-97lhl2stip] { animation-delay: 105ms; }
.coll-grid .coll-card:nth-child(5)[b-97lhl2stip] { animation-delay: 140ms; }
.coll-grid .coll-card:nth-child(6)[b-97lhl2stip] { animation-delay: 175ms; }
.coll-grid .coll-card:nth-child(n+7)[b-97lhl2stip] { animation-delay: 200ms; }

.coll-card:hover[b-97lhl2stip] {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.1);
}

/* card type tints */
.coll-card-mine:hover[b-97lhl2stip]   { box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px var(--coll-accent-glow); }
.coll-card-global:hover[b-97lhl2stip] { box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(88,101,242,.25); }
.coll-card-public:hover[b-97lhl2stip] { box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(87,171,110,.2); }

/* ── Emoji area ──────────────────────────────────────────── */
.coll-card-icon-area[b-97lhl2stip] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    border-radius: 0.75rem;
    transition: background 0.2s;
}

.coll-card-mine   .coll-card-icon-area[b-97lhl2stip] { background: linear-gradient(135deg, rgba(168,85,247,.1), rgba(168,85,247,.03)); }
.coll-card-global .coll-card-icon-area[b-97lhl2stip] { background: linear-gradient(135deg, rgba(88,101,242,.1),  rgba(88,101,242,.03)); }
.coll-card-public .coll-card-icon-area[b-97lhl2stip] { background: linear-gradient(135deg, rgba(87,171,110,.1),  rgba(87,171,110,.03)); }

.coll-card-emoji[b-97lhl2stip] {
    font-size: 2.25rem;
    line-height: 1;
    transition: transform 0.25s ease;
    user-select: none;
}

.coll-card:hover .coll-card-emoji[b-97lhl2stip] { transform: scale(1.12); }

/* ── Card body ───────────────────────────────────────────── */
.coll-card-body[b-97lhl2stip] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.coll-card-name[b-97lhl2stip] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.coll-card-empty-hint[b-97lhl2stip] {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--dark-text-muted);
    opacity: 0.7;
}

/* ── Card footer ─────────────────────────────────────────── */
.coll-card-foot[b-97lhl2stip] {
    display: flex;
    align-items: center;
    min-height: 26px;
}

/* ── Visibility toggle (mine cards) ─────────────────────── */
.coll-card-vis[b-97lhl2stip] {
    background: none;
    border: 1px solid var(--dark-border);
    border-radius: 0.375rem;
    cursor: pointer;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--dark-text-muted);
    opacity: 0;
    transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.coll-card:hover .coll-card-vis[b-97lhl2stip] { opacity: 1; }

.coll-card-vis.vis-private:hover[b-97lhl2stip] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
    border-color: var(--dark-text-muted);
}

.coll-card-vis.vis-public[b-97lhl2stip] {
    color: #57ab6e;
    border-color: rgba(87, 171, 110, 0.35);
}

.coll-card-vis.vis-public:hover[b-97lhl2stip] {
    background: rgba(87, 171, 110, 0.1);
    border-color: rgba(87, 171, 110, 0.6);
}

/* ── Delete button (absolute top-right) ──────────────────── */
.coll-card-del[b-97lhl2stip] {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

.coll-card:hover .coll-card-del[b-97lhl2stip] { opacity: 1; }
.coll-card-del:hover[b-97lhl2stip] { background: rgba(248, 81, 73, 0.15); }

.coll-del-icon[b-97lhl2stip] {
    display: inline-block;
    width: 13px;
    height: 13px;
    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;
}

/* ── Badges ──────────────────────────────────────────────── */
.coll-badge[b-97lhl2stip] {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
}

.coll-badge-global[b-97lhl2stip] {
    background: rgba(88, 101, 242, 0.15);
    color: #8a9cf0;
    border: 1px solid rgba(88, 101, 242, 0.25);
}

.coll-badge-public[b-97lhl2stip] {
    background: rgba(87, 171, 110, 0.12);
    color: #57ab6e;
    border: 1px solid rgba(87, 171, 110, 0.25);
}

/* ── Empty states ────────────────────────────────────────── */
.coll-empty-state[b-97lhl2stip] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 0;
    text-align: center;
}

.coll-empty-emoji[b-97lhl2stip] {
    font-size: 2.5rem;
    line-height: 1;
    filter: grayscale(0.3);
}

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

.coll-empty-sub[b-97lhl2stip] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--dark-text-muted);
    opacity: 0.6;
}

/* ── Spinner ─────────────────────────────────────────────── */
.coll-loader[b-97lhl2stip] {
    display: flex;
    justify-content: center;
    padding: 4rem 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(--coll-accent);
    border-radius: 50%;
    animation: spin-b-97lhl2stip 0.7s linear infinite;
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .coll-page[b-97lhl2stip] { padding: 0 1rem 3rem; margin: 1rem auto; }
    .coll-grid[b-97lhl2stip] { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
    .coll-title[b-97lhl2stip] { font-size: 1.4rem; }
    .coll-card-icon-area[b-97lhl2stip] { height: 64px; }
    .coll-card-emoji[b-97lhl2stip] { font-size: 1.75rem; }
}
/* /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 */
/* ── page tokens ──────────────────────────────────────── */
.fc-container[b-0ixaoh1hxs] {
    --fc-accent:      #a855f7;
    --fc-accent-dim:  rgba(168, 85, 247, 0.12);
    --fc-accent-glow: rgba(168, 85, 247, 0.25);

    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ── filter bar ───────────────────────────────────────── */
.fc-filter-bar[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fc-level-pills[b-0ixaoh1hxs] {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.fc-filter-sep[b-0ixaoh1hxs] {
    width: 1px;
    height: 20px;
    background: var(--dark-border);
    flex-shrink: 0;
}

/* ── pill buttons (level + clear) ────────────────────── */
.fc-pill[b-0ixaoh1hxs] {
    padding: 0.28rem 0.75rem;
    border-radius: 99px;
    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-pill:hover[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.fc-pill.active[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    border-color: var(--dark-text-muted);
    color: var(--dark-text);
}

.fc-pill-n5.active[b-0ixaoh1hxs] { background: rgba(45,106,79,.2);  border-color: #2d6a4f; color: #52b788; }
.fc-pill-n4.active[b-0ixaoh1hxs] { background: rgba(29,106,106,.2); border-color: #1d6a6a; color: #48cae4; }
.fc-pill-n3.active[b-0ixaoh1hxs] { background: rgba(30,77,140,.2);  border-color: #1e4d8c; color: #74b3f7; }
.fc-pill-n2.active[b-0ixaoh1hxs] { background: rgba(122,79,26,.2);  border-color: #7a4f1a; color: #f4a261; }
.fc-pill-n1.active[b-0ixaoh1hxs] { background: rgba(122,26,26,.2);  border-color: #7a1a1a; color: #f85149; }

.fc-pill-clear[b-0ixaoh1hxs] {
    border-color: rgba(168,85,247,.4);
    color: var(--fc-accent);
}

.fc-pill-clear:hover[b-0ixaoh1hxs] {
    background: var(--fc-accent-dim);
    border-color: var(--fc-accent);
    color: var(--fc-accent);
}

/* ── collections trigger button ──────────────────────── */
.fc-coll-wrap[b-0ixaoh1hxs] {
    position: relative;
}

.fc-coll-trigger[b-0ixaoh1hxs] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.75rem;
    border-radius: 99px;
    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-trigger:hover[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
}

.fc-coll-trigger.has-selection[b-0ixaoh1hxs] {
    background: var(--fc-accent-dim);
    border-color: var(--fc-accent);
    color: var(--fc-accent);
}

.fc-coll-icon[b-0ixaoh1hxs] {
    display: inline-block;
    width: 13px;
    height: 13px;
    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='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.5V5H0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
    flex-shrink: 0;
}

.fc-coll-chevron[b-0ixaoh1hxs] {
    display: inline-block;
    width: 10px;
    height: 10px;
    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='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.fc-coll-chevron.open[b-0ixaoh1hxs] { transform: rotate(180deg); }

/* ── popover overlay (click outside to close) ─────────── */
.fc-popover-overlay[b-0ixaoh1hxs] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

/* ── popover panel ────────────────────────────────────── */
.fc-popover[b-0ixaoh1hxs] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 101;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    padding: 1rem;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.fc-popover-search[b-0ixaoh1hxs] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    color: var(--dark-text);
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.fc-popover-search:focus[b-0ixaoh1hxs] { border-color: var(--fc-accent); }
.fc-popover-search[b-0ixaoh1hxs]::placeholder { color: var(--dark-text-muted); }

.fc-popover-loading[b-0ixaoh1hxs] {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.fc-pop-section[b-0ixaoh1hxs] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fc-pop-label[b-0ixaoh1hxs] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-text-muted);
}

.fc-pop-grid[b-0ixaoh1hxs] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.fc-pop-card[b-0ixaoh1hxs] {
    background: var(--dark-surface-elevated);
    border: 1px solid var(--dark-border);
    border-radius: 0.625rem;
    padding: 0.5rem 0.375rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}

.fc-pop-card:hover[b-0ixaoh1hxs] { border-color: var(--dark-text-muted); }

.fc-pop-card.selected[b-0ixaoh1hxs] {
    border-color: var(--fc-accent);
    background: var(--fc-accent-dim);
}

.fc-pop-emoji[b-0ixaoh1hxs] {
    font-size: 1.4rem;
    line-height: 1;
    user-select: none;
}

.fc-pop-name[b-0ixaoh1hxs] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fc-pop-count[b-0ixaoh1hxs] {
    font-size: 0.65rem;
    color: var(--dark-text-muted);
}

.fc-pop-empty[b-0ixaoh1hxs] {
    text-align: center;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    padding: 1rem 0;
    margin: 0;
}

/* ── selected chips strip ─────────────────────────────── */
.fc-chips-strip[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.fc-chip[b-0ixaoh1hxs] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.25rem 0.2rem 0.5rem;
    background: var(--fc-accent-dim);
    border: 1px solid rgba(168,85,247,.3);
    border-radius: 99px;
    font-size: 0.78rem;
    color: var(--dark-text);
}

.fc-chip-emoji[b-0ixaoh1hxs] {
    font-size: 0.9rem;
    line-height: 1;
    user-select: none;
}

.fc-chip-name[b-0ixaoh1hxs] {
    font-weight: 500;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-chip-remove[b-0ixaoh1hxs] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-text-muted);
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.2rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.fc-chip-remove:hover[b-0ixaoh1hxs] {
    color: #f85149;
    background: rgba(248,81,73,.12);
}

/* ── card area wrapper ────────────────────────────────── */
.fc-card-area[b-0ixaoh1hxs] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.fc-card-loading[b-0ixaoh1hxs] { gap: 0; }

/* ── empty state ──────────────────────────────────────── */
.fc-empty-state[b-0ixaoh1hxs] {
    gap: 0.5rem;
    text-align: center;
}

.fc-empty-emoji[b-0ixaoh1hxs] {
    font-size: 2.5rem;
    line-height: 1;
}

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

.fc-empty-sub[b-0ixaoh1hxs] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--dark-text-muted);
    opacity: 0.6;
}

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

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

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

.fc-progress-fill[b-0ixaoh1hxs] {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    border-radius: 2px;
    transition: width 0.35s ease;
    min-width: 4px;
}

/* ── flip card ────────────────────────────────────────── */
.card-scene[b-0ixaoh1hxs] {
    width: 100%;
    max-width: 640px;
    height: 400px;
    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.flipped[b-0ixaoh1hxs] { transform: rotateY(180deg); }

.card-scene:hover .card:not(.flipped)[b-0ixaoh1hxs] {
    box-shadow: 0 0 0 1px rgba(168,85,247,.3);
}

.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: 1.25rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 2rem;
    box-sizing: border-box;
    user-select: none;
    transition: border-color 0.2s;
}

.card-scene:hover .card-face[b-0ixaoh1hxs] { border-color: rgba(168,85,247,.35); }

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

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

/* ── level badge ──────────────────────────────────────── */
.card-badge[b-0ixaoh1hxs] {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    font-size: 0.68rem;
    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,.25);  color: #52b788; }
.card-badge.level-n4[b-0ixaoh1hxs] { background: rgba(29,106,106,.25); color: #48cae4; }
.card-badge.level-n3[b-0ixaoh1hxs] { background: rgba(30,77,140,.25);  color: #74b3f7; }
.card-badge.level-n2[b-0ixaoh1hxs] { background: rgba(122,79,26,.25);  color: #f4a261; }
.card-badge.level-n1[b-0ixaoh1hxs] { background: rgba(122,26,26,.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: 3.5rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.1;
}

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

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

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

.card-hint[b-0ixaoh1hxs] {
    position: absolute;
    bottom: 0.875rem;
    font-size: 0.72rem;
    color: var(--dark-text-muted);
    letter-spacing: 0.04em;
    animation: hint-pulse-b-0ixaoh1hxs 2.5s ease-in-out infinite;
}

@keyframes hint-pulse-b-0ixaoh1hxs {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.75; }
}

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

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

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

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

.fc-nav-btn-next[b-0ixaoh1hxs] {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(168,85,247,.35);
}

.fc-nav-btn-next:hover:not(:disabled)[b-0ixaoh1hxs] {
    opacity: 0.9;
    box-shadow: 0 6px 22px rgba(168,85,247,.5);
    border-color: transparent;
}

.fc-nav-icon[b-0ixaoh1hxs] {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.fc-nav-prev[b-0ixaoh1hxs] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f0f0f2'%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");
}

.fc-nav-next[b-0ixaoh1hxs] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%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");
}

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

/* ── spinner ──────────────────────────────────────────── */
.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(--fc-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,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-0ixaoh1hxs 0.7s linear infinite;
}

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

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 480px) {
    .fc-popover[b-0ixaoh1hxs] {
        width: calc(100vw - 2rem);
        left: 50%;
        transform: translateX(-50%);
    }

    .fc-pop-grid[b-0ixaoh1hxs] { grid-template-columns: repeat(2, 1fr); }
    .card-kana[b-0ixaoh1hxs] { font-size: 2.5rem; }
    .card-scene[b-0ixaoh1hxs] { height: 320px; }
}
/* /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: #1a1a1f;
    position: relative;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-avatar-img[b-3fbauoq1jg] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 145%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
}

.profile-avatar-link:hover .profile-avatar-sm[b-3fbauoq1jg] {
    transform: scale(1.12);
    border-color: rgba(180, 138, 255, 0.7);
    box-shadow: 0 0 16px rgba(180, 138, 255, 0.35);
}

.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);
}

/* ── Skeleton ─────────────────────────────────────────── */
@keyframes sk-shimmer-b-3fbauoq1jg {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.sk[b-3fbauoq1jg] {
    background: linear-gradient(90deg, #26262c 25%, #32323a 50%, #26262c 75%);
    background-size: 1200px 100%;
    animation: sk-shimmer-b-3fbauoq1jg 1.6s ease infinite;
    border-radius: 4px;
    display: block;
}

.sk-circle[b-3fbauoq1jg] { border-radius: 50%; }

/* Hero */
.sk-hero-name[b-3fbauoq1jg]  { width: 100px; height: 14px; }
.sk-hero-num[b-3fbauoq1jg]   { width: 28px;  height: 14px; margin-bottom: 3px; }
.sk-hero-label[b-3fbauoq1jg] { width: 22px;  height: 10px; }
.sk-xp-ring[b-3fbauoq1jg]    { width: 42px;  height: 42px; flex-shrink: 0; }
.sk-today-count[b-3fbauoq1jg] { width: 36px; height: 28px; }

.sk-group[b-3fbauoq1jg] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Stats cards */
.sk-stats-total[b-3fbauoq1jg] { width: 90px; height: 12px; }
.sk-bar[b-3fbauoq1jg]         { width: 100%; height: 100%; }
.sk-stat-label[b-3fbauoq1jg]  { width: 2.5rem; height: 12px; }
.sk-stat-count[b-3fbauoq1jg]  { width: 3.5rem; height: 12px; }
.sk-stat-pct[b-3fbauoq1jg]    { width: 2.5rem; height: 12px; }

/* ── 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/PrivacyPolicy.razor.rz.scp.css */
.legal-container[b-0xuv8yzuyh] {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.legal-document[b-0xuv8yzuyh] {
    color: var(--dark-text);
    line-height: 1.75;
}

.legal-header[b-0xuv8yzuyh] {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1e1e2a;
}

.legal-title[b-0xuv8yzuyh] {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark-text);
}

.legal-updated[b-0xuv8yzuyh] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.legal-document h2[b-0xuv8yzuyh] {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-text);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #1e1e2a;
}

.legal-document h3[b-0xuv8yzuyh] {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
}

.legal-document p[b-0xuv8yzuyh] {
    margin: 0 0 0.85rem;
    color: var(--dark-text-muted, #a0a0b8);
    font-size: 0.925rem;
}

.legal-document ul[b-0xuv8yzuyh] {
    margin: 0 0 0.85rem;
    padding-left: 1.5rem;
    color: var(--dark-text-muted, #a0a0b8);
    font-size: 0.925rem;
}

.legal-document li[b-0xuv8yzuyh] {
    margin-bottom: 0.35rem;
}

.legal-document a[b-0xuv8yzuyh] {
    color: var(--dark-accent, #7c6af7);
    text-decoration: none;
}

.legal-document a:hover[b-0xuv8yzuyh] {
    text-decoration: underline;
}

.legal-highlight[b-0xuv8yzuyh] {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: #16102a;
    border-left: 3px solid var(--dark-accent, #7c6af7);
    border-radius: 0 0.5rem 0.5rem 0;
}

.legal-highlight h3[b-0xuv8yzuyh] {
    margin-top: 0;
    color: var(--dark-text);
}

.legal-placeholder[b-0xuv8yzuyh] {
    padding: 2rem;
    background: #16102a;
    border-radius: 0.75rem;
    text-align: center;
}
/* /Components/Pages/Profile.razor.rz.scp.css */
/* ── Container ───────────────────────────────────────── */
.pf-container[b-afa32mwoe1] {
    max-width: 620px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 0.5rem;
}

.pf-loader[b-afa32mwoe1] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* ── Hero ────────────────────────────────────────────── */
.pf-hero[b-afa32mwoe1] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.875rem;
    padding: 1.5rem;
}

.pf-avatar[b-afa32mwoe1] {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    border: 2px solid rgba(180, 138, 255, 0.4);
    overflow: visible;
    flex-shrink: 0;
    position: relative;
    background: #1a1a1f;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pf-avatar:hover[b-afa32mwoe1] {
    transform: scale(1.08);
    border-color: rgba(180, 138, 255, 0.75);
    box-shadow: 0 0 24px rgba(180, 138, 255, 0.4);
}

.pf-avatar-img[b-afa32mwoe1] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 145%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
}

.pf-hero-info[b-afa32mwoe1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.pf-name[b-afa32mwoe1] {
    display: block;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s;
}

.pf-joined[b-afa32mwoe1] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

/* ── Inline name editing ─────────────────────────────── */
.pf-name-btn[b-afa32mwoe1] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    background: none;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
}

.pf-name-hint[b-afa32mwoe1] {
    font-size: 0.7rem;
    color: #b48aff;
    opacity: 0;
    transition: opacity 0.15s;
    line-height: 1;
}

.pf-name-btn--hover[b-afa32mwoe1] {
    background: rgba(180, 138, 255, 0.08);
}

.pf-name-btn--hover .pf-name[b-afa32mwoe1] {
    color: #b48aff;
}

.pf-name-btn--hover .pf-name-hint[b-afa32mwoe1] {
    opacity: 1;
}

.pf-name-edit[b-afa32mwoe1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pf-name-input[b-afa32mwoe1] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    background: var(--dark-surface-elevated);
    border: 1.5px solid rgba(180, 138, 255, 0.5);
    border-radius: 0.375rem;
    padding: 0.25rem 0.625rem;
    outline: none;
    min-width: 0;
    flex: 1;
    transition: border-color 0.15s;
}

.pf-name-input:focus[b-afa32mwoe1] {
    border-color: #b48aff;
}

.pf-name-save[b-afa32mwoe1] {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 0.375rem;
    border: none;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 0.15s;
}

.pf-name-save:disabled[b-afa32mwoe1] {
    opacity: 0.6;
    cursor: default;
}

.pf-name-cancel[b-afa32mwoe1] {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid var(--dark-border);
    background: none;
    color: var(--dark-text-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.pf-name-cancel:hover[b-afa32mwoe1] {
    border-color: var(--dark-text-muted);
    color: var(--dark-text);
}

.pf-name-error[b-afa32mwoe1] {
    font-size: 0.75rem;
    color: #f87171;
    margin-top: 0.25rem;
    display: block;
}

.pf-edit-btn[b-afa32mwoe1] {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface-elevated);
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.pf-edit-btn:hover[b-afa32mwoe1] {
    border-color: var(--dark-accent);
    color: var(--dark-text);
    text-decoration: none;
}

/* ── Stats grid ──────────────────────────────────────── */
.pf-stats-grid[b-afa32mwoe1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pf-stat-card[b-afa32mwoe1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.25rem 0.75rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    text-align: center;
}

.pf-stat-card--streak[b-afa32mwoe1] {
    border-color: rgba(180, 138, 255, 0.2);
}

.pf-stat-value[b-afa32mwoe1] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
}

.pf-stat-card--streak .pf-stat-value[b-afa32mwoe1] {
    color: #b48aff;
}

.pf-stat-label[b-afa32mwoe1] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    font-weight: 500;
}

/* ── Alphabet progress section ───────────────────────── */
.pf-section[b-afa32mwoe1] {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.pf-section-label[b-afa32mwoe1] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-text-muted);
    padding: 0.875rem 1.25rem 0.375rem;
}

.pf-progress-row[b-afa32mwoe1] {
    display: grid;
    grid-template-columns: 140px 1fr 52px;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
}

.pf-progress-row + .pf-progress-row[b-afa32mwoe1] {
    border-top: 1px solid var(--dark-border);
}

.pf-progress-name[b-afa32mwoe1] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text);
    display: flex;
    align-items: baseline;
    gap: 0.4em;
}

.pf-progress-jp[b-afa32mwoe1] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    font-weight: 400;
}

.pf-progress-track[b-afa32mwoe1] {
    height: 6px;
    background: var(--dark-border);
    border-radius: 3px;
    overflow: hidden;
}

.pf-progress-fill[b-afa32mwoe1] {
    height: 100%;
    background: var(--dark-accent);
    border-radius: 3px;
    transition: width 0.5s ease;
    min-width: 0;
}

.pf-progress-count[b-afa32mwoe1] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    text-align: right;
    white-space: nowrap;
}

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

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

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

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

/* ── Not found ───────────────────────────────────────── */
.pf-not-found[b-afa32mwoe1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 4rem 0;
    color: var(--dark-text-muted);
    font-size: 0.95rem;
}

.pf-not-found-icon[b-afa32mwoe1] {
    font-size: 2.5rem;
    line-height: 1;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 480px) {
    .pf-hero[b-afa32mwoe1] {
        flex-wrap: wrap;
    }

    .pf-stats-grid[b-afa32mwoe1] {
        grid-template-columns: repeat(3, 1fr);
    }

    .pf-progress-row[b-afa32mwoe1] {
        grid-template-columns: 110px 1fr 48px;
        gap: 0.5rem;
    }
}
/* /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 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; }

.tile-review[b-6dq6u0e1bs] {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #0d2e1e 0%, #1a3d28 100%);
    border-color: #1a3d26;
}
.tile-review:hover[b-6dq6u0e1bs] { border-color: #2a6040; }
.tile-review .tile-level[b-6dq6u0e1bs] { color: #52b788; font-size: 1.1rem; }
.tile-review .tile-label[b-6dq6u0e1bs],
.tile-review .tile-desc[b-6dq6u0e1bs] { font-size: 0.85rem; }

/* ── 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/Pages/Settings.razor.rz.scp.css */
/* ── Container ───────────────────────────────────────── */
.settings-container[b-3cutkaqmk0] {
    max-width: 580px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 0.5rem;
}

/* ── Header ──────────────────────────────────────────── */
.settings-header[b-3cutkaqmk0] {
    padding: 0 0.25rem;
}

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

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

/* ── Section card ────────────────────────────────────── */
.settings-section[b-3cutkaqmk0] {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-section-label[b-3cutkaqmk0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-text-muted);
    padding: 0.875rem 1.25rem 0.375rem;
}

.settings-divider[b-3cutkaqmk0] {
    height: 1px;
    background: var(--dark-border);
}

/* ── Row ─────────────────────────────────────────────── */
.settings-row[b-3cutkaqmk0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
}

.settings-row-info[b-3cutkaqmk0] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.settings-row-label[b-3cutkaqmk0] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
}

.settings-row-hint[b-3cutkaqmk0] {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}

/* ── Badge ───────────────────────────────────────────── */
.settings-badge[b-3cutkaqmk0] {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
    border: 1px solid var(--dark-border);
    color: var(--dark-text-muted);
    white-space: nowrap;
}

.settings-badge--connected[b-3cutkaqmk0] {
    border-color: rgba(82, 183, 136, 0.35);
    color: #52b788;
    background: rgba(45, 106, 79, 0.12);
}

/* ── Action button ───────────────────────────────────── */
.settings-action-btn[b-3cutkaqmk0] {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface-elevated);
    color: var(--dark-text-muted);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}

.settings-action-btn:hover[b-3cutkaqmk0] {
    border-color: var(--dark-accent);
    color: var(--dark-text);
    text-decoration: none;
}

.settings-action-btn--danger:hover[b-3cutkaqmk0] {
    border-color: #f85149;
    color: #f85149;
}

/* ── Password form (expandable) ──────────────────────── */
.settings-password-form[b-3cutkaqmk0] {
    padding: 1.125rem 1.25rem 1.25rem;
    background: var(--dark-surface-elevated);
    border-top: 1px solid var(--dark-border);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.settings-alert[b-3cutkaqmk0] {
    font-size: 0.85rem;
    color: #f85149;
    background: rgba(122, 26, 26, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.25);
    border-radius: 0.5rem;
    padding: 0.5rem 0.875rem;
}

.settings-password-form form[b-3cutkaqmk0] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.settings-field[b-3cutkaqmk0] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

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

.settings-input[b-3cutkaqmk0] {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    color: var(--dark-text);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
    max-width: 320px;
}

.settings-input:focus[b-3cutkaqmk0] {
    border-color: var(--dark-accent);
}

.settings-submit-btn[b-3cutkaqmk0] {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    background: var(--dark-accent);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.settings-submit-btn:hover[b-3cutkaqmk0] {
    background: var(--dark-accent-hover);
}

/* ── Aibo preview ────────────────────────────────────── */
.settings-aibo-preview[b-3cutkaqmk0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-aibo-circle[b-3cutkaqmk0] {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 138, 255, 0.35);
    background: #1a1a1f;
    position: relative;
    overflow: visible;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.settings-aibo-circle:hover[b-3cutkaqmk0] {
    transform: scale(1.1);
    border-color: rgba(180, 138, 255, 0.7);
    box-shadow: 0 0 14px rgba(180, 138, 255, 0.35);
}

.settings-aibo-img[b-3cutkaqmk0] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 145%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
}
/* /Components/Pages/TermsOfUse.razor.rz.scp.css */
.legal-container[b-lmlaxx6gt4] {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.legal-document[b-lmlaxx6gt4] {
    color: var(--dark-text);
    line-height: 1.75;
}

.legal-header[b-lmlaxx6gt4] {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1e1e2a;
}

.legal-title[b-lmlaxx6gt4] {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark-text);
}

.legal-updated[b-lmlaxx6gt4] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.legal-document p[b-lmlaxx6gt4] {
    margin: 0 0 0.85rem;
    color: var(--dark-text-muted, #a0a0b8);
    font-size: 0.925rem;
}

.legal-document a[b-lmlaxx6gt4] {
    color: var(--dark-accent, #7c6af7);
    text-decoration: none;
}

.legal-document a:hover[b-lmlaxx6gt4] {
    text-decoration: underline;
}

.legal-placeholder[b-lmlaxx6gt4] {
    padding: 2rem;
    background: #16102a;
    border-radius: 0.75rem;
    text-align: center;
}
/* /Components/Shared/QuizRewardCard.razor.rz.scp.css */
/* ── card wrapper ────────────────────────────────────── */
.qrc-card[b-4ivvc3whst] {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 1rem;
    /* top padding reduced — the aibo-row already handles the extra space */
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* allow the avatar to break out above the card */
    overflow: visible;
}

/* ── aibo + speech bubble row ────────────────────────── */
.qrc-aibo-row[b-4ivvc3whst] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    /* extra top padding so the overflowing avatar doesn't get clipped */
    padding-top: 1.75rem;
}

/* ── avatar circle ───────────────────────────────────── */
.qrc-aibo-wrap[b-4ivvc3whst] {
    flex-shrink: 0;
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--dark-border);
    /* overflow VISIBLE so the character can break out on top */
    overflow: visible;
    cursor: default;
}

/* gender-tinted backgrounds */
.qrc-aibo-wrap--female[b-4ivvc3whst] {
    background: linear-gradient(160deg, #1a0a2e 0%, #2d1050 100%);
    border-color: rgba(180, 138, 255, 0.4);
}

.qrc-aibo-wrap--male[b-4ivvc3whst] {
    background: linear-gradient(160deg, #0a1830 0%, #0f2850 100%);
    border-color: rgba(91, 141, 239, 0.4);
}

/* glow blob behind the character */
.qrc-aibo-glow[b-4ivvc3whst] {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 70%;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.5;
    transition: opacity 0.22s ease;
    pointer-events: none;
    z-index: 0;
}

.qrc-aibo-wrap--female .qrc-aibo-glow[b-4ivvc3whst] {
    background: radial-gradient(circle, #b48aff 0%, transparent 70%);
}

.qrc-aibo-wrap--male .qrc-aibo-glow[b-4ivvc3whst] {
    background: radial-gradient(circle, #5b8def 0%, transparent 70%);
}

.qrc-aibo-wrap:hover .qrc-aibo-glow[b-4ivvc3whst] {
    opacity: 0.8;
}

/* character image — taller than the circle so it breaks out on top */
.qrc-aibo-img[b-4ivvc3whst] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 155%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    z-index: 1;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
    transition: transform 0.22s ease;
    pointer-events: none;
}

.qrc-aibo-wrap:hover .qrc-aibo-img[b-4ivvc3whst] {
    transform: translateX(-50%) translateY(-5px) scale(1.07);
}

.qrc-speech-bubble[b-4ivvc3whst] {
    flex: 1;
    background: var(--dark-surface-elevated);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    border-bottom-left-radius: 0.25rem;
    padding: 0.875rem 1rem;
    position: relative;
}

.qrc-speech-bubble[b-4ivvc3whst]::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 1.2rem;
    border: 5px solid transparent;
    border-right-color: var(--dark-border);
}

.qrc-speech-bubble[b-4ivvc3whst]::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 1.25rem;
    border: 4px solid transparent;
    border-right-color: var(--dark-surface-elevated);
}

.qrc-message[b-4ivvc3whst] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-text);
    line-height: 1.5;
}

/* ── divider ─────────────────────────────────────────── */
.qrc-divider[b-4ivvc3whst] {
    height: 1px;
    background: var(--dark-border);
    margin: 0 -0.25rem;
}

/* ── stats row ───────────────────────────────────────── */
.qrc-stats[b-4ivvc3whst] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.qrc-score-block[b-4ivvc3whst] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.qrc-score[b-4ivvc3whst] {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
}

.qrc-score-sep[b-4ivvc3whst] {
    font-weight: 300;
    color: var(--dark-text-muted);
    margin: 0 0.1em;
}

.qrc-score-label[b-4ivvc3whst] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-text-muted);
}

/* ── xp badge ────────────────────────────────────────── */
.qrc-xp-badge[b-4ivvc3whst] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(82, 183, 136, 0.12);
    border: 1px solid rgba(82, 183, 136, 0.35);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 0 12px rgba(82, 183, 136, 0.15);
}

.qrc-xp-icon[b-4ivvc3whst] {
    color: #52b788;
    font-size: 0.8rem;
}

.qrc-xp-value[b-4ivvc3whst] {
    font-size: 1rem;
    font-weight: 700;
    color: #52b788;
    letter-spacing: -0.01em;
}

/* ── level-up banner ─────────────────────────────────── */
.qrc-levelup-banner[b-4ivvc3whst] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(180, 138, 255, 0.12) 0%, rgba(99, 66, 200, 0.12) 100%);
    border: 1px solid rgba(180, 138, 255, 0.35);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    animation: levelup-glow-b-4ivvc3whst 2s ease-in-out infinite alternate;
}

@keyframes levelup-glow-b-4ivvc3whst {
    from { box-shadow: 0 0 8px rgba(180, 138, 255, 0.15); }
    to   { box-shadow: 0 0 20px rgba(180, 138, 255, 0.35); }
}

.qrc-levelup-label[b-4ivvc3whst] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #b48aff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.qrc-levelup-arrow[b-4ivvc3whst] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
}
/* /Components/Shared/SiteFooter.razor.rz.scp.css */
.site-footer[b-atu8ps1ncj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    font-size: 0.8rem;
    color: #6b6b8a;
    border-top: 1px solid #1e1e2a;
}

.site-footer-links[b-atu8ps1ncj] {
    display: flex;
    gap: 1.25rem;
}

.site-footer-links a[b-atu8ps1ncj] {
    color: #6b6b8a;
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer-links a:hover[b-atu8ps1ncj] {
    color: #a0a0c0;
    text-decoration: underline;
}

@media (max-width: 640.98px) {
    .site-footer[b-atu8ps1ncj] {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1rem;
    }
}
/* /Components/Shared/UserAvatar.razor.rz.scp.css */
/* ── Wrapper (relative anchor for dropdown) ──────────── */
.ua-wrapper[b-m2ug5wucu6] {
    position: relative;
}

/* ── Trigger button ──────────────────────────────────── */
.ua-trigger[b-m2ug5wucu6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.5rem;
    transition: background 0.15s;
    user-select: none;
}

.ua-trigger:hover[b-m2ug5wucu6] {
    background: var(--dark-surface-elevated);
}

.ua-trigger:focus-visible[b-m2ug5wucu6] {
    outline: 2px solid var(--dark-accent);
    outline-offset: 2px;
}

/* ── Avatar image ────────────────────────────────────── */
.ua-avatar[b-m2ug5wucu6] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 138, 255, 0.35);
    overflow: visible;
    flex-shrink: 0;
    position: relative;
    background: #1a1a1f;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ua-trigger:hover .ua-avatar[b-m2ug5wucu6] {
    transform: scale(1.12);
    border-color: rgba(180, 138, 255, 0.7);
    box-shadow: 0 0 14px rgba(180, 138, 255, 0.35);
}

.ua-avatar-img[b-m2ug5wucu6] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 145%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
}

.ua-name[b-m2ug5wucu6] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text);
    white-space: nowrap;
}

/* ── Transparent backdrop (closes dropdown on outside click) */
.ua-backdrop[b-m2ug5wucu6] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* ── Dropdown menu ───────────────────────────────────── */
.ua-menu[b-m2ug5wucu6] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 100;
    min-width: 200px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ua-menu-header[b-m2ug5wucu6] {
    padding: 0.875rem 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ua-menu-name[b-m2ug5wucu6] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-menu-email[b-m2ug5wucu6] {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-menu-divider[b-m2ug5wucu6] {
    height: 1px;
    background: var(--dark-border);
}

/* ── Menu items ──────────────────────────────────────── */
.ua-menu-item[b-m2ug5wucu6] {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--dark-text-muted);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}

.ua-menu-item:hover[b-m2ug5wucu6] {
    background: var(--dark-surface-elevated);
    color: var(--dark-text);
    text-decoration: none;
}

.ua-menu-item--danger[b-m2ug5wucu6] {
    color: #f85149;
}

.ua-menu-item--danger:hover[b-m2ug5wucu6] {
    background: rgba(122, 26, 26, 0.15);
    color: #f85149;
}

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

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .ua-name[b-m2ug5wucu6] {
        display: none;
    }
}
