:root {
    --bg: #f4f5f7;
    --surface: #fff;
    --surface-soft: #f8f9fb;
    --border: #e3e8f0;
    --text: #20293a;
    --muted: #748094;
    --shadow: 0 16px 40px rgba(25, 35, 58, .08), 0 2px 8px rgba(25, 35, 58, .04);
    --shadow-soft: 0 24px 60px rgba(126, 138, 158, .14);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --gradient: linear-gradient(90deg, #39c1df 0%, #1a8dd8 48%, #123567 100%);
    --green: #22c55e;
    --green-soft: #ebfbef;
    --blue: #3066eb;
    --red: #ef2f2f;
    --purple: #8b3ff5;
    --yellow-soft: #fff8e5
}

.nx-page--profile {
    gap: 24px;
    padding-bottom: 12px
}

.nx-profile-card,
.nx-kyc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .08)
}

.nx-profile-card {
    overflow: hidden
}

.nx-profile-card__body {
    padding: 24px 28px 28px
}

.nx-profile-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px
}

.nx-profile-card__header h2,
.nx-kyc-card h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #1f2937
}

.nx-profile-card__edit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .18);
    transition: transform .2s ease, box-shadow .2s ease
}

.nx-profile-card__edit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22)
}

.nx-profile-card__edit svg {
    width: 18px;
    height: 18px
}

.nx-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.nx-profile-info {
    display: grid;
    gap: 10px
}

.nx-profile-info--wide {
    grid-column: 1/-1
}

.nx-profile-info label,
.nx-kyc-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563
}

.nx-profile-info__icon,
.nx-kyc-section h3 svg {
    width: 18px;
    height: 18px;
    color: #3b82f6;
    flex: 0 0 auto
}

.nx-profile-info p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    color: #1f2937;
    border: 1px solid #f1f5f9;
    font-size: 15px;
    line-height: 1.5
}

.nx-profile-readonly {
    position: relative
}

.nx-profile-readonly input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    outline: none;
    cursor: not-allowed
}

.nx-profile-readonly__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 7px 10px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease
}

.nx-profile-readonly__tip:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 8px;
    height: 8px;
    background: #111827;
    transform: translateX(-50%) rotate(45deg)
}

.nx-profile-readonly:hover .nx-profile-readonly__tip {
    opacity: 1
}

.nx-kyc-card {
    padding: 22px 20px 20px;
    border-radius: 14px
}

.nx-kyc-card__intro {
    margin: 8px 0 28px;
    color: #6b7280;
    font-size: 14px
}

.nx-kyc-form,
.nx-kyc-stack,
.nx-kyc-section {
    display: grid
}

.nx-kyc-form {
    gap: 24px
}

.nx-kyc-section {
    gap: 18px
}

.nx-kyc-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 700
}

.nx-kyc-stack {
    gap: 16px
}

.nx-kyc-field {
    display: grid;
    gap: 8px
}

.nx-kyc-field input,
.nx-kyc-field textarea,
.nx-kyc-select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    outline: none;
    font: inherit
}

.nx-kyc-field input:focus,
.nx-kyc-field textarea:focus,
.nx-kyc-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12)
}

.nx-kyc-field textarea {
    resize: vertical;
    min-height: 112px
}

.nx-kyc-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease
}

.nx-kyc-select:hover {
    background: #f3f4f6
}

.nx-kyc-select__chev {
    display: inline-flex;
    color: #6b7280
}

.nx-kyc-select__chev svg {
    width: 18px;
    height: 18px
}

.nx-kyc-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.nx-kyc-upload {
    display: block
}

.nx-kyc-upload input {
    display: none
}

.nx-kyc-upload__inner {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 160px;
    padding: 20px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease
}

.nx-kyc-upload__inner:hover {
    background: #f3f4f6;
    border-color: #cbd5e1
}

.nx-kyc-upload__inner svg {
    width: 32px;
    height: 32px;
    color: #9ca3af
}

.nx-kyc-upload__inner strong {
    font-size: 14px;
    color: #374151
}

.nx-kyc-upload__inner small {
    font-size: 12px;
    color: #6b7280
}

.nx-kyc-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6
}

.nx-kyc-note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px
}

.nx-kyc-note p {
    margin: 0
}

.nx-kyc-note ul {
    margin: 0;
    padding-left: 18px
}

.nx-kyc-note li+li {
    margin-top: 4px
}

.nx-kyc-note--info {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #1d4ed8
}

.nx-kyc-note--info p {
    margin-bottom: 6px;
    font-weight: 700
}

.nx-kyc-note--muted {
    background: #f9fafb;
    border-color: #f1f5f9;
    color: #4b5563
}

.nx-kyc-submit {
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease
}

.nx-kyc-submit:hover {
    background: #4338ca;
    transform: translateY(-1px)
}

@media (max-width:900px) {

    .nx-profile-grid,
    .nx-kyc-upload-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:640px) {
    .nx-profile-card__body {
        padding: 20px
    }

    .nx-profile-card__header {
        align-items: flex-start;
        flex-direction: column
    }

    .nx-profile-card__header h2,
    .nx-kyc-card h2 {
        font-size: 26px
    }

    .nx-profile-card__edit {
        width: 100%;
        justify-content: center
    }

    .nx-kyc-card {
        padding: 18px
    }
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%
}

body.alpha-rebuild-app {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif
}

body.nx-drawer-open {
    overflow: hidden
}

button,
input {
    font: inherit
}

button {
    border: 0;
    background: none;
    cursor: pointer
}

svg {
    display: block
}

#root {
    min-height: 100vh
}

@keyframes nx-spin {
    to {
        transform: rotate(360deg)
    }
}

.nx-shell {
    min-height: 100vh;
    position: relative
}

.nx-main {
    min-height: 100vh
}

.nx-sidebar {
    display: none
}

.nx-content {
    padding: 18px 14px 120px;
    background: linear-gradient(180deg, #eef0f4 0%, #f5f6f8 160px)
}

.nx-page {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px
}

.nx-page--assets {
    min-height: calc(100vh - 150px)
}

.nx-page--market {
    min-height: calc(100vh - 150px)
}

.nx-page--dashboard {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start
}

.nx-page--dashboard .nx-balance {
    grid-column: span 5
}

.nx-page--dashboard .nx-analytics,
.nx-page--dashboard .nx-market {
    grid-column: span 7
}

.nx-page--dashboard .nx-quick {
    grid-column: span 5
}

.nx-page--dashboard .nx-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.nx-topbar,
.nx-topbar__left,
.nx-topbar__actions,
.nx-mobile-brand,
.nx-balance__value,
.nx-balance__actions,
.nx-market__top,
.nx-market__head,
.nx-market-row,
.nx-market-row__token,
.nx-market-row__change,
.nx-panel__title,
.nx-side-link,
.nx-sidebar__brand,
.nx-bottom-link,
.nx-chat,
.nx-search,
.nx-round,
.nx-avatar,
.nx-user {
    display: flex;
    align-items: center
}

.nx-topbar,
.nx-balance__head,
.nx-market__top {
    justify-content: space-between
}

.nx-topbar__left,
.nx-topbar__actions,
.nx-mobile-brand,
.nx-balance__actions,
.nx-market__top,
.nx-market-row__token,
.nx-panel__title,
.nx-side-link,
.nx-sidebar__brand,
.nx-bottom-link {
    gap: 12px
}

.nx-balance__head {
    display: flex;
    align-items: flex-start;
    gap: 18px
}

.nx-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 104px;
    padding: 20px 24px;
    border-bottom: 1px solid #e6ebf2;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px)
}

.nx-topbar__left {
    gap: 18px
}

.nx-topbar__actions {
    gap: 12px
}

.nx-mobile-brand {
    gap: 14px
}

.nx-topbar__wordmark {
    display: none;
    align-items: center
}

.nx-mobile-brand,
.nx-topbar__wordmark,
.nx-sidebar__brand,
.nx-drawer__brand {
    padding: 8px 10px;
    border-radius: 16px;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    box-shadow: 0 10px 20px rgba(239, 68, 68, .18), 0 0 18px rgba(26, 141, 216, .18);
    backdrop-filter: blur(20px)
}

.nx-menu-btn,
.nx-round,
.nx-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #4b5563;
    background: linear-gradient(180deg, #f9fafb 0%, #eef2f6 100%);
    border: 1px solid #d8dee8;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95)
}

.nx-menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%)
}

.nx-menu-btn svg,
.nx-round svg,
.nx-avatar svg,
.nx-inline-icon svg,
.nx-icon-btn svg,
.nx-search svg,
.nx-chat svg {
    width: 24px;
    height: 24px
}

.nx-brand-btn {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer
}

.nx-logo-wordmark {
    width: 150px;
    height: auto;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
    background: transparent
}

.nx-sidebar__brand .nx-logo-wordmark {
    width: 170px
}

.nx-mobile-brand .nx-logo-wordmark {
    width: 128px
}

.nx-drawer__brand .nx-logo-wordmark {
    width: 148px
}

.nx-topbar__wordmark .nx-logo-wordmark {
    width: 182px
}

.nx-avatar {
    color: #5b6578;
    border: 2px solid #22c55e;
    background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
    position: relative
}

.nx-round.is-active {
    color: #0f172a;
    border-color: #cfd8e5;
    background: linear-gradient(180deg, #fff 0%, #f2f5fa 100%);
    box-shadow: 0 10px 22px rgba(148, 163, 184, .18)
}

.nx-avatar__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    position: absolute;
    right: -2px;
    bottom: -1px;
    box-shadow: 0 0 0 3px #fff
}


.nx-user {
    display: none;
    color: #1f2937;
    font-size: 18px;
    gap: 6px
}

.nx-user svg {
    width: 18px;
    height: 18px
}

.nx-account-wrap {
    position: relative;
    display: flex;
    align-items: center
}

.nx-avatar.is-open {
    box-shadow: 0 14px 28px rgba(34, 197, 94, .18), inset 0 1px 0 rgba(255, 255, 255, .95)
}

.nx-account-menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    z-index: 60;
    width: 320px;
    max-width: calc(100vw - 32px)
}

.nx-account-menu__card {
    overflow: hidden;
    border: 1px solid #d9e0ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(15, 23, 42, .14), 0 4px 10px rgba(15, 23, 42, .06)
}

.nx-account-menu__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 18px
}

.nx-account-menu__avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    color: #677489;
    border: 2px solid #22c55e;
    border-radius: 50%;
    background: #f7faf9
}

.nx-account-menu__avatar svg {
    width: 28px;
    height: 28px
}

.nx-account-menu__avatar-dot {
    position: absolute;
    right: -3px;
    bottom: -1px;
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #22c55e
}

.nx-account-menu__identity {
    min-width: 0;
    flex: 1
}

.nx-account-menu__identity h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2
}

.nx-account-menu__uid-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 14px;
    line-height: 1.2
}

.nx-account-menu__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #6b7280;
    border-radius: 8px;
    background: transparent
}

.nx-account-menu__copy:hover {
    background: #f3f4f6;
    color: #374151
}

.nx-account-menu__copy svg {
    width: 18px;
    height: 18px
}

.nx-account-menu__badge {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #a16207;
    font-size: 13px;
    font-weight: 600;
    line-height: 1
}

.nx-account-menu__group {
    display: grid;
    gap: 4px;
    padding: 12px 12px 16px
}

.nx-account-menu__group--divided {
    border-top: 1px solid #e6ebf2;
    padding-top: 12px
}

.nx-account-menu__footer {
    padding: 12px;
    border-top: 1px solid #e6ebf2
}

.nx-account-menu__link,
.nx-account-menu__logout {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: background-color .18s ease, color .18s ease
}

.nx-account-menu__link:hover,
.nx-account-menu__logout:hover {
    background: #f3f4f6;
    color: #4b5563
}

.nx-account-menu__link.is-highlighted {
    background: #f3f4f6
}

.nx-account-menu__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: inherit
}

.nx-account-menu__link-icon svg {
    width: 22px;
    height: 22px
}

.nx-account-menu__logout {
    color: #ef4444
}

.nx-account-menu__logout:hover {
    color: #dc2626;
    background: #fef2f2
}

.nx-card {
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid #edf1f7;
    box-shadow: var(--shadow-soft)
}

.nx-balance,
.nx-analytics,
.nx-market,
.nx-quick,
.nx-placeholder {
    padding: 28px 28px 30px
}

.nx-balance {
    border-radius: 22px;
    border: 1px solid #edf1f7;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06), 0 14px 32px rgba(15, 23, 42, .05)
}

.nx-assets {
    padding: 0;
    overflow: hidden
}

.nx-head h2,
.nx-balance h2,
.nx-panel h3,
.nx-market h3 {
    margin: 0;
    color: #1e2738
}

.nx-balance h2,
.nx-head h2 {
    font-size: clamp(22px, 2vw, 40px);
    font-weight: 800;
    letter-spacing: -.04em
}

.nx-balance__summary {
    flex: 1;
    min-width: 0
}

.nx-balance__value {
    gap: 14px;
    margin-top: 24px
}

.nx-balance__value strong {
    font-size: clamp(38px, 4vw, 58px);
    line-height: .95;
    letter-spacing: -.05em
}

.nx-balance p,
.nx-head p,
.nx-placeholder__body,
.nx-empty {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px
}

.nx-icon-btn {
    width: 42px;
    height: 42px;
    color: #768195;
    justify-content: center
}

.nx-balance__refresh {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #778195;
    flex: 0 0 auto
}

