﻿ 
/*@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


:root {
    --bg: #060612;
    --surface: #0d0d22;
    --surface2: #141430;
    --border: rgba(120,100,255,.15);
    --accent: #7c5cfc;
    --accent2: #00e5ff;
    --text: #e8e6ff;
    --muted: #6b6890;
    --green: #00e676;
    --red: #ff4c6a;
    --gold: #f3ba2f;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(124,92,252,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(124,92,252,.05) 1px,transparent 1px);
    background-size: 44px 44px;
    pointer-events: none
}

.bg-glow {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 15% 25%,rgba(124,92,252,.14) 0%,transparent 65%),radial-gradient(ellipse 45% 40% at 85% 75%,rgba(0,229,255,.09) 0%,transparent 60%);
    pointer-events: none
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: fl 11s ease-in-out infinite
}

.orb1 {
    width: 300px;
    height: 300px;
    background: rgba(124,92,252,.13);
    top: -70px;
    left: -70px
}

.orb2 {
    width: 240px;
    height: 240px;
    background: rgba(0,229,255,.09);
    bottom: -60px;
    right: -50px;
    animation-delay: -5s
}

@keyframes fl {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-28px)
    }
}

/* CARD */
.card {
    position: relative;
    z-index: 10;
    background: rgba(13,13,34,.9);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 32px 32px;
    width: 430px;
    max-width: 100%;
    backdrop-filter: blur(28px);
    box-shadow: 0 28px 72px rgba(0,0,0,.65)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.brand-ico {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg,var(--accent),var(--accent2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 0 18px rgba(124,92,252,.4)
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(90deg,var(--text),var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.brand-badge {
    margin-left: auto;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgb(188 122 24);
    color: #f4a641;
    background: rgba(0,229,255,.07);
    transition: all .3s
}

.card-title {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.4px;
    margin-bottom: 5px
}

.card-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6
}

#connectedView {
    display: none;
}

.wallet-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,230,118,.07);
    border: 1px solid rgba(0,230,118,.2);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px
}

.wdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.wchip-info {
    flex: 1;
    min-width: 0
}

.wchip-name {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
    letter-spacing: .3px
}

.wchip-addr {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px
}

.bal-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px;
    position: relative;
    overflow: hidden
}

.bal-token {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px
}

.bal-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.5px
}

.bal-usd {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px
}

.ticon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px
}

.bnb-ic {
    background: #f3ba2f;
    color: #000
}

.usdt-ic {
    background: #26a17b;
    color: #fff
}

.loading-bal {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px
}

.spin-sm {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(124,92,252,.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f4a641, #e28610);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s,box-shadow .15s;
    box-shadow: 0 4px 24px rgb(252 197 92 / 38%);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgb(188 122 24 / 45%);
    }

    .btn-primary:active {
        transform: translateY(0)
    }

    .btn-primary:disabled {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
        box-shadow: none
    }

.btn-disconnect {
    width: 100%;
    padding: 13px;
    background: rgba(255,76,106,.08);
    border: 1px solid rgba(255,76,106,.25);
    border-radius: 14px;
    color: var(--red);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s
}

    .btn-disconnect:hover {
        background: rgba(255,76,106,.15)
    }

.sec-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(0,230,118,.05);
    border: 1px solid rgba(0,230,118,.12);
    border-radius: 8px;
    padding: 9px 12px;
    margin-top: 14px
}

.sdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    box-shadow: 0 0 7px var(--green)
}

.err-box {
    background: rgba(255,76,106,.07);
    border: 1px solid rgba(255,76,106,.2);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 12px;
    color: #ff8fa3;
    margin-bottom: 14px;
    display: none;
    line-height: 1.5
}

/* ADDRESS INPUT + LOGIN */
.addr-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 6px;
    display: block
}

.addr-input-wrap {
    position: relative;
    margin-bottom: 14px
}

.addr-input {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 40px 12px 14px;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    outline: none;
    cursor: default
}

    .addr-input:focus {
        border-color: var(--accent)
    }

.addr-copy-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 15px;
    padding: 6px;
    border-radius: 8px;
    transition: background .15s,color .15s
}

    .addr-copy-btn:hover {
        background: rgba(255,255,255,.06);
        color: var(--text)
    }

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f4a641, #e28610);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s,box-shadow .15s;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgb(188 122 24 / 45%);
    }

    .btn-login:active {
        transform: translateY(0)
    }

/* MODAL */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6,6,18,.85);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
    padding: 16px
}

    .overlay.open {
        opacity: 1;
        pointer-events: all
    }

.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    width: 450px;
    max-width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,.7);
    transform: translateY(22px) scale(.97);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1)
}

