:root {
    --vu-bg: #070b0d;
    --vu-bg-2: #0a0f12;
    --vu-panel: #0f161a;
    --vu-panel-2: #121b20;
    --vu-panel-3: #162127;
    --vu-line: #223036;
    --vu-line-soft: rgba(255, 255, 255, 0.06);
    --vu-text: #f4f7f7;
    --vu-muted: #89999f;
    --vu-muted-2: #637178;
    --vu-accent: #2ef2be;
    --vu-accent-2: #58f4d0;
    --vu-cyan: #56e8ee;
    --vu-red: #ff5e6d;
    --vu-yellow: #d8de45;
    --vu-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    --vu-radius: 13px;
    --vu-radius-sm: 9px;
    --vu-nav-h: 76px;
    --vu-max: 760px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: #020405;
}

body.vu-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 100% 0%, rgba(46, 242, 190, 0.035), transparent 30rem),
        var(--vu-bg);
    color: var(--vu-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.vu-body,
body.vu-body button,
body.vu-body input,
body.vu-body select,
body.vu-body textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    outline: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.vu-app {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
}

.vu-main {
    width: min(100% - 28px, var(--vu-max));
    margin: 0 auto;
    padding: 18px 0 calc(var(--vu-nav-h) + 42px);
}

.vu-dashboard-main {
    padding-top: 22px;
}

.vu-page-head {
    width: min(100% - 28px, var(--vu-max));
    margin: 0 auto;
    min-height: 72px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--vu-line-soft);
}

.vu-page-head > div > span {
    display: block;
    margin-bottom: 3px;
    color: var(--vu-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.vu-page-head h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vu-back {
    width: 34px;
    height: 34px;
    border: 1px solid var(--vu-line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--vu-text);
    background: var(--vu-panel);
    font-size: 24px;
    line-height: 1;
}

.vu-tier-mini,
.vu-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(46, 242, 190, 0.2);
    border-radius: 999px;
    color: var(--vu-accent);
    background: rgba(46, 242, 190, 0.06);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.vu-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.vu-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--vu-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.vu-muted {
    color: var(--vu-muted);
}

.vu-up {
    color: var(--vu-accent) !important;
}

.vu-down {
    color: var(--vu-red) !important;
}

.vu-cyan {
    color: var(--vu-cyan) !important;
}

/* Dashboard intro: intentionally mirrors the tall menu area shown in the reference video. */
.vu-dashboard-intro {
    min-height: 410px;
    padding: 4px 2px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vu-dashboard-brandline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    margin-bottom: 16px;
}

.vu-dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--vu-muted);
    font-size: 11px;
    font-weight: 700;
}

.vu-brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--vu-accent);
    box-shadow: 0 0 20px rgba(46, 242, 190, 0.45);
}

.vu-dashboard-heading {
    margin: 0 0 22px 52px;
}

.vu-dashboard-heading h1 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.vu-dashboard-heading p {
    margin: 0 0 6px;
    color: var(--vu-muted);
    font-size: 11px;
}

.vu-dashboard-heading small {
    color: var(--vu-muted-2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vu-quick-list {
    width: min(310px, 82%);
    margin-left: 50px;
    display: grid;
    gap: 2px;
}

.vu-quick-link {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    min-height: 51px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
}

.vu-quick-link:last-child {
    border-bottom: 0;
}

.vu-quick-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #b5c0c4;
}

.vu-quick-link:nth-child(1) .vu-quick-icon,
.vu-quick-link:nth-child(4) .vu-quick-icon {
    color: var(--vu-accent);
}

.vu-quick-icon .vu-icon {
    width: 17px;
    height: 17px;
}

.vu-quick-link strong {
    display: block;
    margin-bottom: 1px;
    font-size: 12px;
    line-height: 1.1;
}

.vu-quick-link small {
    display: block;
    color: var(--vu-muted);
    font-size: 8.5px;
    line-height: 1.2;
}

.vu-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 28px;
}

