
@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/orbitron-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/rajdhani-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/rajdhani-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/rajdhani-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/rajdhani-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://wenoso.com/assets/templates/wenoso/fonts/rajdhani-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.cdnfonts.com/css/oxanium');
:root {

    --dark-bg: #0a0a0a;
    --dark-bg-secondary: #111111;
    --dark-card-bg: rgba(255, 255, 255, 0.03);
    --dark-card-border: rgba(255, 255, 255, 0.08);
    --dark-text-primary: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.6);
    --dark-text-tertiary: rgba(255, 255, 255, 0.4);
    

    --light-bg: #f8fafc;
    --light-bg-secondary: #ffffff;
    --light-card-bg: #ffffff;
    --light-card-border: rgba(0, 0, 0, 0.08);
    --light-text-primary: #0f172a;
    --light-text-secondary: #0e0f11;
    --light-text-tertiary: #94a3b8;
    

    --gradient-indigo: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-pink: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    

    --font-heading: 'Oxanium', sans-serif;
    --font-body: 'Oxanium', sans-serif;
}


body {
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

.theme-dark {
    background: var(--dark-bg);
    color: var(--dark-text-primary);
}

.theme-light {
    background: var(--light-bg);
    color: var(--light-text-primary);
}


.background-wrapper {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.theme-dark .bg-blur-1 {
    top: 80px;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%);
}

.theme-dark .bg-blur-2 {
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
}

.theme-light .bg-blur-1 {
    top: 80px;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
}

.theme-light .bg-blur-2 {
    bottom: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
}


.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 12px 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.theme-dark .mobile-header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--dark-card-border);
}

.theme-light .mobile-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--light-card-border);
}

.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-light .mobile-menu-btn {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}

.mobile-menu-btn:active {
    transform: scale(0.96);
}

.theme-dark .mobile-menu-btn {
    color: var(--dark-text-secondary);
}

.theme-light .mobile-menu-btn {
    color: var(--light-text-secondary);
}

.menu-icon {
    width: 24px;
    height: 24px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.theme-dark .mobile-header .mobile-header-theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dark-text-secondary);
}

.theme-light .mobile-header .mobile-header-theme-toggle {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--light-text-secondary);
}


.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 40;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(304px, 88vw);
    max-width: 100%;
    z-index: 50;
    flex-direction: column;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.theme-dark .mobile-menu {
    background:
        linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
        rgba(8, 6, 16, 0.92);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .mobile-menu {
    background:
        linear-gradient(165deg, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        rgba(255, 255, 255, 0.94);
    border-right: 1px solid var(--light-card-border);
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.08);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    flex-shrink: 0;
    padding: 16px 18px 12px;
    padding-top: max(20px, env(safe-area-inset-top, 20px));
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-light .mobile-menu-header {
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.mobile-menu-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 14px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.mobile-menu-lang {
    order: -1;
    flex-shrink: 0;
    width: 100%;
}

.mobile-menu-lang .public-language-selector-wrapper {
    position: relative;
    width: 100%;
}

.mobile-menu-lang .public-language-selector {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    box-sizing: border-box;
}

.mobile-menu-lang .public-language-selector__label {
    max-width: none;
    flex: 1;
    text-align: left;
}

.mobile-menu-lang .public-language-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
    z-index: 60;
}


.menu-item--cabinet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
}

.menu-item__lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.sidebar-menu .menu-item--cabinet {
    justify-content: flex-start;
}

.menu-item__chevron {
    display: none;
    flex-shrink: 0;
    opacity: 0.4;
    color: rgba(255, 255, 255, 0.55);
}

.theme-light .menu-item__chevron {
    color: var(--light-text-tertiary);
}

.mobile-menu-items .menu-item__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-items .menu-item__chevron-svg {
    display: block;
}

.theme-dark .mobile-menu-items .menu-item--cabinet.active .menu-item__chevron {
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.icon-3d--nav {
    flex-shrink: 0;
}


@media (max-width: 1023px) {
    .mobile-menu-items .menu-item--cabinet {
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
            rgba(255, 255, 255, 0.03);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 4px 20px rgba(0, 0, 0, 0.15);
        font-size: 15px;
        font-weight: 600;
    }

    .theme-light .mobile-menu-items .menu-item--cabinet {
        border-color: rgba(15, 23, 42, 0.08);
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.88) 100%);
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }

    .mobile-menu-items .menu-item--cabinet:hover {
        transform: none;
        border-color: rgba(167, 139, 250, 0.35);
    }

    .mobile-menu-items .menu-item--cabinet:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
    }

    .mobile-menu-items .menu-item--cabinet .menu-text {
        letter-spacing: 0.02em;
    }

    .theme-light .mobile-menu-items .menu-item--cabinet:not(.active) .menu-text {
        color: var(--light-text-primary);
    }

    .theme-light .mobile-menu-items .menu-item--cabinet:not(.active) {
        color: var(--light-text-secondary);
    }

    .mobile-menu-items .icon-3d--nav {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .mobile-menu-items .icon-3d--nav svg {
        width: 22px;
        height: 22px;
    }

    .theme-dark .mobile-menu-items .menu-item--cabinet.active {
        border-color: rgba(167, 139, 250, 0.45);
        background:
            linear-gradient(145deg, rgba(99, 102, 241, 0.22) 0%, rgba(139, 92, 246, 0.12) 100%),
            rgba(99, 102, 241, 0.06);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 0 32px rgba(99, 102, 241, 0.2);
        color: #fff;
    }

    .theme-light .mobile-menu-items .menu-item--cabinet.active {
        border-color: rgba(99, 102, 241, 0.25);
        background:
            linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 8px 24px rgba(99, 102, 241, 0.12);
        color: var(--light-text-primary);
    }

    .theme-dark .mobile-menu-items .menu-item--cabinet.active .menu-text {
        color: rgba(255, 255, 255, 0.95);
    }

    .theme-light .mobile-menu-items .menu-item--cabinet.active .menu-text {
        color: var(--light-text-primary);
    }

    .mobile-menu-items .menu-item--exit {
        margin-top: 8px;
        padding-top: 20px;
        position: relative;
    }

    .mobile-menu-items .menu-item--exit::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 8px;
        right: 8px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
        pointer-events: none;
    }

    .theme-light .mobile-menu-items .menu-item--exit::before {
        background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.1), transparent);
    }

    .mobile-menu-items .menu-item--exit:not(.active) {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 0 0 1px rgba(248, 113, 113, 0.12);
    }

    .mobile-menu-items .menu-item.active .icon-3d--nav {
        animation: none;
    }
}

@media (max-width: 1023px) {
    .user-app-main .page-header .header-actions .theme-toggle {
        display: none;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
    }

    .mobile-overlay.active {
        display: block;
    }
}


.layout {
    display: flex;
    position: relative;
    z-index: 10;
}


.sidebar {
    display: none;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    width: 256px;
    /* Выше .main-content (z-index: 1 в main.css), иначе выпадающий список языков */
    z-index: 30;
    overflow: visible;
    backdrop-filter: blur(3px);
    transition: width 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.theme-dark .sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--dark-card-border);
}

.theme-light .sidebar {
    background: rgba(255, 255, 255, 0.7);
    border-right: 1px solid var(--light-card-border);
}

.sidebar.collapsed {
    width: 80px;
    overflow: visible;
    z-index: 200;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: visible;
    padding: 12px;
    width: 100%;
}

.sidebar-logo {
    margin-bottom: 24px;
}


.sidebar-lang {
    flex-shrink: 0;
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.sidebar-lang .public-language-selector-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.sidebar-lang .public-language-selector {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    box-sizing: border-box;
}

.sidebar-lang .public-language-selector__label {
    max-width: none;
    flex: 1;
    text-align: left;
}

.sidebar-lang .public-language-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
    z-index: 80;
}

.sidebar.collapsed .sidebar-lang {
    margin-bottom: 12px;
}

.sidebar.collapsed .sidebar-lang .public-language-selector__label,
.sidebar.collapsed .sidebar-lang .public-language-selector__arrow {
    display: none;
}

.sidebar.collapsed .sidebar-lang .public-language-selector {
    justify-content: center;
    padding: 10px;
    min-height: 44px;
}

.sidebar.collapsed .sidebar-lang .public-language-dropdown {
    left: 100%;
    right: auto;
    top: 0;
    margin-left: 10px;
    min-width: 200px;
    max-width: min(260px, calc(100vw - 120px));
    z-index: 10050;

    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.sidebar.collapsed .logo-text {
    display: none;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.sidebar-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.theme-dark .menu-item {
    color: var(--dark-text-secondary);
}

.theme-light .menu-item {
    color: var(--light-text-secondary);
}

.theme-dark .menu-item.active {
    background: var(--dark-card-bg);
    color: var(--dark-text-primary);
    border-color: var(--dark-card-border);
}

.theme-light .menu-item.active {
    background: var(--light-card-bg);
    color: var(--light-text-primary);
    border-color: var(--light-card-border);
}

.menu-item:hover {
    transform: scale(0.9);
}

.sidebar.collapsed .menu-text {
    display: none;
}

.sidebar.collapsed .menu-item--cabinet {
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar.collapsed .menu-item--cabinet .menu-item__lead {
    justify-content: center;
}

.active-indicator {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #818cf8 0%, #a78bfa 50%, #f0abfc 100%);
    border-radius: 0 4px 4px 0;
}

.menu-item.active .active-indicator {
    display: none;
}


.icon-3d {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.icon-3d svg {
    width: 20px;
    height: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.menu-item.active .icon-3d {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gradient-indigo { background: var(--gradient-indigo); }
.gradient-purple { background: var(--gradient-purple); }
.gradient-emerald { background: var(--gradient-emerald); }
.gradient-blue { background: var(--gradient-blue); }
.gradient-pink { background: var(--gradient-pink); }
.gradient-orange { background: var(--gradient-orange); }


.sidebar-toggle {
    margin-top: 12px;
    padding: 10px;
    border: none;
    background: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-dark .sidebar-toggle {
    color: var(--dark-text-secondary);
}

.theme-light .sidebar-toggle {
    color: var(--light-text-secondary);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-toggle svg {
    transform: rotate(180deg);
}

@media (min-width: 1024px) {
    .sidebar {
        display: flex;
    }
}


.main-content {
    flex: 1;
    overflow: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 1024px) {
    .container {
        padding: 24px;
        padding-top: 24px;
    }
}

@media (max-width: 1023px) {
    .container {
        padding-top: 80px;
    }
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 16px;
}

.theme-dark .page-subtitle {
    color: var(--dark-text-secondary);
}

.theme-light .page-subtitle {
    color: var(--light-text-secondary);
}

.header-actions {
    display: flex;
    gap: 12px;
}


.theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-dark .theme-toggle {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    color: var(--dark-text-primary);
}

.theme-light .theme-toggle {
    background: var(--light-card-bg);
    border: 1px solid var(--light-card-border);
    color: var(--light-text-primary);
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.theme-dark .sun-icon {
    display: none;
}

.theme-light .moon-icon {
    display: none;
}


.wenoso-inv-icon-svg {
    display: block;
    flex-shrink: 0;
}

.wenoso-inv-profit .wenoso-inv-btn-icon,
.wenoso-web3-modal .wenoso-inv-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.45em;
}

.wenoso-inv-profit .wenoso-inv-btn-icon svg,
.wenoso-web3-modal .wenoso-inv-btn-icon svg {
    width: 1.12em;
    height: 1.12em;
}

.wenoso-web3-modal .btn-close-modal svg {
    width: 1.25rem;
    height: 1.25rem;
}

.wenoso-web3-modal .info-icon .wenoso-inv-icon-svg {
    width: 22px;
    height: 22px;
    margin-left: auto;
    margin-right: auto;
}

.wenoso-inv-currency-badge {
    display: block;
    flex-shrink: 0;
}


.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.theme-dark .stat-card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
}

.theme-light .stat-card {
    background: var(--light-card-bg);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-2px);
}

.theme-dark .stat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.theme-light .stat-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
}

.theme-dark .stat-label {
    color: var(--dark-text-secondary);
}

.theme-light .stat-label {
    color: var(--light-text-secondary);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}

.stat-change svg {
    width: 14px;
    height: 14px;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}


.content-card {
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.theme-dark .content-card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
}

.theme-light .content-card {
    background: var(--light-card-bg);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-link {
    font-size: 14px;
    text-decoration: none;
    color: #8b5cf6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #a78bfa;
}


.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.theme-dark .activity-item {
    background: rgba(255, 255, 255, 0.02);
}

.theme-light .activity-item {
    background: rgba(0, 0, 0, 0.02);
}

.activity-item:hover {
    transform: translateX(4px);
}

.theme-dark .activity-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.theme-light .activity-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.activity-info {
    flex: 1;
}

.activity-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-date {
    font-size: 13px;
}

.theme-dark .activity-date {
    color: var(--dark-text-tertiary);
}

.theme-light .activity-date {
    color: var(--light-text-tertiary);
}

.activity-amount {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.theme-dark .activity-amount {
    color: var(--dark-text-secondary);
}

.theme-light .activity-amount {
    color: var(--light-text-secondary);
}

.activity-amount.positive {
    color: #10b981;
}


.sidebar.collapsed .wenoso-brand__word {
    display: none;
}

.sidebar.collapsed .sidebar-logo {
    display: flex;
    justify-content: center;
}

.sidebar-logo .wenoso-brand {
    width: 100%;
}

.mobile-header-brand .wenoso-brand {
    transform: scale(0.95);
    transform-origin: left center;
}

.gradient-exit {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.theme-dark .sidebar-menu .menu-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.14));
    border-color: rgba(167, 139, 250, 0.4);
    color: #fff;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.22);
}

.theme-dark .menu-item.menu-item--exit.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 113, 113, 0.35);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
}

.hidden {
    display: none !important;
}


.user-app-main {
    min-width: 0;
}

.user-dash-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user-dash-top-row {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 1100px) {
    .user-dash-top-row {
        grid-template-columns: 1fr minmax(260px, 300px);
    }
}

.user-dash-account-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .user-dash-account-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.user-dash-glass {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(99, 102, 241, 0.06) 100%),
        rgba(12, 10, 24, 0.42);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(99, 102, 241, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.theme-light .user-dash-glass {
    border-color: rgba(99, 102, 241, 0.14);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(238, 242, 255, 0.82) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 40px rgba(15, 23, 42, 0.08);
}

.user-dash-kpi {
    position: relative;
    padding: 16px 18px;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.user-dash-kpi-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-text-tertiary);
}

.theme-light .user-dash-kpi-label {
    color: var(--light-text-tertiary);
}

.user-dash-kpi-value {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-text-primary);
    word-break: break-all;
}

.theme-light .user-dash-kpi-value {
    color: var(--light-text-primary);
}

.user-dash-kpi-value--mono {
    font-size: 15px;
    letter-spacing: 0.04em;
}

.user-dash-kpi--referral-locked {
    overflow: hidden;
}

.user-dash-kpi-referral-body--blurred {
    filter: blur(5px);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.user-dash-kpi-referral-veil {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: inherit;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
}

.theme-light .user-dash-kpi-referral-veil {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
}

.user-dash-kpi-referral-msg {
    margin: 0;
    max-width: 16rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.theme-light .user-dash-kpi-referral-msg {
    color: var(--light-text-primary);
    text-shadow: none;
}

.user-dash-icon-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.theme-light .user-dash-icon-btn {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: var(--light-text-secondary);
}

.user-dash-icon-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #fff;
}

.user-dash-metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 900px) {
    .user-dash-metrics-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.user-dash-metric {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
}

.user-dash-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(99, 102, 241, 0.18);
}

.user-dash-metric-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.user-dash-metric-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-text-tertiary);
    margin-bottom: 4px;
}