.nx-balance__actions {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.nx-action {
    justify-content: center;
    min-height: 60px;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 700
}

.nx-action__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.nx-action svg {
    width: 22px;
    height: 22px
}

.nx-action--deposit {
    background: #28c55a;
    box-shadow: 0 12px 26px rgba(40, 197, 90, .18)
}

.nx-action--trade {
    background: var(--gradient);
    box-shadow: 0 12px 30px rgba(255, 103, 63, .28)
}

.nx-action--withdraw {
    background: #f44545
}

.nx-assets__hero {
    padding: 30px 28px 22px
}

.nx-assets__summary h2 {
    margin: 0;
    font-size: clamp(24px, 2vw, 46px);
    font-weight: 800;
    letter-spacing: -.04em
}

.nx-assets__total {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px
}

.nx-assets__total strong {
    font-size: clamp(44px, 4vw, 60px);
    line-height: .95;
    letter-spacing: -.05em
}

.nx-assets__actions {
    padding: 20px 28px;
    border-top: 1px solid #edf1f7;
    border-bottom: 1px solid #edf1f7;
    display: flex;
    justify-content: center;
    gap: 20px
}

.nx-assets__actions .nx-action {
    min-width: 162px;
    min-height: 60px
}

.nx-assets__list {
    padding: 18px 28px 28px
}

.nx-asset-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    align-items: center;
    gap: 18px;
    padding: 20px 6px
}

.nx-asset-row+.nx-asset-row {
    margin-top: 8px
}

.nx-asset-row__coin {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0
}

.nx-asset-row__meta strong {
    display: block;
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.nx-asset-row__meta span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 16px
}

.nx-asset-row__stats {
    text-align: right
}

.nx-asset-row__stats strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.nx-asset-row__change {
    display: block;
    margin-top: 6px;
    color: #21b657;
    font-size: 15px;
    font-weight: 700
}

.nx-asset-row__value {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 15px
}

.nx-asset-row__chev {
    color: #8b95a7;
    display: flex;
    justify-content: flex-end
}

.nx-asset-row__chev svg {
    width: 18px;
    height: 18px
}

.nx-deposit {
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-color: #e5e9f1
}

.nx-deposit__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.nx-deposit__head h3,
.nx-deposit-history h3,
.nx-deposit-guide h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937
}

.nx-deposit__body {
    display: grid;
    gap: 22px
}

.nx-deposit__field {
    display: grid;
    gap: 10px
}

.nx-deposit__field label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280
}

.nx-deposit-select {
    position: relative
}

.nx-deposit-select__trigger {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    text-align: left
}

.nx-deposit-select__value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600
}

.nx-deposit-select__value .nx-coin,
.nx-deposit-option .nx-coin {
    width: 28px;
    height: 28px
}

.nx-deposit-select__value .nx-coin--btc span,
.nx-deposit-option .nx-coin--btc span,
.nx-deposit__qr-logo .nx-coin--btc span {
    width: 18px;
    height: 18px;
    font-size: 11px
}

.nx-deposit-select__value .nx-coin--eth .nx-coin__gem,
.nx-deposit-option .nx-coin--eth .nx-coin__gem {
    width: 11px;
    height: 11px
}

.nx-deposit-select__value .nx-coin--bnb .nx-coin__bnb,
.nx-deposit-option .nx-coin--bnb .nx-coin__bnb {
    width: 14px;
    height: 14px
}

.nx-deposit-select__value .nx-coin--sol .nx-coin__sol,
.nx-deposit-option .nx-coin--sol .nx-coin__sol {
    width: 16px;
    height: 4px
}

.nx-deposit-select__chev {
    color: #667085;
    transition: transform .2s ease
}

.nx-deposit-select.is-open .nx-deposit-select__chev {
    transform: rotate(180deg)
}

.nx-deposit-select__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 12;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12)
}

.nx-deposit-option {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: #111827
}

.nx-deposit-option:hover {
    background: #f3f4f6
}

.nx-deposit-option.is-active {
    background: #eef2ff;
    color: #4f46e5
}

.nx-deposit__network {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb
}

.nx-deposit__network p {
    margin: 0 0 5px;
    font-size: 12px;
    color: #6b7280
}

.nx-deposit__network strong {
    font-size: 14px
}

.nx-deposit__network span:last-child {
    padding: 5px 10px;
    border-radius: 8px;
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700
}

.nx-deposit__address {
    position: relative;
    padding: 14px 54px 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb
}

.nx-deposit__address p {
    margin: 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
    color: #111827
}

.nx-deposit__copy {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.nx-deposit__copy.is-copied {
    background: #22c55e
}

.nx-deposit__copy svg {
    width: 16px;
    height: 16px
}

.nx-deposit__qr {
    display: grid;
    justify-items: center
}

.nx-deposit__qr-box {
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb
}

.nx-deposit__qr-wrap {
    position: relative;
    width: 144px;
    height: 144px
}

.nx-deposit__qr-wrap img {
    width: 144px;
    height: 144px;
    display: block;
    border-radius: 10px
}

.nx-deposit__qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .15)
}

.nx-deposit__qr-logo .nx-coin {
    width: 28px;
    height: 28px;
    border-width: 0
}

.nx-deposit__qr p {
    margin: 10px 0 0;
    font-size: 12px;
    color: #6b7280
}

.nx-deposit__input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    outline: none;
    color: #111827
}

.nx-deposit__input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12)
}

.nx-deposit-upload {
    display: block
}

.nx-deposit-upload input {
    display: none
}

.nx-deposit-upload__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 20px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease
}

.nx-deposit-upload__inner:hover {
    background: #f3f4f6;
    border-color: #c7ced9
}

.nx-deposit-upload__empty,
.nx-deposit-upload__file {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center
}

.nx-deposit-upload__empty svg,
.nx-deposit-upload__file svg {
    width: 32px;
    height: 32px
}

.nx-deposit-upload__empty {
    color: #9ca3af
}

.nx-deposit-upload__file {
    color: #22c55e
}

.nx-deposit-upload__empty strong,
.nx-deposit-upload__file strong {
    font-size: 14px;
    color: #374151
}

.nx-deposit-upload__empty small,
.nx-deposit-upload__file small {
    font-size: 12px;
    color: #6b7280
}

.nx-deposit-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.55
}

.nx-deposit-note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px
}

.nx-deposit-note p {
    margin: 0
}

.nx-deposit-note--info {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #1d4ed8
}

.nx-deposit-note--danger {
    background: #fef2f2;
    border-color: #fee2e2;
    color: #b91c1c
}

.nx-deposit__submit {
    min-height: 48px;
    border-radius: 12px;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, opacity .2s ease
}

.nx-deposit__submit:hover {
    background: #4338ca
}

.nx-deposit__submit.is-disabled {
    opacity: .55;
    cursor: not-allowed
}

.nx-deposit-history {
    display: grid;
    gap: 16px
}

.nx-deposit-history__empty {
    padding: 24px;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280
}

.nx-deposit-history__table-wrap {
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px
}

.nx-deposit-history__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px
}

.nx-deposit-history__table th,
.nx-deposit-history__table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb
}

.nx-deposit-history__table th {
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280
}

.nx-deposit-history__table td {
    font-size: 14px
}

.nx-deposit-history__date {
    display: grid;
    gap: 4px
}

.nx-deposit-history__date strong {
    font-size: 14px
}

.nx-deposit-history__date span {
    font-size: 12px;
    color: #6b7280
}

.nx-deposit-history__token {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
}

.nx-deposit-history__token .nx-coin {
    width: 26px;
    height: 26px
}

.nx-deposit-history__token .nx-coin--btc span,
.nx-deposit-history__token .nx-coin--usdt span,
.nx-deposit-history__token .nx-coin--xrp span {
    width: 17px;
    height: 17px;
    font-size: 10px
}

.nx-deposit-history__amount {
    font-weight: 700;
    color: #16a34a
}

.nx-deposit-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.nx-deposit-status i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor
}

.nx-deposit-status--processing {
    background: #dbeafe;
    color: #1d4ed8
}

.nx-deposit-status--completed {
    background: #dcfce7;
    color: #15803d
}

.nx-deposit-status--failed {
    background: #fee2e2;
    color: #b91c1c
}

.nx-deposit-guide {
    display: grid;
    gap: 16px
}

.nx-deposit-guide__list {
    display: grid;
    gap: 18px
}

.nx-deposit-guide__step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px
}

.nx-deposit-guide__num {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700
}

.nx-deposit-guide__step h4,
.nx-deposit-guide__note h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #1f2937
}

.nx-deposit-guide__step p,
.nx-deposit-guide__note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280
}

.nx-deposit-guide__note {
    padding: 16px;
    border-radius: 12px;
    background: #eef2ff;
    border: 1px solid #dbeafe
}

.nx-withdraw {
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-color: #e5e9f1;
    position: relative
}

.nx-withdraw__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.nx-withdraw__head h3,
.nx-withdraw-history h3,
.nx-withdraw-guide h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937
}

.nx-withdraw__body {
    display: grid;
    gap: 22px
}

.nx-withdraw__refresh {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background-color .2s ease, color .2s ease, transform .2s ease
}

.nx-withdraw__refresh:hover {
    background: #f3f4f6;
    color: #111827
}

.nx-withdraw__refresh.is-busy svg {
    animation: nx-spin .85s linear infinite
}

.nx-withdraw__refresh svg {
    width: 18px;
    height: 18px
}

.nx-withdraw-balance {
    padding: 16px 18px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #dbeafe
}

.nx-withdraw-balance p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #2563eb
}

.nx-withdraw-balance strong {
    display: block;
    font-size: 28px;
    line-height: 1.05;
    color: #1e3a8a;
    letter-spacing: -.03em
}

.nx-withdraw__field {
    display: grid;
    gap: 10px
}

.nx-withdraw__field label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280
}

.nx-withdraw__coins {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px
}

.nx-withdraw-coin {
    min-height: 56px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease
}

.nx-withdraw-coin:hover {
    background: #f9fafb
}

.nx-withdraw-coin.is-active {
    border-color: #6366f1;
    background: #eef2ff;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, .08)
}

.nx-withdraw-coin span:last-child {
    font-size: 14px;
    font-weight: 600
}

.nx-withdraw-coin .nx-coin {
    width: 28px;
    height: 28px
}

.nx-withdraw-coin .nx-coin--btc span,
.nx-withdraw-history__token .nx-coin--btc span {
    width: 18px;
    height: 18px;
    font-size: 10px
}

.nx-withdraw-coin .nx-coin--eth .nx-coin__gem {
    width: 11px;
    height: 11px
}

.nx-withdraw-coin .nx-coin--bnb .nx-coin__bnb {
    width: 14px;
    height: 14px
}

.nx-withdraw-coin .nx-coin--sol .nx-coin__sol {
    width: 16px;
    height: 4px
}

.nx-withdraw-coin .nx-coin--usdt span {
    width: 18px;
    height: 18px;
    font-size: 10px
}

.nx-withdraw__input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    outline: none;
    color: #111827;
    -webkit-text-fill-color: #111827;
    caret-color: #111827;
    opacity: 1
}

.nx-withdraw__input::placeholder {
    color: #6b7280;
    -webkit-text-fill-color: #6b7280
}

.nx-withdraw__input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12)
}

.nx-withdraw__input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .08)
}

.nx-withdraw__hint,
.nx-withdraw__error {
    margin: 0;
    font-size: 12px
}

.nx-withdraw__hint {
    color: #6b7280
}

.nx-withdraw__error {
    color: #ef4444
}

.nx-withdraw-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.55
}

.nx-withdraw-note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px
}

.nx-withdraw-note p {
    margin: 0
}

.nx-withdraw-note--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e
}

.nx-withdraw-note--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857
}

.nx-withdraw-note--danger {
    background: #fef2f2;
    border-color: #fee2e2;
    color: #b91c1c
}

.nx-withdraw__submit {
    min-height: 48px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, opacity .2s ease
}

.nx-withdraw__submit:hover {
    background: #4338ca
}

.nx-withdraw__submit.is-disabled {
    opacity: .55;
    cursor: not-allowed
}

.nx-withdraw-history {
    display: grid;
    gap: 16px
}

.nx-withdraw-history__empty {
    padding: 24px;
    border-radius: 10px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280
}

.nx-withdraw-history__table-wrap {
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04)
}

.nx-withdraw-history__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px
}

.nx-withdraw-history__table th,
.nx-withdraw-history__table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb
}

.nx-withdraw-history__table th {
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280
}

.nx-withdraw-history__table td {
    font-size: 14px;
    background: #fff
}

.nx-withdraw-history__date {
    display: grid;
    gap: 4px
}

.nx-withdraw-history__date strong {
    font-size: 14px
}

.nx-withdraw-history__date span {
    font-size: 12px;
    color: #6b7280
}

.nx-withdraw-history__token {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
}

.nx-withdraw-history__token .nx-coin {
    width: 26px;
    height: 26px
}

.nx-withdraw-history__amount {
    font-weight: 700;
    color: #ef4444
}

.nx-withdraw-history__address {
    display: block;
    max-width: 180px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.nx-withdraw-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.nx-withdraw-status i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor
}

.nx-withdraw-status--processing {
    background: #fef3c7;
    color: #92400e
}

.nx-withdraw-status--completed {
    background: #dcfce7;
    color: #166534
}

.nx-withdraw-status--failed {
    background: #fee2e2;
    color: #b91c1c
}

.nx-withdraw-status--rejected {
    background: #e5e7eb;
    color: #374151
}

.nx-withdraw-guide {
    display: grid;
    gap: 16px
}

.nx-withdraw-guide__list {
    display: grid;
    gap: 18px
}

.nx-withdraw-guide__step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px
}

.nx-withdraw-guide__num {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700
}

.nx-withdraw-guide__step h4,
.nx-withdraw-guide__note h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #1f2937
}

.nx-withdraw-guide__step p,
.nx-withdraw-guide__note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280
}

.nx-withdraw-guide__note {
    padding: 16px;
    border-radius: 10px;
    background: #eef2ff;
    border: 1px solid #dbeafe
}