.overlay.open .modal {
    transform: translateY(0) scale(1)
}

.modal-head {
    padding: 18px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0
}

.mh-title {
    font-size: 16px;
    font-weight: 700
}

.mh-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px
}

.btn-x {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s
}

    .btn-x:hover {
        background: rgba(255,255,255,.09);
        color: var(--text)
    }

.search-row {
    padding: 11px 16px 9px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative
}

.search-ico {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 13px;
    pointer-events: none
}

.search-inp {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 9px 12px 9px 32px;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .2s
}

    .search-inp:focus {
        border-color: var(--accent)
    }

    .search-inp::placeholder {
        color: var(--muted)
    }

.mob-banner {
    margin: 10px 14px 0;
    padding: 9px 12px;
    background: rgba(0,229,255,.06);
    border: 1px solid rgba(0,229,255,.18);
    border-radius: 9px;
    font-size: 11px;
    color: var(--accent2);
    line-height: 1.5;
    display: none;
    flex-shrink: 0
}

.wlist {
    overflow-y: auto;
    padding: 8px 12px 14px;
    flex: 1
}

    .wlist::-webkit-scrollbar {
        width: 4px
    }

    .wlist::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 99px
    }

.sec-lbl {
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px
}

    .sec-lbl::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border)
    }

.witem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .13s,border-color .13s,transform .1s
}

    .witem:hover, .witem:active {
        background: rgba(124,92,252,.09);
        border-color: rgba(124,92,252,.2)
    }

.wico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: var(--surface2);
    overflow: hidden
}

    .wico img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 9px
    }

.winfo {
    flex: 1;
    min-width: 0
}

.wname {
    font-size: 13px;
    font-weight: 600
}

.wdesc {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px
}

.wbadge {
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    font-weight: 700;
    white-space: nowrap
}

.b-inst {
    background: rgba(0,230,118,.1);
    color: var(--green);
    border: 1px solid rgba(0,230,118,.22)
}

.b-deep {
    background: rgba(0,229,255,.09);
    color: var(--accent2);
    border: 1px solid rgba(0,229,255,.22)
}

.b-na {
    background: rgba(255,255,255,.04);
    color: var(--muted);
    border: 1px solid var(--border)
}

.warrow {
    color: var(--muted);
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .13s
}

.witem:hover .warrow, .witem:active .warrow {
    opacity: 1
}

.no-res {
    text-align: center;
    padding: 28px 16px;
    color: var(--muted);
    font-size: 13px
}

    .no-res a {
        color: var(--accent);
        font-size: 12px;
        margin-top: 6px;
        display: inline-block
    }

.conn-ov {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(6,6,18,.93);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px
}

    .conn-ov.show {
        display: flex
    }

.big-spin {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(124,92,252,.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .75s linear infinite
}

.conn-name {
    font-size: 15px;
    font-weight: 600
}

.conn-sub {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    padding: 0 20px
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(70px);
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 18px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    z-index: 200;
    transition: transform .28s cubic-bezier(.34,1.56,.64,1),opacity .28s;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    white-space: nowrap;
    /*max-width: calc(100vw - 40px);*/
    max-width: max-content;
    width: 90%;
}

    .toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1
    }

@media(max-width:480px) {
   /* .card {
        padding: 36px 32px 32px;
        width: 100%;
    }*/

    .modal {
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 90vh;
        width: 100%
    }

    .overlay {
        align-items: flex-end;
        padding: 0
    }

    .balance-grid {
        grid-template-columns: 1fr 1fr
    }
}