.theme-light .user-dash-metric-label {
    color: var(--light-text-tertiary);
}

.user-dash-metric-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-text-primary);
    line-height: 1.1;
}
@media screen and (max-width: 768px) {
    .user-dash-metric-value {
        font-size: 9px;
    }
}

.theme-light .user-dash-metric-value {
    color: var(--light-text-primary);
}

.user-dash-investments {
    padding: 22px 20px 20px;
}

.user-dash-investments-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.user-dash-investments-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.user-dash-inv-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-light .user-dash-inv-tabs {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
}

.user-dash-inv-tab {
    border: none;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.theme-light .user-dash-inv-tab {
    color: var(--light-text-tertiary);
}

.user-dash-inv-tab.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.user-dash-inv-panel {
    min-height: 120px;
}

.user-dash-inv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

@media (max-width: 900px) {
    .user-dash-inv-cards-grid {
        grid-template-columns: 1fr;
    }
}

a.user-dash-inv-card-cta.wenoso-inv-profit-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.wenoso-inv-profit-card__cta--ghost .wenoso-inv-profit-card__cta-dot {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.theme-light .wenoso-inv-profit-card__cta--ghost .wenoso-inv-profit-card__cta-dot {
    background: color-mix(in srgb, var(--inv-accent) 55%, #0f172a);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 25%, transparent);
}

.user-dash-inv-card-accrual-caption {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.theme-light .user-dash-inv-card-accrual-caption {
    color: var(--light-text-tertiary);
}

.user-dash-inv-card-accrual-highlight.wenoso-inv-profit-card__total {
    margin-top: 0;
    margin-bottom: 16px;
}

.wenoso-inv-profit-card__cta--ghost {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    box-shadow: none !important;
}

.theme-light .wenoso-inv-profit-card__cta--ghost {
    border-color: rgba(99, 102, 241, 0.28) !important;
    color: var(--light-text-primary) !important;
}

.wenoso-inv-profit-card__cta--ghost:hover {
    filter: brightness(1.06);
    background: rgba(255, 255, 255, 0.06) !important;
}

.theme-light .wenoso-inv-profit-card__cta--ghost:hover {
    background: rgba(99, 102, 241, 0.08) !important;
}

.user-dash-inv-card--closed {
    opacity: 0.96;
}

.wenoso-inv-profit-card__live--idle .wenoso-inv-profit-card__live-core {
    animation: none;
    opacity: 0.5;
    transform: scale(0.92);
}

.wenoso-inv-profit-card__live--idle .wenoso-inv-profit-card__live-ring {
    animation: none;
    opacity: 0.12;
    border-color: rgba(255, 255, 255, 0.28);
}

.user-dash-inv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-light .user-dash-inv-row {
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.user-dash-inv-row:last-child {
    border-bottom: none;
}

.user-dash-inv-plan {
    font-weight: 600;
    font-size: 15px;
}

.user-dash-inv-meta {
    font-size: 13px;
    color: var(--dark-text-secondary);
    margin-top: 4px;
}

.theme-light .user-dash-inv-meta {
    color: var(--light-text-secondary);
}

.user-dash-inv-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
}

.user-dash-inv-badge--live {
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
    background: rgba(16, 185, 129, 0.08);
}

.user-dash-inv-empty {
    text-align: center;
    padding: 36px 16px 28px;
}

.user-dash-inv-empty-icon {
    color: rgba(167, 139, 250, 0.45);
    margin-bottom: 12px;
}

.user-dash-inv-empty-text {
    font-size: 15px;
    color: var(--dark-text-secondary);
    margin-bottom: 20px;
}

.theme-light .user-dash-inv-empty-text {
    color: var(--light-text-secondary);
}

.user-dash-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0f172a;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease;
}

.user-dash-btn-primary:hover {
    transform: translateY(-2px);
}

.user-dash-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-dash-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.user-dash-action--primary {
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
}

.user-dash-action--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
}

.user-dash-action--live {
    background: rgba(0, 0, 0, 0.25);
    color: #e2e8f0;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.theme-light .user-dash-action--live {
    background: rgba(255, 255, 255, 0.8);
    color: var(--light-text-primary);
}

.user-dash-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e;
    flex-shrink: 0;
}

.user-dash-action--ghost {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .user-dash-action--ghost {
    background: rgba(15, 23, 42, 0.03);
    color: var(--light-text-primary);
    border-color: rgba(15, 23, 42, 0.1);
}

.user-dash-action--ghost:hover {
    border-color: rgba(167, 139, 250, 0.35);
    transform: translateY(-1px);
}

.user-dash-chevron {
    width: 18px;
    height: 18px;
    margin-left: auto;
    opacity: 0.6;
}

.user-dash-hint {
    margin-top: 8px;
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.06);
}

.user-dash-hint-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-dash-hint-icon svg {
    color: #fff;
}

.user-dash-hint-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.06em;
}

.user-dash-hint-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--dark-text-secondary);
    margin: 0;
}

.theme-light .user-dash-hint-text {
    color: var(--light-text-secondary);
}


.wenoso-inv-profit {
    position: relative;
    z-index: 1;
}

.wenoso-inv-profit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .wenoso-inv-profit__grid {
        grid-template-columns: 1fr;
    }
}