.nx-withdraw-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 16px
}

.nx-withdraw-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px)
}

.nx-withdraw-modal__card {
    position: relative;
    z-index: 1;
    width: min(92vw, 420px);
    padding: 28px 24px 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
    text-align: center
}

.nx-withdraw-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #f8fafc
}

.nx-withdraw-modal__close svg {
    width: 18px;
    height: 18px
}

.nx-withdraw-modal__icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: #fef2f2;
    color: #ef4444
}

.nx-withdraw-modal__icon svg {
    width: 28px;
    height: 28px
}

.nx-withdraw-modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827
}

.nx-withdraw-modal__text,
.nx-withdraw-modal__meta {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6
}

.nx-withdraw-modal__button {
    width: 100%;
    min-height: 46px;
    margin-top: 22px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    font-weight: 700
}

.nx-tabs {
    margin-top: 28px;
    padding: 6px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid #edf1f7;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.nx-tab {
    min-height: 44px;
    border-radius: 16px;
    color: #5b6578;
    justify-content: center;
    gap: 8px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease
}

.nx-tab svg {
    width: 16px;
    height: 16px
}

.nx-tab.is-active {
    color: #fff;
    background: var(--gradient);
    box-shadow: inset 0 0 0 2px #111827, 0 12px 28px rgba(255, 116, 67, .28)
}

.nx-stat-grid,
.nx-panel-grid,
.nx-quick-grid {
    display: grid;
    gap: 18px
}

.nx-stat-grid {
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.nx-stat {
    min-height: 102px;
    border-radius: 22px;
    padding: 18px 22px 20px;
    border: 1px solid #e8edf5;
    background: #fff;
    box-shadow: 0 18px 38px rgba(27, 38, 59, .06)
}

.nx-head--analytics h2 {
    font-size: clamp(24px, 2vw, 30px)
}

.nx-head--analytics p {
    font-size: 16px;
    color: #5d6b82
}

.nx-stat__label {
    display: block;
    color: #556274;
    font-size: 15px;
    font-weight: 500
}

.nx-stat strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1.05;
    letter-spacing: -.04em
}

.nx-stat--blue {
    background: linear-gradient(135deg, #f4f8ff 0%, #fff 78%);
    border-color: #dfe8ff
}

.nx-stat--blue strong {
    color: var(--blue)
}

.nx-stat--green {
    background: linear-gradient(135deg, #f4fff8 0%, #fff 78%);
    border-color: #d5f6e1
}

.nx-stat--green strong {
    color: #18a94b
}

.nx-stat--red {
    background: linear-gradient(135deg, #fff6f6 0%, #fff 78%);
    border-color: #ffd9d9
}

.nx-stat--red strong {
    color: var(--red)
}

.nx-stat--purple {
    background: linear-gradient(135deg, #faf7ff 0%, #fff 78%);
    border-color: #ebdfff
}

.nx-stat--purple strong {
    color: var(--purple)
}

.nx-panel-grid {
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.nx-panel {
    min-height: 320px;
    border-radius: 30px;
    padding: 28px 30px;
    border: 1px solid #edf1f7;
    background: #fff;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column
}

.nx-panel__badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    justify-content: center;
    display: inline-flex
}

.nx-panel__badge svg {
    width: 24px;
    height: 24px
}

.nx-panel__badge--green {
    color: #18a94b;
    background: #dff7e6
}

.nx-panel__badge--purple {
    color: var(--purple);
    background: #f3e9ff
}

.nx-panel__empty {
    flex: 1;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 17px
}

.nx-quick-grid {
    margin-top: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.nx-quick-card {
    min-height: 176px;
    border-radius: 24px;
    padding: 28px 28px 24px;
    text-align: left;
    border: 1px solid var(--border);
    display: grid;
    align-content: start;
    gap: 14px;
    box-shadow: var(--shadow)
}

.nx-quick-card strong {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -.04em
}

.nx-quick-card span:last-child {
    color: var(--muted);
    font-size: 15px
}

.nx-quick-card__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    color: currentColor
}

.nx-quick-card__icon svg {
    width: 36px;
    height: 36px
}

.nx-quick-card--green {
    background: #effcf4;
    color: #139846
}

.nx-quick-card--blue {
    background: #eef5ff;
    color: var(--blue)
}

.nx-quick-card--purple {
    background: #f7f0ff;
    color: var(--purple)
}

.nx-quick-card--yellow {
    background: var(--yellow-soft);
    color: #e37b00
}

.nx-head--tight p {
    margin-top: 0
}

.nx-search {
    width: min(100%, 322px);
    padding: 0 18px;
    min-height: 50px;
    border-radius: 18px;
    border: 1px solid #dbe2ec;
    background: #f8f9fb;
    color: #98a1af
}

.nx-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 17px
}

.nx-search input::placeholder {
    color: #98a1af
}

.nx-market__block {
    margin-top: 34px
}

.nx-market__block h3 {
    margin: 0 0 26px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.04em
}

.nx-market__head {
    padding: 0 18px 16px;
    justify-content: space-between;
    color: #758196;
    font-size: 15px;
    border-bottom: 1px solid #edf1f7
}

.nx-market__head span:first-child {
    width: 50%
}

.nx-market__head span:nth-child(2),
.nx-market__head span:nth-child(3) {
    width: 25%;
    text-align: center
}

.nx-market__list {
    display: grid;
    gap: 14px;
    padding-top: 12px
}

.nx-market-row {
    width: 100%;
    justify-content: space-between;
    padding: 18px;
    border-radius: 16px;
    color: var(--text);
    text-align: left
}

.nx-market-row.is-hot {
    background: #fafbfc;
    border: 1px solid #eff3f8;
    box-shadow: 0 12px 24px rgba(126, 138, 158, .08)
}

.nx-market-row__token {
    width: 50%;
    gap: 18px
}

.nx-market-row__token strong {
    display: block;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -.04em
}

.nx-market-row__token span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 17px
}

.nx-market-row__price,
.nx-market-row__change {
    width: 25%;
    justify-content: center;
    font-size: 18px;
    font-weight: 700
}

.nx-pill {
    border-radius: 14px;
    min-height: 36px;
    padding: 0 14px;
    justify-content: center;
    gap: 6px;
    display: inline-flex;
    font-weight: 700;
    color: #18a94b;
    background: var(--green-soft)
}

.nx-pill svg {
    width: 16px;
    height: 16px
}

.nx-placeholder__body {
    min-height: 280px;
    border-radius: 24px;
    margin-top: 28px;
    background: #f7f9fc;
    border: 1px dashed #dfe6ef;
    display: grid;
    place-items: center;
    font-size: 18px
}

.nx-coin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e2e7f0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.nx-coin--btc span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff8a00;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800
}

.nx-coin--eth .nx-coin__gem {
    width: 18px;
    height: 18px;
    background: linear-gradient(180deg, #5f6470 0%, #21252e 100%);
    transform: rotate(45deg)
}

.nx-coin--bnb .nx-coin__bnb {
    width: 22px;
    height: 22px;
    background: #f4ba14;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)
}

.nx-coin--sol .nx-coin__sol {
    width: 24px;
    height: 5px;
    position: relative;
    background: linear-gradient(90deg, #39c1df 0%, #123567 100%);
    border-radius: 8px
}

.nx-coin--sol .nx-coin__sol:before,
.nx-coin--sol .nx-coin__sol:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #39c1df 0%, #123567 100%);
    border-radius: 8px
}

.nx-coin--sol .nx-coin__sol:before {
    top: -8px
}

.nx-coin--sol .nx-coin__sol:after {
    top: 8px
}

.nx-coin--usdt span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800
}

.nx-coin--xrp span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #475569;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800
}

.nx-chat {
    position: fixed;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: auto;
    z-index: 24;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    justify-content: center;
    color: #fff;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    backdrop-filter: blur(20px);
    transform: scale(1.05);
    box-shadow: 0 24px 40px rgba(156, 163, 175, .2);
    transition: transform .3s ease, box-shadow .3s ease
}

.nx-chat:hover {
    transform: scale(1.08)
}

.nx-chat__ping {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    opacity: .2;
    animation: nxSupportPulse 1.8s ease-out infinite
}

@keyframes nxSupportPulse {
    0% {
        transform: scale(1);
        opacity: .2
    }

    70% {
        transform: scale(1.22);
        opacity: 0
    }

    100% {
        transform: scale(1.22);
        opacity: 0
    }
}

.nx-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #e7ebf2;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    box-shadow: 0 -8px 24px rgba(31, 41, 55, .06)
}

.nx-bottom-link {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px 4px;
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: color .3s ease
}

.nx-bottom-link__icon-wrap {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.nx-bottom-link__icon {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(241, 245, 249, .75);
    color: #556277;
    justify-content: center;
    display: inline-flex;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease
}

.nx-bottom-link__icon svg {
    width: 18px;
    height: 18px
}

.nx-bottom-link__icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    background: linear-gradient(90deg, rgba(26, 141, 216, .18) 0%, rgba(244, 63, 94, .14) 50%, rgba(139, 92, 246, .14) 100%);
    transform: scale(1.08);
    filter: blur(6px);
    transition: opacity .3s ease
}

.nx-bottom-link__label {
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: color .3s ease, font-weight .3s ease
}

.nx-bottom-link__wash {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(245, 158, 11, .08) 0%, rgba(244, 63, 94, .04) 50%, rgba(139, 92, 246, .04) 100%);
    transition: opacity .3s ease
}

.nx-bottom-link__active-bar {
    position: absolute;
    top: 0;
    left: 50%;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    opacity: 0;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    box-shadow: 0 8px 18px rgba(244, 63, 94, .24);
    transition: opacity .3s ease
}

.nx-bottom-link:hover {
    color: #1f2937
}

.nx-bottom-link:hover .nx-bottom-link__wash,
.nx-bottom-link:hover .nx-bottom-link__icon-glow {
    opacity: 1
}

.nx-bottom-link:hover .nx-bottom-link__icon {
    background: rgba(226, 232, 240, .72);
    transform: scale(1.05)
}

.nx-bottom-link.is-active {
    color: #123567
}

.nx-bottom-link.is-active .nx-bottom-link__label {
    font-weight: 700
}

.nx-bottom-link.is-active .nx-bottom-link__icon {
    color: #fff;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    box-shadow: 0 12px 24px rgba(255, 103, 63, .26);
    transform: scale(1.08)
}

.nx-bottom-link.is-active .nx-bottom-link__icon-glow,
.nx-bottom-link.is-active .nx-bottom-link__active-bar {
    opacity: 1
}

.nx-drawer-shell {
    display: none
}

@media (min-width:1024px) {
    .nx-shell {
        display: grid;
        grid-template-columns: 350px minmax(0, 1fr)
    }

    .nx-sidebar {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding: 28px 30px;
        border-right: 1px solid #d9e0ea;
        background: #fff
    }

    .nx-sidebar__scroll {
        display: flex;
        flex: 1;
        flex-direction: column;
        overflow: auto;
        padding-right: 2px
    }

    .nx-sidebar__group {
        margin-top: 46px;
        display: grid;
        gap: 8px
    }

    .nx-sidebar__group--bottom {
        margin-top: 46px;
        padding-top: 32px
    }

    .nx-sidebar__label {
        margin: 0 0 10px;
        color: #556277;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase
    }

    .nx-side-link {
        width: 100%;
        min-height: 58px;
        padding: 0 18px;
        border-radius: 18px;
        color: #4a576d;
        font-size: 18px;
        font-weight: 600;
        text-align: left;
        transition: background-color .18s ease, color .18s ease, transform .18s ease
    }

    .nx-side-link:hover {
        background: #f6f8fc;
        transform: translateX(2px)
    }

    .nx-side-link__icon {
        width: 32px;
        height: 32px;
        color: currentColor;
        display: inline-flex;
        justify-content: center
    }

    .nx-side-link__icon svg {
        width: 28px;
        height: 28px
    }

    .nx-side-link.is-active {
        color: #4b54ff;
        background: #eef0ff
    }

    .nx-topbar {
        padding: 20px 40px 20px 30px
    }

    .nx-user {
        display: none
    }

    .nx-content {
        padding: 26px 34px 32px
    }

    .nx-chat {
        bottom: 34px
    }

    .nx-bottom {
        display: none
    }
}

@media (max-width:1180px) {
    .nx-page--dashboard {
        grid-template-columns: 1fr
    }

    .nx-page--dashboard .nx-balance,
    .nx-page--dashboard .nx-analytics,
    .nx-page--dashboard .nx-quick,
    .nx-page--dashboard .nx-market {
        grid-column: auto
    }

    .nx-page--dashboard .nx-quick-grid,
    .nx-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:820px) {
    .nx-content {
        padding-right: 12px;
        padding-left: 12px
    }

    .nx-balance,
    .nx-analytics,
    .nx-market,
    .nx-quick,
    .nx-placeholder {
        padding: 22px 20px 24px
    }

    .nx-balance__value {
        margin-top: 18px
    }

    .nx-panel-grid,
    .nx-market__top {
        grid-template-columns: 1fr
    }

    .nx-balance__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-market__top {
        display: grid
    }

    .nx-search {
        width: 100%;
        margin-top: 18px
    }

    .nx-market__head,
    .nx-market-row {
        grid-template-columns: minmax(0, 1.5fr) minmax(110px, .7fr) minmax(100px, .6fr);
        display: grid;
        align-items: center;
        gap: 8px
    }

    .nx-market__head span:first-child,
    .nx-market-row__token,
    .nx-market__head span:nth-child(2),
    .nx-market-row__price,
    .nx-market__head span:nth-child(3),
    .nx-market-row__change {
        width: auto
    }

    .nx-market-row__price,
    .nx-market-row__change,
    .nx-market__head span:nth-child(2),
    .nx-market__head span:nth-child(3) {
        text-align: right;
        justify-content: flex-end
    }

    .nx-assets__hero {
        padding: 24px 22px 20px
    }

    .nx-assets__actions {
        padding: 18px 22px
    }

    .nx-deposit,
    .nx-withdraw {
        padding: 20px
    }

    .nx-deposit-history__table {
        min-width: 560px
    }

    .nx-withdraw-history__table {
        min-width: 640px
    }
}

