body.wallet-mode {
    --messi-bg-1: #101025;
    --messi-bg-2: #101027;
    --messi-bg-3: #1b1b41;
    --messi-gold-1: #ffe867;
    --messi-gold-2: #fe8a02;
    --messi-gold-soft: rgba(255, 193, 7, 0.35);
    --messi-panel: rgba(0, 0, 0, 0.5);
}

body.wallet-mode .vela-header {
    background: linear-gradient(180deg, rgba(8, 10, 32, 0.98), rgba(8, 10, 32, 0.78), transparent);
}

body.wallet-mode .vela-header-shell {
    border-radius: 18px;
    border: 1px solid rgba(255, 193, 7, 0.28);
    background: linear-gradient(180deg, rgba(16, 16, 37, 0.96), rgba(16, 16, 39, 0.95));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

body.wallet-mode .vela-nav-link {
    color: rgba(255, 193, 7, 0.88);
}

body.wallet-mode .vela-nav-link.active,
body.wallet-mode .vela-nav-link:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
}

body.wallet-mode .vela-btn-gold {
    color: #1b1b41;
    background: linear-gradient(180deg, var(--messi-gold-1) 10%, var(--messi-gold-2));
}

body.wallet-mode .vela-btn-ghost {
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.28);
    background: rgba(0, 0, 0, 0.35);
}

body.wallet-mode .vela-balance-chip {
    border-color: rgba(255, 193, 7, 0.26);
    background: rgba(0, 0, 0, 0.45);
}

body.wallet-mode .vela-balance-chip span {
    color: rgba(255, 255, 255, 0.72);
}

body.wallet-mode .vela-balance-chip strong {
    color: #f8d96a;
}

body.wallet-mode .wallet-shell {
    padding-top: 92px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 193, 7, 0.08), transparent 20%),
        radial-gradient(circle at 100% 0%, rgba(254, 138, 2, 0.09), transparent 22%),
        linear-gradient(180deg, #060814 0%, #090f2a 100%);
}

body.wallet-mode .wallet-shell::before {
    opacity: 0.1;
}

body.wallet-mode .wallet-shell::after {
    opacity: 0.04;
}

body.wallet-mode .wallet-ambient {
    display: none;
}

body.wallet-mode .wallet-wrap {
    max-width: 1220px;
}

body.wallet-mode .wallet-maxbet-shell {
    padding: 18px;
    border-radius: 18px;
    border: 2px solid rgba(255, 193, 7, 0.3);
    background: linear-gradient(180deg, var(--messi-bg-1), var(--messi-bg-2));
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5);
}

body.wallet-mode .wallet-maxbet-head {
    margin-bottom: 12px;
}

body.wallet-mode .wallet-maxbet-logo {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.22);
    background: rgba(0, 0, 0, 0.42);
}

body.wallet-mode .wallet-maxbet-refresh {
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 7, 0.24);
    background: rgba(0, 0, 0, 0.4);
}

body.wallet-mode .wallet-maxbet-refresh:hover {
    color: #fff6bc;
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.18);
}

body.wallet-mode .wallet-maxbet-money,
body.wallet-mode .wallet-maxbet-user {
    border: 1px solid rgba(255, 193, 7, 0.24);
    background: rgba(0, 0, 0, 0.42);
}

body.wallet-mode .wallet-maxbet-money strong {
    color: #f8d96a;
}

body.wallet-mode .wallet-maxbet-user {
    color: #1b1b41;
    background: linear-gradient(180deg, var(--messi-gold-1) 10%, var(--messi-gold-2));
}

body.wallet-mode .wallet-maxbet-credit {
    margin-bottom: 12px;
}

body.wallet-mode .wallet-maxbet-credit-card {
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(6, 8, 28, 0.78));
}

body.wallet-mode .wallet-maxbet-credit-card small {
    color: rgba(255, 193, 7, 0.92);
}

body.wallet-mode .wallet-maxbet-btn {
    min-height: 56px;
    border-radius: 14px;
}

body.wallet-mode .wallet-maxbet-btn-gold {
    color: #1b1b41;
    background: linear-gradient(180deg, var(--messi-gold-1) 10%, var(--messi-gold-2));
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
}

body.wallet-mode .wallet-maxbet-btn-silver {
    color: #fff;
    border: 1px solid rgba(255, 193, 7, 0.25);
    background: linear-gradient(180deg, #1f224a 0%, #111633 100%);
}

body.wallet-mode .wallet-maxbet-ticker {
    border: 1px solid rgba(255, 193, 7, 0.22);
    background: rgba(0, 0, 0, 0.45);
}

body.wallet-mode .wallet-maxbet-menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.wallet-mode .wallet-maxbet-menu-btn {
    min-height: 96px;
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.22);
    background: rgba(0, 0, 0, 0.45);
}