.wenoso-inv-profit-card {
    position: relative;
    border-radius: 22px;
    padding: 22px 22px 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(99, 102, 241, 0.06) 100%),
        rgba(12, 10, 24, 0.42);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(99, 102, 241, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.theme-light .wenoso-inv-profit-card {
    border-color: rgba(99, 102, 241, 0.14);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(238, 242, 255, 0.82) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 40px rgba(15, 23, 42, 0.08);
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--violet {
    border-color: rgba(139, 92, 246, 0.38);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(196, 181, 253, 0.28) 38%,
            rgba(165, 180, 252, 0.32) 62%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(124, 58, 237, 0.09) 0%, rgba(99, 102, 241, 0.14) 100%);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(139, 92, 246, 0.1),
        0 4px 24px rgba(99, 102, 241, 0.12),
        0 16px 48px rgba(79, 70, 229, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--violet:hover:not(.wenoso-inv-profit-card--locked) {
    border-color: rgba(139, 92, 246, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(139, 92, 246, 0.14),
        0 8px 32px rgba(99, 102, 241, 0.18),
        0 22px 56px rgba(79, 70, 229, 0.2),
        0 0 72px rgba(139, 92, 246, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--fuchsia {
    border-color: rgba(217, 70, 239, 0.38);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(250, 207, 232, 0.28) 38%,
            rgba(244, 171, 242, 0.32) 62%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(219, 39, 119, 0.09) 0%, rgba(192, 38, 211, 0.14) 100%);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(217, 70, 239, 0.1),
        0 4px 24px rgba(219, 39, 119, 0.12),
        0 16px 48px rgba(192, 38, 211, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--fuchsia:hover:not(.wenoso-inv-profit-card--locked) {
    border-color: rgba(217, 70, 239, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(217, 70, 239, 0.14),
        0 8px 32px rgba(219, 39, 119, 0.18),
        0 22px 56px rgba(192, 38, 211, 0.2),
        0 0 72px rgba(236, 72, 153, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--blue {
    border-color: rgba(14, 165, 233, 0.38);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(186, 230, 253, 0.28) 38%,
            rgba(147, 197, 253, 0.32) 62%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(37, 99, 235, 0.09) 0%, rgba(14, 165, 233, 0.14) 100%);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(14, 165, 233, 0.1),
        0 4px 24px rgba(37, 99, 235, 0.12),
        0 16px 48px rgba(59, 130, 246, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--blue:hover:not(.wenoso-inv-profit-card--locked) {
    border-color: rgba(14, 165, 233, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(14, 165, 233, 0.14),
        0 8px 32px rgba(37, 99, 235, 0.18),
        0 22px 56px rgba(59, 130, 246, 0.2),
        0 0 72px rgba(56, 189, 248, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--emerald {
    border-color: rgba(16, 185, 129, 0.38);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(167, 243, 208, 0.28) 38%,
            rgba(110, 231, 183, 0.32) 62%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(5, 150, 105, 0.09) 0%, rgba(16, 185, 129, 0.14) 100%);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(16, 185, 129, 0.1),
        0 4px 24px rgba(5, 150, 105, 0.12),
        0 16px 48px rgba(16, 185, 129, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--emerald:hover:not(.wenoso-inv-profit-card--locked) {
    border-color: rgba(16, 185, 129, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(16, 185, 129, 0.14),
        0 8px 32px rgba(5, 150, 105, 0.18),
        0 22px 56px rgba(16, 185, 129, 0.2),
        0 0 72px rgba(52, 211, 153, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--orange {
    border-color: rgba(249, 115, 22, 0.38);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(254, 215, 170, 0.28) 38%,
            rgba(253, 186, 116, 0.32) 62%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, rgba(234, 88, 12, 0.09) 0%, rgba(249, 115, 22, 0.14) 100%);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(249, 115, 22, 0.1),
        0 4px 24px rgba(234, 88, 12, 0.12),
        0 16px 48px rgba(249, 115, 22, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--orange:hover:not(.wenoso-inv-profit-card--locked) {
    border-color: rgba(249, 115, 22, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(249, 115, 22, 0.14),
        0 8px 32px rgba(234, 88, 12, 0.18),
        0 22px 56px rgba(249, 115, 22, 0.2),
        0 0 72px rgba(251, 146, 60, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--violet .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--fuchsia .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--blue .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--emerald .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--orange .wenoso-inv-profit-card__sheet-glow {
    opacity: 0.62;
    background: radial-gradient(
        ellipse at center,
        color-mix(in srgb, var(--inv-accent) 50%, transparent) 0%,
        color-mix(in srgb, var(--inv-accent2) 22%, transparent) 42%,
        transparent 70%
    );
}

.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--violet:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--fuchsia:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--blue:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--emerald:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow,
.theme-light .wenoso-inv-profit-card.wenoso-inv-profit-card--orange:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow {
    opacity: 0.82;
}

.wenoso-inv-profit-card:hover:not(.wenoso-inv-profit-card--locked) {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 22px 56px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(99, 102, 241, 0.12);
}

.wenoso-inv-profit-card--violet { --inv-accent: #a78bfa; --inv-accent2: #6366f1; }
.wenoso-inv-profit-card--fuchsia { --inv-accent: #e879f9; --inv-accent2: #db2777; }
.wenoso-inv-profit-card--blue { --inv-accent: #38bdf8; --inv-accent2: #2563eb; }
.wenoso-inv-profit-card--emerald { --inv-accent: #34d399; --inv-accent2: #059669; }
.wenoso-inv-profit-card--orange { --inv-accent: #fb923c; --inv-accent2: #ea580c; }

.wenoso-inv-profit-card__sheet-glow {
    pointer-events: none;
    position: absolute;
    width: 140%;
    height: 55%;
    top: -28%;
    right: -35%;
    background: radial-gradient(
        ellipse at center,
        color-mix(in srgb, var(--inv-accent) 42%, transparent) 0%,
        transparent 68%
    );
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.wenoso-inv-profit-card:hover:not(.wenoso-inv-profit-card--locked) .wenoso-inv-profit-card__sheet-glow {
    opacity: 0.72;
}

.wenoso-inv-profit-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.wenoso-inv-profit-card__intro {
    min-width: 0;
    flex: 1;
}

.wenoso-inv-profit-card__eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--inv-accent) 85%, #fff);
    margin-bottom: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--inv-accent) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--inv-accent) 35%, transparent);
}

.theme-light .wenoso-inv-profit-card__eyebrow {
    color: var(--inv-accent2);
    background: color-mix(in srgb, var(--inv-accent) 12%, #fff);
    border-color: color-mix(in srgb, var(--inv-accent) 25%, #e2e8f0);
}

.wenoso-inv-profit-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.15;
}

.theme-light .wenoso-inv-profit-card__title {
    color: var(--light-text-primary);
}

.wenoso-inv-profit-card__tagline {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.82);
}

.theme-light .wenoso-inv-profit-card__tagline {
    color: #0e0f11;
}

.wenoso-inv-profit-card__live {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wenoso-inv-profit-card__live-core {
    position: relative;
    z-index: 2;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--inv-accent), var(--inv-accent2));
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.14),
        0 0 20px color-mix(in srgb, var(--inv-accent) 55%, transparent);
    animation: wenoso-inv-live-core 2.4s ease-in-out infinite;
}

.wenoso-inv-profit-card__live-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--inv-accent) 55%, transparent);
    opacity: 0;
    animation: wenoso-inv-live-ring 2.8s ease-out infinite;
}

.wenoso-inv-profit-card__live-ring--a {
    inset: 4px;
    animation-delay: 0s;
}

.wenoso-inv-profit-card__live-ring--b {
    inset: 0;
    animation-delay: 0.85s;
}

@keyframes wenoso-inv-live-core {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.88);
        opacity: 0.92;
    }
}

@keyframes wenoso-inv-live-ring {
    0% {
        transform: scale(0.65);
        opacity: 0.55;
    }
    70% {
        transform: scale(1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.wenoso-inv-profit-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wenoso-inv-profit-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wenoso-inv-profit-card__icon svg {
    width: 22px;
    height: 22px;
}

.wenoso-inv-profit-card__info {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-light .wenoso-inv-profit-card__info {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.08);
    color: var(--light-text-secondary);
}

.wenoso-inv-profit-card__info:hover:not(:disabled) {
    color: var(--inv-accent);
    border-color: rgba(167, 139, 250, 0.45);
    background: rgba(99, 102, 241, 0.12);
}

.wenoso-inv-profit-card__info:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wenoso-inv-profit-card__facts {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 18px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.theme-light .wenoso-inv-profit-card__facts {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(15, 23, 42, 0.08);
}

.wenoso-inv-profit-card__fact {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    padding: 14px 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-light .wenoso-inv-profit-card__fact {
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.wenoso-inv-profit-card__fact:last-child {
    border-bottom: none;
}

.wenoso-inv-profit-card__fact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--inv-accent2) 75%, #1e1b2e),
        color-mix(in srgb, var(--inv-accent) 70%, #1e1b2e)
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px color-mix(in srgb, var(--inv-accent) 22%, transparent);
}

.wenoso-inv-profit-card__fact-icon svg {
    width: 22px;
    height: 22px;
}

.wenoso-inv-profit-card__fact-body {
    min-width: 0;
}

.wenoso-inv-profit-card__fact-body--duration-payout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
}

.wenoso-inv-profit-card__dur-payout-col {
    flex: 1 1 140px;
    min-width: 0;
}

.wenoso-inv-profit-card__fact-body dt {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

.theme-light .wenoso-inv-profit-card__fact-body dt {
    color: #0e0f11;
}

.wenoso-inv-profit-card__fact-body dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f1f5f9;
    line-height: 1.35;
}

.theme-light .wenoso-inv-profit-card__fact-body dd {
    color: var(--light-text-primary);
}

.wenoso-inv-profit-card__total {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    margin: 4px 0 18px;
    background: linear-gradient(120deg, var(--inv-accent), var(--inv-accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wenoso-inv-profit-card__amount-wrap {
    margin: 4px 0 14px;
}

.wenoso-inv-profit-card__est {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(148, 163, 184, 0.95);
    margin: 0 0 8px;
}

.theme-light .wenoso-inv-profit-card__est {
    color: #0e0f11;
}

.wenoso-inv-profit-card__amount-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin: 0 0 6px;
}

.theme-light .wenoso-inv-profit-card__amount-label {
    color: #0e0f11;
}

.wenoso-inv-profit-card__amount-label-text {
    min-width: 0;
}

.wenoso-inv-profit-card__amount-currency {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: color-mix(in srgb, var(--inv-accent) 75%, #fff);
    padding: 3px 8px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--inv-accent) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--inv-accent) 28%, transparent);
}

.theme-light .wenoso-inv-profit-card__amount-currency {
    color: var(--inv-accent2);
    background: color-mix(in srgb, var(--inv-accent) 10%, #fff);
    border-color: color-mix(in srgb, var(--inv-accent) 22%, #e2e8f0);
}

.wenoso-inv-profit-card__amount-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 12, 18, 0.55);
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wenoso-inv-profit-card__amount-input::-webkit-outer-spin-button,
.wenoso-inv-profit-card__amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wenoso-inv-profit-card__amount-input::placeholder {
    color: rgba(148, 163, 184, 0.65);
    font-weight: 600;
}

.wenoso-inv-profit-card__amount-input:focus {
    outline: none;
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.2);
}

.wenoso-inv-profit-card__amount-input:read-only {
    opacity: 0.9;
    cursor: default;
}

.theme-light .wenoso-inv-profit-card__amount-input {
    background: #fff;
    border-color: #e2e8f0;
    color: #0f172a;
}

#web3PaymentModal.wenoso-inv-profit-checkout-hidden {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    pointer-events: none !important;
}

.wenoso-inv-profit-checkout-hidden__footer {
    display: none !important;
}

.wenoso-inv-profit-checkout__currency-hidden {
    display: none !important;
}

.wenoso-inv-profit-checkout-hidden .token-selection {
    display: none !important;
}

.wenoso-inv-profit-card__cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--inv-accent2), var(--inv-accent));
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wenoso-inv-profit-card__cta:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35);
}

.wenoso-inv-profit-card__cta-orbits {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wenoso-inv-profit-card__cta-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    animation: wenoso-inv-cta-dot 1.1s ease-in-out infinite;
}

.wenoso-inv-profit-card__cta-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.wenoso-inv-profit-card__cta-dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes wenoso-inv-cta-dot {
    0%,
    100% {
        transform: scale(0.75);
        opacity: 0.65;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.wenoso-inv-profit-card__cta:hover:not(:disabled) .wenoso-inv-profit-card__cta-dot {
    animation-duration: 0.75s;
}

.wenoso-inv-profit-card__cta-label {
    letter-spacing: 0.14em;
}

.wenoso-inv-profit-card__cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.3);
    box-shadow: none;
}

.wenoso-inv-profit-card--locked {
    overflow: hidden;
}

.wenoso-inv-profit-card--locked .plan-locked-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: inherit;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(8, 6, 18, 0.45);
}

.wenoso-inv-profit-card--locked .plan-locked-overlay__text {
    display: block;
    max-width: 92%;
    margin: 0;
    padding: 14px 18px;
    text-align: center;
    font-size: clamp(13px, 2.8vw, 16px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: rgba(10, 8, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


.wenoso-inv-profit .plan-tooltip {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 280px;
    max-width: min(400px, 92vw);
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
        rgba(12, 10, 24, 0.92);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    display: none;
    pointer-events: none;
}

.theme-light .wenoso-inv-profit .plan-tooltip {
    color: var(--light-text-primary);
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.96);
}

.wenoso-inv-profit .plan-tooltip.show {
    display: block !important;
    pointer-events: auto;
    z-index: 100000;
}

.wenoso-inv-profit .plan-tooltip-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 10px;
    color: #c4b5fd;
}

.theme-light .wenoso-inv-profit .plan-tooltip-title {
    color: #6366f1;
}

.wenoso-inv-profit .plan-tooltip-backdrop {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wenoso-inv-profit .plan-tooltip-backdrop.show {
    display: flex !important;
}

@media (min-width: 769px) {
    .wenoso-inv-profit .plan-tooltip-backdrop,
    .wenoso-inv-profit .plan-tooltip-backdrop.show {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .wenoso-inv-profit .plan-tooltip {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        margin: auto;
    }

    .wenoso-inv-profit .plan-tooltip-backdrop.show {
        display: flex !important;
    }
}


.wenoso-web3-modal.modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 12000 !important;
    display: none !important;
    overflow: auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 16px;
    background: rgba(4, 2, 12, 0.72) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wenoso-web3-modal.modal.show {
    display: flex !important;
}

.theme-light .wenoso-web3-modal.modal {
    background: rgba(15, 23, 42, 0.45) !important;
}

.wenoso-web3-modal .modal-dialog {
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
}

@media (min-width: 992px) {
    .wenoso-web3-modal .modal-dialog.modal-lg {
        max-width: 720px;
    }
}

.wenoso-web3-modal .modal-content {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(99, 102, 241, 0.08) 100%),
        rgba(10, 8, 22, 0.82);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 28px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(99, 102, 241, 0.12);
    overflow: hidden;
}

.theme-light .wenoso-web3-modal .modal-content {
    border-color: rgba(99, 102, 241, 0.14);
    background:
        linear-gradient(175deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.92) 100%);
}

.wenoso-web3-modal .modal-body {
    padding: 20px 22px 8px;
    color: rgba(255, 255, 255, 0.88);
}

.theme-light .wenoso-web3-modal .modal-body {
    color: var(--light-text-primary);
}

.wenoso-web3-modal .modal-title-buyplan {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    color: #fff;
}

.theme-light .wenoso-web3-modal .modal-title-buyplan {
    color: var(--light-text-primary);
}

.wenoso-web3-modal .text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.theme-light .wenoso-web3-modal .text-muted {
    color: var(--light-text-secondary) !important;
}

.wenoso-web3-modal .form-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.theme-light .wenoso-web3-modal .form-label {
    color: var(--light-text-tertiary);
}

.wenoso-web3-modal #modalAmountInput,
.wenoso-web3-modal .form-control {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 12px 14px;
    width: 100%;
}
.modal-header.border-0.pb-0 {
    display: flex;
    flex-direction: column;
}
.theme-light .wenoso-web3-modal #modalAmountInput,
.theme-light .wenoso-web3-modal .form-control {
    border-color: rgba(99, 102, 241, 0.2);
    background: #fff;
    color: var(--light-text-primary);
}

.wenoso-web3-modal .info-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.theme-light .wenoso-web3-modal .info-card {
    border-color: rgba(99, 102, 241, 0.12);
    background: rgba(99, 102, 241, 0.06);
}

.wenoso-web3-modal .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.wenoso-web3-modal .info-value,
.wenoso-web3-modal #investmentLimits {
    font-weight: 700;
    color: #e9d5ff;
}

.theme-light .wenoso-web3-modal .info-value,
.theme-light .wenoso-web3-modal #investmentLimits {
    color: #4f46e5;
}

.wenoso-web3-modal .currency-option {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
}

.wenoso-web3-modal .currency-option:hover {
    border-color: rgba(167, 139, 250, 0.45);
    background: rgba(99, 102, 241, 0.1);
}

.wenoso-web3-modal .currency-option.active {
    border-color: rgba(129, 140, 248, 0.65);
    background: rgba(99, 102, 241, 0.18);
}

.wenoso-web3-modal .btn-close-modal {
    top: 14px;
    right: 14px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.wenoso-web3-modal .btn-close-modal:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.wenoso-web3-modal #buyNowBtn {
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.35);
}

.wenoso-web3-modal .payment-steps .step {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
}

.wenoso-web3-modal .payment-steps .step.active {
    border-color: rgba(129, 140, 248, 0.45);
    background: rgba(99, 102, 241, 0.1);
}

.wenoso-web3-modal .step-content h5 {
    color: #c4b5fd;
}

.wenoso-web3-modal .alert-info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: rgba(224, 242, 254, 0.95);
    border-radius: 12px;
}


.wenoso-web3-modal .mb-4 { margin-bottom: 1.25rem; }
.wenoso-web3-modal .mb-3 { margin-bottom: 1rem; }
.wenoso-web3-modal .mt-2 { margin-top: 0.5rem; }
.wenoso-web3-modal .mt-3 { margin-top: 0.75rem; }
.wenoso-web3-modal .p-0 { padding: 0; }
.wenoso-web3-modal .p-3 { padding: 12px; }
.wenoso-web3-modal .text-center { text-align: center; }
.wenoso-web3-modal .d-flex { display: flex; }
.wenoso-web3-modal .align-items-center {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    gap: 10px;
    padding: 10px;
}
.currency-name {
    font-weight: 600;
}
.wenoso-web3-modal .justify-content-between { justify-content: space-between; }
.wenoso-web3-modal .w-100 { width: 100%; }
.wenoso-web3-modal .btn-lg { padding: 14px 18px; font-size: 15px; }
.wenoso-web3-modal .rounded-pill { border-radius: 999px; }
.wenoso-web3-modal .py-3 { padding-top: 12px; padding-bottom: 12px; }
.wenoso-web3-modal .me-2 { margin-right: 8px; }
.wenoso-web3-modal .ms-2 { margin-left: 8px; }
.wenoso-web3-modal .btn-link {
    background: none;
    border: none;
    color: #a78bfa;
    cursor: pointer;
    text-decoration: none;
}
.wenoso-web3-modal .row.g-3.flex-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.wenoso-web3-modal .col-3btns-in-buyplan-modal {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 140px;
    width: auto;
}
@media (max-width: 520px) {
    .wenoso-web3-modal .col-3btns-in-buyplan-modal {
        flex: 1 1 100%;
    }
}
.wenoso-web3-modal .modal-footer {
    padding: 0 22px 22px;
    border: none;
    background: transparent;
}
.wenoso-web3-modal .btn-primary,
.wenoso-web3-modal .btn-success,
.wenoso-web3-modal .btn-outline-secondary,
.wenoso-web3-modal .btn-outline-primary,
.wenoso-web3-modal .btn-outline-warning {
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.wenoso-web3-modal .btn-primary {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
}
.wenoso-web3-modal .btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border-color: transparent;
}
.wenoso-web3-modal .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}
.wenoso-web3-modal .btn-outline-primary {
    background: transparent;
    color: #c4b5fd;
    border-color: rgba(129, 140, 248, 0.45);
}
.wenoso-web3-modal .btn-outline-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35);
}
.theme-light .wenoso-web3-modal .btn-outline-secondary {
    background: #f1f5f9;
    color: var(--light-text-primary);
}

/* --- Investment: glassmorphism "Waiting for payment" --- */
.wenoso-inv-profit .investment-waiting-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 13000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.25rem;
    overflow: hidden;
    background: rgba(6, 4, 18, 0.45);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.wenoso-inv-profit .investment-waiting-overlay.active {
    display: flex;
}

.wenoso-inv-profit .investment-waiting-overlay__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 80% at 50% -10%, rgba(129, 140, 248, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 55% at 100% 60%, rgba(167, 139, 250, 0.2), transparent 50%),
        radial-gradient(ellipse 65% 50% at 0% 80%, rgba(52, 211, 153, 0.14), transparent 45%);
    opacity: 0.95;
}

.wenoso-inv-profit .investment-waiting-overlay__bloom {
    position: absolute;
    width: min(42vmin, 340px);
    height: min(42vmin, 340px);
    border-radius: 50%;
    filter: blur(56px);
    pointer-events: none;
    opacity: 0.55;
    animation: wenoso-waiting-float 14s ease-in-out infinite;
}

.wenoso-inv-profit .investment-waiting-overlay__bloom--a {
    top: 8%;
    right: 12%;
    background: rgba(129, 140, 248, 0.55);
    animation-delay: 0s;
}

.wenoso-inv-profit .investment-waiting-overlay__bloom--b {
    bottom: 5%;
    left: 8%;
    background: rgba(45, 212, 191, 0.35);
    animation-delay: -7s;
}

@keyframes wenoso-waiting-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.06); }
}

.wenoso-inv-profit .investment-waiting-glass {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(129, 140, 248, 0.2) 100%
    );
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 32px 80px rgba(15, 10, 40, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wenoso-inv-profit .investment-waiting-glass__glow {
    position: absolute;
    inset: 0;
    border-radius: 27px;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.02) 38%,
        rgba(99, 102, 241, 0.09) 100%
    );
}

.wenoso-inv-profit .investment-waiting-glass__inner {
    position: relative;
    border-radius: 27px;
    padding: 2rem 1.75rem 1.85rem;
    text-align: center;
    background: rgba(12, 10, 28, 0.42);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wenoso-inv-profit .investment-waiting-glass--inline {
    max-width: none;
    margin-top: 0.5rem;
}

.wenoso-inv-profit .investment-waiting-glass--inline .investment-waiting-glass__inner {
    padding: 1.35rem 1.25rem;
    text-align: center;
    border-radius: 22px;
}

.wenoso-inv-profit .investment-waiting-glass--inline {
    border-radius: 23px;
}

.wenoso-inv-profit .investment-waiting-glass--inline .investment-waiting-glass__glow {
    border-radius: 22px;
}

.wenoso-inv-profit .investment-waiting-glass__glow--inline {
    border-radius: 22px;
}

.wenoso-inv-profit .investment-waiting-icon-ring {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
}

.wenoso-inv-profit .investment-waiting-icon-ring--sm {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.wenoso-inv-profit .investment-waiting-spinner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 220deg,
        rgba(129, 140, 248, 0.15),
        rgba(167, 139, 250, 0.95),
        rgba(45, 212, 191, 0.85),
        rgba(129, 140, 248, 0.15)
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: wenoso-waiting-spin 1.15s linear infinite;
}

.wenoso-inv-profit .investment-waiting-spinner--sm {
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

@keyframes wenoso-waiting-spin {
    to { transform: rotate(360deg); }
}

.wenoso-inv-profit .investment-waiting-icon {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 24px rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.92);
}

.wenoso-inv-profit .investment-waiting-icon .wenoso-inv-icon-svg {
    width: 2rem;
    height: 2rem;
}

.wenoso-inv-profit .investment-waiting-icon--sm {
    inset: 8px;
}

.wenoso-inv-profit .investment-waiting-icon--sm .wenoso-inv-icon-svg {
    width: 1.45rem;
    height: 1.45rem;
}

.wenoso-inv-profit .investment-waiting-icon--brand {
    overflow: visible;
}

.wenoso-inv-profit .investment-waiting-icon--brand .wenoso-brand {
    margin: 0;
    flex-shrink: 0;
    pointer-events: none;
}

.wenoso-inv-profit .investment-waiting-icon--brand .wenoso-brand:hover .wenoso-brand__cube {
    transform: none;
}

.wenoso-inv-profit .investment-waiting-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem 0.4rem;
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wenoso-inv-profit .investment-waiting-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.35);
    animation: wenoso-waiting-pulse 1.6s ease-in-out infinite;
}

@keyframes wenoso-waiting-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.92); }
}