@media (max-width:640px) {
    .nx-topbar {
        min-height: 86px;
        padding: 12px 14px
    }

    .nx-topbar__actions {
        gap: 6px
    }

    .nx-topbar__left {
        gap: 8px
    }

    .nx-menu-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px
    }

    .nx-round,
    .nx-avatar {
        width: 44px;
        height: 44px
    }

    .nx-menu-btn svg,
    .nx-round svg,
    .nx-avatar svg {
        width: 21px;
        height: 21px
    }

    .nx-account-menu {
        right: -6px;
        width: min(320px, calc(100vw - 24px))
    }

    .nx-logo {
        width: 34px;
        height: 34px;
        border-radius: 12px
    }

    .nx-logo__halo {
        width: 18px;
        height: 18px
    }

    .nx-logo__diamond {
        width: 11px;
        height: 11px
    }

    .nx-logo__core {
        width: 6px;
        height: 6px
    }

    .nx-logo-wordmark {
        width: 156px
    }

    .nx-panel-grid,
    .nx-quick-grid {
        grid-template-columns: 1fr
    }

    .nx-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .nx-stat {
        min-height: 118px;
        padding: 16px 16px 18px;
        border-radius: 20px
    }

    .nx-stat__label {
        font-size: 14px
    }

    .nx-stat strong {
        margin-top: 8px;
        font-size: clamp(18px, 5vw, 28px)
    }

    .nx-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px
    }

    .nx-tab {
        min-height: 50px;
        padding: 0 10px;
        font-size: 14px;
        gap: 6px
    }

    .nx-tab span {
        white-space: nowrap
    }

    .nx-balance__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .nx-balance__head {
        gap: 12px
    }

    .nx-balance__refresh {
        width: 28px;
        height: 28px
    }

    .nx-action {
        min-height: 56px;
        font-size: 16px
    }

    .nx-action__inner {
        gap: 8px
    }

    .nx-market__head {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 14px
    }

    .nx-market-row {
        padding: 16px 12px
    }

    .nx-market-row__token {
        gap: 12px
    }

    .nx-market-row__token strong {
        font-size: 17px
    }

    .nx-market-row__token span,
    .nx-market-row__price,
    .nx-pill {
        font-size: 15px
    }

    .nx-assets__actions {
        flex-direction: row;
        justify-content: center;
        gap: 12px
    }

    .nx-assets__actions .nx-action {
        min-width: 0;
        width: 100%;
        min-height: 54px;
        font-size: 16px
    }

    .nx-assets__list {
        padding: 14px 16px 24px
    }

    .nx-asset-row {
        grid-template-columns: minmax(0, 1fr) auto 20px;
        padding: 18px 4px
    }

    .nx-asset-row__coin {
        gap: 12px
    }

    .nx-asset-row__meta strong,
    .nx-deposit__head h3,
    .nx-deposit-history h3,
    .nx-deposit-guide h3,
    .nx-withdraw__head h3,
    .nx-withdraw-history h3,
    .nx-withdraw-guide h3 {
        font-size: 17px
    }

    .nx-asset-row__meta span,
    .nx-asset-row__stats strong {
        font-size: 15px
    }

    .nx-asset-row__change,
    .nx-asset-row__value {
        font-size: 14px
    }

    .nx-deposit,
    .nx-withdraw {
        padding: 18px
    }

    .nx-deposit__network,
    .nx-deposit__address {
        padding-left: 14px;
        padding-right: 14px
    }

    .nx-deposit__qr-wrap,
    .nx-deposit__qr-wrap img {
        width: 132px;
        height: 132px
    }

    .nx-deposit__submit,
    .nx-withdraw__submit {
        min-height: 46px
    }

    .nx-deposit-history__table {
        min-width: 520px
    }

    .nx-withdraw__coins {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-withdraw-balance strong {
        font-size: 24px
    }

    .nx-withdraw-history__table {
        min-width: 560px
    }

    .nx-bottom {
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom))
    }

    .nx-bottom-link {
        gap: 4px;
        padding: 6px 2px 4px
    }

    .nx-bottom-link__icon {
        width: 38px;
        height: 38px;
        border-radius: 14px
    }

    .nx-bottom-link__icon svg {
        width: 18px;
        height: 18px
    }

    .nx-bottom-link__active-bar {
        width: 28px
    }

    .nx-chat {
        width: 58px;
        height: 58px;
        right: 16px;
        bottom: calc(100px + env(safe-area-inset-bottom))
    }

    .nx-drawer-shell {
        display: block
    }

    .nx-drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 29;
        background: rgba(15, 23, 42, .16);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease
    }

    .nx-drawer {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 30;
        width: min(92vw, 352px);
        background: #fff;
        box-shadow: 0 18px 60px rgba(15, 23, 42, .18);
        transform: translateX(-100%);
        transition: transform .22s ease;
        display: flex;
        flex-direction: column
    }

    .nx-drawer-shell.is-open .nx-drawer-overlay {
        opacity: 1;
        pointer-events: auto
    }

    .nx-drawer-shell.is-open .nx-drawer {
        transform: translateX(0)
    }

    .nx-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px 8px
    }

    .nx-drawer__brand {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .nx-drawer__close {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #667085
    }

    .nx-drawer__close svg {
        width: 22px;
        height: 22px
    }

    .nx-drawer__scroll {
        flex: 1;
        overflow: auto;
        padding: 10px 14px 24px
    }

    .nx-drawer__section+.nx-drawer__section {
        margin-top: 28px
    }

    .nx-drawer__section h3 {
        margin: 0 8px 12px;
        color: #334155;
        font-size: 12px;
        font-weight: 500
    }

    .nx-drawer-link {
        width: 100%;
        min-height: 60px;
        padding: 0 16px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        gap: 14px;
        color: #4b5567;
        text-align: left;
        font-size: 15px;
        font-weight: 500
    }

    .nx-drawer-link.is-active {
        background: #f2f0ff;
        color: #5454ff
    }

    .nx-drawer-link__icon {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: currentColor
    }

    .nx-drawer-link__icon svg {
        width: 26px;
        height: 26px
    }
}

.nx-page--trade {
    gap: 0
}

.nx-trade-shell {
    display: grid;
    gap: 24px;
    padding: 28px;
    border-radius: 34px;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, .1), transparent 26%), radial-gradient(circle at top right, rgba(244, 63, 94, .12), transparent 22%), linear-gradient(180deg, #0d1220 0%, #0a0f1b 100%);
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28)
}

.nx-trade-shell__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px
}

.nx-trade-shell__eyebrow {
    margin: 0 0 8px;
    color: #8ab4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase
}

.nx-trade-shell__head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(28px, 2.6vw, 42px);
    letter-spacing: -.04em
}

.nx-trade-shell__head p {
    margin: 10px 0 0;
    max-width: 720px;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6
}

.nx-trade-shell__balance {
    min-width: 220px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(15, 23, 42, .58);
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.nx-trade-shell__balance span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.nx-trade-shell__balance strong {
    display: block;
    margin-top: 10px;
    color: #f8fafc;
    font-size: 30px;
    letter-spacing: -.04em
}

.nx-trade-shell__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
    gap: 24px
}

.nx-trade-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(15, 23, 42, .74);
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.nx-trade-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.nx-trade-hero,
.nx-trade-order__pair {
    display: flex;
    align-items: center;
    gap: 14px
}

.nx-trade-hero strong,
.nx-trade-order__pair strong {
    display: block;
    color: #f8fafc;
    font-size: 22px;
    letter-spacing: -.04em
}

.nx-trade-hero span {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px
}

.nx-trade-hero .nx-coin {
    width: 56px;
    height: 56px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .96)
}

.nx-trade-hero__price {
    text-align: right
}

.nx-trade-hero__price strong {
    display: block;
    color: #f8fafc;
    font-size: 34px;
    letter-spacing: -.05em
}

.nx-trade-hero__change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700
}

.nx-trade-hero__change.is-up,
.is-up {
    color: #4ade80
}

.nx-trade-hero__change.is-up {
    background: rgba(34, 197, 94, .12)
}

.nx-trade-hero__change.is-down,
.is-loss {
    color: #f87171
}

.nx-trade-hero__change.is-down {
    background: rgba(248, 113, 113, .12)
}

.nx-trade-market-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px
}

.nx-trade-market-switch__item {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, .75);
    border: 1px solid rgba(148, 163, 184, .14);
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s ease, border-color .2s ease, background .2s ease
}

.nx-trade-market-switch__item:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, .44)
}

.nx-trade-market-switch__item.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(59, 130, 246, .7), rgba(124, 58, 237, .78));
    border-color: rgba(125, 211, 252, .5);
    box-shadow: 0 14px 28px rgba(59, 130, 246, .22)
}

.nx-trade-chart {
    margin-top: 20px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .32));
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-chart__visual {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(15, 23, 42, .5));
    min-height: 300px
}

.nx-trade-chart__visual::before,
.nx-trade-chart__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none
}

.nx-trade-chart__visual::before {
    background: linear-gradient(transparent 24%, rgba(148, 163, 184, .08) 25%, transparent 26%, transparent 49%, rgba(148, 163, 184, .08) 50%, transparent 51%, transparent 74%, rgba(148, 163, 184, .08) 75%, transparent 76%)
}

.nx-trade-chart__visual::after {
    background: linear-gradient(90deg, transparent 24%, rgba(148, 163, 184, .08) 25%, transparent 26%, transparent 49%, rgba(148, 163, 184, .08) 50%, transparent 51%, transparent 74%, rgba(148, 163, 184, .08) 75%, transparent 76%)
}

.nx-trade-chart__visual svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 300px
}

.nx-trade-chart__line {
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.nx-trade-chart__visual.is-up .nx-trade-chart__line {
    stroke: #4ade80
}

.nx-trade-chart__visual.is-down .nx-trade-chart__line {
    stroke: #f87171
}

.nx-trade-chart__axis {
    position: absolute;
    right: 18px;
    bottom: 14px;
    left: 18px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.nx-trade-chart__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px
}

.nx-trade-chart__stats div {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(30, 41, 59, .72);
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-chart__stats span,
.nx-trade-order__grid span,
.nx-trade-history-card__grid span,
.nx-trade-summary__rows span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.nx-trade-chart__stats strong,
.nx-trade-order__grid strong,
.nx-trade-history-card__grid strong,
.nx-trade-summary__rows strong {
    display: block;
    margin-top: 8px;
    color: #f8fafc;
    font-size: 18px;
    letter-spacing: -.03em
}

.nx-trade-ticket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.nx-trade-ticket__head h3,
.nx-trade-summary h4 {
    margin: 0;
    color: #f8fafc;
    font-size: 22px;
    letter-spacing: -.04em
}

.nx-trade-ticket__head span {
    color: #8ab4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.nx-trade-field {
    display: grid;
    gap: 10px;
    margin-top: 22px
}

.nx-trade-field>span,
.nx-trade-ticket__label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.nx-trade-field input {
    width: 100%;
    min-height: 60px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .64);
    color: #f8fafc;
    font-size: 22px;
    font-weight: 700;
    outline: none
}

.nx-trade-field input:focus {
    border-color: rgba(96, 165, 250, .72);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .16)
}

.nx-trade-field small {
    color: #94a3b8;
    font-size: 13px
}

.nx-trade-ticket__block {
    margin-top: 22px
}

.nx-trade-duration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px
}

.nx-trade-duration {
    display: grid;
    gap: 8px;
    padding: 16px 14px;
    border-radius: 18px;
    text-align: left;
    background: rgba(30, 41, 59, .68);
    border: 1px solid rgba(148, 163, 184, .12);
    color: #cbd5e1;
    transition: transform .2s ease, border-color .2s ease, background .2s ease
}

.nx-trade-duration strong {
    font-size: 16px;
    color: #f8fafc
}

.nx-trade-duration span {
    font-size: 12px;
    color: #94a3b8
}

.nx-trade-duration small {
    font-size: 12px;
    color: #4ade80;
    font-weight: 700
}

.nx-trade-duration:hover {
    transform: translateY(-1px)
}

.nx-trade-duration.is-active {
    background: linear-gradient(180deg, rgba(37, 99, 235, .34), rgba(76, 29, 149, .34));
    border-color: rgba(96, 165, 250, .48);
    box-shadow: 0 14px 30px rgba(59, 130, 246, .18)
}

.nx-trade-estimate {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(30, 41, 59, .84), rgba(15, 23, 42, .42));
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-estimate span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.nx-trade-estimate strong {
    display: block;
    margin-top: 8px;
    color: #f8fafc;
    font-size: 22px;
    letter-spacing: -.04em
}

.nx-trade-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px
}

.nx-trade-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 18px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, .7);
    border: 1px solid rgba(148, 163, 184, .12);
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.nx-trade-side svg {
    width: 20px;
    height: 20px
}

.nx-trade-side.is-active {
    color: #fff;
    transform: translateY(-1px)
}

.nx-trade-side.is-buy.is-active {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(74, 222, 128, .42);
    box-shadow: 0 16px 32px rgba(16, 185, 129, .24)
}

.nx-trade-side.is-sell.is-active {
    background: linear-gradient(135deg, #ef4444, #e11d48);
    border-color: rgba(248, 113, 113, .42);
    box-shadow: 0 16px 32px rgba(239, 68, 68, .24)
}

.nx-trade-summary {
    margin-top: 22px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 23, 42, .56);
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-summary__rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px
}