.register-button {
    width: auto;
    padding: 8px 15px;
    background: rgba(0,230,118,.05);
    border: 1px solid rgb(60 247 62 / 25%);
    border-radius: 9px;
    color: #1cd367;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
.register-button:hover {
    background: rgb(48 232 118 / 29%);
}


/* ===== LOGIN + HOME BUTTONS ===== */
.homebtn {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    position: relative;
    box-sizing: border-box;
}

    /* Common Button Properties */
    .homebtn .register-button,
    .homebtn .home-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 88px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 13px !important;
        border-radius: 8px !important;
        font-family: inherit !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        box-shadow: none !important;
        transform: none;
        transition: all 0.2s ease !important;
    }

    /* LOGIN - Green */
    .homebtn .register-button {
        background: rgba(0, 254, 77, 0.06) !important;
        color: #00FE4D !important;
        border: 1px solid rgba(0, 254, 77, 0.40) !important;
    }

        .homebtn .register-button svg {
            width: 14px !important;
            height: 14px !important;
            display: inline-block !important;
            flex-shrink: 0 !important;
        }

        .homebtn .register-button:hover {
            background: rgba(0, 254, 77, 0.13) !important;
            border-color: #00FE4D !important;
            color: #00FE4D !important;
            box-shadow: 0 0 12px rgba(0, 254, 77, 0.12) !important;
        }

    /* HOME - Blue */
    .homebtn .home-button {
        background: rgba(245, 158, 11, 0.08) !important;
        color: #F5A623 !important;
        border: 1px solid rgba(245, 158, 11, 0.45) !important;
        box-shadow: none !important;
    }

        .homebtn .home-button svg {
            width: 14px !important;
            height: 14px !important;
            display: inline-block !important;
            flex-shrink: 0 !important;
        }

        .homebtn .home-button:hover {
            background: rgba(245, 158, 11, 0.15) !important;
            color: #FFB547 !important;
            border-color: #F5A623 !important;
            box-shadow: 0 0 12px rgba(245, 158, 11, 0.15) !important;
        }

        /* Click & Keyboard */
        .homebtn .register-button:active,
        .homebtn .home-button:active {
            transform: scale(0.98) !important;
        }

    .homebtn .register-button:focus-visible {
        outline: 2px solid #00FE4D !important;
        outline-offset: 3px !important;
    }

    .homebtn .home-button:focus-visible {
        outline: 2px solid #38BDF8 !important;
        outline-offset: 3px !important;
    }

/* Mobile */
@media (max-width: 480px) {
    .homebtn {
        gap: 10px !important;
        margin-top: 18px !important;
    }

        .homebtn .register-button,
        .homebtn .home-button {
            min-width: 84px !important;
            height: 35px !important;
            padding: 0 11px !important;
            font-size: 12px !important;
        }
}



/* ===== Mobile Wallet Login Card Fix ===== */
@media screen and (max-width: 767px) {

    /* Main Card */
    .card {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 18px 14px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

        .card *,
        .card *::before,
        .card *::after {
            box-sizing: border-box;
        }

        /* Logo and BSC Badge */
        .card .brand {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
            margin-bottom: 22px;
        }

            .card .brand img {
                height: 44px !important;
                max-width: 65%;
                width: auto !important;
                object-fit: contain;
            }

        .card .brand-badge {
            font-size: 10px;
            padding: 6px 9px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Headings */
        .card .card-title {
            font-size: 22px;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

        .card .card-sub {
            font-size: 13px;
            line-height: 1.6;
            overflow-wrap: anywhere;
        }

        /* Connected Wallet Details */
        .card .wallet-chip {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            min-width: 0;
            padding: 12px 10px;
        }

        .card .wchip-info {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }

        .card .wchip-name {
            overflow-wrap: anywhere;
        }

        .card .wchip-addr {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-all;
            font-size: 11px;
            line-height: 1.5;
        }

        /* BNB and USDT Balance Cards */
        .card .balance-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            width: 100%;
            margin-top: 14px;
        }

        .card .bal-card {
            min-width: 0;
            padding: 12px 9px;
            overflow: hidden;
        }

        .card .bal-token {
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .card .bal-amount {
            font-size: clamp(15px, 4.5vw, 21px);
            line-height: 1.4;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .card .bal-usd {
            font-size: 11px;
            overflow-wrap: anywhere;
        }

        /* Wallet Address Input */
        .card .addr-label {
            display: block;
            margin-top: 18px;
            font-size: 13px;
        }

        .card .addr-input-wrap {
            display: flex;
            align-items: center;
            width: 100%;
            min-width: 0;
            gap: 6px;
        }

        .card .addr-input {
            flex: 1;
            width: 0;
            min-width: 0;
            font-size: 12px;
            padding: 12px 9px;
            text-overflow: ellipsis;
        }

        .card .addr-copy-btn {
            flex-shrink: 0;
        }

        /* Full Width Buttons */
        .card .btn-login,
        .card .btn-disconnect,
        .card .btn-primary {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 100%;
            min-height: 46px;
            margin-top: 12px;
            padding: 12px 14px;
            font-size: 14px;
            white-space: normal;
        }

        /* Security Note */
        .card .sec-note {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 7px;
            font-size: 11px;
            line-height: 1.5;
            text-align: center;
            flex-wrap: wrap;
        }

        /* Error Message */
        .card .err-box {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
}

/* Extra Small Mobile Screens */
@media screen and (max-width: 380px) {

    .card {
        padding: 14px 10px;
    }

        .card .brand img {
            height: 38px !important;
        }

        .card .brand-badge {
            font-size: 9px;
            padding: 5px 7px;
        }

        .card .balance-grid {
            gap: 7px;
        }

        .card .bal-card {
            padding: 10px 7px;
        }

        .card .wchip-addr {
            font-size: 10px;
        }
}