.wenoso-inv-profit .investment-waiting-title {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 24px rgba(129, 140, 248, 0.35);
}

.wenoso-inv-profit .investment-waiting-message {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(241, 245, 249, 0.82);
}

.wenoso-inv-profit .investment-waiting-sub {
    margin: 0 0 1.25rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.65);
}

.wenoso-inv-profit .investment-waiting-hints {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.wenoso-inv-profit .investment-waiting-hints li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: rgba(203, 213, 225, 0.78);
}

.wenoso-inv-profit .investment-waiting-hints__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(167, 139, 250, 0.95);
}

.wenoso-inv-profit .investment-waiting-hints__icon svg {
    width: 17px;
    height: 17px;
}

.wenoso-inv-profit .investment-waiting-inline-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.95);
}

.wenoso-inv-profit .investment-waiting-inline-hint {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(186, 198, 214, 0.75);
}

/* Light theme: waiting overlay */
.theme-light .wenoso-inv-profit .investment-waiting-overlay {
    background: rgba(248, 250, 252, 0.65);
}

.theme-light .wenoso-inv-profit .investment-waiting-overlay__mesh {
    background:
        radial-gradient(ellipse 100% 80% at 50% -10%, rgba(99, 102, 241, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 55% at 100% 60%, rgba(167, 139, 250, 0.1), transparent 50%),
        radial-gradient(ellipse 65% 50% at 0% 80%, rgba(16, 185, 129, 0.08), transparent 45%);
}

.theme-light .wenoso-inv-profit .investment-waiting-glass__inner {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.theme-light .wenoso-inv-profit .investment-waiting-title {
    color: var(--light-text-primary, #0f172a);
    text-shadow: none;
}

.theme-light .wenoso-inv-profit .investment-waiting-message {
    color: rgba(51, 65, 85, 0.88);
}

.theme-light .wenoso-inv-profit .investment-waiting-sub {
    color: rgba(71, 85, 105, 0.78);
}

.theme-light .wenoso-inv-profit .investment-waiting-badge {
    color: rgba(51, 65, 85, 0.9);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(15, 23, 42, 0.1);
}

.theme-light .wenoso-inv-profit .investment-waiting-icon {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
    color: #6366f1;
    box-shadow: inset 0 1px 0 #fff, 0 6px 20px rgba(99, 102, 241, 0.15);
}

.theme-light .wenoso-inv-profit .investment-waiting-hints {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.theme-light .wenoso-inv-profit .investment-waiting-hints li {
    color: rgba(71, 85, 105, 0.88);
}

.theme-light .wenoso-inv-profit .investment-waiting-hints__icon {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.theme-light .wenoso-inv-profit .investment-waiting-inline-title {
    color: var(--light-text-primary, #0f172a);
}

.theme-light .wenoso-inv-profit .investment-waiting-inline-hint {
    color: rgba(71, 85, 105, 0.8);
}


.wenoso-partnership {
    padding-bottom: 2rem;
}

.wenoso-partnership--redux {
    position: relative;
}

.wenoso-ref-redux-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.wenoso-ref-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wenoso-ref-glass-panel {
    position: relative;
    padding: 1.5rem 1.45rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(99, 102, 241, 0.07) 100%),
        rgba(12, 12, 18, 0.45);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 0 1px rgba(123, 97, 255, 0.08) inset;
    overflow: hidden;
}

.theme-light .wenoso-ref-glass-panel {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
        0 12px 40px rgba(15, 23, 42, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.wenoso-ref-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 380px);
    gap: 1.5rem 2rem;
    align-items: start;
    padding: 1.5rem 1.5rem 1.65rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(123, 97, 255, 0.22) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        rgba(10, 10, 14, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

.theme-light .wenoso-ref-hero {
    background:
        radial-gradient(100% 80% at 0% 0%, rgba(129, 140, 248, 0.15) 0%, transparent 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.wenoso-ref-hero__kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(196, 181, 253, 0.95);
    margin-bottom: 0.65rem;
}

.theme-light .wenoso-ref-hero__kicker {
    color: #6366f1;
}

.wenoso-ref-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #f8fafc;
}

.theme-light .wenoso-ref-hero__title {
    color: #0f172a;
}

.wenoso-ref-hero__lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
    max-width: 36rem;
}

.theme-light .wenoso-ref-hero__lead {
    color: #0e0f11;
}

.wenoso-ref-hero__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.wenoso-ref-hero__theme.theme-toggle {
    flex-shrink: 0;
}

.wenoso-ref-chip-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.wenoso-ref-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) inset;
}

.theme-light .wenoso-ref-chip {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.wenoso-ref-chip--violet {
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 0 28px rgba(123, 97, 255, 0.15);
}

.wenoso-ref-chip--mint {
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.12);
}

.wenoso-ref-chip--sky {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 24px rgba(14, 165, 233, 0.12);
}

.wenoso-ref-chip__label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.92);
}

.theme-light .wenoso-ref-chip__label {
    color: #0e0f11;
}

.wenoso-ref-chip__value {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
}

.theme-light .wenoso-ref-chip__value {
    color: #0f172a;
}

.wenoso-ref-invite-block {
    position: relative;
    overflow: hidden;
}

.wenoso-ref-invite-block__surface--locked {
    filter: blur(8px);
    opacity: 0.65;
    pointer-events: none;
    user-select: none;
}

.wenoso-ref-invite-block__lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    text-align: center;
    background: rgba(2, 6, 23, 0.55);
}

.theme-light .wenoso-ref-invite-block__lock-overlay {
    background: rgba(248, 250, 252, 0.78);
}

.wenoso-ref-invite-block__lock-text {
    margin: 0;
    max-width: 22rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.45;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.theme-light .wenoso-ref-invite-block__lock-text {
    color: #0f172a;
}

.wenoso-ref-invite-block__head {
    margin-bottom: 1.15rem;
}

.wenoso-ref-invite-block__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.theme-light .wenoso-ref-invite-block__title {
    color: #0f172a;
}

.wenoso-ref-invite-block__hint {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.92);
}

.theme-light .wenoso-ref-invite-block__hint {
    color: #131518;
}

.wenoso-ref-invite-block__input {
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) inset;
}