.nx-trade-feedback {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600
}

.nx-trade-feedback.is-error {
    background: rgba(127, 29, 29, .42);
    border: 1px solid rgba(248, 113, 113, .28);
    color: #fecaca
}

.nx-trade-feedback.is-success {
    background: rgba(20, 83, 45, .42);
    border: 1px solid rgba(74, 222, 128, .26);
    color: #bbf7d0
}

.nx-trade-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px
}

.nx-trade-actions__ghost,
.nx-trade-actions__submit {
    min-height: 56px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700
}

.nx-trade-actions__ghost {
    color: #e2e8f0;
    background: rgba(30, 41, 59, .72);
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-actions__submit {
    color: #fff;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 48%, #7c3aed 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, .24)
}

.nx-trade-actions__submit.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none
}

.nx-trade-ledger {
    padding: 22px;
    border-radius: 28px;
    background: rgba(15, 23, 42, .74);
    border: 1px solid rgba(148, 163, 184, .14)
}

.nx-trade-ledger__tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.nx-trade-ledger__tab {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    color: #94a3b8;
    background: rgba(30, 41, 59, .68);
    border: 1px solid rgba(148, 163, 184, .12);
    font-size: 14px;
    font-weight: 700
}

.nx-trade-ledger__tab.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(59, 130, 246, .58), rgba(124, 58, 237, .62));
    border-color: rgba(96, 165, 250, .44)
}

.nx-trade-ledger__body {
    display: grid;
    gap: 14px;
    margin-top: 18px
}

.nx-trade-order,
.nx-trade-history-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(15, 23, 42, .58);
    border: 1px solid rgba(148, 163, 184, .12)
}

.nx-trade-order__top,
.nx-trade-history-card__top,
.nx-trade-history-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.nx-trade-order__side {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em
}

.nx-trade-order__side.is-buy {
    background: rgba(34, 197, 94, .16);
    color: #86efac
}

.nx-trade-order__side.is-sell {
    background: rgba(248, 113, 113, .16);
    color: #fca5a5
}

.nx-trade-order__yield,
.nx-trade-history-card__result {
    font-size: 13px;
    font-weight: 700
}

.nx-trade-history-card__result.is-win {
    color: #4ade80
}

.nx-trade-history-card__result.is-loss {
    color: #f87171
}

.nx-trade-order__grid,
.nx-trade-history-card__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px
}

.nx-trade-order__progress {
    height: 8px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(51, 65, 85, .86);
    overflow: hidden
}

.nx-trade-order__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%)
}

.nx-trade-history-card__foot {
    margin-top: 16px;
    color: #94a3b8;
    font-size: 13px
}

.nx-trade-ledger__empty {
    display: grid;
    justify-items: center;
    padding: 46px 24px;
    border-radius: 22px;
    border: 1px dashed rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .46);
    text-align: center
}

.nx-trade-ledger__empty span {
    color: #8ab4ff
}

.nx-trade-ledger__empty span svg {
    width: 32px;
    height: 32px
}

.nx-trade-ledger__empty p {
    margin: 14px 0 6px;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 700
}

.nx-trade-ledger__empty small {
    color: #94a3b8;
    font-size: 14px
}

@media (max-width:1180px) {
    .nx-trade-shell__grid {
        grid-template-columns: 1fr
    }

    .nx-trade-order__grid,
    .nx-trade-history-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:820px) {
    .nx-trade-shell {
        padding: 20px
    }

    .nx-trade-shell__head {
        align-items: flex-start;
        flex-direction: column
    }

    .nx-trade-shell__balance {
        min-width: 0;
        width: 100%
    }

    .nx-trade-chart__stats,
    .nx-trade-estimate,
    .nx-trade-summary__rows {
        grid-template-columns: 1fr
    }

    .nx-trade-duration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .nx-trade-shell {
        padding: 16px;
        border-radius: 24px
    }

    .nx-trade-card,
    .nx-trade-ledger {
        padding: 18px;
        border-radius: 22px
    }

    .nx-trade-hero strong,
    .nx-trade-ticket__head h3,
    .nx-trade-summary h4 {
        font-size: 18px
    }

    .nx-trade-hero__price strong {
        font-size: 26px
    }

    .nx-trade-duration-grid,
    .nx-trade-order__grid,
    .nx-trade-history-card__grid,
    .nx-trade-actions,
    .nx-trade-side-grid {
        grid-template-columns: 1fr
    }
}

.nx-page--account {
    gap: 18px
}

.nx-account-hero,
.nx-account-card,
.nx-account-stat {
    border-radius: 30px;
    border: 1px solid #edf1f7;
    box-shadow: var(--shadow-soft)
}

.nx-account-hero {
    position: relative;
    overflow: hidden;
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, .9fr);
    gap: 22px;
    background: radial-gradient(circle at top right, rgba(57, 193, 223, .18), transparent 32%), linear-gradient(135deg, #071b3a 0%, #0f2e5e 55%, #113f79 100%);
    color: #f6f7f2
}

.nx-account-hero:before {
    content: "";
    position: absolute;
    inset: auto -120px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, .18), transparent 72%)
}

.nx-account-hero__main,
.nx-account-hero__panel,
.nx-account-hero__copy,
.nx-account-hero__tags,
.nx-account-hero__actions,
.nx-account-card__head,
.nx-account-wallet__actions,
.nx-account-security__item,
.nx-account-timeline__item,
.nx-account-progress__meta {
    display: flex
}

.nx-account-hero__main {
    gap: 18px;
    align-items: flex-start;
    position: relative;
    z-index: 1
}

.nx-account-hero__avatar {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.05em;
    color: #0a1b17;
    background: linear-gradient(135deg, #39c1df, #1a8dd8)
}

.nx-account-hero__copy {
    flex-direction: column;
    gap: 12px
}

.nx-account-hero__eyebrow,
.nx-account-card__head p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(246, 247, 242, .72)
}

.nx-account-hero h2 {
    margin: 0;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1;
    letter-spacing: -.05em
}

.nx-account-hero p {
    margin: 0;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(246, 247, 242, .82)
}

.nx-account-hero__tags {
    gap: 10px;
    flex-wrap: wrap
}

.nx-account-tag,
.nx-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700
}

.nx-account-tag {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #f6f7f2
}

.nx-account-tag.is-success,
.nx-account-chip.is-success {
    background: rgba(110, 240, 200, .14);
    color: #78f4d0;
    border: 1px solid rgba(110, 240, 200, .28)
}

.nx-account-hero__panel {
    position: relative;
    z-index: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12)
}

.nx-account-hero__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(246, 247, 242, .65)
}

.nx-account-hero__panel strong {
    font-size: 44px;
    line-height: 1;
    letter-spacing: -.06em
}

.nx-account-hero__panel p {
    font-size: 14px;
    color: rgba(246, 247, 242, .72)
}

.nx-account-hero__actions {
    gap: 12px;
    flex-wrap: wrap
}

.nx-account-btn,
.nx-account-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700
}

.nx-account-btn {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(18, 53, 103, .3);
    background: rgba(18, 53, 103, .08);
    color: #f6f7f2
}

.nx-account-btn--primary {
    background: linear-gradient(135deg, #1a8dd8, #123567);
    color: #04110e;
    border-color: rgba(18, 53, 103, .48);
    box-shadow: 0 12px 28px rgba(26, 141, 216, .28)
}

.nx-account-highlights,
.nx-account-grid,
.nx-account-list,
.nx-account-bullets,
.nx-account-security,
.nx-account-timeline {
    display: grid
}

.nx-account-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
}

.nx-account-stat {
    min-height: 124px;
    padding: 24px 26px;
    background: #fff
}

.nx-account-stat span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600
}

.nx-account-stat strong {
    display: block;
    margin-top: 14px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.05em;
    color: #152033
}

.nx-account-stat.is-success strong {
    color: #1a8dd8
}

.nx-account-stat.is-warning strong {
    color: #d48d00
}

.nx-account-stat.is-info strong {
    color: #3066eb
}

.nx-account-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.nx-account-card {
    padding: 26px 28px;
    background: #fff
}

.nx-account-card--span-2 {
    grid-column: span 2
}

.nx-account-card__head {
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px
}

.nx-account-card__head h3 {
    margin: 6px 0 0;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #182334
}

.nx-account-chip {
    background: #f3f6fb;
    border: 1px solid #e2e8f0;
    color: #516078
}

.nx-account-inline {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f4f7fb;
    color: #1d2939;
    border: 1px solid #e3e9f2
}

.nx-account-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px
}

.nx-account-list__row,
.nx-account-bullets div {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #ecf1f6
}

.nx-account-list__row span,
.nx-account-bullets span,
.nx-account-wallet span,
.nx-account-help,
.nx-account-security__item p,
.nx-account-timeline__item p {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6
}

.nx-account-list__row strong,
.nx-account-bullets strong,
.nx-account-wallet strong,
.nx-account-security__item strong,
.nx-account-timeline__item strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.4;
    color: #152033
}

.nx-account-wallet {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbf9, #fff8ea);
    border: 1px solid rgba(18, 53, 103, .22)
}

.nx-account-wallet__actions {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px
}

.nx-account-progress {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf1f6
}

.nx-account-progress__bar {
    height: 10px;
    border-radius: 999px;
    background: #e8edf4;
    overflow: hidden
}

.nx-account-progress__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #39c1df 0%, #123567 100%)
}

.nx-account-progress__meta {
    margin-top: 12px;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted)
}

.nx-account-progress__meta strong {
    font-size: 15px;
    color: #152033
}

.nx-account-bullets {
    margin-top: 16px;
    gap: 12px
}

.nx-account-security,
.nx-account-timeline {
    gap: 14px
}

.nx-account-security__item,
.nx-account-timeline__item {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #ecf1f6
}

.nx-account-security__icon,
.nx-account-timeline__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto
}

.nx-account-security__icon {
    color: #1a8dd8;
    background: rgba(26, 141, 216, .12)
}

.nx-account-security__item>div,
.nx-account-timeline__item>div {
    flex: 1
}

.nx-account-security__state {
    align-self: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a8dd8;
    background: rgba(26, 141, 216, .12);
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap
}

.nx-account-timeline__dot {
    margin-top: 2px;
    background: linear-gradient(135deg, #1a8dd8, #123567);
    box-shadow: 0 8px 20px rgba(26, 141, 216, .18)
}

.nx-account-timeline__item>span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap
}

.nx-account-help {
    margin: 0
}

@media (max-width:1180px) {
    .nx-account-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:820px) {

    .nx-account-hero,
    .nx-account-highlights,
    .nx-account-grid,
    .nx-account-list {
        grid-template-columns: 1fr
    }

    .nx-account-card--span-2 {
        grid-column: auto
    }
}

@media (max-width:640px) {

    .nx-account-hero,
    .nx-account-card {
        padding: 20px
    }

    .nx-account-hero__main,
    .nx-account-security__item,
    .nx-account-timeline__item {
        flex-direction: column
    }

    .nx-account-security__state,
    .nx-account-timeline__item>span:last-child {
        white-space: normal
    }

    .nx-account-btn {
        width: 100%
    }
}

.nx-public-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(251, 191, 36, .18), transparent 24%), radial-gradient(circle at top right, rgba(244, 63, 94, .16), transparent 22%), linear-gradient(180deg, #fff8f3 0%, #fff 44%, #fff5eb 100%)
}

body.alpha-rebuild-app[data-route=landing],
body.alpha-rebuild-app[data-route=auth] {
    background: #fff6ee;
    color: #111827
}

@keyframes nx-landing-gradient {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@keyframes nx-landing-spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes nx-landing-spin-reverse {
    to {
        transform: rotate(-360deg)
    }
}

@keyframes nx-landing-float {

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

    50% {
        transform: translateY(-10px)
    }
}

.nx-landing {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px 24px 80px
}

.nx-landing__backdrop {
    position: absolute;
    filter: blur(90px);
    pointer-events: none;
    opacity: .5
}

.nx-landing__backdrop--amber {
    top: 84px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: rgba(57, 193, 223, .28)
}

.nx-landing__backdrop--rose {
    top: 160px;
    right: 22%;
    width: 220px;
    height: 220px;
    background: rgba(26, 141, 216, .18)
}

.nx-landing__backdrop--violet {
    right: -10px;
    bottom: 64px;
    width: 260px;
    height: 260px;
    background: rgba(18, 53, 103, .22)
}

.nx-landing__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px
}

.nx-landing__copy {
    max-width: 760px
}

.nx-landing__title {
    margin: 0;
    font-size: clamp(3.6rem, 7vw, 6rem);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.08em
}

.nx-landing__brand,
.nx-landing__subtitle {
    display: block;
    background-image: linear-gradient(90deg, #39c1df 0%, #1a8dd8 48%, #123567 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: nx-landing-gradient 7s ease infinite
}

.nx-landing__subtitle {
    margin-top: 22px;
    font-size: clamp(1.55rem, 3.2vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1.08
}

.nx-landing__lead {
    max-width: 640px;
    margin: 34px 0 0;
    color: #4b5563;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.65
}

.nx-landing__lead span {
    color: #1a8dd8;
    font-weight: 700
}

.nx-landing__lead strong {
    color: #123567
}

.nx-landing__lead em {
    font-style: normal;
    color: #39c1df;
    font-weight: 700
}

.nx-landing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px
}

.nx-landing__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 28px;
    border-radius: 24px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.nx-landing__button:hover {
    transform: translateY(-2px)
}

.nx-landing__button--primary {
    color: #fff;
    background: linear-gradient(90deg, #123567 0%, #1a8dd8 48%, #39c1df 100%);
    box-shadow: 0 24px 50px -26px rgba(18, 53, 103, .32)
}

.nx-landing__button--secondary {
    padding-inline: 32px;
    color: #1f2937;
    background: rgba(255, 255, 255, .82);
    border: 2px solid rgba(209, 213, 219, .9);
    box-shadow: 0 18px 42px -34px rgba(17, 24, 39, .42)
}

.nx-landing__button-icon {
    font-size: 1.25rem
}

.nx-landing__visual {
    display: flex;
    justify-content: center
}

.nx-landing-orbit {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1/1
}

.nx-landing-orbit:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, .08), rgba(244, 63, 94, .08), rgba(139, 92, 246, .08));
    animation: nx-landing-float 4.2s ease-in-out infinite
}

