/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* --- Authenticated layout: sidebar + content --- */
.ns-layout-auth[b-bfgdyhx64p] {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}

.ns-main-content[b-bfgdyhx64p] {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.ns-main-body[b-bfgdyhx64p] {
    flex: 1 1 auto;
}

/* --- Guest layout: top bar + content --- */
.ns-layout-guest[b-bfgdyhx64p] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.ns-layout-guest main[b-bfgdyhx64p] {
    flex: 1 1 0;
    overflow-y: auto;
}

.ns-version-label[b-bfgdyhx64p] {
    flex-shrink: 0;
    text-align: right;
    padding: 6px 12px;
    font-size: 0.72rem;
    color: #4B5563;
    user-select: text;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* --- Topbar (guest only) --- */
.ns-topbar[b-oirdvgnm42] {
    background: #111827;
    border-bottom: 1px solid rgba(245, 158, 11, 0.08);
    flex-shrink: 0;
}

.ns-topbar-inner[b-oirdvgnm42] {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 52px;
}

/* Brand */
.ns-brand[b-oirdvgnm42] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #F59E0B;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.ns-brand:hover[b-oirdvgnm42] {
    color: #FBBF24;
}
.ns-brand-logo[b-oirdvgnm42] {
    width: 28px;
    height: 28px;
}

/* Center spacer */
.ns-nav-links[b-oirdvgnm42] {
    flex: 1;
}

/* Auth buttons */
.ns-auth-buttons[b-oirdvgnm42] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ns-btn-login[b-oirdvgnm42] {
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
}
.ns-btn-login:hover[b-oirdvgnm42] {
    color: #F9FAFB;
    background: rgba(255, 255, 255, 0.05);
}

.ns-btn-register[b-oirdvgnm42] {
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #0D0D0D;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}
.ns-btn-register:hover[b-oirdvgnm42] {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #0D0D0D;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-z694swqypw],
.components-reconnect-repeated-attempt-visible[b-z694swqypw],
.components-reconnect-failed-visible[b-z694swqypw],
.components-pause-visible[b-z694swqypw],
.components-resume-failed-visible[b-z694swqypw],
.components-rejoining-animation[b-z694swqypw] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-z694swqypw] {
    border: 0;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #0D0D0D;
    font-weight: 600;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-z694swqypw] {
        background: linear-gradient(135deg, #FBBF24, #F59E0B);
    }

    #components-reconnect-modal button:active[b-z694swqypw] {
        background: #D97706;
    }

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

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

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

@keyframes components-rejoining-animation-b-z694swqypw {
    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/Layout/ServerSidebar.razor.rz.scp.css */
/* ============ Discord-style Server Sidebar ============ */

.ns-sidebar[b-vhhkw6ueil] {
    width: 72px;
    min-width: 72px;
    height: 100vh;
    background: #111827;
    border-right: 1px solid #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
    overflow-y: auto;
    overflow-x: visible;
    scrollbar-width: none;
}
.ns-sidebar[b-vhhkw6ueil]::-webkit-scrollbar {
    display: none;
}

/* --- Logo --- */
.ns-sb-logo[b-vhhkw6ueil] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ns-sb-logo img[b-vhhkw6ueil] {
    width: 40px;
    height: 40px;
}

/* --- Separator --- */
.ns-sb-sep[b-vhhkw6ueil] {
    width: 32px;
    height: 2px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 1px;
    flex-shrink: 0;
}

/* --- Pill wrapper (for active/hover indicator) --- */
.ns-sb-pill-wrap[b-vhhkw6ueil] {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Pill indicator at the left edge of the sidebar */
.ns-sb-pill-wrap[b-vhhkw6ueil]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    border-radius: 0 4px 4px 0;
    background: #F9FAFB;
    transition: height 0.15s ease;
}
.ns-sb-pill-wrap:hover[b-vhhkw6ueil]::before {
    height: 20px;
}
.ns-sb-pill-wrap.active[b-vhhkw6ueil]::before {
    height: 36px;
    background: #F59E0B;
}

/* --- Icon base --- */
.ns-sb-icon[b-vhhkw6ueil] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1F2937;
    color: #9CA3AF;
    text-decoration: none;
    transition: border-radius 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
}

.ns-sb-icon:hover[b-vhhkw6ueil] {
    border-radius: 33%;
    background: #F59E0B;
    color: #0D0D0D;
}

.ns-sb-icon.active[b-vhhkw6ueil] {
    border-radius: 33%;
    background: #F59E0B;
    color: #0D0D0D;
}

/* Class icons with images */
.ns-sb-class[b-vhhkw6ueil] {
    overflow: hidden;
}
.ns-sb-class img[b-vhhkw6ueil] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initial letter placeholder */
.ns-sb-initial[b-vhhkw6ueil] {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Action icons (create, browse) — gold accent on hover */
.ns-sb-action:hover[b-vhhkw6ueil] {
    background: #F59E0B;
    color: #0D0D0D;
}
.ns-sb-action.active[b-vhhkw6ueil] {
    background: #F59E0B;
    color: #0D0D0D;
}

/* User icon */
.ns-sb-user[b-vhhkw6ueil] {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

/* --- Dot indicator (unread/pending) --- */
.ns-sb-dot[b-vhhkw6ueil] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #111827;
    z-index: 10;
    pointer-events: none;
}

/* --- Spacer --- */
.ns-sb-spacer[b-vhhkw6ueil] {
    flex: 1 1 0;
}
/* /Components/Pages/Account/AccountSettings.razor.rz.scp.css */
.ns-settings-nav[b-qbladz7x2b] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ns-settings-nav-item[b-qbladz7x2b] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 0.88rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: all 0.15s;
}

.ns-settings-nav-item:hover[b-qbladz7x2b] {
    background: #374151;
    color: #e5e7eb;
}

.ns-settings-nav-item.active[b-qbladz7x2b] {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    font-weight: 600;
}

.ns-settings-nav-danger:hover[b-qbladz7x2b] {
    color: #EF4444;
}

.ns-settings-nav-danger.active[b-qbladz7x2b] {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.ns-settings-nav-logout[b-qbladz7x2b] {
    color: #9CA3AF;
    text-align: left;
}
.ns-settings-nav-logout:hover[b-qbladz7x2b] {
    color: #F9FAFB;
    background: rgba(255, 255, 255, 0.06);
}

/* /Components/Pages/Classes/BetList.razor.rz.scp.css */
.btn-new-bet:hover[b-mluzx3pg27] {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.35) !important;
}

.form-input-dark:focus[b-mluzx3pg27] {
    border-color: #F59E0B !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

@keyframes fadeIn-b-mluzx3pg27 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-mluzx3pg27 {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Components/Pages/Classes/ClassList.razor.rz.scp.css */
.ns-class-icon[b-ijzulgc2gr] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 700;
    color: #9CA3AF;
}

.ns-class-icon img[b-ijzulgc2gr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* /Components/Pages/Classes/ClassSettings.razor.rz.scp.css */
.ns-settings-nav[b-va0icomian] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ns-settings-nav-item[b-va0icomian] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 0.88rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.ns-settings-nav-item:hover[b-va0icomian] {
    background: #374151;
    color: #e5e7eb;
}

.ns-settings-nav-item.active[b-va0icomian] {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    font-weight: 600;
}

.ns-settings-nav-danger:hover[b-va0icomian] {
    color: #EF4444;
}

.ns-settings-nav-danger.active[b-va0icomian] {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}
/* /Components/Pages/Classes/Grades.razor.rz.scp.css */
.ns-grade-table th[b-zdaayrz3po] {
    background: var(--ns-card-bg, #1F2937);
    color: var(--ns-gold);
    font-size: 0.78rem;
    font-weight: 600;
    border-color: var(--ns-border, #374151) !important;
    white-space: nowrap;
}

.ns-grade-table td[b-zdaayrz3po] {
    border-color: var(--ns-border, #374151) !important;
    vertical-align: middle;
}

.ns-grade-row[b-zdaayrz3po] {
    height: 52px;
}

.ns-grade-cell[b-zdaayrz3po] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ns-grade-input[b-zdaayrz3po] {
    background: transparent !important;
    color: inherit !important;
    font-size: 0.9rem;
    padding: 2px 2px !important;
    height: 28px;
    flex-shrink: 0;
    -moz-appearance: textfield;
}

.ns-grade-input[b-zdaayrz3po]::-webkit-outer-spin-button,
.ns-grade-input[b-zdaayrz3po]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ns-grade-input:focus[b-zdaayrz3po] {
    background: rgba(245, 158, 11, 0.1) !important;
    box-shadow: none !important;
}

.ns-coeff-row[b-zdaayrz3po] {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(55, 65, 81, 0.4);
}

.ns-coeff-input[b-zdaayrz3po] {
    background: transparent;
    border: none;
    color: var(--ns-gold);
    font-size: 0.65rem;
    text-align: center;
    width: 50px;
    padding: 0 2px;
    height: 18px;
    opacity: 0.7;
    -moz-appearance: textfield;
}

.ns-coeff-input[b-zdaayrz3po]::-webkit-outer-spin-button,
.ns-coeff-input[b-zdaayrz3po]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ns-coeff-input:focus[b-zdaayrz3po] {
    opacity: 1;
    outline: 1px solid var(--ns-gold);
    background: rgba(245, 158, 11, 0.1);
}

.ns-empty-cell[b-zdaayrz3po], .ns-placeholder-cell[b-zdaayrz3po] {
    background: repeating-linear-gradient(
        45deg, transparent, transparent 5px,
        rgba(55, 65, 81, 0.2) 5px, rgba(55, 65, 81, 0.2) 10px
    );
}

.ns-placeholder-cell[b-zdaayrz3po] {
    cursor: pointer;
    transition: background 0.15s;
}

.ns-placeholder-cell:hover[b-zdaayrz3po] {
    background: rgba(245, 158, 11, 0.12) !important;
}

.ns-grade-cell-wrapper[b-zdaayrz3po] {
    position: relative;
    padding: 0 !important;
}

.ns-cell-delete[b-zdaayrz3po] {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    border: none;
    border-radius: 0 0 0 4px;
    font-size: 0.6rem;
    line-height: 1;
    padding: 1px 3px;
    opacity: 0;
    transition: opacity 0.15s;
    cursor: pointer;
}

.ns-grade-cell-wrapper:hover .ns-cell-delete[b-zdaayrz3po] {
    opacity: 1;
}

.ns-na-cell[b-zdaayrz3po] {
    background: rgba(55, 65, 81, 0.15);
}

.ns-exam-col[b-zdaayrz3po] {
    background-color: rgba(220, 53, 69, 0.05);
}

.ns-bonus-col[b-zdaayrz3po] {
    background-color: rgba(25, 135, 84, 0.05);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ===== Landing Page ===== */
.ns-landing[b-s7s2o05hl2] {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    user-select: none;
    -webkit-user-select: none;
}

/* Hero */
.ns-landing-hero[b-s7s2o05hl2] {
    text-align: center;
    padding: 2rem 0 1.5rem;
}

.ns-landing-logo[b-s7s2o05hl2] {
    margin-bottom: 1rem;
}

.ns-landing-logo img[b-s7s2o05hl2] {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
}

.ns-landing-title[b-s7s2o05hl2] {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.1;
}

.ns-landing-tagline[b-s7s2o05hl2] {
    color: #D1D5DB;
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
}

.ns-landing-subtitle[b-s7s2o05hl2] {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

/* CTA buttons */
.ns-landing-cta[b-s7s2o05hl2] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.ns-btn-primary[b-s7s2o05hl2] {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #000;
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.ns-btn-primary:hover[b-s7s2o05hl2] {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
    color: #000;
}

.ns-btn-ghost[b-s7s2o05hl2] {
    color: #9CA3AF;
    border: 1px solid #374151;
    padding: 0.6rem 1.4rem;
    border-radius: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}

.ns-btn-ghost:hover[b-s7s2o05hl2] {
    color: #F9FAFB;
    border-color: #6B7280;
}

/* Features */
.ns-landing-features[b-s7s2o05hl2] {
    padding-top: 0.5rem;
}

.ns-feature-card[b-s7s2o05hl2] {
    background: #1F2937;
    border: 1px solid rgba(245, 158, 11, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ns-feature-card:hover[b-s7s2o05hl2] {
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.06);
}

.ns-feature-card i[b-s7s2o05hl2] {
    font-size: 1.75rem;
    color: #F59E0B;
    margin-bottom: 0.6rem;
    display: block;
}

.ns-feature-card h6[b-s7s2o05hl2] {
    color: #F3F4F6;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.ns-feature-card p[b-s7s2o05hl2] {
    color: #6B7280;
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}
/* /Components/Pages/HomeHub.razor.rz.scp.css */
/* ===== Home Hub Layout ===== */
.ns-home-container[b-q8122ycylq] {
    display: flex;
    flex-direction: column;
    height: calc(100vh);
    overflow: hidden;
    margin: -1.5rem -2rem;
}

.ns-home-nav[b-q8122ycylq] {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #374151;
    background: #111827;
    flex-shrink: 0;
}

.ns-home-layout[b-q8122ycylq] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ===== Left: DM sidebar ===== */
.ns-home-sidebar[b-q8122ycylq] {
    width: 260px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #374151;
    background: #111827;
}

.ns-home-sidebar-header[b-q8122ycylq] {
    padding: 14px 16px;
    border-bottom: 1px solid #374151;
    color: #9CA3AF;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ns-dm-list[b-q8122ycylq] {
    flex: 1;
    overflow-y: auto;
}

.ns-dm-item[b-q8122ycylq] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    text-align: left;
    color: #9CA3AF;
    cursor: pointer;
    transition: background 0.12s;
    border-radius: 4px;
    margin: 1px 8px;
    max-width: calc(100% - 16px);
}

.ns-dm-item:hover[b-q8122ycylq] {
    background: rgba(255, 255, 255, 0.04);
    color: #E5E7EB;
}

.ns-dm-item.active[b-q8122ycylq] {
    background: rgba(245, 158, 11, 0.1);
    color: #E5E7EB;
}

.ns-dm-avatar[b-q8122ycylq] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #6B7280;
    flex-shrink: 0;
    overflow: hidden;
}

.ns-dm-avatar img[b-q8122ycylq] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-dm-info[b-q8122ycylq] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ns-dm-name[b-q8122ycylq] {
    font-weight: 500;
    font-size: 0.88rem;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ns-dm-preview[b-q8122ycylq] {
    font-size: 0.75rem;
    color: #6B7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ns-dm-badge[b-q8122ycylq] {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #0D0D0D;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    flex-shrink: 0;
}

/* ===== Right: Main content area ===== */
.ns-home-main[b-q8122ycylq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #14171f;
}

/* --- DM chat header --- */
.ns-dm-header[b-q8122ycylq] {
    padding: 14px 20px;
    border-bottom: 1px solid #374151;
    display: flex;
    align-items: center;
    background: #111827;
}

/* --- DM messages --- */
.ns-dm-messages[b-q8122ycylq] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Discord-style messages (reused from Chat) */
.ns-msg[b-q8122ycylq] {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    margin-top: 12px;
}
.ns-msg:first-child[b-q8122ycylq] {
    margin-top: 0;
}
.ns-msg:hover[b-q8122ycylq] {
    background: rgba(255, 255, 255, 0.02);
}
.ns-msg-avatar[b-q8122ycylq] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #9CA3AF;
    flex-shrink: 0;
    margin-top: 2px;
}
.ns-msg-avatar-spacer[b-q8122ycylq] {
    width: 36px;
    flex-shrink: 0;
}
.ns-msg-body[b-q8122ycylq] {
    flex: 1;
    min-width: 0;
}
.ns-msg-header[b-q8122ycylq] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}
.ns-msg-name[b-q8122ycylq] {
    font-weight: 600;
    font-size: 0.88rem;
    color: #F59E0B;
}
.ns-msg-timestamp[b-q8122ycylq] {
    font-size: 0.72rem;
    color: #6B7280;
}
.ns-msg-content[b-q8122ycylq] {
    color: #E5E7EB;
    font-size: 0.92rem;
    word-wrap: break-word;
    line-height: 1.4;
}
.ns-msg-grouped[b-q8122ycylq] {
    padding: 1px 0;
    margin-top: 0;
}

/* --- DM input --- */
.ns-dm-input[b-q8122ycylq] {
    padding: 12px 16px;
    border-top: 1px solid #374151;
    display: flex;
    gap: 8px;
    background: #111827;
}
.ns-dm-input .form-control[b-q8122ycylq] {
    border-radius: 20px;
    padding: 8px 16px;
}
.ns-dm-input .btn[b-q8122ycylq] {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Friends header with tabs ===== */
.ns-friends-header[b-q8122ycylq] {
    padding: 14px 20px;
    border-bottom: 1px solid #374151;
    display: flex;
    align-items: center;
    background: #111827;
    gap: 16px;
}

.ns-friends-tabs[b-q8122ycylq] {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.ns-tab[b-q8122ycylq] {
    border: none;
    background: transparent;
    color: #6B7280;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ns-tab:hover[b-q8122ycylq] {
    background: rgba(255, 255, 255, 0.05);
    color: #E5E7EB;
}
.ns-tab.active[b-q8122ycylq] {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.ns-pending-count[b-q8122ycylq] {
    background: #EF4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ===== Friends content ===== */
.ns-friends-content[b-q8122ycylq] {
    flex: 1;
    overflow-y: auto;
}

.ns-friends-empty[b-q8122ycylq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #6B7280;
}

.ns-pending-section[b-q8122ycylq] {
    padding: 8px 0;
}

.ns-section-label[b-q8122ycylq] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    padding: 8px 20px 4px;
    margin: 0;
}

.ns-friend-row[b-q8122ycylq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    transition: background 0.12s;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
}
.ns-friend-row:hover[b-q8122ycylq] {
    background: rgba(255, 255, 255, 0.02);
}

.ns-friend-avatar[b-q8122ycylq] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: #9CA3AF;
    font-weight: 600;
    font-size: 1rem;
}
.ns-friend-avatar img[b-q8122ycylq] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ns-friend-avatar.ns-class-avatar[b-q8122ycylq] {
    border-radius: 33%;
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.ns-friend-info[b-q8122ycylq] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ns-friend-name[b-q8122ycylq] {
    font-weight: 500;
    font-size: 0.9rem;
    color: #E5E7EB;
}

.ns-friend-status[b-q8122ycylq] {
    font-size: 0.72rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ns-friend-status[b-q8122ycylq]::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6B7280;
    flex-shrink: 0;
}
.ns-friend-status.online[b-q8122ycylq] {
    color: #10B981;
}
.ns-friend-status.online[b-q8122ycylq]::before {
    background: #10B981;
}

.ns-friend-actions[b-q8122ycylq] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.ns-mono[b-q8122ycylq] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ===== Bets tab ===== */
.ns-bets-content[b-q8122ycylq] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.ns-bets-filters[b-q8122ycylq] {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    .ns-home-sidebar[b-q8122ycylq] {
        width: 100%;
        min-width: 100%;
    }
    .ns-home-main[b-q8122ycylq] {
        display: none;
    }
    .ns-home-layout.ns-dm-open .ns-home-sidebar[b-q8122ycylq] {
        display: none;
    }
    .ns-home-layout.ns-dm-open .ns-home-main[b-q8122ycylq] {
        display: flex;
        width: 100%;
    }
}
/* /Components/Shared/BetCard.razor.rz.scp.css */
/* ===== Bet Card Component ===== */
.ns-bet-card-wrap[b-m1y200v5cd] {
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ns-bet-card-wrap:hover[b-m1y200v5cd] {
    border-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

/* Badges */
.ns-bet-badges[b-m1y200v5cd] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.ns-bet-badge[b-m1y200v5cd] {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Class name */
.ns-bet-class-name[b-m1y200v5cd] {
    font-size: 0.72rem;
    color: #F59E0B;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.85;
}

/* Title */
.ns-bet-title[b-m1y200v5cd] {
    color: #F9FAFB;
    font-weight: 600;
    margin: 0 0 0.6rem 0;
    font-size: 1rem;
    line-height: 1.3;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Description */
.ns-bet-desc[b-m1y200v5cd] {
    color: #6B7280;
    font-size: 0.8rem;
    margin: 0 0 0.75rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Stats footer */
.ns-bet-footer[b-m1y200v5cd] {
    border-top: 1px solid #374151;
    padding-top: 0.75rem;
    margin-top: auto;
}

.ns-bet-footer-top[b-m1y200v5cd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ns-bet-pool[b-m1y200v5cd] {
    color: #F59E0B;
    font-weight: 700;
    font-size: 1.15rem;
}

.ns-bet-pts[b-m1y200v5cd] {
    color: #92702A;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.2rem;
}

.ns-bet-wager-count[b-m1y200v5cd] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #6B7280;
    font-size: 0.8rem;
}

.ns-bet-wager-count i[b-m1y200v5cd] {
    font-size: 0.85rem;
}

.ns-bet-my-wager[b-m1y200v5cd] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #A78BFA;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.ns-bet-my-wager strong[b-m1y200v5cd] {
    color: #C4B5FD;
}

.ns-bet-my-pick[b-m1y200v5cd] {
    color: #7C3AED;
    font-weight: 600;
}

.ns-bet-date[b-m1y200v5cd] {
    color: #4B5563;
    font-size: 0.72rem;
    margin-top: 0.35rem;
}

.ns-bet-date i[b-m1y200v5cd] {
    margin-right: 0.2rem;
}
/* /Components/Shared/ConfirmModal.razor.rz.scp.css */
.ns-confirm-backdrop[b-a1mewot44z] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-a1mewot44z 0.15s ease;
}

.ns-confirm-card[b-a1mewot44z] {
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    animation: slideUp-b-a1mewot44z 0.2s ease;
}

@keyframes fadeIn-b-a1mewot44z { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp-b-a1mewot44z { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
/* /Components/Shared/InfoHint.razor.rz.scp.css */
.info-hint[b-vq80yl1155] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #6B7280;
    cursor: help;
    font-size: 0.8em;
    outline: none;
    vertical-align: middle;
}

.info-hint:hover[b-vq80yl1155],
.info-hint:focus-visible[b-vq80yl1155] {
    color: #F59E0B;
}

.info-hint-bubble[b-vq80yl1155] {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 250px;
    background: #0B1120;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 9px 12px;
    color: #D1D5DB;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 1100;
}

.info-hint-bubble[b-vq80yl1155]::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #374151;
}

.info-hint:hover .info-hint-bubble[b-vq80yl1155],
.info-hint:focus-visible .info-hint-bubble[b-vq80yl1155] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
/* /Components/Shared/ProfileCardModal.razor.rz.scp.css */
.ns-modal-backdrop[b-bhtt5mfa4h] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-bhtt5mfa4h 0.15s ease;
}

.ns-modal-card[b-bhtt5mfa4h] {
    position: relative;
    background: var(--ns-card-bg, #1F2937);
    border: 1px solid var(--ns-border, #374151);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp-b-bhtt5mfa4h 0.2s ease;
}

@keyframes fadeIn-b-bhtt5mfa4h { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp-b-bhtt5mfa4h { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