.wenoso-ref-rank-orbit {
    position: relative;
}

.wenoso-ref-orbit-decor {
    pointer-events: none;
    position: absolute;
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.25) 0%, transparent 70%);
    filter: blur(4px);
    opacity: 0.85;
}

.wenoso-ref-rank-orbit__head {
    position: relative;
    z-index: 1;
}

.wenoso-ref-rank-orbit__meta {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(196, 181, 253, 0.95);
}

.theme-light .wenoso-ref-rank-orbit__meta {
    color: #4f46e5;
}

.wenoso-ref-tiers__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (max-width: 1100px) {
    .wenoso-ref-tiers__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wenoso-ref-tiers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wenoso-ref-hero {
        grid-template-columns: 1fr;
    }
    .wenoso-ref-hero__side {
        align-items: stretch;
    }
}

.wenoso-ref-tier-cell {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wenoso-ref-tier-cell:hover {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 8px 28px rgba(123, 97, 255, 0.15);
    transform: translateY(-2px);
}

.theme-light .wenoso-ref-tier-cell {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(15, 23, 42, 0.08);
}

.wenoso-ref-tier-cell__lvl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7b61ff, #6366f1);
    box-shadow: 0 4px 14px rgba(123, 97, 255, 0.35);
}

.wenoso-ref-tier-cell__pct {
    font-size: 1rem;
    font-weight: 800;
    color: #c4b5fd;
    letter-spacing: -0.02em;
}

.theme-light .wenoso-ref-tier-cell__pct {
    color: #5b21b6;
}

.wenoso-ref-tier-cell__earn {
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #e2e8f0;
}

.theme-light .wenoso-ref-tier-cell__earn {
    color: #0f172a;
}

.wenoso-ref-tier-cell__cap {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.wenoso-ref-link-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(145deg, rgba(123, 97, 255, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%),
        rgba(18, 18, 20, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(123, 97, 255, 0.15);
}

.theme-light .wenoso-ref-link-card {
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(145deg, rgba(123, 97, 255, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.wenoso-ref-link-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 0.75rem;
}

.theme-light .wenoso-ref-link-card__label {
    color: #0e0f11;
}

.wenoso-ref-link-card__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.wenoso-ref-link-card__input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 11, 0.85);
    color: #f1f5f9;
    font-size: 0.875rem;
    font-family: ui-monospace, monospace;
}
@media (max-width: 768px) {
    .wenoso-ref-link-card__input {
        font-size: 12px;
        max-height: 40px;
    }
}
.theme-light .wenoso-ref-link-card__input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.wenoso-ref-link-card__input:focus {
    outline: none;
    border-color: rgba(123, 97, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.2);
}

.wenoso-ref-btn-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.wenoso-ref-spinner {
    width: 32px;
    height: 32px;
    color: #a78bfa;
    animation: wenoso-ref-spin 0.85s linear infinite;
}

.theme-light .wenoso-ref-spinner {
    color: #6366f1;
}

@keyframes wenoso-ref-spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 2rem;
}

.modal-loading .wenoso-ref-spinner {
    display: block;
}

.wenoso-ref-link-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wenoso-ref-link-card__btn--primary {
    background: linear-gradient(135deg, #7b61ff 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(123, 97, 255, 0.35);
}

.wenoso-ref-link-card__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(123, 97, 255, 0.45);
}

.wenoso-ref-link-card__btn--primary.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.wenoso-ref-link-card__btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.theme-light .wenoso-ref-link-card__btn--ghost {
    background: #fff;
    color: #334155;
    border-color: #e2e8f0;
}

.wenoso-ref-link-card__btn--ghost:hover {
    border-color: rgba(123, 97, 255, 0.45);
    color: #a78bfa;
}

.theme-light .wenoso-ref-link-card__btn--ghost:hover {
    color: #6366f1;
}

.wenoso-ref-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
    .wenoso-ref-stats {
        grid-template-columns: 1fr;
    }
}

.wenoso-ref-stat-metric .user-dash-metric-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.wenoso-ref-levels {
    margin-bottom: 1.75rem;
}

.wenoso-ref-levels__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.theme-light .wenoso-ref-levels__title {
    color: #0f172a;
}

.wenoso-ref-levels__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

@media (max-width: 1100px) {
    .wenoso-ref-levels__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .wenoso-ref-levels__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wenoso-ref-level-card {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-light .wenoso-ref-level-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
}

.wenoso-ref-level-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
    box-shadow: 0 0 24px rgba(123, 97, 255, 0.12);
}

.wenoso-ref-level-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.wenoso-ref-level-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #7b61ff, #6366f1);
    box-shadow: 0 0 16px rgba(123, 97, 255, 0.45);
}

.wenoso-ref-level-card__pct {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c4b5fd;
}

.theme-light .wenoso-ref-level-card__pct {
    color: #6366f1;
}

.wenoso-ref-level-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-ref-level-card__meta {
    color: #0e0f11;
}

.wenoso-ref-level-card__meta strong {
    color: #f1f5f9;
    font-weight: 600;
}

.theme-light .wenoso-ref-level-card__meta strong {
    color: #0f172a;
}

.wenoso-ref-glass {
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 18, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.theme-light .wenoso-ref-glass {
    background: rgba(255, 255, 255, 0.92);
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.wenoso-ref-section-head {
    margin-bottom: 1.35rem;
}

.wenoso-partnership .progress-section h3,
.wenoso-partnership .referrals-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin: 0 0 0.35rem;
}

.theme-light .wenoso-partnership .progress-section h3,
.theme-light .wenoso-partnership .referrals-section h3 {
    color: #0f172a;
}

.wenoso-ref-section-desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.92);
    max-width: 42rem;
}

.theme-light .wenoso-ref-section-desc {
    color: #0e0f11;
}


.wenoso-ref-progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 720px) {
    .wenoso-ref-progress-grid {
        grid-template-columns: 1fr;
    }
}

.wenoso-ref-progress-tile {
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.55);
}

.theme-light .wenoso-ref-progress-tile {
    background: rgba(248, 250, 252, 0.9);
    border-color: #e2e8f0;
}

.wenoso-ref-progress-tile__top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.wenoso-ref-progress-tile__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wenoso-ref-progress-tile__icon svg {
    width: 22px;
    height: 22px;
}

.wenoso-ref-progress-tile__icon--personal {
    background: linear-gradient(135deg, #7b61ff 0%, #6366f1 100%);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.35);
}

.wenoso-ref-progress-tile__icon--structural {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.28);
}

.wenoso-ref-progress-tile__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wenoso-ref-progress-tile__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-ref-progress-tile__label {
    color: #0e0f11;
}

.wenoso-ref-progress-tile__amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.theme-light .wenoso-ref-progress-tile__amount {
    color: #0f172a;
}