body.wallet-mode .wallet-maxbet-menu-btn i {
    color: #ffc107;
}

body.wallet-mode .wallet-maxbet-menu-btn span {
    color: #fff7d5;
}

body.wallet-mode .wallet-maxbet-menu-btn.is-active,
body.wallet-mode .wallet-maxbet-menu-btn:hover {
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.2) inset, 0 0 16px rgba(255, 193, 7, 0.22);
}

body.wallet-mode .wallet-maxbet-banner-card {
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 14px;
}

body.wallet-mode .wallet-maxbet-summary {
    border: 1px solid rgba(255, 193, 7, 0.24);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.42);
}

body.wallet-mode .wallet-maxbet-summary small {
    color: rgba(255, 193, 7, 0.88);
}

body.wallet-mode .wallet-topbar,
body.wallet-mode .wallet-hero-grid,
body.wallet-mode .wallet-shortcut-grid,
body.wallet-mode .wallet-mobile-nav,
body.wallet-mode .wallet-section[data-section="home"] {
    display: none !important;
}

body.wallet-mode .wallet-simple-tabs {
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    background: rgba(0, 0, 0, 0.45);
}

body.wallet-mode .wallet-pill,
body.wallet-mode .wallet-link-pill {
    border-color: rgba(255, 193, 7, 0.25);
    background: rgba(0, 0, 0, 0.32);
    color: #f7d462;
}

body.wallet-mode .wallet-pill.is-active,
body.wallet-mode .wallet-link-pill:hover,
body.wallet-mode .wallet-pill:hover {
    color: #fff;
    border-color: rgba(255, 193, 7, 0.55);
    background: rgba(255, 193, 7, 0.16);
}

body.wallet-mode .wallet-panel,
body.wallet-mode .wallet-profile-card,
body.wallet-mode .wallet-showcase-card,
body.wallet-mode .wallet-shortcut,
body.wallet-mode .wallet-home-action,
body.wallet-mode .wallet-result-card,
body.wallet-mode .wallet-highlight,
body.wallet-mode .wallet-info-box,
body.wallet-mode .wallet-row,
body.wallet-mode .wallet-empty-state {
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: none;
}

body.wallet-mode .wallet-panel-head small,
body.wallet-mode .wallet-caption {
    color: #ffc107;
}

body.wallet-mode .wallet-input,
body.wallet-mode .wallet-chip,
body.wallet-mode .wallet-method {
    border: 1px solid rgba(255, 193, 7, 0.22);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
}

body.wallet-mode .wallet-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

body.wallet-mode .wallet-input:focus {
    border-color: rgba(255, 193, 7, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.14);
}

body.wallet-mode .wallet-method.is-active,
body.wallet-mode .wallet-chip:hover,
body.wallet-mode .wallet-method:hover {
    border-color: rgba(255, 193, 7, 0.6);
    background: rgba(255, 193, 7, 0.17);
}

body.wallet-mode .wallet-btn {
    color: #1b1b41;
    background: linear-gradient(180deg, var(--messi-gold-1) 10%, var(--messi-gold-2));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

body.wallet-mode .wallet-btn-outline,
body.wallet-mode .wallet-btn-ghost {
    color: #f8d96a;
    border: 1px solid rgba(255, 193, 7, 0.24);
    background: rgba(0, 0, 0, 0.32);
}

body.wallet-mode .wallet-btn-outline:hover,
body.wallet-mode .wallet-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.55);
}

body.wallet-mode .wallet-status-success {
    background: rgba(74, 222, 128, 0.18);
    color: #a6ffca;
}

body.wallet-mode .wallet-status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffe7a2;
}

body.wallet-mode .wallet-status-neutral {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
}

body.wallet-mode .wallet-messi-tools {
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 14px;
}

body.wallet-mode .wallet-messi-tools-tabs {
    border-bottom: 1px solid rgba(255, 193, 7, 0.24);
}

body.wallet-mode .wallet-messi-tab.is-active {
    background: linear-gradient(180deg, var(--messi-gold-1), var(--messi-gold-2));
    color: #1b1b41;
}

body.wallet-mode .vela-footer,
body.wallet-mode .vela-mobile-quickbar {
    display: none !important;
}

@media (max-width: 991px) {
    body.wallet-mode .wallet-maxbet-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.wallet-mode .wallet-shell {
        padding-top: 82px;
    }

    body.wallet-mode .wallet-maxbet-shell {
        border-radius: 14px;
        padding: 12px;
    }

    body.wallet-mode .wallet-maxbet-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.wallet-mode .wallet-maxbet-menu-btn {
        min-height: 82px;
    }

    body.wallet-mode .wallet-maxbet-head-right {
        width: 100%;
        justify-content: space-between;
    }

    body.wallet-mode .wallet-maxbet-money,
    body.wallet-mode .wallet-maxbet-user {
        flex: 1;
        min-width: 0;
    }
}