.vu-stat {
    min-height: 92px;
    padding: 16px 16px 13px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 10px;
    background: linear-gradient(145deg, #121a1f, #10171b);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
}

.vu-stat small {
    display: block;
    margin-bottom: 9px;
    color: #7f8d92;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.055em;
}

.vu-stat strong {
    display: block;
    color: #fff;
    font-size: clamp(17px, 4vw, 24px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.vu-stat a,
.vu-stat span.sub {
    display: inline-block;
    margin-top: 7px;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-section {
    margin-top: 26px;
}

.vu-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.vu-section-head h2,
.vu-section-head h3 {
    margin: 0;
    color: var(--vu-text);
    font-size: 18px;
    letter-spacing: -0.025em;
}

.vu-section-head p {
    margin: 4px 0 0;
    color: var(--vu-muted);
    font-size: 10px;
}

.vu-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(46, 242, 190, 0.07);
    border: 1px solid rgba(46, 242, 190, 0.16);
    color: var(--vu-accent);
    font-size: 9px;
    font-weight: 800;
}

.vu-live::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--vu-accent);
    box-shadow: 0 0 8px rgba(46, 242, 190, 0.75);
}

.vu-tv-ticker {
    width: 100%;
    min-height: 48px;
    overflow: hidden;
    border-top: 1px solid var(--vu-line-soft);
    border-bottom: 1px solid var(--vu-line-soft);
    background: transparent;
}

.vu-market-panel {
    padding-top: 6px;
}

.vu-chart-card {
    overflow: hidden;
    border: 1px solid var(--vu-line-soft);
    border-radius: 11px;
    background: #0d1418;
}

.vu-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 15px 8px;
}

.vu-chart-head h3 {
    margin: 0;
    font-size: 16px;
}

.vu-chart-head p {
    margin: 5px 0 0;
    color: var(--vu-muted);
    font-size: 10px;
}

.vu-asset-tabs {
    display: flex;
    gap: 7px;
}

.vu-asset-tab {
    min-width: 36px;
    padding: 5px 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--vu-muted);
    font-size: 9px;
    cursor: pointer;
}

.vu-asset-tab.active {
    color: #05281f;
    background: var(--vu-accent);
}

.vu-chart-frame {
    min-height: 300px;
    height: 330px;
}

.vu-chart-frame iframe {
    border-radius: 0 0 11px 11px;
}

.vu-market-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-top: 1px solid var(--vu-line-soft);
    background: var(--vu-line-soft);
}

.vu-market-meta > div {
    padding: 11px 12px;
    background: #0e1519;
}