.nx-landing-orbit__halo,
.nx-landing-orbit__halo:before {
    position: absolute;
    inset: 0;
    border-radius: 50%
}

.nx-landing-orbit__halo {
    border: 1px solid rgba(26, 141, 216, .18);
    animation: nx-landing-spin 28s linear infinite
}

.nx-landing-orbit__halo:before {
    content: "";
    inset: 16px;
    border: 1px solid rgba(244, 63, 94, .18)
}

.nx-landing-orbit__halo--reverse {
    inset: 18px;
    border-color: rgba(244, 63, 94, .18);
    animation-name: nx-landing-spin-reverse
}

.nx-landing-orbit__halo--reverse:before {
    inset: 20px;
    border-color: rgba(139, 92, 246, .14)
}

.nx-landing-orbit__coin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92px;
    height: 92px;
    transform: translate(-50%, -50%)
}

.nx-landing-orbit__coin-card {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(245, 158, 11, .35);
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 44px -30px rgba(17, 24, 39, .34)
}

.nx-landing-orbit__coin img {
    width: 48px;
    height: 48px;
    border-radius: 50%
}

.nx-landing-orbit__coin--btc {
    transform: translate(116px, -142px) scale(.92)
}

.nx-landing-orbit__coin--eth {
    z-index: 2;
    transform: translate(44px, -26px) scale(1.08)
}

.nx-landing-orbit__coin--usdt {
    transform: translate(-124px, 58px) scale(.82)
}

.nx-landing-orbit__coin--sol {
    transform: translate(-124px, -112px) scale(.82)
}

.nx-landing-orbit__coin--link {
    transform: translate(96px, -198px) scale(.8)
}

.nx-landing-orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3
}

.nx-landing-orbit__center-card {
    min-width: 220px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(245, 158, 11, .25);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px -34px rgba(245, 158, 11, .45)
}

.nx-landing-orbit__center-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px
}

.nx-landing-orbit__center-head img {
    width: 52px;
    height: 52px;
    border-radius: 50%
}

.nx-landing-orbit__center-head h3 {
    margin: 0;
    color: #123567;
    font-size: 1.1rem;
    letter-spacing: .04em
}

.nx-landing-orbit__center-head p {
    margin: 4px 0 0;
    color: rgba(18, 53, 103, .72);
    font-size: .9rem
}

.nx-landing-orbit__center-body {
    margin-top: 18px;
    text-align: center
}

.nx-landing-orbit__center-body strong {
    display: block;
    color: #111827;
    font-size: 2rem;
    letter-spacing: -.05em
}

.nx-landing-orbit__center-body p {
    margin: 8px 0 0;
    color: #22c55e;
    font-weight: 700
}

.nx-landing-orbit__center-body span {
    font-size: .78rem;
    color: #16a34a
}

.nx-auth {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 80px
}

.nx-auth__split {
    display: grid;
    grid-template-columns: minmax(320px, 460px);
    justify-content: center
}

.nx-auth__panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 144px)
}

.nx-auth-card {
    width: 100%;
    max-width: 460px;
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 28px 70px -36px rgba(15, 23, 42, .35)
}

.nx-auth-card__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px
}

.nx-auth-card__logo-icon {
    width: min(220px, 100%);
    height: auto;
    display: block
}

.nx-auth-card__title {
    margin: 0 0 24px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.05em;
    text-align: center
}

.nx-auth-card__title span {
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.nx-auth-form {
    display: grid;
    gap: 16px
}

.nx-auth-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.nx-auth-form__field {
    display: grid;
    gap: 8px
}

.nx-auth-form__field span {
    font-size: .88rem;
    font-weight: 600;
    color: #4b5563
}

.nx-auth-form__field input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    direction: ltr;
    text-align: left;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease
}

.nx-auth-form__field input::placeholder {
    color: #9ca3af
}

.nx-auth-form__field input:focus {
    border-color: #1a8dd8;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .14)
}

.nx-auth-form__field--password {
    gap: 6px
}

.nx-auth-form__password-wrap {
    position: relative
}

.nx-auth-form__password-wrap input {
    padding-right: 52px
}

.nx-auth-form__toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af
}

.nx-auth-form__toggle:hover {
    color: #4b5563
}

.nx-auth-form__toggle svg {
    width: 20px;
    height: 20px
}

.nx-auth-form__meta {
    display: flex;
    justify-content: flex-end
}

.nx-auth-form__forgot {
    color: #1a8dd8;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none
}

.nx-auth-form__forgot:hover {
    color: #ea580c
}

.nx-auth-form__status {
    margin: 0;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.55
}

.nx-auth-form__status--error {
    background: #fef2f2;
    color: #b91c1c
}

.nx-auth-form__status--success {
    background: #ecfdf5;
    color: #15803d
}

.nx-auth-form__submit {
    min-height: 54px;
    border-radius: 16px;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 22px 44px -28px rgba(244, 63, 94, .58);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease
}

.nx-auth-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 26px 46px -28px rgba(244, 63, 94, .62)
}

.nx-auth-form__submit:disabled {
    opacity: .7;
    cursor: wait
}

.nx-auth-form__switch {
    margin: 6px 0 0;
    text-align: center;
    color: #6b7280;
    font-size: .95rem
}

.nx-auth-form__switch a {
    color: #1a8dd8;
    font-weight: 700;
    text-decoration: none
}

.nx-auth-form__switch a:hover {
    color: #ea580c
}

.nx-auth-redirect {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(3, 7, 18, .9);
    backdrop-filter: blur(14px)
}

.nx-auth-redirect__panel {
    width: min(100%, 420px);
    text-align: center
}

.nx-auth-redirect__spinner {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 32px
}

.nx-auth-redirect__ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 3px;
    background: conic-gradient(from 0deg, rgba(244, 114, 182, 0) 0deg, #f472b6 180deg, rgba(244, 114, 182, 0) 360deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: nx-auth-redirect-spin 1.2s linear infinite
}

.nx-auth-redirect__glow {
    position: absolute;
    inset: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(244, 63, 94, .14), rgba(236, 72, 153, .05));
    filter: blur(8px)
}

.nx-auth-redirect__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fb7185 0%, #f472b6 100%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 22px rgba(244, 114, 182, .45);
    animation: nx-auth-redirect-pulse 1.1s ease-in-out infinite
}

.nx-auth-redirect__title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em
}

.nx-auth-redirect__text {
    margin: 0;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7
}

@keyframes nx-auth-redirect-spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes nx-auth-redirect-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1)
    }

    50% {
        transform: translate(-50%, -50%) scale(1.12)
    }
}

@media (max-width:980px) {
    .nx-landing {
        padding: 104px 20px 64px
    }

    .nx-landing__grid {
        grid-template-columns: 1fr
    }

    .nx-landing__copy {
        text-align: center
    }

    .nx-landing__lead {
        margin-inline: auto
    }

    .nx-landing__actions {
        justify-content: center
    }

    .nx-auth {
        padding: 40px 20px 64px
    }

    .nx-auth__panel {
        min-height: auto
    }
}

@media (max-width:640px) {
    .nx-landing__title {
        font-size: 3rem
    }

    .nx-landing__subtitle {
        font-size: 1.5rem
    }

    .nx-landing__button {
        width: 100%
    }

    .nx-landing-orbit {
        width: min(100%, 320px)
    }

    .nx-landing-orbit__coin {
        width: 74px;
        height: 74px
    }

    .nx-landing-orbit__coin img {
        width: 40px;
        height: 40px
    }

    .nx-landing-orbit__coin--btc {
        transform: translate(88px, -112px) scale(.92)
    }

    .nx-landing-orbit__coin--eth {
        transform: translate(28px, -10px) scale(1.04)
    }

    .nx-landing-orbit__coin--usdt {
        transform: translate(-98px, 50px) scale(.8)
    }

    .nx-landing-orbit__coin--sol {
        transform: translate(-98px, -92px) scale(.8)
    }

    .nx-landing-orbit__coin--link {
        transform: translate(72px, -154px) scale(.8)
    }

    .nx-landing-orbit__center-card {
        min-width: 190px;
        padding: 18px
    }

    .nx-landing-orbit__center-body strong {
        font-size: 1.5rem
    }

    .nx-auth {
        padding: 28px 16px 40px
    }

    .nx-auth-card {
        padding: 24px
    }

    .nx-auth__headline {
        font-size: 2.45rem
    }

    .nx-auth-form__row {
        grid-template-columns: 1fr
    }

    .nx-auth-redirect__spinner {
        width: 88px;
        height: 88px;
        margin-bottom: 28px
    }

.nx-auth-redirect__title {
        font-size: 1.75rem
    }
}

.nx-page--dashboard {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px
}

.nx-page--dashboard>.nx-card {
    grid-column: 1 / -1
}

.nx-page--dashboard .nx-balance,
.nx-page--dashboard .nx-analytics,
.nx-page--dashboard .nx-market,
.nx-page--dashboard .nx-quick {
    padding: 0;
    overflow: hidden
}

.nx-balance__shell {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(229, 231, 235, .6);
    backdrop-filter: blur(18px)
}

.nx-balance__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.nx-balance__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827
}

.nx-balance__summary {
    margin-bottom: 24px
}

.nx-balance__value {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px
}

.nx-balance__value strong {
    font-size: 36px;
    font-weight: 700;
    color: #111827
}

.nx-balance__eye,
.nx-balance__refresh {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #6b7280;
    background: rgba(243, 244, 246, .75);
    transition: background-color .2s ease, color .2s ease
}

.nx-balance__eye:hover,
.nx-balance__refresh:hover {
    background: rgba(229, 231, 235, .9);
    color: #374151
}

.nx-balance__eye svg,
.nx-balance__refresh svg {
    width: 18px;
    height: 18px
}

.nx-balance__summary p {
    margin: 0;
    color: #6b7280;
    font-size: 14px
}

.nx-inline-status {
    margin-top: 10px !important;
    color: #6b7280 !important;
    font-size: 13px !important
}

.nx-inline-status--error {
    color: #dc2626 !important
}

.nx-balance__actions {
    display: flex;
    gap: 12px
}

.nx-balance__cta {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease
}

.nx-balance__cta svg {
    width: 18px;
    height: 18px
}

.nx-balance__cta--deposit {
    background: #22c55e
}

.nx-balance__cta--deposit:hover {
    background: #16a34a
}

.nx-balance__cta--withdraw {
    background: #ef4444
}

.nx-balance__cta--withdraw:hover {
    background: #dc2626
}

.nx-balance__cta--trade {
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    box-shadow: 0 18px 34px rgba(244, 63, 94, .2)
}

.nx-balance__cta--trade:hover {
    transform: translateY(-1px)
}

.nx-analytics {
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(243, 244, 246, .3) 100%);
    border: 0;
    box-shadow: none
}

.nx-analytics__shell {
    padding: 16px
}

.nx-head--analytics h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827
}

.nx-head--analytics p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #6b7280
}

.nx-tabs--analytics {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0 0 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(229, 231, 235, .6)
}

.nx-tab {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    transition: all .25s ease
}

.nx-tab svg {
    width: 16px;
    height: 16px
}

.nx-tab:hover {
    background: rgba(243, 244, 246, .75);
    color: #111827
}

.nx-tab.is-active {
    color: #fff;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 52%, #123567 100%);
    box-shadow: 0 16px 30px rgba(244, 63, 94, .2)
}

.nx-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px
}

.nx-stat {
    min-height: 132px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, .7)
}

.nx-stat__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280
}

.nx-stat strong {
    font-size: 26px;
    font-weight: 700
}

.nx-stat--blue {
    background: linear-gradient(135deg, #eff6ff 0%, rgba(219, 234, 254, .5) 100%);
    border-color: rgba(191, 219, 254, .8)
}

.nx-stat--blue strong {
    color: #2563eb
}

.nx-stat--green {
    background: linear-gradient(135deg, #ecfdf5 0%, rgba(220, 252, 231, .45) 100%);
    border-color: rgba(187, 247, 208, .8)
}

.nx-stat--green strong {
    color: #16a34a
}

.nx-stat--red {
    background: linear-gradient(135deg, #fef2f2 0%, rgba(254, 226, 226, .45) 100%);
    border-color: rgba(254, 202, 202, .8)
}

.nx-stat--red strong {
    color: #dc2626
}

.nx-stat--purple {
    background: linear-gradient(135deg, #edf7fb 0%, rgba(232, 244, 251, .7) 100%);
    border-color: rgba(57, 193, 223, .35)
}

.nx-stat--purple strong {
    color: #169fdb
}

.nx-analytics__detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.nx-analytics-card {
    padding: 24px;
    border-radius: 24px;
    border: 2px solid rgba(229, 231, 235, .6);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08)
}

.nx-analytics-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    color: #111827
}

.nx-analytics-card__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(243, 244, 246, .95);
    color: #6b7280
}

.nx-analytics-card__icon--orange {
    background: rgba(255, 237, 213, .95);
    color: #ea580c
}

.nx-analytics-card__icon svg {
    width: 20px;
    height: 20px
}

.nx-analytics-card__rows {
    display: grid;
    gap: 12px
}

.nx-analytics-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(229, 231, 235, .6);
    font-size: 14px;
    font-weight: 500;
    color: #374151
}