.wenoso-ref-progress-tile__amount--structural {
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wenoso-ref-progress-tile__badge {
    flex-shrink: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c4b5fd;
    background: rgba(123, 97, 255, 0.18);
    border: 1px solid rgba(123, 97, 255, 0.28);
}

.wenoso-ref-progress-tile__badge--emerald {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.theme-light .wenoso-ref-progress-tile__badge {
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.theme-light .wenoso-ref-progress-tile__badge--emerald {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(5, 150, 105, 0.25);
}

.wenoso-ref-progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.theme-light .wenoso-ref-progress-track {
    background: #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.wenoso-ref-progress-fill {
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wenoso-ref-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: wenoso-ref-shimmer 2.2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes wenoso-ref-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.wenoso-ref-progress-fill--personal {
    background: linear-gradient(90deg, #8b5cf6, #6366f1, #7b61ff);
    box-shadow: 0 0 14px rgba(123, 97, 255, 0.45);
}

.wenoso-ref-progress-fill--structural {
    background: linear-gradient(90deg, #34d399, #10b981);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.wenoso-ref-rank-ladder {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .wenoso-ref-rank-ladder {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.wenoso-ref-rank-ladder__head {
    margin-bottom: 1rem;
}

.wenoso-ref-rank-ladder__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f1f5f9;
}

.theme-light .wenoso-ref-rank-ladder__title {
    color: var(--light-text-primary);
}

.wenoso-ref-rank-ladder__hint,
.wenoso-ref-rank-ladder__lines-hint {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-ref-rank-ladder__hint,
.theme-light .wenoso-ref-rank-ladder__lines-hint {
    color: var(--light-text-secondary);
}

.wenoso-ref-rank-ladder__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.wenoso-ref-rank-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.theme-light .wenoso-ref-rank-chip {
    border-color: rgba(99, 102, 241, 0.18);
    background: #fff;
    color: var(--light-text-primary);
}

.wenoso-ref-rank-chip:hover {
    border-color: rgba(167, 139, 250, 0.45);
    background: rgba(123, 97, 255, 0.12);
}

.wenoso-ref-rank-chip.is-active {
    border-color: rgba(167, 139, 250, 0.65);
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.35), rgba(99, 102, 241, 0.28));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.25), 0 8px 20px rgba(99, 102, 241, 0.22);
}

.wenoso-ref-rank-chip.is-current:not(.is-active) {
    border-color: rgba(52, 211, 153, 0.45);
}

.wenoso-ref-rank-chip__you {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #34d399;
}

.wenoso-ref-rank-ladder__detail {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    padding: 1rem 1rem 1.15rem;
}

.theme-light .wenoso-ref-rank-ladder__detail {
    border-color: rgba(99, 102, 241, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

.wenoso-ref-rank-ladder__conditions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .wenoso-ref-rank-ladder__conditions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.wenoso-ref-rank-condition {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.theme-light .wenoso-ref-rank-condition {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.9);
}

.wenoso-ref-rank-condition__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-ref-rank-condition__label {
    color: var(--light-text-tertiary);
}

.wenoso-ref-rank-condition__value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #f8fafc;
}

.theme-light .wenoso-ref-rank-condition__value {
    color: var(--light-text-primary);
}

.wenoso-ref-rank-condition__value--structural {
    background: linear-gradient(120deg, #34d399, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wenoso-ref-rank-condition__value--bonus {
    color: #fbbf24;
}

.wenoso-ref-rank-ladder__lines-head {
    margin-bottom: 0.75rem;
}

.wenoso-ref-rank-ladder__lines-title {
    margin: 0 0 0.2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #e9d5ff;
}

.theme-light .wenoso-ref-rank-ladder__lines-title {
    color: #4f46e5;
}

.wenoso-ref-rank-lines {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 0.5rem;
    align-items: end;
    max-height: 220px;
    overflow: auto;
    padding-bottom: 0.25rem;
}

.wenoso-ref-rank-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 48px;
}

.wenoso-ref-rank-line__pct {
    font-size: 0.68rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.1;
    text-align: center;
}

.theme-light .wenoso-ref-rank-line__pct {
    color: var(--light-text-primary);
}

.wenoso-ref-rank-line--zero .wenoso-ref-rank-line__pct {
    opacity: 0.35;
}

.wenoso-ref-rank-line__bar-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 88px;
    border-radius: 8px 8px 4px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 6px 0;
    box-sizing: border-box;
}

.theme-light .wenoso-ref-rank-line__bar-wrap {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.1);
}

.wenoso-ref-rank-line__bar {
    width: 100%;
    min-height: 4px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #c4b5fd, #7c3aed 55%, #5b21b6);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
}

.wenoso-ref-rank-line--zero .wenoso-ref-rank-line__bar {
    background: rgba(148, 163, 184, 0.25);
    box-shadow: none;
}

.wenoso-ref-rank-line__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(148, 163, 184, 0.95);
    text-align: center;
}

.theme-light .wenoso-ref-rank-line__label {
    color: var(--light-text-secondary);
}


.wenoso-ref-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.wenoso-partnership .wenoso-ref-tabs.tabs-container {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.25rem;
    margin: 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .wenoso-partnership .wenoso-ref-tabs.tabs-container {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.wenoso-partnership .wenoso-ref-tab.tab-button {
    margin: 0;
    top: 0;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 10px;
    border-bottom: none !important;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wenoso-partnership .wenoso-ref-tab.tab-button:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
}

.theme-light .wenoso-partnership .wenoso-ref-tab.tab-button:hover {
    color: #475569;
    background: #fff;
}

.wenoso-partnership .wenoso-ref-tab.tab-button.active {
    color: #fff;
    background: linear-gradient(135deg, #7b61ff 0%, #6366f1 100%);
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.35);
}

.theme-light .wenoso-partnership .wenoso-ref-tab.tab-button.active {
    color: #fff;
}

.wenoso-ref-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    min-width: min(100%, 280px);
}

.wenoso-ref-search__field.search-input-wrapper {
    flex: 1;
    max-width: 320px;
    min-width: 180px;
}

.wenoso-ref-search__field .search-icon {
    left: 14px;
}

.wenoso-ref-search__input.search-input {
    padding-left: 2.65rem;
    border-radius: 12px;
    min-height: 44px;
}

.wenoso-partnership .search-input {
    background: rgba(10, 10, 11, 0.65);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.theme-light .wenoso-partnership .search-input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.wenoso-partnership .search-icon,
.wenoso-ref-search__icon {
    color: rgba(148, 163, 184, 0.85);
}

.wenoso-partnership .wenoso-ref-clear.clear-search-btn,
.wenoso-partnership .clear-search-btn {
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wenoso-partnership .clear-search-btn:hover {
    background: rgba(123, 97, 255, 0.15);
    border-color: rgba(123, 97, 255, 0.35);
    color: #c4b5fd;
}

.theme-light .wenoso-partnership .clear-search-btn {
    background: #fff;
    border-color: #e2e8f0;
    color: #0e0f11;
}


.wenoso-ref-data-panel {
    position: relative;
    min-height: 200px;
}

.wenoso-ref-table-shell {
    position: relative;
    z-index: 1;
}

.wenoso-ref-loading.loading-spinner {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 4;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(10, 8, 18, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
}

.theme-light .wenoso-ref-loading.loading-spinner {
    background: rgba(255, 255, 255, 0.82);
}

.wenoso-ref-loading.loading-spinner.active {
    display: flex;
}

.wenoso-ref-loading__box {
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(123, 97, 255, 0.25);
    background: rgba(18, 18, 22, 0.92);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.theme-light .wenoso-ref-loading__box {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.wenoso-ref-loading__ring {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    border: 3px solid rgba(123, 97, 255, 0.2);
    border-top-color: #a78bfa;
    animation: wenoso-ref-spin 0.75s linear infinite;
}

.wenoso-ref-loading__text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
}

.theme-light .wenoso-ref-loading__text {
    color: #475569;
}

.wenoso-ref-table-scroll {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(6, 6, 10, 0.35);
}

.theme-light .wenoso-ref-table-scroll {
    border-color: #e2e8f0;
    background: #fff;
}

.wenoso-partnership .referrals-table {
    margin: 0;
    min-width: 880px;
    width: 100%;
}

.wenoso-partnership .referrals-table thead th {
    padding: 14px 16px;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.wenoso-partnership .referrals-table tbody td {
    padding: 14px 16px;
    font-size: 0.8125rem;
    vertical-align: middle;
}

.wenoso-partnership .referrals-table tbody tr:last-child {
    border-bottom: none;
}

.wenoso-partnership .referrals-table td.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
}

.wenoso-partnership .referrals-table .empty-state-text {
    font-size: 0.9375rem;
    color: rgba(148, 163, 184, 0.95);
}

.wenoso-partnership .view-downline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    border-radius: 12px;
    padding: 0.46rem 0.9rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(129, 140, 248, 0.38);
    background:
        linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.16));
    color: #ddd6fe;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 6px 18px rgba(30, 41, 59, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico {
    flex-shrink: 0;
    color: #22d3ee;
}

.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico .wr-link {
    opacity: 0.85;
}

.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico .wr-core {
    transform-origin: center;
    animation: wenosoRefCorePulse 1.8s ease-in-out infinite;
}

.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico .wr-node--left,
.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico .wr-node--right {
    animation: wenosoRefNodeFloat 1.8s ease-in-out infinite;
}

.wenoso-partnership .view-downline-btn .wenoso-ref-view-ico .wr-node--right {
    animation-delay: 0.28s;
}

.wenoso-partnership .view-downline-btn:hover:not(.disabled) {
    transform: translateY(-1px);
    border-color: rgba(167, 139, 250, 0.58);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.28), rgba(168, 85, 247, 0.2));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(79, 70, 229, 0.26),
        0 0 28px rgba(99, 102, 241, 0.2);
}

.wenoso-partnership .view-downline-btn.disabled {
    border-color: rgba(148, 163, 184, 0.26);
    background: linear-gradient(145deg, rgba(148, 163, 184, 0.2), rgba(100, 116, 139, 0.12));
    color: rgba(226, 232, 240, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 4px 14px rgba(2, 6, 23, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: not-allowed;
    opacity: 0.94;
    filter: saturate(0.88);
}

.wenoso-partnership .view-downline-btn.disabled .wenoso-ref-view-ico {
    color: rgba(34, 211, 238, 0.8);
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35));
}

.theme-light .wenoso-partnership .view-downline-btn.disabled {
    border-color: rgba(148, 163, 184, 0.35);
    background: linear-gradient(145deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.92));
    color: rgba(71, 85, 105, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(100, 116, 139, 0.16);
}

.theme-light .wenoso-partnership .view-downline-btn.disabled .wenoso-ref-view-ico {
    color: rgba(14, 165, 233, 0.86);
    filter: none;
}

.theme-light .wenoso-partnership .view-downline-btn {
    border-color: rgba(99, 102, 241, 0.28);
    background: linear-gradient(145deg, rgba(224, 231, 255, 0.9), rgba(233, 213, 255, 0.72));
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 16px rgba(100, 116, 139, 0.16);
}

.wenoso-partnership .referrals-table thead {
    background: rgba(123, 97, 255, 0.12);
}

.wenoso-partnership .referrals-table th {
    color: rgba(203, 213, 225, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.theme-light .wenoso-partnership .referrals-table th {
    color: #475569;
    border-bottom-color: #e2e8f0;
}

.wenoso-partnership .referrals-table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wenoso-partnership .referrals-table tbody tr:hover {
    background: rgba(123, 97, 255, 0.06);
}

.wenoso-partnership .referrals-table td {
    color: #e2e8f0;
}

.theme-light .wenoso-partnership .referrals-table td {
    color: #334155;
}

.wenoso-partnership .referrer-username {
    color: #f8fafc;
}

.theme-light .wenoso-partnership .referrer-username {
    color: #0f172a;
}

.wenoso-partnership .pagination-container {
    margin-top: 1rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .wenoso-partnership .pagination-container {
    border-top-color: #e2e8f0;
}

.wenoso-partnership .pagination-info {
    color: rgba(148, 163, 184, 0.9);
}

.wenoso-partnership .pagination-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.wenoso-partnership .pagination-btn:hover:not(:disabled) {
    border-color: #7b61ff;
    color: #c4b5fd;
}

.wenoso-partnership .pagination-btn.active {
    background: linear-gradient(135deg, #7b61ff, #6366f1);
    border-color: transparent;
    color: #fff;
}

.wenoso-partnership .referrals-cards {
    display: none;
}

.wenoso-partnership .loading-spinner {
    color: rgba(148, 163, 184, 0.95);
}

.wenoso-partnership .empty-state {
    color: rgba(148, 163, 184, 0.9);
}

.wenoso-ref-modal.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.wenoso-ref-modal.modal-overlay.active {
    display: flex !important;
}

.wenoso-ref-modal {
    background:
        radial-gradient(circle at 12% 18%, rgba(99, 102, 241, 0.2), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(168, 85, 247, 0.2), transparent 44%),
        rgba(7, 5, 18, 0.82) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wenoso-ref-modal .modal-content,
.wenoso-ref-modal .wenoso-ref-modal__content {
    width: min(960px, 100%);
    max-height: min(90vh, 920px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(160deg, rgba(167, 139, 250, 0.18) 0%, rgba(59, 130, 246, 0.08) 40%, rgba(30, 41, 59, 0.18) 100%),
        rgba(16, 18, 30, 0.93);
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 24px 64px rgba(0, 0, 0, 0.56),
        0 0 72px rgba(99, 102, 241, 0.2);
}

.wenoso-ref-modal .wenoso-ref-modal__content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #818cf8, #6366f1);
    background-size: 200% 100%;
    animation: walletAccentShift 4s linear infinite;
}

.theme-light .wenoso-ref-modal .modal-content,
.theme-light .wenoso-ref-modal .wenoso-ref-modal__content {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 244, 255, 0.86) 46%, rgba(238, 242, 255, 0.94) 100%);
    border-color: rgba(99, 102, 241, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 18px 46px rgba(30, 41, 59, 0.16);
}

.wenoso-ref-modal .modal-header,
.wenoso-ref-modal .modal-body {
    border-color: rgba(255, 255, 255, 0.08);
}

.wenoso-ref-modal .modal-body,
.wenoso-ref-modal .wenoso-ref-modal__body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    padding: 20px 22px 22px;
}

.wenoso-ref-modal .modal-header h3,
.wenoso-ref-modal .modal-user-title-content {
    color: #f8fafc;
}

.theme-light .wenoso-ref-modal .modal-header h3,
.theme-light .wenoso-ref-modal .modal-user-title-content {
    color: #0f172a;
}

.wenoso-ref-modal .modal-user-info {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-light .wenoso-ref-modal .modal-user-info {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.wenoso-ref-modal .modal-user-header {
    margin-bottom: 10px;
}

.wenoso-ref-modal .modal-user-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wenoso-ref-modal .modal-user-title-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.wenoso-ref-modal .wenoso-ref-title-ico {
    color: #22d3ee;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.36));
}

.wenoso-ref-modal .wenoso-ref-title-ico .wr-link {
    opacity: 0.86;
}

.wenoso-ref-modal .wenoso-ref-title-ico .wr-core {
    transform-origin: center;
    animation: wenosoRefCorePulse 1.8s ease-in-out infinite;
}

.wenoso-ref-modal .wenoso-ref-title-ico .wr-node--left,
.wenoso-ref-modal .wenoso-ref-title-ico .wr-node--right {
    animation: wenosoRefNodeFloat 1.8s ease-in-out infinite;
}

.wenoso-ref-modal .wenoso-ref-title-ico .wr-node--right {
    animation-delay: 0.28s;
}

.theme-light .wenoso-ref-modal .wenoso-ref-title-ico {
    color: #0891b2;
    filter: none;
}

.wenoso-ref-modal .modal-line-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.wenoso-ref-modal .modal-user-line {
    pointer-events: none;
    user-select: none;
    cursor: not-allowed;
    opacity: 0.72;
    filter: grayscale(0.08);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(148, 163, 184, 0.1);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.wenoso-ref-modal .modal-back-button {
    border: 1px solid rgba(167, 139, 250, 0.28);
    background: rgba(99, 102, 241, 0.14);
    color: #ddd6fe;
    border-radius: 10px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.theme-light .wenoso-ref-modal .modal-back-button {
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
    border-color: rgba(99, 102, 241, 0.2);
}

.wenoso-ref-modal .modal-user-info {
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.wenoso-ref-modal .modal-user-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wenoso-ref-modal .modal-user-detail-item {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.22);
    min-height: 66px;
}

.theme-light .wenoso-ref-modal .modal-user-detail-item {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.72);
}

.wenoso-ref-modal .modal-user-detail-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.wenoso-ref-modal .modal-user-detail-value {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 700;
}

.theme-light .wenoso-ref-modal .modal-user-detail-value {
    color: #0f172a;
}

.wenoso-ref-modal .table-container {
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(2, 6, 23, 0.18);
}

.theme-light .wenoso-ref-modal .table-container {
    border-color: rgba(99, 102, 241, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.wenoso-ref-modal .view-downline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    border-radius: 12px;
    padding: 0.46rem 0.9rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(129, 140, 248, 0.38);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.16));
    color: #ddd6fe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 18px rgba(30, 41, 59, 0.32);
}

.wenoso-ref-modal .view-downline-btn.disabled,
.wenoso-ref-modal .view-downline-btn[disabled] {
    pointer-events: none;
    user-select: none;
    cursor: not-allowed;
    border-color: rgba(148, 163, 184, 0.26);
    background: linear-gradient(145deg, rgba(148, 163, 184, 0.2), rgba(100, 116, 139, 0.12));
    color: rgba(226, 232, 240, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 14px rgba(2, 6, 23, 0.24);
    opacity: 0.94;
    filter: saturate(0.88);
}

.wenoso-ref-modal .view-downline-btn .wenoso-ref-view-ico {
    color: rgba(34, 211, 238, 0.88);
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.28));
}

.theme-light .wenoso-ref-modal .view-downline-btn {
    border-color: rgba(99, 102, 241, 0.28);
    background: linear-gradient(145deg, rgba(224, 231, 255, 0.9), rgba(233, 213, 255, 0.72));
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 16px rgba(100, 116, 139, 0.16);
}

.theme-light .wenoso-ref-modal .view-downline-btn.disabled,
.theme-light .wenoso-ref-modal .view-downline-btn[disabled] {
    border-color: rgba(148, 163, 184, 0.35);
    background: linear-gradient(145deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.92));
    color: rgba(15, 23, 42, 0.68);
}

.theme-light .wenoso-ref-modal .view-downline-btn .wenoso-ref-view-ico {
    color: rgba(14, 165, 233, 0.82);
    filter: none;
}

@keyframes wenosoRefCorePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.22); opacity: 1; }
}

@keyframes wenosoRefNodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.8px); }
}