.vu-market-meta small {
    display: block;
    margin-bottom: 4px;
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-market-meta strong {
    font-size: 11px;
}

.vu-asset-table {
    overflow: hidden;
    border: 1px solid var(--vu-line-soft);
    border-radius: 10px;
    background: var(--vu-panel);
}

.vu-asset-row {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(80px, 1fr) 65px;
    align-items: center;
    min-height: 47px;
    padding: 7px 12px;
    border-top: 1px solid var(--vu-line-soft);
    font-size: 10px;
}

.vu-asset-row:first-child {
    border-top: 0;
}

.vu-asset-row.header {
    min-height: 34px;
    color: var(--vu-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vu-asset-row.selected {
    background: rgba(46, 242, 190, 0.075);
}

.vu-asset-name {
    display: grid;
    grid-template-columns: 27px auto;
    column-gap: 8px;
    align-items: center;
}

.vu-coin {
    grid-row: 1 / 3;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0b1013;
    background: #f0b90b;
    font-size: 9px;
    font-weight: 900;
}

.vu-asset-name strong {
    font-size: 10px;
}

.vu-asset-name small {
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-asset-price {
    font-weight: 700;
}

.vu-asset-change {
    text-align: right;
    color: var(--vu-muted);
    font-weight: 700;
}

.vu-dual-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 14px;
}

.vu-button {
    appearance: none;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--vu-line);
    border-radius: 8px;
    color: var(--vu-text);
    background: #151d21;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.vu-button.primary {
    color: #04261e;
    border-color: var(--vu-accent);
    background: var(--vu-accent);
    box-shadow: 0 0 20px rgba(46, 242, 190, 0.12);
}

.vu-button.ghost {
    background: #11181c;
}

.vu-button.danger {
    color: #fff;
    border-color: rgba(255, 94, 109, 0.3);
    background: rgba(255, 94, 109, 0.09);
}

.vu-button.full {
    width: 100%;
}

.vu-link {
    color: var(--vu-accent);
    font-size: 10px;
    font-weight: 800;
}

/* Trader cards */
.vu-trader-list {
    display: grid;
    gap: 10px;
}

.vu-trader-card {
    padding: 14px 14px 12px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 9px;
    background: linear-gradient(180deg, #11191d, #0e1518);
}

.vu-trader-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vu-trader-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    color: #0b1814;
    background: linear-gradient(145deg, #a6f8df, var(--vu-accent));
    font-size: 11px;
    font-weight: 900;
}

.vu-trader-avatar.image {
    background: #1b2428;
}

.vu-trader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vu-trader-head h3,
.vu-trader-head h4 {
    margin: 0;
    font-size: 13px;
}

.vu-verified {
    color: var(--vu-accent);
}

.vu-trader-head p {
    margin: 3px 0 0;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-trader-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.vu-trader-metrics small {
    display: block;
    margin-bottom: 4px;
    color: var(--vu-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.vu-trader-metrics strong {
    font-size: 14px;
}

.vu-risk {
    margin-top: 12px;
}

.vu-risk-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    color: var(--vu-muted);
    font-size: 8px;
    font-weight: 800;
}

.vu-risk-track {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #263138;
}

.vu-risk-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--vu-red);
}

.vu-risk.medium .vu-risk-track span {
    background: var(--vu-yellow);
}

.vu-risk.low .vu-risk-track span {
    background: var(--vu-accent);
}

.vu-copy-limit {
    margin: 12px 0;
    color: var(--vu-muted);
    font-size: 9px;
    text-align: center;
}

/* Generic panel and tables */
.vu-panel {
    margin-top: 14px;
    border: 1px solid var(--vu-line-soft);
    border-radius: var(--vu-radius);
    background: var(--vu-panel);
    overflow: hidden;
}

.vu-panel-head {
    padding: 15px 16px;
    border-bottom: 1px solid var(--vu-line-soft);
}

.vu-panel-head.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.vu-panel-head h2,
.vu-panel-head h3 {
    margin: 0;
    font-size: 16px;
}

.vu-panel-head p {
    margin: 5px 0 0;
    color: var(--vu-muted);
    font-size: 10px;
}

.vu-panel-body {
    padding: 16px;
}

.vu-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vu-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.vu-table th,
.vu-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--vu-line-soft);
    text-align: left;
    white-space: nowrap;
    font-size: 10px;
}

.vu-table th {
    color: var(--vu-muted);
    font-size: 8px;
    letter-spacing: 0.05em;
}

.vu-table tr:last-child td {
    border-bottom: 0;
}

.vu-table .right {
    text-align: right;
}

.vu-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #b3bec2;
    background: #1b252a;
    font-size: 8px;
    font-weight: 800;
}

.vu-status-active,
.vu-status-approved,
.vu-status-completed,
.vu-status-closed {
    color: var(--vu-accent);
    background: rgba(46, 242, 190, 0.09);
}

.vu-status-pending,
.vu-status-open {
    color: #e6d86b;
    background: rgba(230, 216, 107, 0.08);
}

.vu-status-declined,
.vu-status-cancelled,
.vu-status-reversed {
    color: #ff8c97;
    background: rgba(255, 94, 109, 0.08);
}

.vu-empty {
    padding: 28px 16px;
    color: var(--vu-muted);
    text-align: center;
}

.vu-empty h2 {
    color: var(--vu-text);
}

/* Portfolio allocation */
.vu-copy-table .vu-table {
    min-width: 600px;
}

.vu-donut-wrap {
    display: grid;
    place-items: center;
    padding: 8px 0 20px;
}

.vu-donut {
    --pct: 100;
    width: min(330px, 78vw);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--vu-accent) calc(var(--pct) * 1%), #162126 0);
    box-shadow: 0 0 32px rgba(46, 242, 190, 0.06);
}

.vu-donut::before {
    content: "";
    width: 64%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #0b1114;
    box-shadow: inset 0 0 0 1px var(--vu-line-soft);
}