.nx-analytics-card__row strong {
    font-size: 14px;
    font-weight: 700
}

.nx-analytics-card__row--green {
    background: rgba(240, 253, 244, .9)
}

.nx-analytics-card__row--green strong {
    color: #16a34a
}

.nx-analytics-card__row--red {
    background: rgba(254, 242, 242, .9)
}

.nx-analytics-card__row--red strong {
    color: #dc2626
}

.nx-analytics-card__empty {
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px
}

.nx-analytics-card__pairs {
    display: grid;
    gap: 12px
}

.nx-analytics-card__pair {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(249, 250, 251, .95);
    border: 1px solid rgba(229, 231, 235, .7);
    color: #374151;
    font-size: 14px;
    font-weight: 500
}

.nx-analytics-card__pair strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700
}

.nx-quick {
    padding: 18px 16px 20px;
    border-radius: 18px
}

.nx-quick .nx-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827
}

.nx-quick .nx-head p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px
}

.nx-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 360px;
    margin: 16px auto 0
}

.nx-quick-card {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    padding: 14px 13px 13px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 22px;
    border: 1px solid rgba(209, 213, 219, .92);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease
}

.nx-quick-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .08)
}

.nx-quick-card__wash {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s ease
}

.nx-quick-card:hover .nx-quick-card__wash {
    opacity: .1
}

.nx-quick-card__icon {
    position: relative;
    display: inline-flex;
    margin-bottom: 12px;
    color: inherit
}

.nx-quick-card__icon svg,
.nx-quick-card__arrow svg {
    width: 24px;
    height: 24px
}

.nx-quick-card strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700
}

.nx-quick-card span:last-child:not(.nx-quick-card__arrow):not(.nx-quick-card__wash) {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.35
}

.nx-quick-card__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    opacity: 0;
    transform: translateX(-4px) rotate(180deg);
    transition: all .3s ease
}

.nx-quick-card:hover .nx-quick-card__arrow {
    opacity: 1;
    transform: translateX(0) rotate(180deg)
}

.nx-quick-card--green {
    background: #f0fdf4;
    color: #16a34a
}

.nx-quick-card--green .nx-quick-card__wash {
    background: linear-gradient(135deg, #22c55e, #059669)
}

.nx-quick-card--blue {
    background: #eff6ff;
    color: #2563eb
}

.nx-quick-card--blue .nx-quick-card__wash {
    background: linear-gradient(135deg, #3b82f6, #0891b2)
}

.nx-quick-card--purple {
    background: #edf7fb;
    color: #0f5f94
}

.nx-quick-card--purple .nx-quick-card__wash {
    background: linear-gradient(135deg, #39c1df, #1a8dd8)
}

.nx-quick-card--yellow {
    background: #eff7ff;
    color: #123567
}

.nx-quick-card--yellow .nx-quick-card__wash {
    background: linear-gradient(135deg, #169fdb, #123567)
}

@media (max-width:640px) {
    .nx-quick {
        padding: 16px 10px 18px
    }

    .nx-quick-grid {
        max-width: 332px;
        gap: 10px
    }

    .nx-quick-card {
        min-height: 112px;
        padding: 13px 12px 12px;
        border-radius: 15px
    }

    .nx-quick-card__icon {
        margin-bottom: 10px
    }

    .nx-quick-card__icon svg,
    .nx-quick-card__arrow svg {
        width: 22px;
        height: 22px
    }

    .nx-quick-card strong {
        font-size: 13px
    }
}

.nx-market {
    padding: 24px;
    border-radius: 24px;
    background: #fff
}

.nx-market__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px
}

.nx-market .nx-head h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: #111827
}

.nx-search {
    position: relative;
    width: 100%;
    max-width: 256px
}

.nx-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 16px 0 40px;
    border-radius: 14px;
    border: 1px solid rgba(229, 231, 235, 1);
    background: #f9fafb;
    color: #111827;
    font-size: 14px
}

.nx-search span {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: #9ca3af
}

.nx-search span svg {
    width: 16px;
    height: 16px
}

.nx-market__block+.nx-market__block {
    margin-top: 32px
}

.nx-market__block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.nx-market__block h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827
}

.nx-market__head,
.nx-market-row {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(120px, 3fr) minmax(120px, 2fr) 24px;
    align-items: center;
    gap: 16px
}

.nx-market__head {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(243, 244, 246, 1);
    color: #6b7280;
    font-size: 12px;
    font-weight: 500
}

.nx-market__head span:nth-child(n+2),
.nx-market-row__price,
.nx-market-row__change {
    text-align: right;
    justify-content: flex-end
}

.nx-market__list {
    display: grid;
    gap: 8px
}

.nx-market-row {
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    transition: background-color .25s ease, box-shadow .25s ease
}

.nx-market-row:hover {
    background: rgba(249, 250, 251, .95);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05)
}

.nx-market-row__token {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.nx-market-row__token strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 600
}

.nx-market-row__token span {
    display: block;
    color: #6b7280;
    font-size: 14px
}

.nx-market-row__price {
    color: #111827;
    font-size: 16px;
    font-weight: 500
}

.nx-market-row__tail {
    min-height: 1px
}

.nx-pill {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    color: #16a34a;
    background: rgba(240, 253, 244, .95)
}

.nx-pill svg {
    width: 14px;
    height: 14px
}

@media (max-width:1180px) {
    .nx-stat-grid,
    .nx-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-analytics__detail-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:820px) {
    .nx-market__top {
        flex-direction: column
    }

    .nx-search {
        max-width: none
    }

    .nx-market__head,
    .nx-market-row {
        grid-template-columns: minmax(0, 1.6fr) minmax(90px, .8fr) minmax(90px, .8fr) 0
    }

    .nx-market-row__tail,
    .nx-market__head span:last-child {
        display: none
    }
}

@media (max-width:640px) {
    .nx-page--dashboard {
        gap: 12px
    }

    .nx-balance__shell,
    .nx-analytics__shell,
    .nx-quick,
    .nx-market {
        padding: 14px
    }

    .nx-quick-grid,
    .nx-market__head,
    .nx-market-row {
        grid-template-columns: 1fr
    }

    .nx-balance__actions {
        display: flex;
        flex-direction: row;
        gap: 10px
    }

    .nx-balance__cta {
        min-width: 0;
        padding: 0 12px;
        font-size: 14px
    }

    .nx-balance__cta span {
        white-space: nowrap
    }

    .nx-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .nx-balance__value strong,
    .nx-stat strong {
        font-size: 24px
    }

    .nx-market__head {
        display: none
    }

    .nx-market-row {
        gap: 10px
    }

    .nx-market-row__price,
    .nx-market-row__change {
        text-align: left;
        justify-content: flex-start
    }

    .nx-quick-card__arrow {
        display: none
    }

    .nx-quick-card {
        min-height: 124px;
        padding: 14px
    }

    .nx-stat {
        min-height: 112px;
        padding: 16px
    }
}

.nx-balance__refresh.is-busy svg {
    animation: nxSpin 1s linear infinite
}

@keyframes nxSpin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.nx-page--dashboard {
    max-width: 1536px;
    margin: 0 auto;
    width: 100%;
    display: block;
    padding: 16px 16px 80px
}

.nx-page--dashboard .nx-balance--page {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(229, 231, 235, .6);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    backdrop-filter: blur(18px)
}

.nx-page--dashboard .nx-balance__shell {
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none
}

.nx-balance__panel {
    padding: 0
}

.nx-page--dashboard .nx-balance__head {
    margin-bottom: 0;
    padding: 20px 20px 0
}

.nx-page--dashboard .nx-balance__head h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827
}

.nx-page--dashboard .nx-balance__summary {
    margin-top: 0;
    margin-bottom: 0;
    padding: 16px 20px 0
}

.nx-page--dashboard .nx-balance__value {
    gap: 8px;
    margin: 0
}

.nx-page--dashboard .nx-balance__value strong {
    font-size: 36px;
    font-weight: 700;
    color: #111827
}

.nx-page--dashboard .nx-balance__eye {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #6b7280
}

.nx-page--dashboard .nx-balance__refresh {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #6b7280
}

.nx-page--dashboard .nx-balance__eye:hover {
    background: rgba(243, 244, 246, .8)
}

.nx-page--dashboard .nx-balance__refresh:hover {
    background: rgba(243, 244, 246, .8)
}

.nx-page--dashboard .nx-inline-status {
    margin-top: 10px !important
}

.nx-page--dashboard .nx-balance__actions {
    margin-top: 18px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border-top: 1px solid rgba(229, 231, 235, .7);
    border-bottom: 1px solid rgba(229, 231, 235, .7)
}

.nx-page--dashboard .nx-balance__cta {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: none
}

.nx-page--dashboard .nx-balance__cta--deposit {
    background: #22c55e
}

.nx-page--dashboard .nx-balance__cta--deposit:hover {
    background: #16a34a;
    transform: none
}

.nx-page--dashboard .nx-balance__cta--withdraw {
    background: #ef4444
}

.nx-page--dashboard .nx-balance__cta--withdraw:hover {
    background: #dc2626;
    transform: none
}

.nx-page--dashboard .nx-balance--compact .nx-balance__actions {
    border-bottom: 0
}

.nx-page--assets .nx-balance__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nx-page--assets .nx-balance__cta {
    width: 100%;
    min-width: 0;
}

.nx-balance__assets {
    padding: 12px 20px 20px;
    display: grid;
    gap: 4px
}

.nx-balance-asset {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
    background: transparent;
    color: #111827;
    transition: background-color .2s ease
}

.nx-balance-asset:hover {
    background: rgba(249, 250, 251, .8)
}

.nx-balance-asset__main,
.nx-balance-asset__meta {
    display: flex;
    align-items: center;
    gap: 12px
}

.nx-balance-asset__copy,
.nx-balance-asset__values {
    display: flex;
    flex-direction: column
}

.nx-balance-asset__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(243, 244, 246, .8)
}

.nx-token-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain
}

.nx-token-icon-wrap {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.nx-token-icon-wrap .nx-coin {
    width: 24px;
    height: 24px;
    position: absolute;
    inset: 0;
    border-width: 0;
    box-shadow: none
}

.nx-token-icon-wrap .nx-coin--btc span,
.nx-token-icon-wrap .nx-coin--usdt span,
.nx-token-icon-wrap .nx-coin--xrp span {
    width: 18px;
    height: 18px;
    font-size: 10px
}

.nx-token-icon-wrap .nx-coin--eth .nx-coin__gem {
    width: 12px;
    height: 12px
}

.nx-token-icon-wrap .nx-coin--bnb .nx-coin__bnb {
    width: 14px;
    height: 14px
}

.nx-token-icon-wrap .nx-coin--sol .nx-coin__sol {
    width: 16px;
    height: 4px
}

.nx-token-icon-wrap .nx-token-icon {
    position: relative;
    z-index: 1
}

.nx-balance-asset__icon .nx-coin {
    width: 30px;
    height: 30px;
    border-width: 0;
    box-shadow: none
}

.nx-balance-asset__icon .nx-coin--btc span,
.nx-balance-asset__icon .nx-coin--usdt span,
.nx-balance-asset__icon .nx-coin--xrp span {
    width: 20px;
    height: 20px;
    font-size: 11px
}

.nx-balance-asset__icon .nx-coin--eth .nx-coin__gem {
    width: 14px;
    height: 14px
}

.nx-balance-asset__icon .nx-coin--bnb .nx-coin__bnb {
    width: 16px;
    height: 16px
}

.nx-balance-asset__icon .nx-coin--sol .nx-coin__sol {
    width: 18px;
    height: 4px
}

.nx-balance-asset__icon .nx-coin--sol .nx-coin__sol:before {
    top: -6px;
    height: 4px
}

.nx-balance-asset__icon .nx-coin--sol .nx-coin__sol:after {
    top: 6px;
    height: 4px
}

.nx-balance-asset__copy strong,
.nx-balance-asset__values strong {
    font-size: 16px;
    font-weight: 500;
    color: #111827
}

.nx-balance-asset__copy span,
.nx-balance-asset__values small {
    margin-top: 2px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4
}

.nx-balance-asset__values {
    align-items: flex-end;
    text-align: right
}

.nx-balance-asset__change {
    margin-top: 2px;
    color: #22c55e;
    font-size: 12px;
    font-weight: 600
}

.nx-balance-asset__chevron {
    color: #9ca3af
}

.nx-balance-asset__chevron svg {
    width: 18px;
    height: 18px
}

.nx-chat {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    border-radius: 18px;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    box-shadow: 0 24px 48px rgba(156, 163, 175, .2)
}

.nx-chat__ping {
    border-radius: 18px;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    opacity: .2
}

@media (min-width:768px) {
    .nx-page--dashboard {
        padding: 24px 24px 24px
    }

    .nx-page--dashboard .nx-balance__head {
        padding: 20px 20px 0
    }

    .nx-page--dashboard .nx-balance__summary {
        padding: 16px 20px 0
    }

    .nx-page--dashboard .nx-balance__actions {
        padding-left: 16px;
        padding-right: 16px
    }

    .nx-balance__assets {
        padding: 12px 16px 20px
    }
}

@media (min-width:1536px) {
    .nx-page--dashboard {
        padding: 40px 40px 24px
    }
}

@media (max-width:767px) {
    .nx-page--dashboard .nx-balance__actions {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .nx-page--assets .nx-balance__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nx-page--dashboard .nx-balance__cta {
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px
    }

    .nx-balance-asset {
        padding: 12px 8px
    }

    .nx-page--dashboard .nx-balance__head,
    .nx-page--dashboard .nx-balance__summary,
    .nx-page--dashboard .nx-balance__actions,
    .nx-balance__assets {
        padding-left: 16px;
        padding-right: 16px
    }
}

.nx-market-shell {
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .18), transparent 22rem),
        radial-gradient(circle at left center, rgba(59, 130, 246, .14), transparent 24rem),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .96));
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 20px 44px rgba(15, 23, 42, .08)
}