.wenoso-ref-modal .referrals-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.22);
}

.theme-light .wenoso-ref-modal .referrals-table {
    border-color: rgba(99, 102, 241, 0.18);
    background: rgba(255, 255, 255, 0.8);
}

.wenoso-ref-modal .referrals-table thead th {
    padding: 12px 14px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(233, 213, 255, 0.96);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.18));
    border-bottom: 1px solid rgba(167, 139, 250, 0.26);
}

.theme-light .wenoso-ref-modal .referrals-table thead th {
    color: #334155;
    background: linear-gradient(90deg, rgba(224, 231, 255, 0.95), rgba(243, 232, 255, 0.94));
    border-bottom-color: rgba(99, 102, 241, 0.16);
}

.wenoso-ref-modal .referrals-table tbody td {
    padding: 12px 14px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    vertical-align: middle;
    background: rgba(15, 23, 42, 0.16);
}

.theme-light .wenoso-ref-modal .referrals-table tbody td {
    color: #334155;
    border-bottom-color: rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.78);
}

.wenoso-ref-modal .referrals-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.1);
}

.theme-light .wenoso-ref-modal .referrals-table tbody tr:hover td {
    background: rgba(224, 231, 255, 0.75);
}

.wenoso-ref-modal .referrals-table tbody tr:last-child td {
    border-bottom: none;
}

.wenoso-ref-modal .referrals-table th,
.wenoso-ref-modal .referrals-table td {
    white-space: nowrap;
}