.vu-donut-center {
    position: absolute;
    text-align: center;
}

.vu-donut-center strong {
    display: block;
    font-size: 15px;
}

.vu-donut-center span {
    display: block;
    margin-top: 4px;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-donut-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-donut-legend i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--vu-accent);
}

/* Recent transactions */
.vu-transaction-list {
    display: grid;
}

.vu-transaction {
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--vu-line-soft);
}

.vu-transaction:last-child {
    border-bottom: 0;
}

.vu-transaction strong {
    display: block;
    font-size: 10px;
}

.vu-transaction small {
    display: block;
    margin-top: 3px;
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-transaction > span {
    font-size: 11px;
    font-weight: 800;
}

/* Forms */
.vu-form {
    display: grid;
    gap: 14px;
}

.vu-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vu-field {
    display: grid;
    gap: 6px;
}

.vu-field label {
    color: #d7dfe1;
    font-size: 10px;
    font-weight: 800;
}

.vu-field input,
.vu-field select,
.vu-field textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #26343a;
    border-radius: 8px;
    color: var(--vu-text);
    background: #0b1215;
}

.vu-field textarea {
    min-height: 100px;
    resize: vertical;
}

.vu-field input:focus,
.vu-field select:focus,
.vu-field textarea:focus {
    border-color: rgba(46, 242, 190, 0.5);
    box-shadow: 0 0 0 3px rgba(46, 242, 190, 0.06);
}

.vu-field input[type="file"] {
    min-height: 42px;
    padding: 8px;
    color: var(--vu-muted);
}

.vu-help {
    color: var(--vu-muted);
    font-size: 9px;
    line-height: 1.5;
}

.vu-note {
    padding: 11px 12px;
    border: 1px solid rgba(46, 242, 190, 0.12);
    border-radius: 7px;
    color: #b9c6c8;
    background: rgba(46, 242, 190, 0.055);
    font-size: 10px;
    line-height: 1.55;
}

.vu-method-card {
    padding: 13px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 9px;
    background: #0c1317;
}

.vu-method-card + .vu-method-card {
    margin-top: 9px;
}

.vu-method-card h4 {
    margin: 0 0 7px;
    font-size: 12px;
}

.vu-method-card p {
    margin: 0;
    color: var(--vu-muted);
    font-size: 9px;
    line-height: 1.5;
}

.vu-method-value {
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    background: #111b20;
}