.nx-market-shell__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.nx-market-shell__eyebrow,
.nx-market-table__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    color: #92400e;
    background: rgba(254, 243, 199, .85);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

.nx-market-shell__copy h1 {
    margin: 12px 0 10px;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.05
}

.nx-market-shell__copy p {
    max-width: 680px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7
}

.nx-search--market {
    max-width: 320px
}

.nx-search--market input {
    min-height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8)
}

.nx-market-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px
}

.nx-market-hero-card {
    position: relative;
    padding: 18px;
    border-radius: 24px;
    color: #fff;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
    transition: transform .22s ease, box-shadow .22s ease
}

.nx-market-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, .16)
}

.nx-market-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12)
}

.nx-market-hero-card--1 {
    background: linear-gradient(135deg, #2563eb, #0f172a)
}

.nx-market-hero-card--2 {
    background: linear-gradient(135deg, #39c1df, #123567)
}

.nx-market-hero-card--3 {
    background: linear-gradient(135deg, #059669, #0f766e)
}

.nx-market-hero-card__head,
.nx-market-hero-card__token,
.nx-market-hero-card__meta,
.nx-market-watch__row,
.nx-market-watch__token {
    display: flex;
    align-items: center
}

.nx-market-hero-card__head,
.nx-market-watch__row {
    justify-content: space-between
}

.nx-market-hero-card__token,
.nx-market-watch__token {
    gap: 12px;
    min-width: 0
}

.nx-market-hero-card__token strong,
.nx-market-table__token strong,
.nx-market-watch__token strong {
    display: block;
    font-size: 16px;
    font-weight: 700
}

.nx-market-hero-card__token span,
.nx-market-table__token span,
.nx-market-watch__token span {
    display: block;
    font-size: 13px
}

.nx-market-hero-card__token span {
    color: rgba(255, 255, 255, .78)
}

.nx-market-hero-card__trend {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 13px;
    font-weight: 700
}

.nx-market-hero-card__price {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700
}

.nx-market-hero-card__meta {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    margin-top: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px
}

.nx-market-hero-card__meta svg {
    width: 16px;
    height: 16px
}

.nx-market-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr);
    gap: 18px
}

.nx-market-table,
.nx-market-watch__panel {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .05)
}

.nx-market-table__head,
.nx-market-watch__head {
    margin-bottom: 14px
}

.nx-market-table__head h2,
.nx-market-watch__head h2 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700
}

.nx-market-table__labels {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(120px, .8fr) minmax(120px, .8fr);
    gap: 12px;
    padding: 0 4px 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.nx-market-table__labels span:nth-child(n+2),
.nx-market-table__price,
.nx-market-table__change {
    text-align: right;
    justify-content: flex-end
}

.nx-market-table__body,
.nx-market-watch__list {
    display: grid;
    gap: 10px
}

.nx-market-table__row,
.nx-market-watch__row {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    text-align: left;
    background: rgba(248, 250, 252, .9);
    border: 1px solid rgba(226, 232, 240, .7);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.nx-market-table__row:hover,
.nx-market-watch__row:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, .55);
    box-shadow: 0 14px 24px rgba(15, 23, 42, .06)
}

.nx-market-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(120px, .8fr) minmax(120px, .8fr);
    gap: 12px
}

.nx-market-table__token,
.nx-market-watch__token {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.nx-market-table__token span,
.nx-market-watch__token span {
    color: #64748b
}

.nx-market-table__price,
.nx-market-watch__meta strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700
}

.nx-market-watch__meta {
    text-align: right
}

.nx-market-watch__meta span {
    display: block;
    margin-top: 4px;
    color: #16a34a;
    font-size: 13px;
    font-weight: 700
}

@media (max-width:1180px) {
    .nx-market-hero-grid,
    .nx-market-layout {
        grid-template-columns: 1fr
    }
}

@media (max-width:820px) {
    .nx-market-shell__hero {
        flex-direction: column;
        align-items: stretch
    }

    .nx-search--market {
        max-width: none
    }
}

@media (max-width:640px) {
    .nx-page--market {
        min-height: calc(100vh - 132px)
    }

    .nx-market-shell {
        padding: 16px;
        border-radius: 24px
    }

    .nx-market-hero-grid,
    .nx-market-layout,
    .nx-market-table__row,
    .nx-market-table__labels {
        grid-template-columns: 1fr
    }

    .nx-market-table__labels {
        display: none
    }

    .nx-market-table,
    .nx-market-watch__panel {
        padding: 16px
    }

    .nx-market-table__price,
    .nx-market-table__change,
    .nx-market-watch__meta {
        text-align: left;
        justify-content: flex-start
    }

    .nx-market-watch__row,
    .nx-market-table__row {
        gap: 10px
    }
}

.nx-assets {
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(229, 231, 235, .55);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    overflow: hidden;
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column
}

.nx-assets__head {
    padding: 20px;
    border-bottom: 1px solid rgba(229, 231, 235, .55)
}

.nx-assets__head-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nx-assets__head h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600
}

.nx-assets__total-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px
}

.nx-assets__total strong {
    color: #111827;
    font-size: 34px;
    font-weight: 700
}

.nx-assets__eye {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #6b7280;
    background: rgba(243, 244, 246, .75)
}

.nx-assets__eye svg {
    width: 18px;
    height: 18px
}

.nx-assets__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px
}

.nx-assets__action {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    color: #fff;
    transition: background-color .2s ease, transform .2s ease
}

.nx-assets__action:hover {
    transform: translateY(-1px)
}

.nx-assets__action svg {
    width: 18px;
    height: 18px
}

.nx-assets__action span {
    font-weight: 600
}

.nx-assets__action--deposit {
    background: #22c55e
}

.nx-assets__action--deposit:hover {
    background: #16a34a
}

.nx-assets__action--withdraw {
    background: #ef4444
}

.nx-assets__action--withdraw:hover {
    background: #dc2626
}

.nx-assets__list {
    padding: 0 16px 16px;
    display: grid;
    gap: 10px;
    align-content: start;
    flex: 1
}

.nx-assets__empty {
    padding: 28px 16px;
    color: #6b7280;
    text-align: center;
    border-radius: 16px;
    background: rgba(249, 250, 251, .85)
}

.nx-asset-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
    text-align: left;
    transition: background-color .2s ease
}

.nx-asset-row:hover {
    background: rgba(249, 250, 251, .95)
}

.nx-asset-row__coin {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.nx-asset-row__icon-wrap .nx-coin {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(243, 244, 246, .8)
}

.nx-asset-row__meta strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 500
}

.nx-asset-row__meta span {
    display: block;
    color: #6b7280;
    font-size: 14px;
    margin-top: 2px
}

.nx-asset-row__stats {
    display: flex;
    align-items: center;
    gap: 12px
}

.nx-asset-row__stats-main {
    text-align: right
}

.nx-asset-row__stats-main strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 500
}

.nx-asset-row__change {
    display: block;
    color: #22c55e;
    font-size: 12px
}

.nx-asset-row__value {
    display: block;
    color: #6b7280;
    font-size: 12px
}

.nx-asset-row__chev {
    color: #9ca3af
}

.nx-asset-row__chev svg {
    width: 18px;
    height: 18px;
    transform: rotate(-90deg)
}

@media (max-width:640px) {
    .nx-page--assets,
    .nx-assets {
        min-height: calc(100vh - 132px)
    }

    .nx-assets__actions {
        flex-wrap: wrap;
        justify-content: stretch
    }

    .nx-assets__action {
        flex: 1;
        min-width: 0;
        padding: 0 16px
    }

    .nx-asset-row {
        align-items: flex-start;
        flex-direction: column
    }

    .nx-asset-row__stats {
        width: 100%;
        justify-content: space-between
    }

    .nx-asset-row__stats-main {
        text-align: left
    }

    .nx-asset-row__chev {
        display: none
    }
}

.nx-trade-execution {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(10px)
}

.nx-trade-execution__panel {
    position: relative;
    width: min(100%, 560px);
    max-height: min(calc(100vh - 40px), 760px);
    padding: 18px 18px 16px;
    border-radius: 20px;
    margin: 0 auto;
    overflow: hidden;
    overflow-y: auto;
    border: 1px solid rgba(71, 85, 105, .72);
    background: linear-gradient(180deg, #0f172a 0%, #111827 52%, #020617 100%);
    box-shadow: 0 24px 70px rgba(2, 6, 23, .56), inset 0 1px 0 rgba(255, 255, 255, .05)
}

.nx-trade-execution__glow {
    position: absolute;
    inset: auto -10% -16% auto;
    width: 52%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(249, 115, 22, .22), rgba(244, 63, 94, 0) 72%);
    pointer-events: none
}

.nx-trade-execution__eyebrow,
.nx-trade-execution__meta,
.nx-trade-execution__footer,
.nx-trade-execution__stat span {
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .12em
}

.nx-trade-execution__eyebrow,
.nx-trade-execution__meta,
.nx-trade-execution__footer {
    text-align: center
}

.nx-trade-execution__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700
}

.nx-trade-execution__title {
    margin: 0;
    color: #f8fafc;
    text-align: center;
    font-size: clamp(24px, 4.8vw, 36px);
    font-weight: 700;
    letter-spacing: .04em
}

.nx-trade-execution__countdown {
    margin-top: 8px;
    color: #f8fafc;
    text-align: center;
    font-size: clamp(22px, 6vw, 32px);
    font-weight: 800;
    letter-spacing: -.03em
}

.nx-trade-execution__meta {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700
}

.nx-trade-execution__progress {
    margin-top: 12px;
    height: 12px;
    padding: 2px;
    border-radius: 999px;
    border: 1px solid rgba(71, 85, 105, .85);
    background: rgba(15, 23, 42, .92);
    box-shadow: inset 0 1px 4px rgba(2, 6, 23, .48)
}

.nx-trade-execution__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    box-shadow: 0 0 14px rgba(239, 68, 68, .16);
    transition: width .6s ease
}

.nx-trade-execution__card {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(51, 65, 85, .95);
    background: rgba(15, 23, 42, .76)
}

.nx-trade-execution__result,
.nx-trade-execution__waiting {
    padding: 14px 12px;
    border-radius: 14px;
    text-align: center;
    background: rgba(148, 163, 184, .08)
}

.nx-trade-execution__result {
    font-size: clamp(22px, 5.6vw, 34px);
    line-height: 1.05;
    letter-spacing: -.04em
}

.nx-trade-execution__result.is-win {
    color: #4ade80
}

.nx-trade-execution__result.is-loss {
    color: #f87171
}

.nx-trade-execution__waiting {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600
}

.nx-trade-execution__stats {
    display: grid;
    gap: 10px;
    margin-top: 14px
}

.nx-trade-execution__stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(51, 65, 85, .95);
    background: rgba(15, 23, 42, .9)
}

.nx-trade-execution__stat span {
    font-size: 11px;
    font-weight: 700
}

.nx-trade-execution__stat strong {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;
    text-align: right
}

.nx-trade-execution__footer {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700
}

.nx-trade-execution__close {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    position: sticky;
    bottom: 0;
    border-radius: 999px;
    border: 1px solid rgba(251, 146, 60, .3);
    background: linear-gradient(90deg, #39c1df 0%, #1a8dd8 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 10px 28px rgba(239, 68, 68, .28)
}

@media (max-width:640px) {
    .nx-trade-execution {
        align-items: flex-start;
        padding: 12px 10px
    }

    .nx-trade-execution__panel {
        width: min(100%, 520px);
        max-height: calc(100vh - 24px);
        padding: 16px 14px 14px;
        border-radius: 16px
    }

    .nx-trade-execution__result {
        font-size: 28px
    }

    .nx-trade-execution__stat {
        padding: 11px 12px
    }

    .nx-trade-execution__stat strong {
        text-align: right;
        font-size: 14px
    }
}

.nx-withdraw-modal {
    animation: nx-modal-fade-in .18s ease-out
}

.nx-withdraw-modal__backdrop {
    animation: nx-backdrop-fade-in .18s ease-out
}

.nx-withdraw-modal__card {
    animation: nx-modal-card-in .22s cubic-bezier(.22, 1, .36, 1)
}

body.qs-route-switching .qs-app-shell,
body.qs-route-switching main,
body.qs-route-switching .page-content,
body.qs-route-switching .nx-shell,
body.qs-route-switching .nx-main {
    opacity: .985;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease
}

@media (min-width:1024px) {
    .nx-drawer {
        opacity: .99;
        transform: translateX(-100%) scale(.985);
        transition: transform .22s ease, opacity .22s ease
    }

    .nx-drawer-shell.is-open .nx-drawer {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

@keyframes nx-backdrop-fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes nx-modal-fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes nx-modal-card-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@media (prefers-reduced-motion:reduce) {
    .nx-withdraw-modal,
    .nx-withdraw-modal__backdrop,
    .nx-withdraw-modal__card {
        animation: none !important
    }

    body.qs-route-switching .qs-app-shell,
    body.qs-route-switching main,
    body.qs-route-switching .page-content,
    body.qs-route-switching .nx-shell,
    body.qs-route-switching .nx-main,
    .nx-drawer-overlay,
    .nx-drawer {
        transition: none !important;
        transform: none !important
    }
}

@media (max-width:768px) {
    .nx-topbar__wordmark {
        display: none
    }
}

@media (min-width:769px) {
    .nx-topbar__wordmark {
        display: inline-flex
    }

    .nx-mobile-brand .nx-logo-wordmark {
        width: 172px
    }
}