.wenoso-ref-modal .referrals-table thead th:not(:last-child),
.wenoso-ref-modal .referrals-table tbody td:not(:last-child) {
    border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.theme-light .wenoso-ref-modal .referrals-table thead th:not(:last-child),
.theme-light .wenoso-ref-modal .referrals-table tbody td:not(:last-child) {
    border-right-color: rgba(148, 163, 184, 0.18);
}

.wenoso-ref-modal .modal-referrals-cards {
    display: none;
}

.wenoso-ref-modal .pagination-container {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.theme-light .wenoso-ref-modal .pagination-container {
    border-top-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 992px) {
    .wenoso-ref-modal .modal-user-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.wenoso-ref-modal .modal-close {
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.24);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wenoso-ref-modal .modal-close:hover {
    background: rgba(139, 92, 246, 0.22);
    color: #f8fafc;
}

@media (max-width: 768px) {
    .wenoso-ref-modal .modal-user-details {
        grid-template-columns: 1fr;
    }
    .container.user-cabinet-page {
        margin-top: 28px;
        margin-bottom: 28px;
    }
    .wenoso-ref-modal .table-container {
        display: none;
    }

    .wenoso-ref-link-card__row {
        flex-direction: column;
    }
    .wenoso-ref-link-card__btn {
        width: 100%;
    }
    .wenoso-partnership .referrals-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .wenoso-partnership .table-container {
        display: none;
    }
    .wenoso-partnership .referral-card {
        background: rgba(18, 18, 20, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        overflow: hidden;
    }
    .theme-light .wenoso-partnership .referral-card {
        background: #fff;
        border-color: #e2e8f0;
    }
    .wenoso-partnership .referral-card .card-header {
        padding: 14px 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .theme-light .wenoso-partnership .referral-card .card-header {
        border-bottom-color: rgba(15, 23, 42, 0.08);
    }
    .wenoso-partnership .referral-card .card-body {
        padding: 4px 16px 4px;
        display: flex;
        flex-direction: column;
    }
    .wenoso-partnership .referral-card .card-item {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .wenoso-partnership .referral-card .card-item:last-child {
        border-bottom: none;
    }
    .wenoso-partnership .referral-card .card-actions {
        padding: 12px 16px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .theme-light .wenoso-partnership .referral-card .card-actions {
        border-top-color: rgba(15, 23, 42, 0.08);
    }
    .wenoso-partnership .card-title {
        color: #f8fafc;
        font-size: 1rem;
        font-weight: 700;
    }
    .theme-light .wenoso-partnership .card-title {
        color: #0f172a;
    }
    .wenoso-partnership .card-label {
        flex: 1 1 auto;
        min-width: 0;
        color: rgba(203, 213, 225, 0.92);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }
    .theme-light .wenoso-partnership .card-label {
        color: rgba(71, 85, 105, 0.96);
    }
    .wenoso-partnership .card-value {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 58%;
        color: #f1f5f9;
        font-size: 13px;
        font-weight: 700;
        text-align: right;
        line-height: 1.35;
        font-variant-numeric: tabular-nums;
    }
    .theme-light .wenoso-partnership .card-value {
        color: #0f172a;
    }
    .wenoso-partnership .registration-date {
        display: inline-block;
        max-width: 100%;
        text-align: right;
    }
    .wenoso-partnership .registration-date__date {
        white-space: nowrap;
    }
    .wenoso-partnership .registration-time {
        white-space: nowrap;
        font-weight: 600;
        opacity: 0.88;
    }

    .wenoso-ref-modal .modal-referrals-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .wenoso-ref-modal .modal-referral-card {
        background: rgba(18, 18, 20, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        overflow: hidden;
    }
    .theme-light .wenoso-ref-modal .modal-referral-card {
        background: #fff;
        border-color: #e2e8f0;
    }
    .wenoso-ref-modal .modal-referral-card .modal-card-header {
        padding: 14px 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .theme-light .wenoso-ref-modal .modal-referral-card .modal-card-header {
        border-bottom-color: rgba(15, 23, 42, 0.08);
    }
    .wenoso-ref-modal .modal-referral-card .modal-card-body {
        padding: 4px 16px 12px;
        display: flex;
        flex-direction: column;
    }
    .wenoso-ref-modal .modal-referral-card .modal-card-item {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .wenoso-ref-modal .modal-referral-card .modal-card-item:last-child {
        border-bottom: none;
    }
    .wenoso-ref-modal .modal-card-title {
        color: #f8fafc;
        font-size: 1rem;
        font-weight: 700;
    }
    .theme-light .wenoso-ref-modal .modal-card-title {
        color: #0f172a;
    }
    .wenoso-ref-modal .modal-card-label {
        flex: 1 1 auto;
        min-width: 0;
        color: rgba(203, 213, 225, 0.92);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }
    .theme-light .wenoso-ref-modal .modal-card-label {
        color: rgba(71, 85, 105, 0.96);
    }
    .wenoso-ref-modal .modal-card-value {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 58%;
        color: #f1f5f9;
        font-size: 13px;
        font-weight: 700;
        text-align: right;
        line-height: 1.35;
        font-variant-numeric: tabular-nums;
    }
    .theme-light .wenoso-ref-modal .modal-card-value {
        color: #0f172a;
    }
    .wenoso-ref-modal .modal-referral-card .registration-date {
        display: inline-block;
        max-width: 100%;
        text-align: right;
    }
    .wenoso-ref-modal .modal-referral-card .registration-date__date {
        white-space: nowrap;
    }
    .wenoso-ref-modal .modal-referral-card .registration-time {
        white-space: nowrap;
        font-weight: 600;
        opacity: 0.88;
    }
    .wenoso-ref-modal .modal-referral-card .modal-card-actions {
        padding: 0 16px 14px;
    }
}


.wenoso-income-page__hint {
    font-size: 13px;
    margin: 0 0 20px;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-income-page__hint {
    color: #0e0f11;
}

.wenoso-income-page__plan-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-light .wenoso-income-page__plan-filter {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.wenoso-income-page__plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-light .wenoso-income-page__plan-pill {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.wenoso-income-page__plan-pill:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
    color: #e2e8f0;
}

.theme-light .wenoso-income-page__plan-pill:hover {
    background: #e0e7ff;
    border-color: #c7d2fe;
    color: #1e1b4b;
}

.wenoso-income-page__plan-pill--active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.3));
    border-color: rgba(129, 140, 248, 0.55);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.theme-light .wenoso-income-page__plan-pill--active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
}

.wenoso-income-page__plan-pill-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wenoso-income-page__plan-pill-amt {
    opacity: 0.85;
    font-variant-numeric: tabular-nums;
}

.wenoso-income-page__plan-cell {
    font-size: 13px;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
    max-width: 160px;
}

.theme-light .wenoso-income-page__plan-cell {
    color: #0f172a;
}

.wenoso-income-page__details-cell {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(203, 213, 225, 0.92);
    max-width: 220px;
}

.theme-light .wenoso-income-page__details-cell {
    color: #334155;
}

.wenoso-income-page__txid {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    max-width: 200px;
    word-break: break-all;
}

.wenoso-income-page__txid a {
    color: #a5b4fc;
    text-decoration: none;
}

.wenoso-income-page__txid a:hover {
    text-decoration: underline;
}

.theme-light .wenoso-income-page__txid a {
    color: #4f46e5;
}

.wenoso-income-page__withdraw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .wenoso-income-page__withdraw-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.wenoso-income-page__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.wenoso-income-page__withdraw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.wenoso-income-page__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

.theme-light .wenoso-income-page__label {
    color: #0e0f11;
}

.wenoso-income-page__input,
.wenoso-income-page__select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 11, 0.85);
    color: #f1f5f9;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wenoso-income-page__input--mono {
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
}

.theme-light .wenoso-income-page__input,
.theme-light .wenoso-income-page__select {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.wenoso-income-page__input:focus,
.wenoso-income-page__select:focus {
    outline: none;
    border-color: rgba(123, 97, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.2);
}

.wenoso-income-page__submit {
    width: 100%;
    max-width: 320px;
    margin: 8px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wenoso-income-page__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35);
}

.wenoso-income-page__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.wenoso-income-page__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .wenoso-income-page__table-wrap {
    border-color: #e2e8f0;
}

.wenoso-income-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.wenoso-income-page__table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.theme-light .wenoso-income-page__table thead th {
    color: #0e0f11;
    border-bottom-color: #e2e8f0;
}

.wenoso-income-page__table tbody td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.theme-light .wenoso-income-page__table tbody td {
    color: #0f172a;
    border-bottom-color: #f1f5f9;
}

.wenoso-income-page__table tbody tr:last-child td {
    border-bottom: none;
}

.wenoso-income-page__amount {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wenoso-income-page__amount--plus {
    color: #34d399;
}

.wenoso-income-page__muted {
    font-weight: 500;
    font-size: 12px;
    opacity: 0.75;
}

.wenoso-income-page__date {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.95);
    white-space: nowrap;
}

.theme-light .wenoso-income-page__date {
    color: #0e0f11;
}

.wenoso-income-page__empty {
    text-align: center;
    padding: 28px 16px !important;
    color: rgba(148, 163, 184, 0.9) !important;
}

.wenoso-income-page__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.wenoso-income-page__badge--pending {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.08);
}

.wenoso-income-page__badge--approved {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.1);
}

.wenoso-income-page__badge--rejected {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.08);
}

.wenoso-income-page__badge--completed {
    color: #a5b4fc;
    border-color: rgba(165, 180, 252, 0.35);
    background: rgba(99, 102, 241, 0.12);
}

.theme-light .wenoso-income-page__badge--completed {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.1);
}

.wenoso-income-page__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 8px;
}

.wenoso-income-page__page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 11, 0.6);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.wenoso-income-page__page-btn:hover:not(.wenoso-income-page__page-btn--disabled):not(.wenoso-income-page__page-btn--active) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.wenoso-income-page__page-btn--active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.wenoso-income-page__page-btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.theme-light .wenoso-income-page__page-btn {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

.theme-light .wenoso-income-page__page-btn--active {
    color: #fff;
}

.wenoso-income-page__page-dots {
    color: rgba(148, 163, 184, 0.9);
    padding: 0 6px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .wenoso-income-page--withdraw .wenoso-income-page__page-header.page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
    }

    .wenoso-income-page--withdraw .header-actions {
        align-self: flex-end;
    }

    .wenoso-income-page--withdraw .page-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        letter-spacing: 0.02em;
    }

    .wenoso-income-page--withdraw .page-subtitle {
        font-size: 14px;
        line-height: 1.45;
    }

    .wenoso-income-page--withdraw .stats-grid {
        gap: 12px;
        margin-bottom: 18px;
    }

    .wenoso-income-page--withdraw .stat-card {
        padding: 16px 14px;
    }

    .wenoso-income-page--withdraw .stat-value {
        font-size: 20px;
    }

    .wenoso-income-page--withdraw .stat-change {
        font-size: 12px;
        line-height: 1.35;
    }

    .wenoso-income-page--withdraw .content-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .wenoso-income-page--withdraw .card-header {
        margin-bottom: 14px;
    }

    .wenoso-income-page--withdraw .card-title {
        font-size: 16px;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__plan-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 0 0 14px;
        margin: 0 -4px;
        padding-left: 4px;
        padding-right: 4px;
        scrollbar-width: thin;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__plan-pill {
        flex-shrink: 0;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__plan-pill-name {
        max-width: min(200px, 46vw);
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table-wrap {
        overflow-x: visible;
        border: none;
        background: transparent;
    }

    .theme-light .wenoso-income-page--withdraw .wenoso-income-page__table-wrap {
        border: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table thead {
        display: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody tr {
        display: block;
        margin-bottom: 10px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.04);
        overflow: hidden;
    }

    .theme-light .wenoso-income-page--withdraw .wenoso-income-page__table tbody tr {
        border-color: #e2e8f0;
        background: #f8fafc;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td:not(.wenoso-income-page__empty) {
        display: grid;
        grid-template-columns: minmax(72px, 34%) 1fr;
        column-gap: 12px;
        row-gap: 0;
        align-items: start;
        padding: 7px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        text-align: right;
    }

    .theme-light .wenoso-income-page--withdraw .wenoso-income-page__table tbody td:not(.wenoso-income-page__empty) {
        border-bottom-color: #f1f5f9;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td:last-child {
        border-bottom: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td::before {
        content: attr(data-label);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(148, 163, 184, 0.95);
        text-align: left;
        line-height: 1.4;
        padding-top: 2px;
    }

    .theme-light .wenoso-income-page--withdraw .wenoso-income-page__table tbody td::before {
        color: #64748b;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td .wenoso-income-page__cell-val {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
        min-width: 0;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td .wenoso-income-page__cell-val a {
        word-break: break-all;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td.wenoso-income-page__empty {
        display: block;
        text-align: center;
        border-bottom: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__table tbody td.wenoso-income-page__empty::before {
        display: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__txid {
        max-width: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__plan-cell {
        max-width: none;
        width: 100%;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__details-cell {
        max-width: none;
    }

    .wenoso-income-page--withdraw .wenoso-income-page__pagination {
        gap: 6px;
        margin-top: 16px;
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }

    .wenoso-income-page--withdraw .wenoso-income-page__page-btn {
        min-width: 44px;
        min-height: 44px;
        height: auto;
        padding: 10px 12px;
    }
}

.wenoso-ref-commissions {
    margin-top: 28px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(14, 14, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.theme-light .wenoso-ref-commissions {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.wenoso-ref-commissions__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: #f8fafc;
}

.theme-light .wenoso-ref-commissions__title {
    color: #0f172a;
}

.wenoso-ref-commissions__scroll {
    margin-top: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 6, 10, 0.4);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.theme-light .wenoso-ref-commissions__scroll {
    border-color: #e2e8f0;
    background: rgba(248, 250, 252, 0.9);
}

.wenoso-ref-commissions__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 720px;
}

.wenoso-ref-commissions__table thead th {
    text-align: left;
    padding: 12px 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.theme-light .wenoso-ref-commissions__table thead th {
    color: #0e0f11;
    border-bottom-color: #e2e8f0;
}

.wenoso-ref-commissions__table tbody td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    vertical-align: top;
}

.theme-light .wenoso-ref-commissions__table tbody td {
    color: #0f172a;
    border-bottom-color: #f1f5f9;
}

.wenoso-ref-commissions__table tbody tr:last-child td {
    border-bottom: none;
}

.wenoso-ref-commissions__mono {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    white-space: nowrap;
}

.wenoso-ref-commissions__num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.wenoso-ref-commissions__muted {
    color: rgba(148, 163, 184, 0.95);
    text-transform: lowercase;
}

.theme-light .wenoso-ref-commissions__muted {
    color: #0e0f11;
}

.wenoso-ref-commissions__note {
    max-width: 220px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(203, 213, 225, 0.92);
}

.theme-light .wenoso-ref-commissions__note {
    color: #475569;
}

.wenoso-ref-commissions__link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
}

.wenoso-ref-commissions__link:hover {
    text-decoration: underline;
}

.wenoso-ref-commissions__empty {
    text-align: center;
    padding: 28px 16px !important;
    color: rgba(148, 163, 184, 0.95) !important;
}

.theme-light .wenoso-ref-commissions__empty {
    color: #0e0f11 !important;
}

.wenoso-ref-commissions__pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 8px;
}

.wenoso-ref-commissions__page-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
}

.theme-light .wenoso-ref-commissions__page-meta {
    color: #0e0f11;
}

.wenoso-ref-commissions__page-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wenoso-ref-commissions__page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 11, 0.55);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wenoso-ref-commissions__page-btn:hover:not(.wenoso-ref-commissions__page-btn--disabled):not(.wenoso-ref-commissions__page-btn--active) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.wenoso-ref-commissions__page-btn--active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
}

.wenoso-ref-commissions__page-btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.theme-light .wenoso-ref-commissions__page-btn {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

.theme-light .wenoso-ref-commissions__page-btn--active {
    color: #fff;
}


.toastify.wenoso-toast {
    max-width: min(420px, calc(100vw - 32px)) !important;
    width: auto !important;
    padding: 14px 44px 14px 16px !important;
    border-radius: 14px !important;
    cursor: default !important;
    font-family: var(--font-body), 'Segoe UI', system-ui, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    background: rgba(12, 12, 18, 0.76) !important;
    background-image: none !important;
    -webkit-background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 4px 28px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(124, 58, 237, 0.12) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    position: fixed !important;
    z-index: 100020 !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

.toastify.wenoso-toast .toast-close {
    position: absolute !important;
    z-index: 2 !important;
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.toastify.wenoso-toast .toast-close:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(167, 139, 250, 0.45) !important;
    color: #fff !important;
}

.toastify.wenoso-toast::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0.45;
    z-index: 0;
}

.toastify.wenoso-toast.wenoso-toast--success::before {
    background: radial-gradient(120% 80% at 8% 0%, rgba(16, 185, 129, 0.35) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(124, 58, 237, 0.26) 0%, transparent 50%);
}

.toastify.wenoso-toast.wenoso-toast--error::before {
    background: radial-gradient(120% 80% at 8% 0%, rgba(244, 63, 94, 0.35) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
}

.toastify.wenoso-toast.wenoso-toast--warning::before {
    background: radial-gradient(120% 80% at 8% 0%, rgba(245, 158, 11, 0.32) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
}

.toastify.wenoso-toast.wenoso-toast--info::before {
    background: radial-gradient(120% 80% at 8% 0%, rgba(59, 130, 246, 0.3) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(124, 58, 237, 0.22) 0%, transparent 50%);
}

.toastify.wenoso-toast.wenoso-toast--success {
    border-left: 3px solid rgba(16, 185, 129, 0.65) !important;
}

.toastify.wenoso-toast.wenoso-toast--error {
    border-left: 3px solid rgba(244, 63, 94, 0.7) !important;
}

.toastify.wenoso-toast.wenoso-toast--warning {
    border-left: 3px solid rgba(245, 158, 11, 0.75) !important;
}

.toastify.wenoso-toast.wenoso-toast--info {
    border-left: 3px solid rgba(96, 165, 250, 0.75) !important;
}

.theme-light .toastify.wenoso-toast {
    color: rgba(15, 23, 42, 0.94) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

.theme-light .toastify.wenoso-toast .toast-close {
    background: rgba(15, 23, 42, 0.05) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: rgba(15, 23, 42, 0.75) !important;
}

.theme-light .toastify.wenoso-toast .toast-close:hover {
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    color: #0f172a !important;
}

@media (max-width: 520px) {
    .toastify.wenoso-toast.toastify-right.toastify-top {
        right: 16px !important;
        left: 16px !important;
        max-width: none !important;
    }
}


body.user-cabinet-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.user-cabinet-body > .background-wrapper,
body.user-cabinet-body > .starfield,
body.user-cabinet-body > .site-atmosphere,
body.user-cabinet-body > .animated-background {
    flex: 0 0 auto;
}

body.user-cabinet-body > .mobile-header {
    flex: 0 0 auto;
}

body.user-cabinet-body > .mobile-overlay,
body.user-cabinet-body > .mobile-menu {
    flex: 0 0 auto;
}

body.user-cabinet-body > .layout {
    flex: 1 1 auto;
    min-height: 0;
}


@media (min-width: 1024px) {
    body.user-cabinet-body > .layout {
        align-items: stretch;
    }

    body.user-cabinet-body .main-content.user-app-main {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;

        padding-top: 12px;
        padding-bottom: 24px;
    }
}

body.user-cabinet-body > .user-cabinet-site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.user-cabinet-site-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.user-cabinet-site-footer .footer {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    padding: 40px 0 24px;
}

.theme-light .user-cabinet-site-footer .footer {
    background: rgba(248, 250, 252, 0.82);
}

.user-cabinet-site-footer .footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 1024px) {
    .user-cabinet-site-footer .footer .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.user-cabinet-site-footer .footer-grid {
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .user-cabinet-site-footer .footer-grid {
        gap: 32px 28px;
        align-items: start;
    }
}

.user-cabinet-site-footer .footer-bottom {
    padding-top: 24px;
}