.vu-method-value small {
    display: block;
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-method-value strong {
    display: block;
    margin-top: 4px;
    word-break: break-all;
    font-size: 10px;
}

.vu-flash {
    margin-bottom: 12px;
    padding: 11px 13px;
    border: 1px solid var(--vu-line);
    border-radius: 8px;
    color: #d3dcde;
    background: #11191d;
    font-size: 10px;
}

.vu-flash-success {
    color: #aaf8df;
    border-color: rgba(46, 242, 190, 0.18);
    background: rgba(46, 242, 190, 0.06);
}

.vu-flash-error {
    color: #ffadb5;
    border-color: rgba(255, 94, 109, 0.22);
    background: rgba(255, 94, 109, 0.07);
}

.vu-flash-warning {
    color: #eee7a0;
    border-color: rgba(230, 216, 107, 0.2);
    background: rgba(230, 216, 107, 0.06);
}

/* Verification page */
.vu-verification-title {
    margin-bottom: 16px;
}

.vu-verification-title h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.vu-verification-title p {
    margin: 0;
    color: var(--vu-muted);
    font-size: 10px;
    line-height: 1.5;
}

.vu-tier-stack {
    display: grid;
    gap: 10px;
}

.vu-tier-card {
    padding: 14px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 9px;
    background: #0e1519;
}

.vu-tier-card.current {
    border-color: rgba(46, 242, 190, 0.28);
}

.vu-tier-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.vu-tier-number {
    display: block;
    color: var(--vu-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.vu-tier-card h3 {
    margin: 3px 0 5px;
    font-size: 15px;
}

.vu-tier-card p {
    margin: 0 0 8px;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-tier-card ul {
    margin: 0;
    padding-left: 17px;
    color: #d4dcde;
    font-size: 9px;
    line-height: 1.7;
}

.vu-current-pill {
    color: var(--vu-accent);
    font-size: 8px;
    font-weight: 900;
}

.vu-step {
    margin-top: 13px;
    padding: 15px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 9px;
    background: #0f161a;
}

.vu-step h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.vu-step > p {
    margin: 0 0 13px;
    color: var(--vu-muted);
    font-size: 9px;
}

/* Plan cards */
.vu-plan-grid {
    display: grid;
    gap: 11px;
}

.vu-plan-card {
    padding: 16px;
    border: 1px solid var(--vu-line-soft);
    border-radius: 10px;
    background: #0f161a;
}

.vu-plan-card.current {
    border-color: rgba(46, 242, 190, 0.28);
}

.vu-plan-card h3 {
    margin: 5px 0 8px;
}

.vu-plan-amount {
    font-size: 20px;
    font-weight: 800;
}

.vu-plan-card p,
.vu-plan-card li {
    color: var(--vu-muted);
    font-size: 9px;
    line-height: 1.6;
}

.vu-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #243037;
}

.vu-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--vu-accent);
}

/* Premium card */
.vu-premium-card {
    min-height: 205px;
    padding: 20px;
    border: 1px solid rgba(46, 242, 190, 0.22);
    border-radius: 16px;
    background:
        radial-gradient(circle at 90% 0%, rgba(46, 242, 190, 0.18), transparent 40%),
        linear-gradient(145deg, #10181d, #080d0f);
}

.vu-premium-card .number {
    margin-top: 62px;
    font-size: 18px;
    letter-spacing: 0.1em;
}

.vu-premium-card .meta {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    color: var(--vu-muted);
    font-size: 9px;
}

/* Bottom navigation */
.vu-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 90;
    width: min(100%, var(--vu-max));
    height: calc(var(--vu-nav-h) + env(safe-area-inset-bottom));
    padding: 8px 10px calc(7px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    transform: translateX(-50%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 13, 16, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.28);
}

.vu-bottom-item {
    appearance: none;
    min-width: 0;
    height: 55px;
    padding: 4px 2px;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: #77878d;
    background: transparent;
    font-size: 8px;
    cursor: pointer;
}

.vu-bottom-item.active {
    color: var(--vu-accent);
}

.vu-bottom-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

.vu-bottom-icon .vu-icon {
    width: 17px;
    height: 17px;
}

.vu-bottom-deposit {
    position: relative;
}

.vu-bottom-deposit .vu-bottom-icon {
    width: 46px;
    height: 46px;
    margin-top: -20px;
    border-radius: 50%;
    color: #063329;
    background: var(--vu-accent);
    box-shadow: 0 0 26px rgba(46, 242, 190, 0.38);
}

.vu-bottom-deposit .vu-bottom-icon .vu-icon {
    width: 21px;
    height: 21px;
}

.vu-chat-fab {
    position: fixed;
    right: max(18px, calc((100vw - var(--vu-max)) / 2 + 18px));
    bottom: calc(var(--vu-nav-h) + 25px + env(safe-area-inset-bottom));
    z-index: 85;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #063329;
    background: #43f23e;
    box-shadow: 0 0 22px rgba(67, 242, 62, 0.42);
}

.vu-chat-fab .vu-icon {
    width: 21px;
    height: 21px;
}

/* More sheet */
.vu-more-overlay[hidden] {
    display: none;
}

.vu-more-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    align-items: end;
    justify-items: center;
}

.vu-more-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(3px);
}

