.top-tools {
    flex-wrap: wrap;
}

.balance-strip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.balance-chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    gap: 9px;
    min-width: 118px;
    padding: 6px 11px 6px 8px;
    border: 1px solid rgba(255, 207, 74, 0.42);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 199, 44, 0.16), rgba(255, 255, 255, 0.05)),
        rgba(9, 11, 18, 0.76);
    color: #e8fbff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.balance-chip-rc {
    border-color: rgba(142, 226, 255, 0.36);
    background:
        linear-gradient(135deg, rgba(142, 226, 255, 0.13), rgba(255, 255, 255, 0.05)),
        rgba(9, 11, 18, 0.76);
}

.balance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.54), transparent 20%),
        linear-gradient(145deg, #ffe68d, #ffbf35 64%, #c47a17);
    color: #3b2605;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
        0 5px 12px rgba(255, 199, 44, 0.2),
        inset 0 -3px 5px rgba(78, 40, 0, 0.2);
}

.balance-chip-rc .balance-icon {
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.48), transparent 20%),
        linear-gradient(145deg, #b7f2ff, #55cfe6 64%, #248ea5);
    color: #06242c;
    font-size: 11px;
}

.balance-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.balance-text strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.balance-text small {
    color: #cfd3df;
    font-size: 12px;
    line-height: 1;
}

.language-option.is-active,
.language-option[aria-pressed="true"] {
    border-color: rgba(255, 207, 49, 0.9);
    box-shadow:
        0 0 0 2px rgba(255, 207, 49, 0.18),
        inset 0 0 0 1px rgba(0, 0, 0, 0.24);
}

@media (max-width: 760px) {
    .top-tools {
        justify-content: flex-end;
    }

    .balance-strip {
        order: 3;
        width: 100%;
        justify-content: flex-end;
    }

    .balance-chip {
        min-height: 38px;
        min-width: 104px;
    }

    .balance-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}