.vu-more-sheet {
    position: relative;
    width: min(calc(100% - 24px), 470px);
    max-height: min(74vh, 650px);
    margin-bottom: calc(var(--vu-nav-h) + 8px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid #26343b;
    border-radius: 12px;
    background: #0c1216;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.vu-more-title {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 15px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    background: #0c1216;
}

.vu-more-title h2 {
    margin: 0;
    font-size: 17px;
}

.vu-more-title p {
    margin: 2px 0 0;
    color: var(--vu-muted);
    font-size: 9px;
}

.vu-more-title button {
    width: 30px;
    height: 30px;
    border: 0;
    display: grid;
    place-items: center;
    color: var(--vu-muted);
    background: transparent;
}

.vu-more-user {
    margin: 0 12px 8px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(46, 242, 190, 0.12);
    border-radius: 8px;
    background: rgba(46, 242, 190, 0.045);
}

.vu-more-avatar {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #062b22;
    background: var(--vu-accent);
    font-size: 11px;
    font-weight: 900;
}

.vu-more-user strong {
    display: block;
    font-size: 11px;
}

.vu-more-user small {
    display: block;
    margin-top: 3px;
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-more-list {
    padding: 4px 12px 15px;
}

.vu-more-item {
    min-height: 51px;
    display: grid;
    grid-template-columns: 31px 1fr 18px;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid var(--vu-line-soft);
}

.vu-more-item:last-child {
    border-bottom: 0;
}

.vu-more-icon {
    color: #9eacb1;
}

.vu-more-icon .vu-icon {
    width: 17px;
    height: 17px;
}

.vu-more-item strong {
    display: block;
    font-size: 11px;
}

.vu-more-item small {
    display: block;
    margin-top: 2px;
    color: var(--vu-muted);
    font-size: 8px;
}

.vu-more-arrow {
    color: #536167;
}

.vu-more-arrow .vu-icon {
    width: 14px;
    height: 14px;
}

.vu-more-item.danger strong,
.vu-more-item.danger .vu-more-icon {
    color: var(--vu-red);
}

/* Auth */
.vu-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 10%, rgba(46, 242, 190, 0.05), transparent 26rem),
        #070b0d;
}

.vu-auth {
    width: min(100%, 470px);
}

.vu-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.vu-auth-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #062b22;
    background: var(--vu-accent);
    font-weight: 900;
}

.vu-auth-brand strong {
    display: block;
    font-size: 15px;
}

.vu-auth-brand small {
    display: block;
    margin-top: 3px;
    color: var(--vu-muted);
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vu-auth-card {
    padding: 22px;
    border: 1px solid var(--vu-line);
    border-radius: 14px;
    background: #0c1216;
    box-shadow: var(--vu-shadow);
}

.vu-auth-card h1,
.vu-auth-card h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.035em;
}

.vu-auth-card > p {
    margin: 7px 0 20px;
    color: var(--vu-muted);
    font-size: 10px;
    line-height: 1.5;
}

.vu-auth-foot {
    margin-top: 16px;
    color: var(--vu-muted);
    font-size: 10px;
    text-align: center;
}

.vu-auth-foot a {
    color: var(--vu-accent);
    font-weight: 800;
}

/* Responsive */
@media (min-width: 760px) {
    :root {
        --vu-max: 820px;
    }

    .vu-main {
        padding-top: 28px;
    }

    .vu-dashboard-intro {
        min-height: 390px;
    }

    .vu-dashboard-heading,
    .vu-quick-list {
        margin-left: 72px;
    }

    .vu-quick-list {
        width: 340px;
    }

    .vu-stats {
        gap: 12px;
    }

    .vu-stat {
        padding: 18px;
    }

    .vu-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vu-main,
    .vu-page-head {
        width: min(100% - 22px, var(--vu-max));
    }

    .vu-dashboard-main {
        padding-top: 12px;
    }

    .vu-dashboard-intro {
        min-height: 405px;
    }

    .vu-dashboard-heading {
        margin-left: 34px;
    }

    .vu-quick-list {
        width: calc(100% - 58px);
        margin-left: 34px;
    }

    .vu-chart-frame {
        height: 300px;
        min-height: 300px;
    }

    .vu-form-grid {
        grid-template-columns: 1fr;
    }

    .vu-asset-row {
        grid-template-columns: minmax(0, 1.5fr) minmax(70px, 1fr) 55px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .vu-bottom-nav {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .vu-main,
    .vu-page-head {
        width: calc(100% - 16px);
    }

    .vu-dashboard-heading,
    .vu-quick-list {
        margin-left: 20px;
    }

    .vu-quick-list {
        width: calc(100% - 32px);
    }

    .vu-stat {
        padding: 13px 12px;
    }

    .vu-stat strong {
        font-size: 16px;
    }
}
