/* app/static/css/menu.css */
/* =========================================================
   PAXOR MENU — COMPACT CYAN GLASS VERSION
   Горизонтальное меню + все выезжающие панели
   ========================================================= */

/* =========================================================
   SECTION 1. TOP HORIZONTAL NAVIGATION
   Верхняя фиксированная панель
   ========================================================= */

nav {
    position: fixed !important;
    top: 0;
    left: 0;

    width: 100%;
    height: 62px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 3px 0;
    margin: 0;

    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.04)),
        radial-gradient(circle at 78% 48%, rgba(3, 125, 156, 0.42), transparent 38%),
        linear-gradient(180deg, rgba(3, 125, 156, 0.38), rgba(4, 22, 32, 0.84));

    border-bottom: none;

    box-shadow:
        0 0 14px rgba(3, 125, 156, 0.32),
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 1.2em;
    z-index: 1000;

    box-sizing: border-box;
    user-select: none;
}

nav ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
}

/* =========================================================
   SECTION 2. MENU ZONES
   Левая / центральная / правая часть меню
   ========================================================= */

.menu-left {
    padding-left: 18px;
    flex-shrink: 0;
}

.menu-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
    flex-shrink: 0;
}

.menu-right {
    padding-right: 18px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 0;
    flex-shrink: 0;
}

/* =========================================================
   SECTION 3. LOGO / ICONS
   Логотип, иконки, аватар
   ========================================================= */

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* =========================================================
   SECTION 3.1. GLOBAL PAXOR WALLET BADGE
   Глобальный бейдж кошелька между логотипом и Home
   ========================================================= */

.nav-global-wallet {
    min-width: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.nav-global-wallet .music-wallet-status {
    position: relative;
    z-index: 4;

    width: clamp(330px, 29vw, 470px);
    max-width: 470px;
    height: 46px;
    min-height: 46px;

    margin: 0;
    padding: 5px 6px 5px 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;

    overflow: visible;
    box-sizing: border-box;

    border: 1px solid rgba(255, 195, 74, 0.52);
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 74, 0.11),
            rgba(255, 145, 0, 0.06)
        ),
        rgba(8, 11, 13, 0.88);

    color: #f7fbfc;

    box-shadow:
        0 0 12px rgba(255, 195, 74, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-global-wallet .music-wallet-status.connected {
    border-color: rgba(6, 171, 212, 0.48);

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.13),
            rgba(0, 204, 255, 0.05)
        ),
        rgba(8, 11, 13, 0.88);

    box-shadow:
        0 0 13px rgba(6, 171, 212, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.nav-global-wallet .music-wallet-status.error {
    border-color: rgba(255, 107, 107, 0.58);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.12);
}

.nav-global-wallet .music-wallet-status-text {
    min-width: 0;
    flex: 1 1 auto;

    display: flex !important;
    align-items: center;
    gap: 6px;

    overflow: hidden;
}

.nav-global-wallet .music-wallet-status-text > i {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 195, 74, 0.42);
    border-radius: 50%;

    background: rgba(255, 195, 74, 0.14);
    color: #ffd56a;

    font-size: 12px;
    box-sizing: border-box;
}

.nav-global-wallet .music-wallet-status.connected
.music-wallet-status-text > i {
    border-color: rgba(0, 204, 255, 0.42);
    background: rgba(0, 204, 255, 0.16);
    color: #00ccff;
}

.nav-global-wallet .music-wallet-status.error
.music-wallet-status-text > i {
    border-color: rgba(255, 107, 107, 0.42);
    background: rgba(255, 107, 107, 0.16);
    color: #ffb3b3;
}

.nav-global-wallet #music-wallet-status-title {
    flex: 0 0 auto;

    color: #ffffff;

    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;
}

.nav-global-wallet .music-wallet-address-row {
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    overflow: hidden;
}

.nav-global-wallet #music-wallet-status-detail {
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #e8fbff;

    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
}

.nav-global-wallet .music-copy-wallet-address-btn {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #00ccff;

    font-size: 11px;
    cursor: pointer;

    transition:
        color 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.nav-global-wallet .music-copy-wallet-address-btn:hover {
    transform: translateY(-1px);
    background: rgba(0, 204, 255, 0.10);
    color: #ffffff;
}

.nav-global-wallet .music-copy-wallet-address-btn.copied {
    color: #1db954;
}

.nav-global-wallet .music-copy-wallet-address-btn[hidden] {
    display: none;
}

.nav-global-wallet .music-connect-wallet-btn {
    height: 32px;
    min-height: 32px;
    flex: 0 0 auto;

    padding: 4px 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: 1px solid rgba(255, 195, 74, 0.55);
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 74, 0.20),
            rgba(255, 145, 0, 0.10)
        ),
        rgba(255, 195, 74, 0.10);

    color: #ffd56a;

    font: inherit;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;

    box-sizing: border-box;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.nav-global-wallet .music-connect-wallet-btn i {
    font-size: 10px;
}

.nav-global-wallet .music-connect-wallet-btn:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 74, 0.28),
            rgba(255, 145, 0, 0.15)
        ),
        rgba(255, 195, 74, 0.14);

    box-shadow:
        0 0 16px rgba(255, 195, 74, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-global-wallet .music-connect-wallet-btn.disconnect {
    border-color: rgba(255, 107, 107, 0.58);

    background:
        linear-gradient(
            90deg,
            rgba(255, 107, 107, 0.20),
            rgba(255, 145, 0, 0.08)
        ),
        rgba(255, 107, 107, 0.08);

    color: #ffb5b5;
}

.nav-global-wallet .music-connect-wallet-btn.disconnect:hover {
    background:
        linear-gradient(
            90deg,
            rgba(255, 107, 107, 0.28),
            rgba(255, 145, 0, 0.11)
        ),
        rgba(255, 107, 107, 0.12);

    box-shadow: 0 0 16px rgba(255, 107, 107, 0.18);
}


/* =========================================================
   SECTION 3.2. GLOBAL NETWORK SELECTOR
   Умная навигация по сетям внутри глобального бейджа
   ========================================================= */

.nav-global-wallet .music-network-selector {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
}

.nav-global-wallet .music-network-trigger {
    height: 32px;
    min-height: 32px;
    max-width: 128px;
    padding: 4px 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 1px solid rgba(6, 217, 255, 0.38);
    border-radius: 999px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.18), rgba(0, 255, 204, 0.07)),
        rgba(3, 21, 28, 0.78);

    color: #e8fbff;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.nav-global-wallet .music-network-trigger:hover,
.nav-global-wallet .music-network-selector.open .music-network-trigger {
    transform: translateY(-1px);
    border-color: rgba(6, 217, 255, 0.68);
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.30), rgba(0, 255, 204, 0.12)),
        rgba(3, 21, 28, 0.90);
    box-shadow:
        0 0 14px rgba(6, 217, 255, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.nav-global-wallet .music-network-trigger img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    display: block;
    object-fit: contain;
    border-radius: 50%;

    transform: none !important;
}

.nav-global-wallet #music-network-trigger-label {
    min-width: 0;
    max-width: 76px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-global-wallet .music-network-trigger-arrow {
    flex: 0 0 auto;
    font-size: 8px;
    transition: transform 0.2s ease;
}

.nav-global-wallet .music-network-selector.open
.music-network-trigger-arrow {
    transform: rotate(180deg);
}

.nav-global-wallet .music-network-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1400;

    width: 258px;
    max-height: min(470px, calc(100vh - 82px));
    padding: 8px;

    overflow-y: auto;
    overscroll-behavior: contain;

    border: 1px solid rgba(6, 217, 255, 0.42);
    border-radius: 14px;

    background:
        linear-gradient(180deg, rgba(6, 171, 212, 0.13), rgba(0, 0, 0, 0.04)),
        rgba(8, 12, 16, 0.98);

    box-shadow:
        0 0 24px rgba(6, 217, 255, 0.20),
        0 18px 48px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
}

.nav-global-wallet .music-network-menu[hidden] {
    display: none;
}

.nav-global-wallet .music-network-option {
    width: 100%;
    min-height: 48px;
    margin: 0 0 6px;
    padding: 7px 9px;

    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(6, 171, 212, 0.22);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;

    text-align: left;
    cursor: pointer;
    box-sizing: border-box;

    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.nav-global-wallet .music-network-option:last-child {
    margin-bottom: 0;
}

.nav-global-wallet .music-network-option:hover {
    transform: translateX(2px);
    border-color: rgba(6, 217, 255, 0.48);
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.20), rgba(0, 255, 204, 0.07)),
        rgba(255, 255, 255, 0.045);
}

.nav-global-wallet .music-network-option.selected {
    border-color: rgba(0, 204, 255, 0.72);
    background:
        linear-gradient(90deg, rgba(3, 125, 156, 0.40), rgba(0, 255, 204, 0.10)),
        rgba(6, 171, 212, 0.13);
    box-shadow:
        0 0 14px rgba(6, 217, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-global-wallet .music-network-option > img {
    width: 28px;
    height: 28px;

    display: block;
    object-fit: contain;
    border-radius: 50%;

    transform: none !important;
}

.nav-global-wallet .music-network-option-copy {
    min-width: 0;
    display: block;
}

.nav-global-wallet .music-network-option-copy strong,
.nav-global-wallet .music-network-option-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-global-wallet .music-network-option-copy strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
}

.nav-global-wallet .music-network-option-copy small {
    margin-top: 3px;
    color: rgba(232, 251, 255, 0.62);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}

.nav-global-wallet .music-network-option-check {
    color: transparent;
    font-size: 11px;
    justify-self: center;
}

.nav-global-wallet .music-network-option.selected
.music-network-option-check {
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.56);
}

body.light-theme .nav-global-wallet .music-network-menu {
    border-color: rgba(3, 125, 156, 0.34);
    background:
        linear-gradient(180deg, rgba(3, 125, 156, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(250, 252, 253, 0.99);
    box-shadow:
        0 0 20px rgba(3, 125, 156, 0.12),
        0 18px 44px rgba(0, 0, 0, 0.20);
}

body.light-theme .nav-global-wallet .music-network-option {
    border-color: rgba(3, 125, 156, 0.18);
    background: rgba(0, 0, 0, 0.025);
    color: #172027;
}

body.light-theme .nav-global-wallet .music-network-option:hover,
body.light-theme .nav-global-wallet .music-network-option.selected {
    border-color: rgba(3, 125, 156, 0.48);
    background: rgba(3, 125, 156, 0.12);
}

body.light-theme .nav-global-wallet
.music-network-option-copy strong {
    color: #172027;
}

body.light-theme .nav-global-wallet
.music-network-option-copy small {
    color: rgba(23, 32, 39, 0.62);
}

@media (max-width: 1320px) {
    .nav-global-wallet .music-network-trigger {
        max-width: 106px;
    }

    .nav-global-wallet #music-network-trigger-label {
        max-width: 54px;
    }
}

@media (max-width: 980px) {
    .nav-global-wallet .music-network-trigger {
        width: 34px;
        min-width: 34px;
        padding: 0;
    }

    .nav-global-wallet #music-network-trigger-label,
    .nav-global-wallet .music-network-trigger-arrow {
        display: none;
    }

    .nav-global-wallet .music-network-menu {
        right: -44px;
    }
}

@media (max-width: 560px) {
    .nav-global-wallet .music-network-menu {
        position: fixed;
        top: 68px;
        left: 8px;
        right: 8px;

        width: auto;
        max-height: calc(100vh - 82px);
    }
}


/* При средней ширине скрываем длинный основной статус */
@media (max-width: 1500px) {
    .nav-global-wallet #music-wallet-status-title {
        display: none;
    }

    .nav-global-wallet .music-wallet-address-row {
        max-width: 72px;
    }
}

/* На небольшом экране оставляем иконку и кнопку */
@media (max-width: 1100px) {
    .nav-global-wallet .music-wallet-status {
        width: auto;
        max-width: none;
    }

    .nav-global-wallet .music-wallet-address-row {
        display: none;
    }
}

/* Мобильное меню */
@media (max-width: 760px) {
    .nav-global-wallet {
        margin-left: 6px;
    }

    .nav-global-wallet .music-wallet-status {
        height: 42px;
        min-height: 42px;
        padding: 4px 5px;
    }

    .nav-global-wallet .music-wallet-status-text > i {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
}

@media (max-width: 420px) {
    .nav-global-wallet .music-connect-wallet-btn {
        width: 32px;
        padding: 0;
    }

    .nav-global-wallet .music-connect-wallet-btn span {
        display: none;
    }
}

.menu-item img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.nav-leya .menu-item {
    width: 118px;
}

.nav-leya .menu-item img {
    width: 40px;
    height: 40px;

    border-radius: 50%;
    object-fit: cover;
}

.menu-item img.account-avatar {
    width: 36px;
    height: 36px;

    border-radius: 50%;
    object-fit: cover;
    object-position: center;

    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.language-icon {
    width: 26px;
    height: 26px;

    object-fit: contain;
    border-radius: 50%;
}

img {
    display: block;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.menu-item:hover img {
    transform: scale(1.14);
}

/* =========================================================
   SECTION 4. HORIZONTAL MENU BUTTONS
   Основные кнопки горизонтального меню
   ========================================================= */

.menu-item {
    position: relative;

    width: 108px;
    height: 62px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #ffffff;
    text-decoration: none;

    font-size: 0.92em;

    transition:
        color 0.18s ease,
        filter 0.18s ease,
        transform 0.18s ease;

    user-select: none;
}

.menu-item span {
    display: none;
}

.menu-center .menu-item:hover::before {
    content: "";

    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);

    width: 106px;
    height: 45px;

    border: 1px solid rgba(6, 217, 255, 0.34);
    border-radius: 12px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.20), rgba(0, 255, 204, 0.08)),
        rgba(3, 125, 156, 0.16);

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    z-index: -1;
}

.menu-center .menu-item.active::after {
    content: "";

    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);

    width: 104px;
    height: 3px;

    border-radius: 999px;

    background: #00ccff !important;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.65);

    z-index: 1;
}

/* =========================================================
   SECTION 5. RIGHT COMPACT BUTTONS
   Язык / калькулятор / уведомления / аккаунт / настройки
   ========================================================= */

.nav-language,
.nav-calculator-right,
.nav-notifications,
.nav-account,
.nav-more {
    position: relative;
    flex-shrink: 0;
}

.nav-language .menu-item {
    width: 46px;
    height: 62px;
}

.nav-language .menu-item:hover::before,
.nav-language .menu-item:hover::after {
    display: none !important;
}

.nav-account .menu-item {
    width: 50px;
    height: 62px;
}

.nav-account .menu-item img.account-avatar {
    width: 36px;
    height: 36px;
}

/* Маленькая стрелка аккаунта */
#account-button::after {
    content: '\f078';

    position: absolute;
    right: 3px;
    bottom: 9px;

    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(232, 251, 255, 0.34);
    border-radius: 50%;

    background: rgba(15, 18, 22, 0.86);
    color: #ffffff;

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 9px;
    line-height: 1;

    box-sizing: border-box;
    z-index: 3;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

#account-button:hover::after {
    border-color: rgba(6, 217, 255, 0.55);
    background: rgba(6, 171, 212, 0.22);
    color: #00ccff;
}

#account-button.active::after {
    transform: rotate(180deg);
    color: #00ccff;
}

/* =========================================================
   SECTION 6. TOOLTIP
   Подсказки верхнего меню
   ========================================================= */

.menu-item:hover span {
    position: absolute;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);

    display: block;

    min-width: 112px;
    padding: 6px 11px;

    border: 1px solid rgba(6, 217, 255, 0.24);
    border-radius: 9px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.18), rgba(0, 255, 204, 0.07)),
        rgba(10, 14, 18, 0.92);

    color: #e8fbff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    text-align: center;
    white-space: nowrap;

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.16),
        0 8px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 1100;
    box-sizing: border-box;
}

.nav-language .menu-item:hover span {
    min-width: 130px;
}

/* =========================================================
   SECTION 7. SHARED GLASS PANELS
   Общий стиль всех выезжающих вертикальных панелей
   ========================================================= */

:root {
    --vertical-panel-width: 250px;
}

.nav-music .menu-item > i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: currentColor;
    font-size: 19px;
}

.account-menu,
.language-menu,
.calculator-panel,
.vertical-menu,
.notification-dropdown {
    width: var(--vertical-panel-width);

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);

    border: 1px solid rgba(6, 171, 212, 0.44);
    border-top: none;
    border-radius: 0 0 14px 14px;

    box-shadow:
        0 0 24px rgba(6, 171, 212, 0.22),
        0 18px 50px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    box-sizing: border-box;
}

/* =========================================================
   SECTION 8. ACCOUNT SIDE MENU
   Меню аккаунта справа
   ========================================================= */

.account-menu {
    position: fixed;
    top: 62px;
    right: -340px;

    max-height: calc(100vh - 62px);

    padding: 22px 14px 16px;

    overflow-y: auto;
    z-index: 900;

    transition: right 0.28s ease;
}

.account-menu.open {
    right: 0 !important;
}

.account-menu ul {
    display: block;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================================================
   SECTION 9. ACCOUNT MENU ITEMS
   Элементы меню аккаунта
   ========================================================= */

.account-menu ul li,
.vertical-menu ul li {
    position: relative;

    height: 40px;
    margin: 6px 0;
    padding: 6px 10px 6px 42px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border: 1px solid rgba(6, 171, 212, 0.28);
    border-radius: 12px;

    background: rgba(8, 12, 16, 0.92);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;

    box-sizing: border-box;
}

.account-menu ul li:hover,
.vertical-menu ul li:hover {
    transform: translateX(-1px);

    border-color: rgba(6, 217, 255, 0.42);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.20), rgba(0, 255, 204, 0.08)),
        rgba(10, 14, 18, 0.72);

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.account-menu ul li::before,
.vertical-menu ul li::before {
    content: "";

    position: absolute;
    left: 8px;

    width: 27px;
    height: 27px;

    border: 1px solid rgba(6, 217, 255, 0.22);
    border-radius: 50%;

    background: rgba(6, 171, 212, 0.12);

    transition:
        background 0.22s ease,
        border-color 0.22s ease;

    z-index: 1;
}

.account-menu ul li:hover::before,
.vertical-menu ul li:hover::before {
    border-color: rgba(6, 217, 255, 0.50);
    background: rgba(6, 171, 212, 0.22);
}

.account-menu ul li i,
.vertical-menu ul li i {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 12px;

    transition: color 0.22s ease;
    z-index: 2;
}

.account-menu ul li:hover i,
.vertical-menu ul li:hover i {
    color: #00ccff;
}

.account-menu ul li a,
.vertical-menu ul li a,
.account-menu .logout-btn {
    position: relative;
    z-index: 2;

    display: block;

    padding-left: 8px;

    color: #ffffff;
    background: transparent;

    border: none;
    outline: none;
    box-shadow: none;

    text-decoration: none;
    text-align: left;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);

    cursor: pointer;

    transition: color 0.22s ease;

    appearance: none;
    -webkit-appearance: none;
}

.account-menu ul li:hover a,
.vertical-menu ul li:hover a,
.account-menu .logout-btn:hover {
    color: #00ccff;
}

.account-menu .logout-btn,
.account-menu .logout-btn:focus,
.account-menu .logout-btn:active,
.account-menu .logout-btn:focus-visible {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.account-menu .menu-item {
    width: auto;
    height: auto;

    flex-direction: row;
    padding: 0;
}

/* =========================================================
   SECTION 10. LANGUAGE DROPDOWN
   Выпадающее меню языка
   ========================================================= */

.language-menu {
    position: fixed;
    top: 62px;
    right: 0;

    max-height: calc(100vh - 62px);

    padding: 22px 14px 16px;

    overflow-y: auto;
    z-index: 900;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.language-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu ul {
    display: block;

    list-style: none;
    margin: 0;
    padding: 0;
}

.language-menu ul li {
    min-height: 40px;
    margin: 6px 0;
    padding: 7px 10px;

    display: flex;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(6, 171, 212, 0.28);
    border-radius: 12px;

    background: rgba(8, 12, 16, 0.92);

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.language-menu ul li:hover,
.language-menu ul li.active {
    border-color: rgba(6, 217, 255, 0.42);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.20), rgba(0, 255, 204, 0.08)),
        rgba(10, 14, 18, 0.72);

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-menu ul li img.lang-icon {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    border-radius: 4px;
    object-fit: contain;
}

.language-menu ul li span {
    color: #ffffff;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);

    transition: color 0.22s ease;
}

.language-menu ul li:hover span,
.language-menu ul li.active span {
    color: #00ccff;
}

.language-menu ul li .lang-check {
    margin-left: auto;

    color: #00ccff;
    font-size: 13px;

    display: none;
    flex-shrink: 0;
}

.language-menu ul li.active .lang-check {
    display: inline;
}

.language-menu ul li.active .lang-check::before {
    content: "✓";
}

/* =========================================================
   SECTION 11. VERTICAL MENU
   Меню с тремя точками справа
   ========================================================= */

.vertical-menu {
    position: fixed;
    top: 62px;
    right: -340px;

    max-height: calc(100vh - 62px);
    height: auto;

    padding: 0 0 16px;

    overflow-y: auto;
    z-index: 900;

    transition: right 0.28s ease;
}

.vertical-menu.open {
    right: 0;
}

.vertical-menu ul {
    display: block;

    list-style: none;
    margin: 0;
    padding: 22px 14px 0;
}

/* =========================================================
   SECTION 12. CALCULATOR PANEL
   Панель калькулятора
   ========================================================= */

.calculator-panel {
    position: fixed;
    top: 62px;
    left: -330px;

    max-height: calc(100vh - 62px);

    overflow-y: auto;
    z-index: 900;

    transition: left 0.28s ease;
}

.calculator-panel.open {
    left: 0;
}

.calculator-content {
    padding: 18px 14px 16px;

    color: #ffffff;
}

.memory-display {
    margin-bottom: 8px;

    color: #bdefff;

    font-size: 12px;
    text-align: right;
}

#calc-display {
    width: 100%;

    margin-bottom: 10px;
    padding: 9px 10px;

    border: 1px solid rgba(6, 217, 255, 0.24);
    border-radius: 10px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.08), rgba(0, 255, 204, 0.025)),
        rgba(10, 14, 18, 0.72);

    color: #ffffff;

    font-size: 16px;
    line-height: 1.2;

    text-align: right;

    box-sizing: border-box;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.calc-button {
    min-height: 34px;
    padding: 7px 5px;

    border: 1px solid rgba(6, 217, 255, 0.18);
    border-radius: 9px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.10), rgba(0, 255, 204, 0.035)),
        rgba(10, 14, 18, 0.56);

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.16s ease;
}

.calc-button:hover {
    transform: translateY(-1px);

    border-color: rgba(6, 217, 255, 0.42);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.20), rgba(0, 255, 204, 0.08)),
        rgba(10, 14, 18, 0.72);

    box-shadow:
        0 0 10px rgba(6, 217, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calc-button.operation,
.calc-button.equals {
    border-color: rgba(0, 204, 255, 0.38);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.24), rgba(0, 255, 204, 0.10)),
        rgba(6, 171, 212, 0.16);

    color: #e8fbff;
}

.calc-button.operation:hover,
.calc-button.equals:hover {
    border-color: rgba(0, 204, 255, 0.62);
    color: #ffffff;
}

.calc-button.tall {
    grid-row: span 2;
}

.calc-button.zero {
    grid-column: span 2;
}

.close {
    position: absolute;
    top: 8px;
    right: 12px;

    color: #ffffff;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.22s ease,
        transform 0.18s ease;
}

.close:hover {
    color: #00ccff;
    transform: scale(1.08);
}

.calculator-form,
.calculator-form input,
.calculator-form select,
.calculator-form button,
#result {
    display: none;
}

/* =========================================================
   SECTION 13. RIGHT CALCULATOR BUTTON
   Кнопка калькулятора в горизонтальном меню
   ========================================================= */

.calculator-menu-button,
.notification-button,
.menu-toggle-btn {
    position: relative;

    width: 46px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    color: #ffffff;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;
    user-select: none;

    transition:
        color 0.25s ease,
        transform 0.20s ease;
}

.calculator-menu-button,
.calculator-menu-button:focus,
.calculator-menu-button:active,
.calculator-menu-button:focus-visible,
.notification-button,
.notification-button:focus,
.notification-button:active,
.notification-button:focus-visible,
.menu-toggle-btn,
.menu-toggle-btn:focus,
.menu-toggle-btn:active,
.menu-toggle-btn:focus-visible {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.calculator-menu-button:hover,
.calculator-menu-button.active,
.notification-button:hover,
.notification-button.active,
.menu-toggle-btn:hover,
.menu-toggle-btn.active {
    color: #037d9c;
}

.calculator-menu-button:active,
.notification-button:active,
.menu-toggle-btn:active {
    transform: scale(0.96);
}

.calculator-menu-button i,
.notification-button i,
.menu-toggle-btn i {
    pointer-events: none;

    transition: transform 0.25s ease;
}

.calculator-menu-button:hover i,
.notification-button:hover i,
.menu-toggle-btn:hover i {
    transform: scale(1.14);
}

/* Tooltip калькулятора, уведомлений и настроек */
.calculator-menu-button .calculator-tooltip,
.notification-button .notification-tooltip,
.menu-toggle-btn .menu-tooltip {
    display: none;
}

.calculator-menu-button:hover .calculator-tooltip,
.notification-button:hover .notification-tooltip,
.menu-toggle-btn:hover .menu-tooltip {
    position: absolute;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);

    display: block;

    min-width: 112px;
    padding: 6px 11px;

    border: 1px solid rgba(6, 217, 255, 0.24);
    border-radius: 9px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.18), rgba(0, 255, 204, 0.07)),
        rgba(10, 14, 18, 0.92);

    color: #e8fbff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    white-space: nowrap;
    text-align: center;

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.16),
        0 8px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 1100;
    box-sizing: border-box;
}

/* =========================================================
   SECTION 14. NOTIFICATIONS
   Уведомления
   ========================================================= */

.notification-wrapper {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 12px;
    right: 8px;

    min-width: 15px;
    height: 15px;
    padding: 0 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;

    background: #ff3b3b;
    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
    line-height: 1;

    box-sizing: border-box;
}

.notification-dropdown {
    position: fixed;
    top: 62px;
    right: 0;

    max-height: calc(100vh - 62px);

    padding: 0;

    overflow: hidden;
    z-index: 900;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.notification-dropdown.open,
.notification-dropdown.active,
.notification-wrapper.open .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    min-height: 48px;
    padding: 13px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-bottom: 1px solid rgba(6, 217, 255, 0.18);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.16), rgba(0, 255, 204, 0.05)),
        rgba(10, 14, 18, 0.58);

    box-sizing: border-box;
}

.notification-header span {
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.notification-mark-all {
    padding: 5px 8px;

    border: 1px solid rgba(6, 217, 255, 0.22);
    border-radius: 8px;

    background: rgba(6, 171, 212, 0.10);
    color: #bdefff;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

.notification-mark-all:hover {
    border-color: rgba(6, 217, 255, 0.46);
    background: rgba(6, 171, 212, 0.20);
    color: #ffffff;
}

.notification-list {
    max-height: 340px;
    padding: 10px;

    overflow-y: auto;
}

.notification-empty {
    padding: 16px 10px;

    color: #bdefff;

    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

.notification-item {
    margin-bottom: 7px;
    padding: 9px 10px;

    border: 1px solid rgba(6, 217, 255, 0.16);
    border-radius: 10px;

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.10), rgba(0, 255, 204, 0.035)),
        rgba(10, 14, 18, 0.56);

    color: #ffffff;

    font-size: 12px;
    line-height: 1.35;

    box-sizing: border-box;
}

.notification-item:hover {
    border-color: rgba(6, 217, 255, 0.40);
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.18), rgba(0, 255, 204, 0.08)),
        rgba(10, 14, 18, 0.72);
}

.notification-view-all {
    display: block;

    padding: 12px 14px;

    border-top: 1px solid rgba(6, 217, 255, 0.18);

    color: #00ccff;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    background: rgba(10, 14, 18, 0.46);

    transition:
        background 0.22s ease,
        color 0.22s ease;
}

.notification-view-all:hover {
    background: rgba(6, 171, 212, 0.16);
    color: #ffffff;
}

/* =========================================================
   SECTION 15. BODY OFFSET
   Отступ страницы под fixed-menu
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    padding-top: 62px;
}

/* =========================================================
   SECTION 16. SCROLLBAR FOR PANELS
   Скроллбар панелей
   ========================================================= */

.account-menu,
.language-menu,
.calculator-panel,
.vertical-menu,
.notification-dropdown,
.notification-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(6, 217, 255, 0.48) rgba(255, 255, 255, 0.055);
}

.account-menu::-webkit-scrollbar,
.language-menu::-webkit-scrollbar,
.calculator-panel::-webkit-scrollbar,
.vertical-menu::-webkit-scrollbar,
.notification-dropdown::-webkit-scrollbar,
.notification-list::-webkit-scrollbar {
    width: 8px;
}

.account-menu::-webkit-scrollbar-track,
.language-menu::-webkit-scrollbar-track,
.calculator-panel::-webkit-scrollbar-track,
.vertical-menu::-webkit-scrollbar-track,
.notification-dropdown::-webkit-scrollbar-track,
.notification-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.055);
}

.account-menu::-webkit-scrollbar-thumb,
.language-menu::-webkit-scrollbar-thumb,
.calculator-panel::-webkit-scrollbar-thumb,
.vertical-menu::-webkit-scrollbar-thumb,
.notification-dropdown::-webkit-scrollbar-thumb,
.notification-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(6, 217, 255, 0.42);
}

/* =========================================================
   SECTION 17. LIGHT THEME
   Светлая тема
   ========================================================= */

body.light-theme nav,
.light-theme nav {
    background:
        linear-gradient(90deg, rgba(3, 125, 156, 0.92), rgba(3, 125, 156, 0.72)),
        radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.18), transparent 38%),
        #037d9c;

    border-bottom: none;

    box-shadow:
        0 0 12px rgba(3, 125, 156, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    color: #ffffff;
}

body.light-theme .menu-item,
.light-theme .menu-item,
body.light-theme .calculator-menu-button,
body.light-theme .notification-button,
body.light-theme .menu-toggle-btn {
    color: #ffffff;
}

body.light-theme .menu-center .menu-item:hover::before,
.light-theme .menu-center .menu-item:hover::before {
    border-color: rgba(255, 255, 255, 0.32);

    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(0, 255, 204, 0.08)),
        rgba(255, 255, 255, 0.12);
}

body.light-theme .account-menu,
body.light-theme .language-menu,
body.light-theme .calculator-panel,
body.light-theme .vertical-menu,
body.light-theme .notification-dropdown,
.light-theme .account-menu,
.light-theme .language-menu,
.light-theme .calculator-panel,
.light-theme .vertical-menu,
.light-theme .notification-dropdown {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);

    border-color: rgba(6, 171, 212, 0.44);
    border-top: none;

    box-shadow:
        0 0 24px rgba(6, 171, 212, 0.22),
        0 18px 50px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.light-theme .account-menu ul li,
body.light-theme .vertical-menu ul li,
body.light-theme .language-menu ul li,
body.light-theme .calc-button,
body.light-theme .notification-item,
.light-theme .account-menu ul li,
.light-theme .vertical-menu ul li,
.light-theme .language-menu ul li,
.light-theme .calc-button,
.light-theme .notification-item {
    border-color: rgba(6, 171, 212, 0.28);

    background: rgba(8, 12, 16, 0.92);
}

body.light-theme .account-menu ul li:hover,
body.light-theme .vertical-menu ul li:hover,
body.light-theme .language-menu ul li:hover,
body.light-theme .language-menu ul li.active,
body.light-theme .calc-button:hover,
body.light-theme .notification-item:hover,
.light-theme .account-menu ul li:hover,
.light-theme .vertical-menu ul li:hover,
.light-theme .language-menu ul li:hover,
.light-theme .language-menu ul li.active,
.light-theme .calc-button:hover,
.light-theme .notification-item:hover {
    border-color: rgba(6, 217, 255, 0.62);

    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.26), rgba(0, 255, 204, 0.10)),
        rgba(6, 171, 212, 0.12);
}

body.light-theme .account-menu ul li::before,
body.light-theme .vertical-menu ul li::before,
.light-theme .account-menu ul li::before,
.light-theme .vertical-menu ul li::before {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

body.light-theme .account-menu ul li a,
body.light-theme .vertical-menu ul li a,
body.light-theme .account-menu .logout-btn,
body.light-theme .language-menu ul li span,
body.light-theme .notification-header span,
body.light-theme .notification-empty,
body.light-theme .notification-item,
body.light-theme .memory-display,
body.light-theme #calc-display,
body.light-theme .calc-button,
.light-theme .account-menu ul li a,
.light-theme .vertical-menu ul li a,
.light-theme .account-menu .logout-btn,
.light-theme .language-menu ul li span,
.light-theme .notification-header span,
.light-theme .notification-empty,
.light-theme .notification-item,
.light-theme .memory-display,
.light-theme #calc-display,
.light-theme .calc-button {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

body.light-theme .account-menu ul li i,
body.light-theme .vertical-menu ul li i,
.light-theme .account-menu ul li i,
.light-theme .vertical-menu ul li i {
    color: #ffffff;
}

body.light-theme .account-menu ul li:hover a,
body.light-theme .vertical-menu ul li:hover a,
body.light-theme .account-menu ul li:hover i,
body.light-theme .vertical-menu ul li:hover i,
body.light-theme .account-menu .logout-btn:hover,
body.light-theme .language-menu ul li:hover span,
body.light-theme .language-menu ul li.active span,
body.light-theme .calculator-menu-button:hover,
body.light-theme .calculator-menu-button.active,
body.light-theme .notification-button:hover,
body.light-theme .notification-button.active,
body.light-theme .menu-toggle-btn:hover,
body.light-theme .menu-toggle-btn.active,
.light-theme .account-menu ul li:hover a,
.light-theme .vertical-menu ul li:hover a,
.light-theme .account-menu ul li:hover i,
.light-theme .vertical-menu ul li:hover i,
.light-theme .account-menu .logout-btn:hover,
.light-theme .language-menu ul li:hover span,
.light-theme .language-menu ul li.active span,
.light-theme .calculator-menu-button:hover,
.light-theme .calculator-menu-button.active,
.light-theme .notification-button:hover,
.light-theme .notification-button.active,
.light-theme .menu-toggle-btn:hover,
.light-theme .menu-toggle-btn.active {
    color: #e8fbff;
}

.music-messages-top {
    position: relative;
}

.music-messages-popover {
    width: min(420px, calc(100vw - 28px));
    max-height: min(620px, calc(100vh - 118px));
    padding: 22px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: #111;
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
}

.music-messages-popover[hidden] {
    display: none;
}

.music-messages-popover-head {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.music-messages-popover-head h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.music-messages-popover-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
}

.music-message-thread-list {
    display: grid;
    gap: 4px;
}

.music-message-thread {
    width: 100%;
    min-height: 68px;
    padding: 8px 0;
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) auto;
    gap: 14px;
    align-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.music-message-thread:hover {
    background: rgba(255,255,255,.07);
}

.music-message-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.42));
    background-position: center;
    background-size: cover;
    color: #111;
    overflow: hidden;
}

.music-message-avatar.has-artwork > i {
    display: none;
}

.music-message-thread-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.music-message-thread-copy strong,
.music-message-thread-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-message-thread-copy small,
.music-message-thread time,
.music-message-empty {
    color: rgba(255,255,255,.64);
    font-size: 12px;
}

.music-view-all-messages {
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.music-view-all-messages:hover,
.music-messages-popover-head button:hover {
    color: #1db954;
}

body.light-theme .calculator-menu-button:hover,
body.light-theme .calculator-menu-button.active,
body.light-theme .notification-button:hover,
body.light-theme .notification-button.active,
body.light-theme .menu-toggle-btn:hover,
body.light-theme .menu-toggle-btn.active,
.light-theme .calculator-menu-button:hover,
.light-theme .calculator-menu-button.active,
.light-theme .notification-button:hover,
.light-theme .notification-button.active,
.light-theme .menu-toggle-btn:hover,
.light-theme .menu-toggle-btn.active {
    color: #037d9c;
}

body.light-theme #account-button::after,
.light-theme #account-button::after {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

body.light-theme #account-button:hover::after,
body.light-theme #account-button.active::after,
.light-theme #account-button:hover::after,
.light-theme #account-button.active::after {
    color: #e8fbff;
}

/* Mirror the top navigation for Hebrew and other RTL layouts. */
html[dir="rtl"] nav {
    direction: ltr;
}

html[dir="rtl"] .menu-left {
    order: 3;
    padding-right: 18px;
    padding-left: 0;
}

html[dir="rtl"] .menu-center {
    direction: ltr;
    flex-direction: row-reverse;
}

html[dir="rtl"] .menu-right {
    order: 1;
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 18px;
}

html[dir="rtl"] #account-button::after {
    right: auto;
    left: 3px;
}

/* =========================================================
   SECTION 18. MOBILE
   Мобильная адаптация меню
   ========================================================= */

@media (max-width: 1100px) {
    .menu-center {
        gap: 2px;
    }

    .menu-item {
        width: 92px;
    }

    .menu-center .menu-item:hover::before {
        width: 90px;
    }

    .menu-center .menu-item.active::after {
        width: 88px;
    }

    .nav-leya .menu-item {
        width: 100px;
    }
}

@media (max-width: 900px) {
    nav {
        height: 58px;
    }

    body {
        padding-top: 58px;
    }

    .nav-logo img {
        width: 40px;
        height: 40px;
    }

    .menu-item {
        width: 74px;
        height: 58px;
    }

    .menu-item img {
        width: 23px;
        height: 23px;
    }

    .nav-leya .menu-item {
        width: 80px;
    }

    .nav-leya .menu-item img {
        width: 34px;
        height: 34px;
    }

    .nav-language .menu-item,
    .nav-account .menu-item,
    .calculator-menu-button,
    .notification-button,
    .menu-toggle-btn {
        height: 58px;
    }

    .account-menu,
    .language-menu,
    .calculator-panel,
    .vertical-menu,
    .notification-dropdown {
        top: 58px;
        max-height: calc(100vh - 58px);
    }

    .menu-item:hover span,
    .calculator-menu-button:hover .calculator-tooltip,
    .notification-button:hover .notification-tooltip,
    .menu-toggle-btn:hover .menu-tooltip {
        top: 58px;
    }
}

@media (max-width: 760px) {
    :root {
        --vertical-panel-width: 235px;
    }

    .menu-center {
        display: none;
    }

    .menu-left {
        padding-left: 12px;
    }

    .menu-right {
        padding-right: 10px;
    }

    html[dir="rtl"] .menu-left {
        padding-right: 12px;
        padding-left: 0;
    }

    html[dir="rtl"] .menu-right {
        padding-right: 0;
        padding-left: 10px;
    }

    .account-menu {
        right: -300px;
    }

    .vertical-menu {
        right: -300px;
    }

    .calculator-panel {
        left: -300px;
    }
}

@media (max-width: 420px) {
    .account-menu,
    .language-menu,
    .calculator-panel,
    .vertical-menu,
    .notification-dropdown {
        width: 100%;
    }

    .account-menu,
    .vertical-menu {
        right: -100%;
    }

    .calculator-panel {
        left: -100%;
    }

    .notification-dropdown {
        right: 0;
    }
}


/* =========================================================
   COMPACT MULTI-LEVEL GLOBAL WALLET — FINAL OVERRIDES
   ========================================================= */
.nav-global-wallet{position:relative;min-width:0;margin-left:7px;display:flex;align-items:center;flex:0 1 auto}
.nav-global-wallet .music-wallet-status,
.nav-global-wallet .music-wallet-status.connected,
.nav-global-wallet .music-wallet-status.not-connected,
.nav-global-wallet .music-wallet-status.error{
position:relative;z-index:4;width:clamp(276px,22vw,318px);max-width:318px;height:44px;min-height:44px;margin:0;padding:4px 5px 4px 7px;
display:grid;grid-template-columns:32px minmax(48px,1fr) auto auto;align-items:center;gap:5px;overflow:visible;box-sizing:border-box;
border:1px solid rgba(232,251,255,.15)!important;border-radius:14px!important;
background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(6,171,212,.055)),rgba(8,14,19,.72)!important;
color:#f7fbfc;box-shadow:0 5px 14px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.09)!important;
backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
.nav-global-wallet .music-wallet-details-trigger{position:relative;width:32px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:#dff8ff;cursor:pointer;transition:.18s ease}
.nav-global-wallet .music-wallet-details-trigger>i{font-size:20px;line-height:1}
.nav-global-wallet .music-wallet-details-trigger:hover,
.nav-global-wallet .music-wallet-details-trigger[aria-expanded="true"]{transform:translateY(-1px);background:rgba(6,171,212,.12);color:#fff}
.nav-global-wallet .music-wallet-state-dot{position:absolute;right:2px;bottom:4px;width:7px;height:7px;border:2px solid rgba(8,14,19,.96);border-radius:50%;background:#f2bd55;box-shadow:0 0 7px rgba(242,189,85,.7);box-sizing:content-box}
.nav-global-wallet .music-wallet-status.connected .music-wallet-state-dot{background:#4df2a7;box-shadow:0 0 8px rgba(77,242,167,.78)}
.nav-global-wallet .music-wallet-status.error .music-wallet-state-dot{background:#ff6b6b;box-shadow:0 0 8px rgba(255,107,107,.72)}
.nav-global-wallet .music-wallet-status-text{min-width:0;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;overflow:hidden}
.nav-global-wallet #music-wallet-status-title,.nav-global-wallet #music-wallet-status-detail{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-global-wallet #music-wallet-status-title{color:rgba(232,251,255,.58);font-size:8.5px;font-weight:700;line-height:1;letter-spacing:.03em;text-transform:uppercase}
.nav-global-wallet #music-wallet-status-detail{color:#fff;font-size:10px;font-weight:800;line-height:1.05}
.nav-global-wallet .music-wallet-status.connected #music-wallet-status-detail{color:#8fffc1}
.nav-global-wallet .music-wallet-status.error #music-wallet-status-detail{color:#ffaaaa}
.nav-global-wallet .music-network-trigger,.nav-global-wallet .music-connect-wallet-btn{
height:30px;min-height:30px;padding:3px 6px;display:inline-flex;align-items:center;justify-content:center;gap:4px;
border:1px solid rgba(232,251,255,.16);border-radius:9px;background:linear-gradient(90deg,rgba(6,171,212,.14),rgba(0,255,204,.045)),rgba(5,18,24,.66);
color:#e8fbff;font:inherit;font-size:9px;font-weight:800;line-height:1;white-space:nowrap;box-sizing:border-box;cursor:pointer;transition:.18s ease
}
.nav-global-wallet .music-network-trigger{max-width:88px}
.nav-global-wallet .music-connect-wallet-btn{max-width:72px;padding-inline:7px}
.nav-global-wallet .music-network-trigger:hover,.nav-global-wallet .music-network-selector.open .music-network-trigger,
.nav-global-wallet .music-connect-wallet-btn:hover{transform:translateY(-1px);border-color:rgba(6,217,255,.46);background:linear-gradient(90deg,rgba(6,171,212,.24),rgba(0,255,204,.08)),rgba(5,18,24,.78);box-shadow:0 0 12px rgba(6,217,255,.13)}
.nav-global-wallet .music-connect-wallet-btn.disconnect{border-color:rgba(255,107,107,.34);background:rgba(255,107,107,.09);color:#ffc2c2}
.nav-global-wallet .music-connect-wallet-btn.disconnect:hover{border-color:rgba(255,107,107,.54);background:rgba(255,107,107,.15);box-shadow:0 0 12px rgba(255,107,107,.12)}
.nav-global-wallet .music-network-trigger img{width:18px;height:18px;flex:0 0 18px;display:block;object-fit:contain;border-radius:50%;transform:none!important}
.nav-global-wallet #music-network-trigger-label{min-width:0;max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-global-wallet .music-network-trigger-arrow{flex:0 0 auto;font-size:7px;transition:transform .2s ease}
.nav-global-wallet .music-network-selector.open .music-network-trigger-arrow{transform:rotate(180deg)}
.nav-global-wallet .music-network-menu{top:calc(100% + 11px);right:0;width:258px;border-color:rgba(6,217,255,.34);border-radius:13px}
.nav-global-wallet .music-wallet-details-panel{position:absolute;top:calc(100% + 10px);left:0;z-index:1400;width:304px;padding:11px;border:1px solid rgba(6,217,255,.32);border-radius:13px;background:linear-gradient(180deg,rgba(6,171,212,.12),rgba(0,0,0,.04)),rgba(8,12,16,.98);color:#fff;box-shadow:0 0 22px rgba(6,217,255,.16),0 18px 48px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-sizing:border-box}
.nav-global-wallet .music-wallet-details-panel[hidden]{display:none}
.nav-global-wallet .music-wallet-details-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid rgba(232,251,255,.1)}
.nav-global-wallet .music-wallet-details-heading{min-width:0;display:flex;align-items:center;gap:10px}
.nav-global-wallet .music-wallet-details-heading>i{color:#8feeff;font-size:20px}
.nav-global-wallet .music-wallet-details-heading span,.nav-global-wallet .music-wallet-details-heading strong{display:block}
.nav-global-wallet .music-wallet-details-heading span{color:rgba(232,251,255,.58);font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.nav-global-wallet .music-wallet-details-heading strong{margin-top:3px;color:#fff;font-size:13px;font-weight:800}
.nav-global-wallet .music-wallet-details-close{width:28px;height:28px;flex:0 0 28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(232,251,255,.12);border-radius:8px;background:rgba(255,255,255,.04);color:rgba(232,251,255,.72);cursor:pointer}
.nav-global-wallet .music-wallet-details-close:hover{border-color:rgba(6,217,255,.36);background:rgba(6,171,212,.12);color:#fff}
.nav-global-wallet .music-wallet-details-section,.nav-global-wallet .music-wallet-details-card{padding:9px;border:1px solid rgba(232,251,255,.09);border-radius:10px;background:rgba(255,255,255,.03)}
.nav-global-wallet .music-wallet-details-label{display:block;margin-bottom:6px;color:rgba(232,251,255,.52);font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.nav-global-wallet .music-wallet-details-address-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:7px}
.nav-global-wallet #music-wallet-details-address{min-width:0;overflow-wrap:anywhere;color:#fff;font-size:11px;font-weight:700;line-height:1.45}
.nav-global-wallet .music-copy-wallet-address-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(6,217,255,.24);border-radius:8px;background:rgba(6,171,212,.08);color:#8feeff;font-size:11px;cursor:pointer}
.nav-global-wallet .music-copy-wallet-address-btn:hover{border-color:rgba(6,217,255,.48);background:rgba(6,171,212,.16);color:#fff}
.nav-global-wallet .music-copy-wallet-address-btn.copied{border-color:rgba(77,242,167,.42);color:#4df2a7}
.nav-global-wallet .music-copy-wallet-address-btn[hidden]{display:none}
.nav-global-wallet .music-wallet-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.nav-global-wallet .music-wallet-details-card{min-width:0;min-height:86px}
.nav-global-wallet .music-wallet-details-network{min-width:0;display:flex;align-items:center;gap:7px}
.nav-global-wallet .music-wallet-details-network img{width:25px;height:25px;flex:0 0 25px;object-fit:contain;border-radius:50%}
.nav-global-wallet .music-wallet-details-network div{min-width:0}
.nav-global-wallet .music-wallet-details-card strong,.nav-global-wallet .music-wallet-details-card small{display:block}
.nav-global-wallet .music-wallet-details-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:10.5px;font-weight:800;line-height:1.25}
.nav-global-wallet .music-wallet-details-card small{margin-top:4px;color:rgba(232,251,255,.56);font-size:9px;line-height:1.25}
.nav-global-wallet .music-wallet-security-note{display:flex;align-items:center;gap:7px;margin-top:8px;padding:8px 9px;border:1px solid rgba(77,242,167,.14);border-radius:9px;background:rgba(77,242,167,.045);color:rgba(225,255,238,.72);font-size:9.5px;line-height:1.35}
.nav-global-wallet .music-wallet-security-note i{color:#4df2a7}
@media(max-width:1450px){
.nav-global-wallet .music-wallet-status{width:274px;grid-template-columns:31px minmax(40px,1fr) auto auto}
.nav-global-wallet #music-wallet-status-title{display:none}
}
@media(max-width:1260px){
.nav-global-wallet .music-wallet-status{width:auto;grid-template-columns:31px auto auto}
.nav-global-wallet .music-wallet-status-text{display:none!important}
.nav-global-wallet .music-network-trigger{width:34px;min-width:34px;padding:0}
.nav-global-wallet #music-network-trigger-label,.nav-global-wallet .music-network-trigger-arrow{display:none}
.nav-global-wallet .music-connect-wallet-btn{width:32px;padding:0}
.nav-global-wallet .music-connect-wallet-btn span{display:none}
.nav-global-wallet .music-network-menu{right:-38px}
}
@media(max-width:760px){
.nav-global-wallet{margin-left:4px}
.nav-global-wallet .music-wallet-status{height:40px;min-height:40px;padding:3px 4px;border-radius:12px!important}
.nav-global-wallet .music-wallet-details-panel,.nav-global-wallet .music-network-menu{position:fixed;top:66px;left:8px;right:8px;width:auto;max-height:calc(100vh - 78px)}
}


/* =========================================================
   PAXOR WALLET — EXPANDED GLOBAL PANEL V1
   ========================================================= */
.nav-global-wallet .music-wallet-details-panel{width:min(390px,calc(100vw - 16px));max-height:calc(100vh - 78px);overflow:auto;padding:12px;scrollbar-width:thin}
.nav-global-wallet .music-wallet-header-actions{display:flex;align-items:center;gap:7px}
.nav-global-wallet .music-wallet-pending-badge{padding:4px 7px;border:1px solid rgba(255,195,74,.38);border-radius:999px;background:rgba(255,195,74,.1);color:#ffd56a;font-size:10px;font-weight:800}
.nav-global-wallet .music-wallet-balance-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:12px;border:1px solid rgba(6,217,255,.2);border-radius:12px;background:linear-gradient(135deg,rgba(6,171,212,.16),rgba(0,255,204,.05)),rgba(255,255,255,.025)}
.nav-global-wallet .music-wallet-balance-card strong{display:block;color:#fff;font-size:24px;line-height:1.1}.nav-global-wallet .music-wallet-balance-card small{display:block;margin-top:5px;color:#8feeff;font-size:11px}
.nav-global-wallet .music-wallet-icon-btn{width:32px;height:32px;border:1px solid rgba(6,217,255,.25);border-radius:9px;background:rgba(6,171,212,.1);color:#8feeff;cursor:pointer}.nav-global-wallet .music-wallet-icon-btn.loading i{animation:walletSpin .8s linear infinite}@keyframes walletSpin{to{transform:rotate(360deg)}}
.nav-global-wallet .music-wallet-address-actions{display:flex;gap:6px;margin-top:8px}.nav-global-wallet .music-wallet-link-btn{min-height:27px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 8px;border:1px solid rgba(232,251,255,.11);border-radius:8px;background:rgba(255,255,255,.035);color:#bdefff;font-size:9.5px;font-weight:750;text-decoration:none;cursor:pointer}.nav-global-wallet .music-wallet-link-btn:disabled,.nav-global-wallet .music-wallet-link-btn[aria-disabled=true]{opacity:.42;pointer-events:none}
.nav-global-wallet .music-wallet-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0}.nav-global-wallet .music-wallet-quick-actions button{min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(6,217,255,.2);border-radius:10px;background:rgba(6,171,212,.07);color:#dff8ff;font-size:9px;font-weight:800;cursor:pointer}.nav-global-wallet .music-wallet-quick-actions button i{font-size:14px;color:#00ccff}.nav-global-wallet .music-wallet-quick-actions button:hover{border-color:rgba(6,217,255,.45);background:rgba(6,171,212,.14)}
.nav-global-wallet .music-wallet-network-summary{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto 12px;align-items:center;gap:8px;padding:9px;border:1px solid rgba(232,251,255,.09);border-radius:10px;background:rgba(255,255,255,.03);color:#fff;text-align:left;cursor:pointer}.nav-global-wallet .music-wallet-network-summary>img{width:28px;height:28px;object-fit:contain}.nav-global-wallet .music-wallet-network-summary span small,.nav-global-wallet .music-wallet-network-summary span strong{display:block}.nav-global-wallet .music-wallet-network-summary span small{color:rgba(232,251,255,.54);font-size:8.5px}.nav-global-wallet .music-wallet-network-summary span strong{margin-top:2px;font-size:10.5px}.nav-global-wallet .music-wallet-rpc-copy{text-align:right}.nav-global-wallet .music-wallet-rpc-dot{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#8b949e}.nav-global-wallet .music-wallet-rpc-dot.online{background:#22c55e;box-shadow:0 0 8px rgba(34,197,94,.55)}.nav-global-wallet .music-wallet-rpc-dot.slow{background:#f59e0b}.nav-global-wallet .music-wallet-rpc-dot.offline{background:#ef4444}
.nav-global-wallet .music-wallet-mini-section,.nav-global-wallet .music-wallet-gas-card{margin-top:8px;padding:9px;border:1px solid rgba(232,251,255,.085);border-radius:10px;background:rgba(255,255,255,.025)}.nav-global-wallet .music-wallet-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.nav-global-wallet .music-wallet-section-title strong{font-size:10.5px}.nav-global-wallet .music-wallet-section-title button{border:0;background:transparent;color:#62ddff;font-size:9px;font-weight:750;cursor:pointer}.nav-global-wallet .music-wallet-list{display:grid;gap:5px}.nav-global-wallet .music-wallet-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:5px 0;border-top:1px solid rgba(255,255,255,.045);font-size:9.5px}.nav-global-wallet .music-wallet-list-row:first-child{border-top:0}.nav-global-wallet .music-wallet-list-row small{display:block;color:rgba(232,251,255,.5);margin-top:2px}.nav-global-wallet .music-wallet-empty{color:rgba(232,251,255,.48);font-size:9.5px}.nav-global-wallet .music-wallet-nft-summary{display:flex;align-items:center;gap:8px;color:rgba(232,251,255,.58);font-size:9.5px}.nav-global-wallet .music-wallet-nft-summary i{color:#8feeff;font-size:15px}
.nav-global-wallet .music-wallet-transaction-status{margin-top:8px;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid rgba(255,195,74,.26);border-radius:10px;background:rgba(255,195,74,.07);color:#ffd56a}.nav-global-wallet .music-wallet-transaction-status[hidden]{display:none}.nav-global-wallet .music-wallet-transaction-status span strong,.nav-global-wallet .music-wallet-transaction-status span small{display:block}.nav-global-wallet .music-wallet-transaction-status span strong{font-size:10px}.nav-global-wallet .music-wallet-transaction-status span small{margin-top:2px;font-size:8.5px;color:#ffe7ac}
.nav-global-wallet .music-wallet-gas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.nav-global-wallet .music-wallet-gas-grid span{padding:6px;border-radius:8px;background:rgba(0,0,0,.18);color:rgba(232,251,255,.54);font-size:8px}.nav-global-wallet .music-wallet-gas-grid strong{display:block;margin-top:2px;color:#fff;font-size:9px}.nav-global-wallet .music-wallet-footer-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:8px}.nav-global-wallet .music-wallet-footer-actions button{min-height:32px;padding:5px;border:1px solid rgba(232,251,255,.1);border-radius:9px;background:rgba(255,255,255,.03);color:#cfefff;font-size:8.5px;font-weight:750;cursor:pointer}.nav-global-wallet .music-wallet-footer-actions button i{margin-right:4px}
.nav-global-wallet .music-wallet-warning-card{margin-top:8px;padding:9px;border:1px solid rgba(255,195,74,.3);border-radius:10px;background:rgba(255,195,74,.08);color:#ffe6a3}.nav-global-wallet .music-wallet-warning-card strong,.nav-global-wallet .music-wallet-warning-card span{display:block}.nav-global-wallet .music-wallet-warning-card strong{font-size:10px}.nav-global-wallet .music-wallet-warning-card span{margin:4px 0;font-size:9px}.nav-global-wallet .music-wallet-warning-card button{border:0;border-radius:7px;padding:5px 8px;background:#037d9c;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
.paxor-wallet-action-modal{position:fixed;inset:0;z-index:100100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.68);backdrop-filter:blur(8px)}.paxor-wallet-action-modal[hidden]{display:none}.paxor-wallet-action-card{position:relative;width:min(420px,100%);padding:18px;border:1px solid rgba(6,217,255,.34);border-radius:16px;background:linear-gradient(180deg,rgba(6,171,212,.12),rgba(0,0,0,.04)),rgba(8,12,16,.99);color:#fff;box-shadow:0 18px 55px rgba(0,0,0,.62)}.paxor-wallet-action-close{position:absolute;top:10px;right:10px;width:30px;height:30px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.04);color:#fff;cursor:pointer}.paxor-wallet-action-card h3{margin:0 35px 12px 0;font-size:17px}.paxor-wallet-action-card p{color:#bdefff;font-size:12px;line-height:1.45}.paxor-wallet-receive-qr{width:190px;height:190px;margin:14px auto;padding:10px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center}.paxor-wallet-receive-address{padding:9px;border:1px solid rgba(6,217,255,.18);border-radius:9px;background:rgba(0,0,0,.2);overflow-wrap:anywhere;font-size:11px}.paxor-wallet-receive-warning{margin-top:10px;padding:9px;border:1px solid rgba(255,195,74,.28);border-radius:9px;background:rgba(255,195,74,.08);color:#ffe29a!important;font-weight:750}.paxor-wallet-action-primary{width:100%;min-height:38px;margin-top:10px;border:0;border-radius:10px;background:linear-gradient(90deg,#037d9c,#06abd4);color:#fff;font-weight:800;cursor:pointer}
@media(max-width:700px){.nav-global-wallet .music-wallet-details-panel{left:8px!important;right:8px!important;width:auto!important}.nav-global-wallet .music-wallet-footer-actions{grid-template-columns:1fr}.nav-global-wallet .music-wallet-gas-grid{grid-template-columns:1fr}}


/* =========================================================
   WALLET BADGE — WIDER METAMASK-LIKE PANEL
   ========================================================= */
.menu-left{padding-left:28px}
.nav-global-wallet{margin-left:16px}
.nav-global-wallet .music-wallet-details-panel{
    width:min(450px,calc(100vw - 24px));
    max-height:calc(100vh - 78px);
    padding:16px;
    overflow-y:auto;
    font-size:14px;
    scrollbar-width:thin;
}
.nav-global-wallet .music-wallet-details-header{padding-bottom:13px;margin-bottom:13px}
.nav-global-wallet .music-wallet-details-heading>i{width:38px;height:38px;font-size:17px}
.nav-global-wallet #music-wallet-name{font-size:12px;letter-spacing:.04em}
.nav-global-wallet #music-wallet-details-state{font-size:16px}
.nav-global-wallet .music-wallet-balance-card{padding:16px;border-radius:14px}
.nav-global-wallet .music-wallet-details-label{font-size:11px;letter-spacing:.08em}
.nav-global-wallet #music-wallet-native-balance{font-size:27px;line-height:1.15}
.nav-global-wallet #music-wallet-native-balance-usd{font-size:13px}
.nav-global-wallet .music-wallet-details-section,
.nav-global-wallet .music-wallet-mini-section,
.nav-global-wallet .music-wallet-gas-card{padding:14px;border-radius:13px}
.nav-global-wallet #music-wallet-details-address{font-size:13px;line-height:1.45}
.nav-global-wallet .music-wallet-link-btn{min-height:36px;font-size:12px}
.nav-global-wallet .music-wallet-quick-actions{gap:10px}
.nav-global-wallet .music-wallet-quick-actions button{min-height:58px;font-size:13px;border-radius:13px}
.nav-global-wallet .music-wallet-quick-actions button i{font-size:18px}
.nav-global-wallet .music-wallet-network-summary{min-height:60px;padding:10px 12px;border-radius:13px}
.nav-global-wallet .music-wallet-network-summary img{width:34px;height:34px}
.nav-global-wallet .music-wallet-network-summary strong{font-size:14px}
.nav-global-wallet .music-wallet-network-summary small{font-size:11px}
.nav-global-wallet .music-wallet-section-title strong{font-size:14px}
.nav-global-wallet .music-wallet-section-title button{font-size:11px}
.nav-global-wallet .music-wallet-list{font-size:13px}
.nav-global-wallet .music-wallet-footer-actions button{min-height:40px;font-size:12px}
.nav-global-wallet .music-wallet-security-note{font-size:11px;line-height:1.45}
@media(max-width:760px){
  .menu-left{padding-left:8px}
  .nav-global-wallet{margin-left:7px}
  .nav-global-wallet .music-wallet-details-panel{left:8px!important;right:8px!important;width:auto!important;padding:13px}
}


/* =========================================================
   RIGHT WALLET BUTTON + TWO-LEVEL WALLET DROPDOWN
   ========================================================= */

.nav-wallet-control {
    position: relative;
    flex: 0 0 auto;
}

.nav-wallet-control .wallet-menu-button {
    position: relative;
    width: 46px;
    height: 62px;
    border: 0;
    background: transparent;
    color: rgba(238, 244, 247, 0.78);
    cursor: pointer;
}

.nav-wallet-control .wallet-menu-button > i {
    font-size: 22px;
    transition: color .18s ease, filter .18s ease, transform .18s ease;
}

.nav-wallet-control .wallet-menu-button:hover > i,
.nav-wallet-control .wallet-menu-button.active > i {
    color: #ffffff;
    filter: drop-shadow(0 0 7px rgba(255,255,255,.35));
    transform: translateY(-1px);
}

.wallet-menu-status-dot {
    position: absolute;
    right: 7px;
    bottom: 10px;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(8, 14, 19, .98);
    border-radius: 50%;
    box-sizing: content-box;
    background: #d2a84d;
    box-shadow: 0 0 8px rgba(210,168,77,.72);
    pointer-events: none;
}

.wallet-menu-status-dot.connected {
    background: #40e895;
    box-shadow: 0 0 9px rgba(64,232,149,.85);
}

.wallet-menu-status-dot.disconnected {
    background: #d2a84d;
    box-shadow: 0 0 8px rgba(210,168,77,.72);
}

.wallet-menu-status-dot.error,
.wallet-menu-status-dot.locked {
    background: #ff6969;
    box-shadow: 0 0 9px rgba(255,105,105,.78);
}

.wallet-compact-dropdown {
    position: fixed;
    top: 68px;
    right: 236px;
    z-index: 1450;
    width: 390px;
    overflow: visible;
}

.wallet-compact-dropdown[hidden] {
    display: none !important;
}

.wallet-compact-dropdown .nav-global-wallet {
    position: relative;
    width: 100%;
    margin: 0;
    display: block;
}

.wallet-compact-dropdown .music-wallet-status {
    width: 100%;
    max-width: none;
    height: 50px;
    min-height: 50px;
    margin: 0;
    padding: 6px 8px 6px 10px;
    border-radius: 13px;
    box-shadow:
        0 0 20px rgba(6,217,255,.18),
        0 14px 36px rgba(0,0,0,.48),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.wallet-compact-dropdown .music-wallet-details-panel {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: auto;
    width: 450px;
    max-height: calc(100vh - 138px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 15px;
    border-radius: 16px;
}

.wallet-compact-dropdown .music-wallet-details-heading span {
    font-size: 10px;
}

.wallet-compact-dropdown .music-wallet-details-heading strong {
    font-size: 15px;
}

.wallet-compact-dropdown .music-wallet-balance-card strong {
    font-size: 25px;
}

.wallet-compact-dropdown .music-wallet-details-label,
.wallet-compact-dropdown .music-wallet-section-title,
.wallet-compact-dropdown .music-wallet-list,
.wallet-compact-dropdown .music-wallet-network-summary,
.wallet-compact-dropdown .music-wallet-footer-actions button {
    font-size: 12px;
}

.wallet-compact-dropdown .music-wallet-quick-actions button {
    min-height: 52px;
    font-size: 12px;
}

.wallet-compact-dropdown .music-wallet-details-address-row strong {
    font-size: 12px;
}

@media (max-width: 1450px) {
    .wallet-compact-dropdown {
        right: 190px;
    }
}

@media (max-width: 1100px) {
    .wallet-compact-dropdown {
        right: 126px;
        width: 360px;
    }

    .wallet-compact-dropdown .music-wallet-details-panel {
        width: 420px;
    }
}

@media (max-width: 760px) {
    .wallet-compact-dropdown {
        top: 66px;
        left: 8px;
        right: 8px;
        width: auto;
    }

    .wallet-compact-dropdown .music-wallet-details-panel {
        position: fixed;
        top: 126px;
        left: 8px;
        right: 8px;
        width: auto;
        max-height: calc(100vh - 136px);
    }
}


/* =========================================================
   WALLET BADGE FULL-WIDTH ALIGNMENT V2
   Compact badge and full panel share the same width/right edge
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 470px;
}

.wallet-compact-dropdown {
    top: 68px !important;
    right: 0 !important;
    left: auto !important;
    width: var(--paxor-wallet-panel-width) !important;
}

.wallet-compact-dropdown .nav-global-wallet {
    width: 100% !important;
}

.wallet-compact-dropdown .music-wallet-status {
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 7px 10px 7px 12px !important;
    border-radius: 15px 0 0 15px !important;
    border-right: 0 !important;
}

.wallet-compact-dropdown .music-wallet-details-panel {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
    border-radius: 16px 0 0 16px !important;
    border-right: 0 !important;
}

.wallet-compact-dropdown .music-wallet-details-trigger {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
}

.wallet-compact-dropdown .music-wallet-details-trigger > i {
    font-size: 18px !important;
}

.wallet-compact-dropdown #music-wallet-status-title {
    font-size: 11px !important;
}

.wallet-compact-dropdown #music-wallet-status-detail {
    font-size: 12px !important;
}

.wallet-compact-dropdown .music-network-trigger,
.wallet-compact-dropdown .music-connect-wallet-btn {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 11px !important;
}

.wallet-compact-dropdown .music-network-trigger img {
    width: 23px !important;
    height: 23px !important;
    flex-basis: 23px !important;
}

/* Status dot on the horizontal wallet icon exactly follows badge colors */
.wallet-menu-status-dot {
    width: 8px !important;
    height: 8px !important;
    right: 6px !important;
    bottom: 9px !important;
    border-width: 2px !important;
    background: #f2bd55 !important;
    box-shadow: 0 0 7px rgba(242,189,85,.70) !important;
}

.wallet-menu-status-dot.connected {
    background: #4df2a7 !important;
    box-shadow: 0 0 8px rgba(77,242,167,.78) !important;
}

.wallet-menu-status-dot.error,
.wallet-menu-status-dot.locked {
    background: #ff6b6b !important;
    box-shadow: 0 0 8px rgba(255,107,107,.72) !important;
}

.wallet-menu-status-dot.disconnected {
    background: #f2bd55 !important;
    box-shadow: 0 0 7px rgba(242,189,85,.70) !important;
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: calc(100vw - 8px);
    }

    .wallet-compact-dropdown {
        right: 0 !important;
        left: auto !important;
    }

    .wallet-compact-dropdown .music-wallet-status,
    .wallet-compact-dropdown .music-wallet-details-panel {
        border-radius: 14px 0 0 14px !important;
    }
}


/* =========================================================
   WALLET BADGE LAYOUT FIX V3
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 500px;
}

/* Прижимаем бейдж непосредственно к нижней границе nav */
.wallet-compact-dropdown {
    top: 62px !important;
    right: 0 !important;
    width: var(--paxor-wallet-panel-width) !important;
}

/* Полностью непрозрачный фон бейджа */
.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.error {
    min-height: 62px !important;
    height: 62px !important;
    padding: 8px 14px 8px 13px !important;

    background:
        linear-gradient(90deg, #0b2029 0%, #07171e 58%, #071116 100%) !important;

    border-color: rgba(6, 217, 255, 0.54) !important;
    border-right: 0 !important;
    border-radius: 0 0 0 15px !important;

    box-shadow:
        0 0 20px rgba(6, 217, 255, 0.20),
        0 13px 32px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Делаем блок сети длиннее, чтобы помещалось полное название */
.wallet-compact-dropdown .music-network-selector {
    flex: 0 0 190px !important;
    width: 190px !important;
}

.wallet-compact-dropdown .music-network-trigger {
    width: 190px !important;
    max-width: 190px !important;
    min-width: 190px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 5px 11px !important;
    justify-content: flex-start !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    display: block !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-size: 11px !important;
}

/* Кнопка Connect/Disconnect шире и немного отведена от полосы прокрутки */
.wallet-compact-dropdown .music-connect-wallet-btn {
    min-width: 104px !important;
    width: 104px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin-right: 8px !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
}

/* Список сетей прижат к правому краю и стал шире */
.wallet-compact-dropdown .music-network-menu {
    right: 0 !important;
    left: auto !important;
    width: 330px !important;
    max-width: 330px !important;
    top: calc(100% + 6px) !important;

    background:
        linear-gradient(180deg, #0c222b 0%, #07151b 100%) !important;

    border-right: 0 !important;
    border-radius: 14px 0 0 14px !important;
}

/* Полная панель почти вплотную к бейджу */
.wallet-compact-dropdown .music-wallet-details-panel {
    top: calc(100% + 2px) !important;
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;

    background:
        linear-gradient(180deg, #0b2029 0%, #07151b 100%) !important;

    border-right: 0 !important;
    border-radius: 0 0 0 16px !important;
}

/* КРУГЛЫЙ ИНДИКАТОР НА КНОПКЕ КОШЕЛЬКА.
   Общее правило .menu-item span скрывало его. */
.nav-wallet-control .wallet-menu-button .wallet-menu-status-dot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: absolute !important;
    right: 5px !important;
    bottom: 8px !important;
    z-index: 20 !important;

    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 2px solid #071116 !important;
    border-radius: 50% !important;

    transform: none !important;
    pointer-events: none !important;
}

/* Убираем tooltip-оформление с индикатора */
.nav-wallet-control .wallet-menu-button:hover .wallet-menu-status-dot {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 5px !important;
    bottom: 8px !important;

    min-width: 9px !important;
    width: 9px !important;
    height: 9px !important;

    padding: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
}

/* Цвета статуса */
.nav-wallet-control .wallet-menu-status-dot.connected {
    background: #45ed9e !important;
    box-shadow: 0 0 9px rgba(69, 237, 158, 0.88) !important;
}

.nav-wallet-control .wallet-menu-status-dot.disconnected {
    background: #f2bd55 !important;
    box-shadow: 0 0 8px rgba(242, 189, 85, 0.78) !important;
}

.nav-wallet-control .wallet-menu-status-dot.error,
.nav-wallet-control .wallet-menu-status-dot.locked {
    background: #ff6969 !important;
    box-shadow: 0 0 9px rgba(255, 105, 105, 0.80) !important;
}

@media (max-width: 1200px) {
    :root {
        --paxor-wallet-panel-width: 470px;
    }

    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
    }
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: 100vw;
    }

    .wallet-compact-dropdown {
        top: 62px !important;
        right: 0 !important;
        left: 0 !important;
    }

    .wallet-compact-dropdown .music-wallet-status {
        border-radius: 0 !important;
    }

    .wallet-compact-dropdown .music-wallet-details-panel {
        position: fixed !important;
        top: 124px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }

    .wallet-compact-dropdown .music-network-menu {
        position: fixed !important;
        top: 124px !important;
        right: 0 !important;
        left: auto !important;
        width: min(360px, 100vw) !important;
        max-width: min(360px, 100vw) !important;
    }
}


/* =========================================================
   WALLET DETAILS HEADER + BADGE BUTTONS REFINEMENT V4
   ========================================================= */

:root {
    --paxor-status-green: #18c888;
    --paxor-status-green-glow: rgba(24, 200, 136, 0.78);
}

/* Header styled like Contract Settings */
.wallet-compact-dropdown .music-wallet-details-header {
    position: relative;
    min-height: 76px;
    margin: -15px -15px 14px !important;
    padding: 14px 16px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border: 0 !important;
    border-bottom: 1px solid rgba(38, 217, 168, 0.42) !important;
    border-radius: 16px 0 0 0;

    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 54%),
        radial-gradient(circle at 76% 50%, rgba(24, 200, 136, 0.22), transparent 42%),
        linear-gradient(135deg, #073140 0%, #075469 55%, #0b6b66 100%);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wallet-compact-dropdown .music-wallet-details-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255,255,255,.07), transparent 36%),
        linear-gradient(90deg, transparent, rgba(24,200,136,.08));
}

.wallet-compact-dropdown .music-wallet-details-heading,
.wallet-compact-dropdown .music-wallet-header-actions {
    position: relative;
    z-index: 1;
}

/* Large wallet icon almost full header height */
.wallet-compact-dropdown .music-wallet-details-heading > i {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(38, 217, 168, 0.52);
    border-radius: 14px;

    background:
        linear-gradient(145deg, rgba(24,200,136,.24), rgba(3,125,156,.18)),
        rgba(5, 26, 34, 0.72);

    color: #baffdf !important;
    font-size: 25px !important;

    box-shadow:
        0 0 16px rgba(24, 200, 136, 0.18),
        inset 0 1px 0 rgba(255,255,255,.1);
}

.wallet-compact-dropdown #music-wallet-name {
    color: rgba(223, 255, 244, 0.76) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
}

.wallet-compact-dropdown #music-wallet-details-state {
    margin-top: 5px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Compact badge controls: equal width and slightly smaller */
.wallet-compact-dropdown .music-network-selector {
    flex: 0 0 154px !important;
    width: 154px !important;
}

.wallet-compact-dropdown .music-network-trigger,
.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 154px !important;
    min-width: 154px !important;
    max-width: 154px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
    font-size: 9.5px !important;
    border-radius: 10px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn {
    margin-right: 8px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    font-size: 9.5px !important;
    max-width: 102px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn span {
    display: inline-block !important;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Network dropdown touches badge but never overlaps */
.wallet-compact-dropdown .music-network-menu {
    top: 100% !important;
    margin-top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 330px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Address row uses only icon copy button */
.wallet-compact-dropdown .music-wallet-address-actions {
    justify-content: flex-end !important;
}

.wallet-compact-dropdown #music-wallet-explorer-link {
    min-width: 122px;
}

/* Remove circles/frames around copy and refresh icons */
.wallet-compact-dropdown .music-copy-wallet-address-btn,
.wallet-compact-dropdown .music-wallet-icon-btn {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wallet-compact-dropdown .music-copy-wallet-address-btn:hover,
.wallet-compact-dropdown .music-wallet-icon-btn:hover {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

/* New connected green color from uploaded NFT image */
.nav-global-wallet .music-wallet-status.connected .music-wallet-state-dot,
.nav-wallet-control .wallet-menu-status-dot.connected,
.nav-global-wallet .music-wallet-rpc-dot.online {
    background: var(--paxor-status-green) !important;
    box-shadow: 0 0 9px var(--paxor-status-green-glow) !important;
}

.nav-global-wallet .music-wallet-status.connected #music-wallet-status-detail {
    color: #62e8b7 !important;
}

/* Slightly more room for connected address text */
.wallet-compact-dropdown .music-wallet-status-text {
    flex: 1 1 auto !important;
    min-width: 70px !important;
}

.wallet-compact-dropdown .music-wallet-address-row {
    max-width: 112px !important;
}

@media (max-width: 1200px) {
    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger,
    .wallet-compact-dropdown .music-connect-wallet-btn {
        width: 138px !important;
        min-width: 138px !important;
        max-width: 138px !important;
    }

    .wallet-compact-dropdown #music-network-trigger-label {
        max-width: 88px !important;
    }
}


/* =========================================================
   SMART CONTRACTS HEADER + NETWORK PANEL FIX V5
   ========================================================= */

/* Список сетей открывается строго под всем бейджем,
   а не под кнопкой выбора сети */
.wallet-compact-dropdown .music-network-menu {
    position: fixed !important;

    top: 124px !important; /* 62px меню + 62px бейдж */
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
    max-height: calc(100vh - 132px) !important;

    margin: 0 !important;
    padding: 9px !important;

    overflow-y: auto !important;

    border: 1px solid rgba(6, 171, 212, 0.45) !important;
    border-right: 0 !important;
    border-radius: 0 0 0 16px !important;

    background: rgba(10, 14, 18, 1) !important;

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.52),
        0 0 20px rgba(6, 171, 212, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;

    z-index: 1600 !important;
}

/* Шапка один в один по принципу .card-header из Smart Contracts */
.wallet-compact-dropdown .music-wallet-details-header {
    position: relative !important;
    overflow: hidden !important;

    width: calc(100% + 30px) !important;
    min-height: 92px !important;

    margin: -15px -15px 17px !important;
    padding: 16px 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;

    border: 2px solid #037d9c !important;
    border-right: 0 !important;
    border-radius: 15px 0 0 15px !important;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.46),
            rgba(0, 0, 0, 0.14) 48%,
            rgba(0, 0, 0, 0.04)
        ),
        radial-gradient(
            circle at 78% 48%,
            rgba(3, 125, 156, 0.42),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(3, 125, 156, 0.38),
            rgba(4, 22, 32, 0.84)
        ) !important;

    box-shadow:
        0 0 16px rgba(3, 125, 156, 0.48),
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;

    box-sizing: border-box !important;
}

.wallet-compact-dropdown .music-wallet-details-header::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08),
            transparent 42%
        ),
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 255, 255, 0.12),
            transparent 32%
        ) !important;

    pointer-events: none !important;
}

.wallet-compact-dropdown .music-wallet-details-header::after {
    display: none !important;
}

/* Значок кошелька без рамки, фона, кружка и контейнера */
.wallet-compact-dropdown .music-wallet-details-heading > i {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #ffffff !important;
    font-size: 34px !important;

    text-shadow:
        0 0 9px rgba(255, 255, 255, 0.34),
        0 0 16px rgba(3, 125, 156, 0.48) !important;
}

/* Текст как Contract Settings / Choose a ready-to-use building block */
.wallet-compact-dropdown #music-wallet-name {
    margin: 0 0 6px !important;

    color: #ffffff !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48) !important;
}

.wallet-compact-dropdown #music-wallet-details-state {
    display: block !important;

    margin: 0 !important;

    color: #e8fbff !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

/* Немного увеличиваем иконки копирования и обновления */
.wallet-compact-dropdown .music-copy-wallet-address-btn {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;

    font-size: 17px !important;
}

.wallet-compact-dropdown .music-wallet-icon-btn {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;

    font-size: 18px !important;
}

.wallet-compact-dropdown .music-copy-wallet-address-btn i,
.wallet-compact-dropdown .music-wallet-icon-btn i {
    font-size: inherit !important;
}

/* На мобильном список сетей также начинается строго под бейджем */
@media (max-width: 760px) {
    .wallet-compact-dropdown .music-network-menu {
        position: fixed !important;

        top: 124px !important;
        right: 0 !important;
        left: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;
        max-height: calc(100vh - 124px) !important;

        border-right: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
    }

    .wallet-compact-dropdown .music-wallet-details-header {
        border-radius: 0 !important;
        border-right: 0 !important;
        border-left: 0 !important;
    }
}


/* =========================================================
   BADGE OPAQUE + SEAMLESS NETWORK + OUTLINE ICON V6
   ========================================================= */

/* Полностью сплошной фон бейджа без прозрачности */
.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.error,
.wallet-compact-dropdown .music-wallet-status.not-connected {
    background: #08171e !important;
    background-image: linear-gradient(
        90deg,
        #0b2631 0%,
        #091c24 48%,
        #07141a 100%
    ) !important;

    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Родитель списка сетей больше не является точкой позиционирования */
.wallet-compact-dropdown .music-network-selector {
    position: static !important;
}

/* Список сетей начинается ровно от нижней границы бейджа */
.wallet-compact-dropdown .music-network-menu {
    position: absolute !important;

    top: 100% !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    transform: none !important;

    border-top: 1px solid rgba(6, 171, 212, 0.45) !important;
    border-right: 0 !important;
    border-radius: 0 0 0 16px !important;

    background: #0a0e12 !important;
    background-image: linear-gradient(
        180deg,
        #0b1d25 0%,
        #090f14 100%
    ) !important;

    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    z-index: 1700 !important;
}

/* Полная панель также ближе к бейджу */
.wallet-compact-dropdown .music-wallet-details-panel {
    top: calc(100% + 1px) !important;
}

/* У шапки закруглены оба края */
.wallet-compact-dropdown .music-wallet-details-header {
    border-radius: 15px !important;
    border-right: 2px solid #037d9c !important;
}

/* Контурный белый значок кошелька с прозрачной серединой */
.wallet-compact-dropdown .music-wallet-details-heading > i {
    color: transparent !important;

    -webkit-text-stroke: 1.35px #ffffff !important;
    text-stroke: 1.35px #ffffff !important;

    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.30),
        0 0 13px rgba(3, 125, 156, 0.42) !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* На случай, если браузер плохо поддерживает text-stroke */
@supports not (-webkit-text-stroke: 1px #fff) {
    .wallet-compact-dropdown .music-wallet-details-heading > i {
        color: #ffffff !important;
        opacity: 0.88 !important;
    }
}

@media (max-width: 760px) {
    .wallet-compact-dropdown .music-network-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        border-radius: 0 !important;
    }

    .wallet-compact-dropdown .music-wallet-details-header {
        border-radius: 15px !important;
        border-left: 2px solid #037d9c !important;
        border-right: 2px solid #037d9c !important;
    }
}


/* =========================================================
   ASSETS + NFT + USD DISPLAY V7
   ========================================================= */

.nav-global-wallet #music-wallet-native-balance-usd {
    display: block;
    margin-top: 5px;
    color: #73e8bd;
    font-size: 12px;
    font-weight: 650;
}

.nav-global-wallet .music-wallet-assets-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 4px;
    padding: 7px 8px;

    border: 1px solid rgba(24, 200, 136, 0.18);
    border-radius: 8px;

    background: rgba(24, 200, 136, 0.055);
    color: rgba(232, 251, 255, 0.68);

    font-size: 10px;
}

.nav-global-wallet .music-wallet-assets-summary strong {
    color: #73e8bd;
    font-size: 12px;
}

.nav-global-wallet .music-wallet-asset-row {
    min-height: 44px;
}

.nav-global-wallet .music-wallet-asset-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.nav-global-wallet .music-wallet-asset-values strong {
    color: #ffffff;
    font-size: 10.5px;
}

.nav-global-wallet .music-wallet-asset-values small {
    margin-top: 3px;
    color: #73e8bd;
    font-size: 9.5px;
}

.nav-global-wallet .music-wallet-nft-summary {
    justify-content: space-between;
    min-height: 48px;
}

.nav-global-wallet .music-wallet-nft-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.nav-global-wallet .music-wallet-nft-count strong {
    color: #ffffff;
    font-size: 20px;
}

.nav-global-wallet .music-wallet-nft-count span {
    color: rgba(232, 251, 255, 0.62);
    font-size: 10px;
}

.nav-global-wallet .music-wallet-nft-thumbs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.nav-global-wallet .music-wallet-nft-thumb,
.nav-global-wallet .music-wallet-nft-fallback {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    border: 1px solid rgba(6, 217, 255, 0.28);
    border-radius: 8px;

    object-fit: cover;
    background: rgba(6, 171, 212, 0.08);
}

.nav-global-wallet .music-wallet-nft-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8feeff;
    font-size: 13px;
}


/* =========================================================
   WALLET READABILITY UPDATE V8
   Larger, cleaner typography for USD and assets
   ========================================================= */

.wallet-compact-dropdown,
.wallet-compact-dropdown button,
.wallet-compact-dropdown input,
.wallet-compact-dropdown select {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Native balance */
.wallet-compact-dropdown #music-wallet-native-balance {
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

/* USD value and current coin rate */
.wallet-compact-dropdown #music-wallet-native-balance-usd {
    margin-top: 7px !important;

    color: #79efc2 !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;
}

/* Section headings */
.wallet-compact-dropdown .music-wallet-section-title strong {
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.wallet-compact-dropdown .music-wallet-section-title button {
    color: #70ddff !important;

    font-size: 11.5px !important;
    font-weight: 700 !important;
}

/* Assets summary counter */
.wallet-compact-dropdown .music-wallet-assets-summary {
    min-height: 38px !important;
    padding: 9px 11px !important;

    font-size: 12px !important;
    line-height: 1.3 !important;
}

.wallet-compact-dropdown .music-wallet-assets-summary strong {
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Asset rows */
.wallet-compact-dropdown .music-wallet-asset-row {
    min-height: 56px !important;
    padding: 10px 8px !important;
}

.wallet-compact-dropdown .music-wallet-asset-row > span:first-child > strong {
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.wallet-compact-dropdown .music-wallet-asset-row > span:first-child > small {
    margin-top: 4px !important;

    color: rgba(232, 251, 255, 0.60) !important;

    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

/* Token/native amount on the right */
.wallet-compact-dropdown .music-wallet-asset-values strong {
    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.005em !important;
}

/* USD amount for each asset */
.wallet-compact-dropdown .music-wallet-asset-values small {
    margin-top: 5px !important;

    color: #79efc2 !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

/* General list readability */
.wallet-compact-dropdown .music-wallet-list-row {
    font-size: 12.5px !important;
}

.wallet-compact-dropdown .music-wallet-list-row strong {
    font-weight: 750 !important;
}

.wallet-compact-dropdown .music-wallet-list-row small {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
}

/* NFT count */
.wallet-compact-dropdown .music-wallet-nft-count strong {
    font-size: 24px !important;
    font-weight: 800 !important;
}

.wallet-compact-dropdown .music-wallet-nft-count span {
    font-size: 11.5px !important;
    font-weight: 600 !important;
}

/* Slightly more room between sections */
.wallet-compact-dropdown .music-wallet-mini-section {
    padding: 12px !important;
}

@media (max-width: 760px) {
    .wallet-compact-dropdown #music-wallet-native-balance {
        font-size: 25px !important;
    }

    .wallet-compact-dropdown #music-wallet-native-balance-usd {
        font-size: 13px !important;
    }

    .wallet-compact-dropdown .music-wallet-asset-values strong {
        font-size: 12.5px !important;
    }

    .wallet-compact-dropdown .music-wallet-asset-values small {
        font-size: 11.5px !important;
    }
}


/* =========================================================
   WALLET COMPACT WIDTH UPDATE V9
   Badge, main panel and network list share one compact width
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 440px;
}

/* Общая ширина бейджа */
.wallet-compact-dropdown {
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
}

/* Основная панель */
.wallet-compact-dropdown .music-wallet-details-panel {
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
}

/* Список сетей */
.wallet-compact-dropdown .music-network-menu {
    width: 100% !important;
    max-width: 100% !important;
}

/* Чуть компактнее внутренние горизонтальные элементы */
.wallet-compact-dropdown .music-wallet-status {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.wallet-compact-dropdown .music-network-selector {
    flex-basis: 138px !important;
    width: 138px !important;
}

.wallet-compact-dropdown .music-network-trigger,
.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    max-width: 86px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn span {
    max-width: 96px !important;
}

/* Адрес получает немного больше места */
.wallet-compact-dropdown .music-wallet-address-row {
    max-width: 126px !important;
}

@media (max-width: 1000px) {
    :root {
        --paxor-wallet-panel-width: 410px;
    }

    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger,
    .wallet-compact-dropdown .music-connect-wallet-btn {
        width: 126px !important;
        min-width: 126px !important;
        max-width: 126px !important;
    }

    .wallet-compact-dropdown #music-network-trigger-label {
        max-width: 76px !important;
    }
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: 100vw;
    }

    .wallet-compact-dropdown {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}


/* =========================================================
   WALLET WIDTH 400PX UPDATE V10
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 400px;
}

.wallet-compact-dropdown,
.wallet-compact-dropdown .music-wallet-details-panel {
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
}

.wallet-compact-dropdown .music-network-menu {
    width: 100% !important;
    max-width: 100% !important;
}

.wallet-compact-dropdown .music-network-selector,
.wallet-compact-dropdown .music-network-trigger,
.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    max-width: 70px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn span {
    max-width: 82px !important;
}

.wallet-compact-dropdown .music-wallet-address-row {
    max-width: 118px !important;
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: 100vw;
    }

    .wallet-compact-dropdown,
    .wallet-compact-dropdown .music-wallet-details-panel {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}


/* =========================================================
   WALLET WIDTH 380PX UPDATE V11
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 380px;
}

.wallet-compact-dropdown,
.wallet-compact-dropdown .music-wallet-details-panel {
    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
}

.wallet-compact-dropdown .music-network-menu {
    width: 100% !important;
    max-width: 100% !important;
}

.wallet-compact-dropdown .music-network-selector,
.wallet-compact-dropdown .music-network-trigger,
.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    max-width: 64px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn span {
    max-width: 76px !important;
}

.wallet-compact-dropdown .music-wallet-address-row {
    max-width: 108px !important;
}

.wallet-compact-dropdown .music-wallet-status {
    gap: 4px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: 100vw;
    }

    .wallet-compact-dropdown,
    .wallet-compact-dropdown .music-wallet-details-panel {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}


/* =========================================================
   PAXOR WALLET — OUTLINE ICON
   Возвращена исходная форма Font Awesome wallet.
   Иконка теперь контурная, без сплошной заливки.
   ========================================================= */

/* Общий контур для всех трёх значков кошелька */
.nav-wallet-control .wallet-menu-button > i.fa-wallet,
.nav-global-wallet .music-wallet-details-trigger > i.fa-wallet,
.music-wallet-details-heading > i.fa-wallet {
    color: transparent !important;

    -webkit-text-stroke:
        1.15px rgba(202, 208, 212, 0.76);

    text-shadow:
        0 0 1px rgba(202, 208, 212, 0.20);

    transition:
        -webkit-text-stroke-color 0.18s ease,
        text-shadow 0.18s ease,
        transform 0.18s ease,
        opacity 0.18s ease;

    opacity: 0.92;
}

/* ---------------------------------------------------------
   1. Horizontal menu button
   --------------------------------------------------------- */

.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    font-size: 25px;
}

.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet {
    -webkit-text-stroke-color: rgba(255, 255, 255, 1);

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.34);

    transform: scale(1.06);
    opacity: 1;
}

/* ---------------------------------------------------------
   2. Compact wallet badge trigger
   --------------------------------------------------------- */

.nav-global-wallet .music-wallet-details-trigger > i.fa-wallet {
    font-size: 20px;
}

.nav-global-wallet .music-wallet-details-trigger:hover > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-trigger[aria-expanded="true"] > i.fa-wallet {
    -webkit-text-stroke-color: rgba(255, 255, 255, 1);

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.32);

    transform: scale(1.05);
    opacity: 1;
}

/* ---------------------------------------------------------
   3. Large framed icon in Wallet Details
   --------------------------------------------------------- */

.music-wallet-details-heading > i.fa-wallet {
    -webkit-text-stroke:
        1.25px rgba(202, 208, 212, 0.76);

    font-size: 23px;
}

.music-wallet-details-heading:hover > i.fa-wallet {
    -webkit-text-stroke-color: rgba(255, 255, 255, 1);

    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.34);

    transform: translateY(-1px) scale(1.05);
    opacity: 1;
}

/* Если вокруг большого значка уже есть рамка — делаем её мягче */
.music-wallet-details-heading > i.fa-wallet {
    border-color: rgba(202, 208, 212, 0.34) !important;
}

.music-wallet-details-heading:hover > i.fa-wallet {
    border-color: rgba(255, 255, 255, 0.92) !important;
}

/* ---------------------------------------------------------
   Light theme
   --------------------------------------------------------- */

body.light-theme
.nav-wallet-control .wallet-menu-button > i.fa-wallet,
body.light-theme
.nav-global-wallet .music-wallet-details-trigger > i.fa-wallet,
body.light-theme
.music-wallet-details-heading > i.fa-wallet {
    -webkit-text-stroke-color: rgba(38, 45, 50, 0.68);

    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.10);
}

body.light-theme
.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
body.light-theme
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet,
body.light-theme
.nav-global-wallet .music-wallet-details-trigger:hover > i.fa-wallet,
body.light-theme
.nav-global-wallet
.music-wallet-details-trigger[aria-expanded="true"] > i.fa-wallet,
body.light-theme
.music-wallet-details-heading:hover > i.fa-wallet {
    -webkit-text-stroke-color: rgba(0, 0, 0, 1);

    text-shadow:
        0 0 5px rgba(0, 0, 0, 0.16);
}

/* Fallback для браузеров без text-stroke */
@supports not (-webkit-text-stroke: 1px #fff) {
    .nav-wallet-control .wallet-menu-button > i.fa-wallet,
    .nav-global-wallet .music-wallet-details-trigger > i.fa-wallet,
    .music-wallet-details-heading > i.fa-wallet {
        color: rgba(202, 208, 212, 0.76) !important;
        opacity: 0.78;
    }

    .nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
    .nav-wallet-control .wallet-menu-button.active > i.fa-wallet,
    .nav-global-wallet .music-wallet-details-trigger:hover > i.fa-wallet,
    .music-wallet-details-heading:hover > i.fa-wallet {
        color: #ffffff !important;
        opacity: 1;
    }
}


/* =========================================================
   WALLET ICON — FINAL HEADER + STATUS INDICATOR OVERRIDES
   ========================================================= */

/* ---------------------------------------------------------
   1. Horizontal menu wallet icon
   Transparent center, gray outline by default,
   maximum white outline on hover.
   --------------------------------------------------------- */

.nav-wallet-control .wallet-menu-button,
.nav-wallet-control .wallet-menu-button:hover,
.nav-wallet-control .wallet-menu-button.active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke:
        0.82px rgba(198, 204, 208, 0.82) !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    opacity: 1 !important;

    transition:
        -webkit-text-stroke-color 0.18s ease,
        transform 0.18s ease !important;
}

.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke-color: #ffffff !important;

    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    transform: translateY(-1px) scale(1.05) !important;
}

/* ---------------------------------------------------------
   2. Status dot slightly overlaps the wallet icon
   --------------------------------------------------------- */

.nav-wallet-control
.wallet-menu-button
.wallet-menu-status-dot,
.nav-wallet-control
.wallet-menu-button:hover
.wallet-menu-status-dot {
    top: auto !important;
    left: auto !important;

    right: 6px !important;
    bottom: 13px !important;

    z-index: 25 !important;

    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 2px solid #071116 !important;
    border-radius: 50% !important;

    transform: none !important;
    pointer-events: none !important;
}

/* ---------------------------------------------------------
   3. Full wallet panel header icon
   Always maximum white, no hover effect.
   --------------------------------------------------------- */

.wallet-compact-dropdown
.music-wallet-details-heading > i.fa-wallet,
.wallet-compact-dropdown
.music-wallet-details-heading:hover > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading:hover > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke:
        1px #ffffff !important;

    background: transparent !important;
    background-color: transparent !important;

    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Light theme:
   horizontal icon becomes black on hover,
   but the full wallet panel header remains white. */

body.light-theme
.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    -webkit-text-stroke-color:
        rgba(34, 39, 43, 0.72) !important;
}

body.light-theme
.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
body.light-theme
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet {
    -webkit-text-stroke-color: #000000 !important;
}

body.light-theme
.wallet-compact-dropdown
.music-wallet-details-heading > i.fa-wallet,
body.light-theme
.wallet-compact-dropdown
.music-wallet-details-heading:hover > i.fa-wallet,
body.light-theme
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading > i.fa-wallet,
body.light-theme
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading:hover > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke-color: #ffffff !important;

    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}


/* =========================================================
   WALLET BADGE — DARKER BACKGROUND, CLEAN ICON, TOOLTIP FIX
   ========================================================= */

/* ---------------------------------------------------------
   1. Slightly darker compact wallet badge background
   --------------------------------------------------------- */

.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.not-connected,
.wallet-compact-dropdown .music-wallet-status.error {
    background:
        linear-gradient(
            90deg,
            #081820 0%,
            #040f14 58%,
            #02090d 100%
        ) !important;

    box-shadow:
        0 0 18px rgba(6, 217, 255, 0.14),
        0 13px 32px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

/* ---------------------------------------------------------
   2. Remove every frame/background around wallet icon
      inside the compact badge
   --------------------------------------------------------- */

.wallet-compact-dropdown .music-wallet-details-trigger,
.wallet-compact-dropdown .music-wallet-details-trigger:hover,
.wallet-compact-dropdown
.music-wallet-details-trigger[aria-expanded="true"],
.nav-global-wallet .music-wallet-details-trigger,
.nav-global-wallet .music-wallet-details-trigger:hover,
.nav-global-wallet
.music-wallet-details-trigger[aria-expanded="true"] {
    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-color: transparent !important;

    box-shadow: none !important;
    outline: none !important;

    transform: none !important;
}

/* Keep only the icon itself interactive */
.wallet-compact-dropdown .music-wallet-details-trigger > i.fa-wallet,
.nav-global-wallet .music-wallet-details-trigger > i.fa-wallet {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

/* ---------------------------------------------------------
   3. Larger icon in the full wallet panel header
   --------------------------------------------------------- */

.wallet-compact-dropdown
.music-wallet-details-heading > i.fa-wallet,
.wallet-compact-dropdown
.music-wallet-details-heading:hover > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading:hover > i.fa-wallet {
    font-size: 29px !important;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 1px #ffffff !important;

    transform: none !important;
    transition: none !important;
}

/* ---------------------------------------------------------
   4. Horizontal menu tooltips above opened wallet panel
   --------------------------------------------------------- */

/* Center menu is painted above the wallet dropdown */
nav > .menu-center {
    z-index: 1700 !important;
}

/* Hovered right-side controls rise above the wallet panel */
nav > .menu-right {
    z-index: 1600 !important;
}

nav > .menu-right > li {
    position: relative;
}

nav > .menu-right > li:hover,
nav > .menu-right > li:focus-within {
    z-index: 1900 !important;
}

/* All menu tooltip texts stay above the wallet frame */
.menu-item:hover span,
.calculator-menu-button:hover .calculator-tooltip,
.notification-button:hover .notification-tooltip,
.menu-toggle-btn:hover .menu-tooltip {
    z-index: 2200 !important;
}

/* Wallet status dot is not treated as a tooltip */
.nav-wallet-control
.wallet-menu-button:hover
.wallet-menu-status-dot {
    z-index: 25 !important;
}

/* Mobile: no stacking jump needed when center menu is hidden */
@media (max-width: 760px) {
    nav > .menu-center {
        z-index: 2 !important;
    }
}


/* =========================================================
   WALLET PANEL CORNER + BADGE ICON TRANSPARENCY FIX
   ========================================================= */

/* ---------------------------------------------------------
   1. Full wallet panel:
   remove the visible top-right corner near the header.
   --------------------------------------------------------- */

.wallet-compact-dropdown .music-wallet-details-panel {
    overflow: hidden !important;
}

.wallet-compact-dropdown .music-wallet-details-header {
    width: auto !important;
    min-height: 92px !important;

    margin: -15px -15px 17px !important;
    padding: 16px 22px !important;

    border: 2px solid #037d9c !important;
    border-bottom: 1px solid rgba(3, 125, 156, 0.68) !important;
    border-radius: 13px 13px 0 0 !important;

    box-sizing: border-box !important;
}

/* Slightly soften the far right edge so the corner never peeks out */
.wallet-compact-dropdown .music-wallet-details-header::before {
    border-radius: 13px 13px 0 0 !important;
}

.wallet-compact-dropdown .music-wallet-details-header::after {
    display: none !important;
}

/* ---------------------------------------------------------
   2. Compact badge wallet icon:
   true transparent center, no gray backing at all.
   --------------------------------------------------------- */

.wallet-compact-dropdown .music-wallet-details-trigger,
.wallet-compact-dropdown .music-wallet-details-trigger:hover,
.wallet-compact-dropdown .music-wallet-details-trigger:focus,
.wallet-compact-dropdown .music-wallet-details-trigger[aria-expanded="true"],
.nav-global-wallet .music-wallet-details-trigger,
.nav-global-wallet .music-wallet-details-trigger:hover,
.nav-global-wallet .music-wallet-details-trigger:focus,
.nav-global-wallet .music-wallet-details-trigger[aria-expanded="true"] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
}

/* Icon only: thin gray outline, transparent fill */
.wallet-compact-dropdown .music-wallet-details-trigger > i.fa-wallet,
.nav-global-wallet .music-wallet-details-trigger > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke: 0.74px rgba(205, 211, 215, 0.88) !important;

    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    border: 0 !important;

    opacity: 1 !important;
}

/* Hover: contour becomes clean white, still with no background */
.wallet-compact-dropdown .music-wallet-details-trigger:hover > i.fa-wallet,
.wallet-compact-dropdown .music-wallet-details-trigger[aria-expanded="true"] > i.fa-wallet,
.nav-global-wallet .music-wallet-details-trigger:hover > i.fa-wallet,
.nav-global-wallet .music-wallet-details-trigger[aria-expanded="true"] > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke-color: #ffffff !important;

    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}

/* Also keep the full panel header icon slightly larger as requested */
.wallet-compact-dropdown .music-wallet-details-heading > i.fa-wallet,
.wallet-compact-dropdown .music-wallet-details-heading:hover > i.fa-wallet,
.nav-global-wallet .music-wallet-details-panel .music-wallet-details-heading > i.fa-wallet,
.nav-global-wallet .music-wallet-details-panel .music-wallet-details-heading:hover > i.fa-wallet {
    font-size: 31px !important;
}


/* =========================================================
   WALLET HEADER — LARGER ICON + HIDDEN LOWER FRAME CORNERS
   ========================================================= */

/* Нижняя рамка больше не имеет верхней границы:
   возле закруглений шапки нечему выглядывать */
.wallet-compact-dropdown .music-wallet-details-panel {
    border-top: 0 !important;
    border-top-left-radius: 13px !important;
    border-top-right-radius: 13px !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* Шапка полностью закрывает верх панели */
.wallet-compact-dropdown .music-wallet-details-header {
    width: calc(100% + 30px) !important;
    margin: -15px -15px 17px !important;

    border: 2px solid #037d9c !important;
    border-radius: 13px 13px 0 0 !important;

    background-clip: padding-box !important;
    overflow: hidden !important;
}

/* Убираем даже возможную тонкую линию нижней панели
   под верхними углами шапки */
.wallet-compact-dropdown .music-wallet-details-panel::before,
.wallet-compact-dropdown .music-wallet-details-panel::after {
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Значок кошелька в шапке делаем заметно крупнее */
.wallet-compact-dropdown
.music-wallet-details-heading > i.fa-wallet,
.wallet-compact-dropdown
.music-wallet-details-heading:hover > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading > i.fa-wallet,
.nav-global-wallet
.music-wallet-details-panel
.music-wallet-details-heading:hover > i.fa-wallet {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 39px !important;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 1.05px #ffffff !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    transform: none !important;
    transition: none !important;
}

/* Немного увеличиваем расстояние между значком и текстом */
.wallet-compact-dropdown .music-wallet-details-heading {
    gap: 14px !important;
}


/* =========================================================
   WALLET DETAILS PANEL — RESTORE SCROLLING
   ========================================================= */

/* Возвращаем вертикальную прокрутку.
   Верхние углы теперь формирует сама шапка, а не нижняя панель. */
.wallet-compact-dropdown .music-wallet-details-panel {
    overflow-x: hidden !important;
    overflow-y: auto !important;

    border-top: 0 !important;
    border-radius: 0 0 13px 13px !important;

    clip-path: none !important;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(6, 217, 255, 0.46)
        rgba(255, 255, 255, 0.055);
}

/* Шапка остаётся поверх боковых границ панели */
.wallet-compact-dropdown .music-wallet-details-header {
    position: relative !important;
    z-index: 3 !important;

    overflow: hidden !important;
    border-radius: 13px 13px 0 0 !important;
}

/* WebKit scrollbar */
.wallet-compact-dropdown .music-wallet-details-panel::-webkit-scrollbar {
    width: 8px;
}

.wallet-compact-dropdown .music-wallet-details-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.055);
}

.wallet-compact-dropdown .music-wallet-details-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(6, 217, 255, 0.42);
}

.wallet-compact-dropdown .music-wallet-details-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 217, 255, 0.62);
}


/* =========================================================
   WALLET LOWER FRAME — ROUNDED TOP CORNERS
   Прокрутка сохраняется, выступающий угол нижней рамки скрыт.
   ========================================================= */

.wallet-compact-dropdown .music-wallet-details-panel {
    overflow-x: hidden !important;
    overflow-y: auto !important;

    border-top-color: transparent !important;
    border-top-left-radius: 13px !important;
    border-top-right-radius: 13px !important;
    border-bottom-left-radius: 13px !important;
    border-bottom-right-radius: 13px !important;

    background-clip: padding-box !important;

    /* Закругляет фактический внешний край, не отключая scroll */
    clip-path: inset(0 round 13px) !important;
}

/* Шапка совпадает с закруглением нижней рамки */
.wallet-compact-dropdown .music-wallet-details-header {
    width: calc(100% + 30px) !important;
    margin: -15px -15px 17px !important;

    border-radius: 13px 13px 0 0 !important;
    background-clip: padding-box !important;

    position: relative !important;
    z-index: 4 !important;
}

/* Убираем возможную линию рамки прямо под углами шапки */
.wallet-compact-dropdown .music-wallet-details-panel::before,
.wallet-compact-dropdown .music-wallet-details-panel::after {
    border-top-left-radius: 13px !important;
    border-top-right-radius: 13px !important;
    border-top-color: transparent !important;
}


/* =========================================================
   HORIZONTAL MENU — ENVELOPE OUTLINE ICON
   Толщина и цвет как у контурного значка кошелька.
   ========================================================= */

.notification-button,
.notification-button:hover,
.notification-button.active,
.notification-button:focus,
.notification-button:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Контурный конверт без сплошной заливки */
.notification-button > i,
.notification-button > i.fa-envelope,
.notification-button > i.fa-envelope-open,
.notification-button > i.fa-message {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke:
        0.82px rgba(198, 204, 208, 0.82) !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    opacity: 1 !important;

    transition:
        -webkit-text-stroke-color 0.18s ease,
        transform 0.18s ease !important;
}

/* При наведении — максимально белый, не голубой */
.notification-button:hover > i,
.notification-button.active > i,
.notification-button:focus-visible > i {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke-color: #ffffff !important;

    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    transform: scale(1.05) !important;
}

/* Переопределяем старый голубой hover */
.notification-button:hover,
.notification-button.active,
body.light-theme .notification-button:hover,
body.light-theme .notification-button.active,
.light-theme .notification-button:hover,
.light-theme .notification-button.active {
    color: inherit !important;
}

/* Светлая тема — как у значка кошелька */
body.light-theme .notification-button > i,
.light-theme .notification-button > i {
    -webkit-text-stroke-color:
        rgba(34, 39, 43, 0.72) !important;
}

body.light-theme .notification-button:hover > i,
body.light-theme .notification-button.active > i,
.light-theme .notification-button:hover > i,
.light-theme .notification-button.active > i {
    -webkit-text-stroke-color: #000000 !important;
}


/* =========================================================
   HORIZONTAL MENU — ENVELOPE SINGLE CONTOUR FIX
   Убирает двойную обводку с regular-иконки конверта.
   ========================================================= */

.music-messages-menu-button > i.fa-envelope,
.music-messages-menu-button:hover > i.fa-envelope,
.music-messages-menu-button.active > i.fa-envelope,
.music-messages-menu-button:focus-visible > i.fa-envelope {
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;

    -webkit-text-fill-color: currentColor !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;

    opacity: 1 !important;

    transition:
        color 0.18s ease,
        transform 0.18s ease !important;
}

/* Одна тонкая серовато-белая линия */
.music-messages-menu-button > i.fa-envelope {
    color: rgba(198, 204, 208, 0.82) !important;
}

/* При наведении — чисто белый */
.music-messages-menu-button:hover > i.fa-envelope,
.music-messages-menu-button.active > i.fa-envelope,
.music-messages-menu-button:focus-visible > i.fa-envelope {
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Светлая тема */
body.light-theme
.music-messages-menu-button > i.fa-envelope,
.light-theme
.music-messages-menu-button > i.fa-envelope {
    color: rgba(34, 39, 43, 0.72) !important;
}

body.light-theme
.music-messages-menu-button:hover > i.fa-envelope,
body.light-theme
.music-messages-menu-button.active > i.fa-envelope,
.light-theme
.music-messages-menu-button:hover > i.fa-envelope,
.light-theme
.music-messages-menu-button.active > i.fa-envelope {
    color: #000000 !important;
}


/* =========================================================
   HORIZONTAL MENU — ULTRA-THIN SVG ENVELOPE
   Одна чистая тонкая линия без Font Awesome.
   ========================================================= */

.music-messages-menu-button {
    color: rgba(198, 204, 208, 0.82) !important;
}

.music-messages-menu-button:hover,
.music-messages-menu-button.active,
.music-messages-menu-button:focus-visible {
    color: #ffffff !important;
}

.music-messages-menu-button .music-envelope-icon {
    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;

    display: block !important;
    overflow: visible !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.25 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;

    pointer-events: none !important;

    transition:
        color 0.18s ease,
        transform 0.18s ease !important;
}

.music-messages-menu-button:hover .music-envelope-icon,
.music-messages-menu-button.active .music-envelope-icon,
.music-messages-menu-button:focus-visible .music-envelope-icon {
    transform: scale(1.05) !important;
}

/* Старую Font Awesome-иконку в этой кнопке не показываем,
   если она случайно осталась в кэше или другом шаблоне */
.music-messages-menu-button > i.fa-envelope {
    display: none !important;
}

/* Светлая тема */
body.light-theme .music-messages-menu-button,
.light-theme .music-messages-menu-button {
    color: rgba(34, 39, 43, 0.72) !important;
}

body.light-theme .music-messages-menu-button:hover,
body.light-theme .music-messages-menu-button.active,
.light-theme .music-messages-menu-button:hover,
.light-theme .music-messages-menu-button.active {
    color: #000000 !important;
}


/* =========================================================
   HORIZONTAL MENU — VISIBLE THIN ENVELOPE
   Работает и со старым menu.html, и с новым SVG-вариантом.
   ========================================================= */

.music-messages-menu-button {
    position: relative !important;
    color: rgba(198, 204, 208, 0.82) !important;
}

/* Скрываем обе возможные старые версии значка */
.music-messages-menu-button > i.fa-envelope,
.music-messages-menu-button > .music-envelope-icon {
    display: none !important;
}

/* Рисуем конверт независимо от HTML */
.music-messages-menu-button::before {
    content: "" !important;

    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;

    display: block !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.25' y='5.75' width='17.5' height='12.5' rx='2.15' fill='none' stroke='black' stroke-width='1.22' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.25 7.2 12 13.15 19.75 7.2' fill='none' stroke='black' stroke-width='1.22' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.25' y='5.75' width='17.5' height='12.5' rx='2.15' fill='none' stroke='black' stroke-width='1.22' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.25 7.2 12 13.15 19.75 7.2' fill='none' stroke='black' stroke-width='1.22' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;

    -webkit-mask-size: contain !important;
    mask-size: contain !important;

    opacity: 1 !important;
    pointer-events: none !important;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease !important;
}

/* При наведении — максимально белый */
.music-messages-menu-button:hover,
.music-messages-menu-button.active,
.music-messages-menu-button:focus-visible {
    color: #ffffff !important;
}

.music-messages-menu-button:hover::before,
.music-messages-menu-button.active::before,
.music-messages-menu-button:focus-visible::before {
    transform: scale(1.05) !important;
}

/* Светлая тема */
body.light-theme .music-messages-menu-button,
.light-theme .music-messages-menu-button {
    color: rgba(34, 39, 43, 0.72) !important;
}

body.light-theme .music-messages-menu-button:hover,
body.light-theme .music-messages-menu-button.active,
.light-theme .music-messages-menu-button:hover,
.light-theme .music-messages-menu-button.active {
    color: #000000 !important;
}


/* =========================================================
   RIGHT HORIZONTAL MENU — UNIFIED THIN OUTLINE ICONS
   Конверт / калькулятор / аккаунт / три точки
   ========================================================= */

:root {
    --paxor-top-icon-color: rgba(198, 204, 208, 0.82);
    --paxor-top-icon-hover: #ffffff;
}

body.light-theme {
    --paxor-top-icon-color: rgba(34, 39, 43, 0.72);
    --paxor-top-icon-hover: #000000;
}

/* ---------------------------------------------------------
   Общий цвет правых контурных значков
   --------------------------------------------------------- */

.music-messages-menu-button,
.calculator-menu-button,
.menu-toggle-btn,
#account-button {
    color: var(--paxor-top-icon-color) !important;
}

.music-messages-menu-button:hover,
.music-messages-menu-button.active,
.music-messages-menu-button:focus-visible,
.calculator-menu-button:hover,
.calculator-menu-button.active,
.calculator-menu-button:focus-visible,
.menu-toggle-btn:hover,
.menu-toggle-btn.active,
.menu-toggle-btn:focus-visible,
#account-button:hover,
#account-button.active,
#account-button:focus-visible {
    color: var(--paxor-top-icon-hover) !important;
}

/* ---------------------------------------------------------
   1. Конверт — увеличен до размера остальных значков
   --------------------------------------------------------- */

.music-messages-menu-button::before {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.9' y='5.3' width='18.2' height='13.4' rx='2.25' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 6.9 12 13.15 20 6.9' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.9' y='5.3' width='18.2' height='13.4' rx='2.25' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 6.9 12 13.15 20 6.9' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* ---------------------------------------------------------
   2. Калькулятор — тонкий контур вместо залитой FA-иконки
   --------------------------------------------------------- */

.calculator-menu-button > i {
    display: none !important;
}

.calculator-menu-button::before {
    content: "" !important;

    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;

    display: block !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2.8' width='16' height='18.4' rx='2.5' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='6.6' y='5.4' width='10.8' height='3.5' rx='0.8' fill='none' stroke='black' stroke-width='1.08'/%3E%3Ccircle cx='7.4' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='12' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='16.6' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='7.4' cy='16.6' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='12' cy='16.6' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Crect x='15.7' y='15.7' width='1.8' height='1.8' rx='0.45' fill='none' stroke='black' stroke-width='1.05'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2.8' width='16' height='18.4' rx='2.5' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='6.6' y='5.4' width='10.8' height='3.5' rx='0.8' fill='none' stroke='black' stroke-width='1.08'/%3E%3Ccircle cx='7.4' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='12' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='16.6' cy='12.1' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='7.4' cy='16.6' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Ccircle cx='12' cy='16.6' r='0.75' fill='none' stroke='black' stroke-width='1.05'/%3E%3Crect x='15.7' y='15.7' width='1.8' height='1.8' rx='0.45' fill='none' stroke='black' stroke-width='1.05'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;

    pointer-events: none !important;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease !important;
}

.calculator-menu-button:hover::before,
.calculator-menu-button.active::before,
.calculator-menu-button:focus-visible::before {
    transform: scale(1.05) !important;
}

/* ---------------------------------------------------------
   3. Три точки — три тонких контурных кружка
   --------------------------------------------------------- */

.menu-toggle-btn > i {
    display: none !important;
}

.menu-toggle-btn::before {
    content: "" !important;

    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;

    display: block !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='18.5' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='18.5' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;

    pointer-events: none !important;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease !important;
}

.menu-toggle-btn:hover::before,
.menu-toggle-btn.active::before,
.menu-toggle-btn:focus-visible::before {
    transform: scale(1.05) !important;
}

/* ---------------------------------------------------------
   4. Аккаунт — контурный пользователь вместо залитой картинки
   Только когда используется стандартный account.png/account2.png.
   Настоящий пользовательский аватар не меняется.
   --------------------------------------------------------- */

#account-button:has(> img.account-avatar[src*="account.png"])
> img.account-avatar,
#account-button:has(> img.account-avatar[src*="account2.png"])
> img.account-avatar {
    display: none !important;
}

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    content: "" !important;

    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;

    display: block !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.3' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.3 20c.55-4.15 3.1-6.35 6.7-6.35s6.15 2.2 6.7 6.35' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.3' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.3 20c.55-4.15 3.1-6.35 6.7-6.35s6.15 2.2 6.7 6.35' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;

    pointer-events: none !important;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease !important;
}

#account-button:has(> img.account-avatar[src*="account.png"]):hover::before,
#account-button:has(> img.account-avatar[src*="account2.png"]):hover::before,
#account-button.active:has(> img.account-avatar[src*="account.png"])::before,
#account-button.active:has(> img.account-avatar[src*="account2.png"])::before {
    transform: scale(1.05) !important;
}

/* Маленькая стрелка аккаунта — без сплошной тёмной заливки */
#account-button::after,
#account-button:hover::after,
#account-button.active::after {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;

    border-color: var(--paxor-top-icon-color) !important;
    color: var(--paxor-top-icon-color) !important;
}

#account-button:hover::after,
#account-button.active::after {
    border-color: var(--paxor-top-icon-hover) !important;
    color: var(--paxor-top-icon-hover) !important;
}

/* Убираем старый голубой hover у калькулятора и меню */
.calculator-menu-button:hover,
.calculator-menu-button.active,
.menu-toggle-btn:hover,
.menu-toggle-btn.active {
    color: var(--paxor-top-icon-hover) !important;
}


/* =========================================================
   RIGHT MENU — ACTIVE WHITE + LARGER ACCOUNT ICON
   ========================================================= */

/* ---------------------------------------------------------
   1. Активный/нажатый значок остаётся максимально белым
   --------------------------------------------------------- */

.music-messages-menu-button.active,
.music-messages-menu-button[aria-expanded="true"],
.calculator-menu-button.active,
.calculator-menu-button[aria-expanded="true"],
.menu-toggle-btn.active,
.menu-toggle-btn[aria-expanded="true"],
#account-button.active,
#account-button[aria-expanded="true"] {
    color: #ffffff !important;
}

/* Активный конверт */
.music-messages-menu-button.active::before,
.music-messages-menu-button[aria-expanded="true"]::before {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Активный калькулятор */
.calculator-menu-button.active::before,
.calculator-menu-button[aria-expanded="true"]::before {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Активное меню с тремя точками */
.menu-toggle-btn.active::before,
.menu-toggle-btn[aria-expanded="true"]::before {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Активный стандартный значок аккаунта */
#account-button.active::before,
#account-button[aria-expanded="true"]::before {
    background-color: #ffffff !important;
}

/* Активная стрелка аккаунта */
#account-button.active::after,
#account-button[aria-expanded="true"]::after {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ---------------------------------------------------------
   2. Значок аккаунта крупнее остальных
   --------------------------------------------------------- */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
}

/* Немного расширяем место под увеличенный значок */
.nav-account .menu-item,
#account-button {
    width: 56px !important;
}

/* Стрелка не перекрывает увеличенный значок */
#account-button::after {
    right: 1px !important;
    bottom: 7px !important;
}

/* ---------------------------------------------------------
   3. Светлая тема — активные значки чёрные
   --------------------------------------------------------- */

body.light-theme .music-messages-menu-button.active,
body.light-theme .music-messages-menu-button[aria-expanded="true"],
body.light-theme .calculator-menu-button.active,
body.light-theme .calculator-menu-button[aria-expanded="true"],
body.light-theme .menu-toggle-btn.active,
body.light-theme .menu-toggle-btn[aria-expanded="true"],
body.light-theme #account-button.active,
body.light-theme #account-button[aria-expanded="true"],
.light-theme .music-messages-menu-button.active,
.light-theme .music-messages-menu-button[aria-expanded="true"],
.light-theme .calculator-menu-button.active,
.light-theme .calculator-menu-button[aria-expanded="true"],
.light-theme .menu-toggle-btn.active,
.light-theme .menu-toggle-btn[aria-expanded="true"],
.light-theme #account-button.active,
.light-theme #account-button[aria-expanded="true"] {
    color: #000000 !important;
}

body.light-theme .music-messages-menu-button.active::before,
body.light-theme .music-messages-menu-button[aria-expanded="true"]::before,
body.light-theme .calculator-menu-button.active::before,
body.light-theme .calculator-menu-button[aria-expanded="true"]::before,
body.light-theme .menu-toggle-btn.active::before,
body.light-theme .menu-toggle-btn[aria-expanded="true"]::before,
body.light-theme #account-button.active::before,
body.light-theme #account-button[aria-expanded="true"]::before,
.light-theme .music-messages-menu-button.active::before,
.light-theme .music-messages-menu-button[aria-expanded="true"]::before,
.light-theme .calculator-menu-button.active::before,
.light-theme .calculator-menu-button[aria-expanded="true"]::before,
.light-theme .menu-toggle-btn.active::before,
.light-theme .menu-toggle-btn[aria-expanded="true"]::before,
.light-theme #account-button.active::before,
.light-theme #account-button[aria-expanded="true"]::before {
    background-color: #000000 !important;
}

body.light-theme #account-button.active::after,
body.light-theme #account-button[aria-expanded="true"]::after,
.light-theme #account-button.active::after,
.light-theme #account-button[aria-expanded="true"]::after {
    color: #000000 !important;
    border-color: #000000 !important;
}


/* =========================================================
   RIGHT MENU — REAL OPEN STATE + BIGGER ACCOUNT PROPORTIONS
   ========================================================= */

/* ---------------------------------------------------------
   1. Конверт остаётся белым, пока popover действительно открыт
   --------------------------------------------------------- */

.music-messages-top:has(#music-messages-popover:not([hidden]))
.music-messages-menu-button {
    color: #ffffff !important;
}

.music-messages-top:has(#music-messages-popover:not([hidden]))
.music-messages-menu-button::before {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* ---------------------------------------------------------
   2. Три точки остаются белыми, пока verticalMenu открыт
   --------------------------------------------------------- */

body:has(#verticalMenu.open) #toggleMenu,
body:has(.vertical-menu.open) .menu-toggle-btn {
    color: #ffffff !important;
}

body:has(#verticalMenu.open) #toggleMenu::before,
body:has(.vertical-menu.open) .menu-toggle-btn::before {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* ---------------------------------------------------------
   3. Аккаунт — больше значок и более крупная голова
   --------------------------------------------------------- */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;

    background-color: currentColor !important;

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.4' r='4.15' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.6 20c.5-3.95 2.45-5.9 5.4-5.9s4.9 1.95 5.4 5.9' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.4' r='4.15' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.6 20c.5-3.95 2.45-5.9 5.4-5.9s4.9 1.95 5.4 5.9' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Даём крупному значку достаточно места */
.nav-account .menu-item,
#account-button {
    width: 64px !important;
}

/* Стрелку отводим дальше от крупного значка */
#account-button::after {
    right: 0 !important;
    bottom: 6px !important;
}

/* Аккаунт остаётся белым по фактически открытому меню */
body:has(#account-menu.open) #account-button {
    color: #ffffff !important;
}

body:has(#account-menu.open)
#account-button:has(> img.account-avatar[src*="account.png"])::before,
body:has(#account-menu.open)
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    background-color: #ffffff !important;
    transform: scale(1.04) !important;
}

body:has(#account-menu.open) #account-button::after {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ---------------------------------------------------------
   4. Светлая тема
   --------------------------------------------------------- */

body.light-theme
.music-messages-top:has(#music-messages-popover:not([hidden]))
.music-messages-menu-button,
body.light-theme:has(#verticalMenu.open) #toggleMenu,
body.light-theme:has(.vertical-menu.open) .menu-toggle-btn,
body.light-theme:has(#account-menu.open) #account-button {
    color: #000000 !important;
}

body.light-theme
.music-messages-top:has(#music-messages-popover:not([hidden]))
.music-messages-menu-button::before,
body.light-theme:has(#verticalMenu.open) #toggleMenu::before,
body.light-theme:has(.vertical-menu.open) .menu-toggle-btn::before,
body.light-theme:has(#account-menu.open)
#account-button:has(> img.account-avatar[src*="account.png"])::before,
body.light-theme:has(#account-menu.open)
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    background-color: #000000 !important;
}

body.light-theme:has(#account-menu.open) #account-button::after {
    color: #000000 !important;
    border-color: #000000 !important;
}


/* =========================================================
   ACCOUNT ICON — PROPORTION ADJUSTMENT
   Голова немного меньше, туловище крупнее.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.3' r='3.65' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.45 20.25c.55-4.45 2.95-6.55 6.55-6.55s6 2.1 6.55 6.55' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.3' r='3.65' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.45 20.25c.55-4.45 2.95-6.55 6.55-6.55s6 2.1 6.55 6.55' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* =========================================================
   ACCOUNT ICON — SLIGHTLY LARGER HEAD
   Небольшая финальная корректировка пропорций.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.3' r='3.85' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.45 20.25c.55-4.45 2.95-6.55 6.55-6.55s6 2.1 6.55 6.55' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.3' r='3.85' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.45 20.25c.55-4.45 2.95-6.55 6.55-6.55s6 2.1 6.55 6.55' fill='none' stroke='black' stroke-width='1.18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* =========================================================
   ACCOUNT DROPDOWN — SLIGHTLY LARGER EVERYTHING
   Увеличено только выпадающее меню аккаунта.
   ========================================================= */

/* Основная рамка шире и просторнее */
.account-menu {
    width: 305px !important;
    max-width: calc(100vw - 12px) !important;

    padding: 26px 17px 20px !important;

    border-radius: 0 0 17px 17px !important;

    box-shadow:
        0 0 28px rgba(6, 171, 212, 0.24),
        0 20px 54px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

/* Внутренние рамки пунктов */
.account-menu ul li {
    min-height: 48px !important;
    height: 48px !important;

    margin: 7px 0 !important;
    padding: 8px 13px 8px 52px !important;

    border-radius: 14px !important;
}

/* Круглая рамка вокруг иконки */
.account-menu ul li::before {
    left: 9px !important;

    width: 33px !important;
    height: 33px !important;

    border-radius: 50% !important;
}

/* Сами иконки */
.account-menu ul li i {
    left: 9px !important;

    width: 33px !important;
    height: 33px !important;

    font-size: 14px !important;
}

/* Текст пунктов */
.account-menu ul li a,
.account-menu .logout-btn {
    padding-left: 11px !important;

    font-size: 14.5px !important;
    font-weight: 550 !important;
    line-height: 1.25 !important;
}

/* Немного больше расстояние между пунктами */
.account-menu ul {
    gap: 2px !important;
}

/* Чуть более заметный скроллбар */
.account-menu::-webkit-scrollbar {
    width: 9px !important;
}

.account-menu::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
}

/* На средних экранах сохраняем увеличенный вид,
   но не даём панели занимать слишком много места */
@media (max-width: 760px) {
    .account-menu {
        width: 280px !important;
        padding: 22px 14px 18px !important;
    }

    .account-menu ul li {
        min-height: 46px !important;
        height: 46px !important;
        padding-left: 49px !important;
    }

    .account-menu ul li::before,
    .account-menu ul li i {
        width: 31px !important;
        height: 31px !important;
    }

    .account-menu ul li a,
    .account-menu .logout-btn {
        font-size: 14px !important;
    }
}

/* На совсем узком экране панель остаётся во всю ширину */
@media (max-width: 420px) {
    .account-menu {
        width: 100% !important;
        max-width: none !important;
    }
}


/* =========================================================
   UNIFIED RIGHT DROPDOWN PANELS
   Аккаунт / три точки / уведомления / язык / сообщения
   ========================================================= */

:root {
    --paxor-right-panel-width: 305px;
    --paxor-right-panel-top: 62px;
    --paxor-right-panel-radius: 17px;
    --paxor-right-panel-item-height: 48px;
    --paxor-right-panel-icon-box: 33px;
    --paxor-right-panel-font-size: 14.5px;
}

/* ---------------------------------------------------------
   1. Одинаковая внешняя рамка, размер, цвет и положение
   --------------------------------------------------------- */

.account-menu,
.vertical-menu,
.language-menu,
.notification-dropdown,
.music-messages-popover {
    position: fixed !important;
    top: var(--paxor-right-panel-top) !important;
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-right-panel-width) !important;
    max-width: calc(100vw - 12px) !important;
    max-height: calc(100vh - var(--paxor-right-panel-top)) !important;

    border: 1px solid rgba(6, 171, 212, 0.44) !important;
    border-top: 0 !important;
    border-radius:
        0 0
        var(--paxor-right-panel-radius)
        var(--paxor-right-panel-radius) !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.015)
        ),
        linear-gradient(
            180deg,
            rgba(6, 171, 212, 0.14),
            rgba(0, 0, 0, 0.10)
        ),
        rgba(15, 18, 22, 0.98) !important;

    box-shadow:
        0 0 28px rgba(6, 171, 212, 0.24),
        0 20px 54px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    box-sizing: border-box !important;
    z-index: 1500 !important;
}

/* Аккаунт, язык и три точки используют одинаковые отступы */
.account-menu,
.language-menu {
    padding: 26px 17px 20px !important;
}

.vertical-menu {
    padding: 26px 17px 20px !important;
}

/* Убираем старый дополнительный padding списка */
.vertical-menu ul {
    padding: 0 !important;
}

/* Одинаковое место появления */
.account-menu.open,
.vertical-menu.open {
    right: 0 !important;
}

.language-menu.open,
.notification-dropdown.open,
.notification-dropdown.active,
.notification-wrapper.open .notification-dropdown {
    transform: translateY(0) !important;
}

/* ---------------------------------------------------------
   2. Аккаунт и меню «три точки» — один масштаб
   --------------------------------------------------------- */

.account-menu ul li,
.vertical-menu ul li {
    min-height: var(--paxor-right-panel-item-height) !important;
    height: var(--paxor-right-panel-item-height) !important;

    margin: 7px 0 !important;
    padding: 8px 13px 8px 52px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;
}

.account-menu ul li::before,
.vertical-menu ul li::before {
    left: 9px !important;

    width: var(--paxor-right-panel-icon-box) !important;
    height: var(--paxor-right-panel-icon-box) !important;
}

.account-menu ul li i,
.vertical-menu ul li i {
    left: 9px !important;

    width: var(--paxor-right-panel-icon-box) !important;
    height: var(--paxor-right-panel-icon-box) !important;

    font-size: 14px !important;
}

.account-menu ul li a,
.vertical-menu ul li a,
.account-menu .logout-btn {
    padding-left: 11px !important;

    font-size: var(--paxor-right-panel-font-size) !important;
    font-weight: 550 !important;
    line-height: 1.25 !important;
}

/* ---------------------------------------------------------
   3. Меню выбора языка — те же внутренние рамки
   --------------------------------------------------------- */

.language-menu ul li {
    min-height: var(--paxor-right-panel-item-height) !important;
    height: var(--paxor-right-panel-item-height) !important;

    margin: 7px 0 !important;
    padding: 8px 13px !important;

    gap: 12px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;
}

.language-menu ul li img.lang-icon {
    width: var(--paxor-right-panel-icon-box) !important;
    height: var(--paxor-right-panel-icon-box) !important;

    padding: 5px !important;

    border: 1px solid rgba(6, 217, 255, 0.22) !important;
    border-radius: 50% !important;

    background: rgba(6, 171, 212, 0.12) !important;

    box-sizing: border-box !important;
}

.language-menu ul li span {
    font-size: var(--paxor-right-panel-font-size) !important;
    font-weight: 550 !important;
}

.language-menu ul li .lang-check {
    font-size: 14px !important;
}

/* ---------------------------------------------------------
   4. Уведомления — тот же размер и градиент
   --------------------------------------------------------- */

.notification-dropdown {
    padding: 0 0 20px !important;
    overflow: hidden !important;
}

/* Заголовок такой же ширины и без отдельного чужого фона */
.notification-header {
    min-height: 61px !important;
    padding: 16px 17px !important;

    border-bottom: 1px solid rgba(6, 217, 255, 0.20) !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.18),
            rgba(0, 255, 204, 0.055)
        ),
        rgba(8, 12, 16, 0.66) !important;
}

.notification-header span {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.notification-mark-all {
    min-height: 31px !important;
    padding: 6px 9px !important;

    border-radius: 9px !important;

    font-size: 11.5px !important;
}

.notification-list {
    max-height: calc(100vh - 190px) !important;
    padding: 12px 17px 0 !important;

    overflow-y: auto !important;
}

.notification-item,
.notification-empty {
    min-height: var(--paxor-right-panel-item-height) !important;
    margin: 7px 0 !important;
    padding: 11px 13px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;

    color: #ffffff !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;

    box-sizing: border-box !important;
}

.notification-empty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.notification-view-all {
    margin: 12px 17px 0 !important;
    padding: 12px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;

    font-size: 14px !important;
}

/* ---------------------------------------------------------
   5. Сообщения по конверту — то же место, размер и стиль
   --------------------------------------------------------- */

.music-messages-popover {
    padding: 0 0 20px !important;
    overflow: hidden !important;
}

.music-messages-popover[hidden] {
    display: none !important;
}

.music-messages-popover-head {
    min-height: 61px !important;
    margin: 0 !important;
    padding: 16px 17px !important;

    border-bottom: 1px solid rgba(6, 217, 255, 0.20) !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.18),
            rgba(0, 255, 204, 0.055)
        ),
        rgba(8, 12, 16, 0.66) !important;

    box-sizing: border-box !important;
}

.music-messages-popover-head h2 {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.music-messages-popover-head button {
    width: 31px !important;
    height: 31px !important;

    border: 1px solid rgba(6, 217, 255, 0.24) !important;
    border-radius: 9px !important;

    background: rgba(6, 171, 212, 0.10) !important;
}

.music-message-thread-list {
    max-height: calc(100vh - 205px) !important;
    padding: 12px 17px 0 !important;

    display: grid !important;
    gap: 0 !important;

    overflow-y: auto !important;
}

.music-message-thread {
    min-height: 62px !important;
    margin: 7px 0 !important;
    padding: 8px 11px !important;

    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 11px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;

    box-sizing: border-box !important;
}

.music-message-thread:hover {
    border-color: rgba(6, 217, 255, 0.42) !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.20),
            rgba(0, 255, 204, 0.08)
        ),
        rgba(10, 14, 18, 0.72) !important;
}

.music-message-avatar {
    width: 36px !important;
    height: 36px !important;
}

.music-message-thread-copy strong {
    font-size: 14px !important;
}

.music-message-thread-copy small,
.music-message-thread time,
.music-message-empty {
    font-size: 11.5px !important;
}

.music-message-empty {
    margin: 12px 17px 0 !important;
    padding: 13px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;
}

.music-view-all-messages {
    width: calc(100% - 34px) !important;
    min-height: 48px !important;
    margin: 12px 17px 0 !important;
    padding: 10px 13px !important;

    border: 1px solid rgba(6, 171, 212, 0.28) !important;
    border-radius: 14px !important;

    background: rgba(8, 12, 16, 0.92) !important;

    font-size: 14px !important;
}

/* ---------------------------------------------------------
   6. Общий hover для внутренних рамок
   --------------------------------------------------------- */

.language-menu ul li:hover,
.language-menu ul li.active,
.notification-item:hover,
.notification-view-all:hover,
.music-message-thread:hover,
.music-view-all-messages:hover {
    border-color: rgba(6, 217, 255, 0.42) !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.20),
            rgba(0, 255, 204, 0.08)
        ),
        rgba(10, 14, 18, 0.72) !important;

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* ---------------------------------------------------------
   7. Одинаковые скроллбары
   --------------------------------------------------------- */

.account-menu,
.vertical-menu,
.language-menu,
.notification-list,
.music-message-thread-list {
    scrollbar-width: thin !important;
    scrollbar-color:
        rgba(6, 217, 255, 0.48)
        rgba(255, 255, 255, 0.055) !important;
}

.account-menu::-webkit-scrollbar,
.vertical-menu::-webkit-scrollbar,
.language-menu::-webkit-scrollbar,
.notification-list::-webkit-scrollbar,
.music-message-thread-list::-webkit-scrollbar {
    width: 9px !important;
}

.account-menu::-webkit-scrollbar-thumb,
.vertical-menu::-webkit-scrollbar-thumb,
.language-menu::-webkit-scrollbar-thumb,
.notification-list::-webkit-scrollbar-thumb,
.music-message-thread-list::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
    background: rgba(6, 217, 255, 0.42) !important;
}

/* ---------------------------------------------------------
   8. Мобильная адаптация — тоже одинаковая
   --------------------------------------------------------- */

@media (max-width: 900px) {
    :root {
        --paxor-right-panel-top: 58px;
    }
}

@media (max-width: 760px) {
    :root {
        --paxor-right-panel-width: 280px;
        --paxor-right-panel-item-height: 46px;
        --paxor-right-panel-icon-box: 31px;
        --paxor-right-panel-font-size: 14px;
    }

    .account-menu,
    .vertical-menu,
    .language-menu {
        padding: 22px 14px 18px !important;
    }

    .notification-list,
    .music-message-thread-list {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .notification-view-all,
    .music-view-all-messages,
    .music-message-empty {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}

@media (max-width: 420px) {
    :root {
        --paxor-right-panel-width: 100%;
    }

    .account-menu,
    .vertical-menu,
    .language-menu,
    .notification-dropdown,
    .music-messages-popover {
        max-width: none !important;
    }
}


/* =========================================================
   RIGHT PANELS — 320PX + TRUE CLOSED STATE
   Аккаунт / язык / уведомления / сообщения / три точки
   ========================================================= */

:root {
    --paxor-right-panel-width: 320px !important;
    --paxor-right-panel-top: 62px;
}

/* Все панели находятся строго в одной точке */
.account-menu,
.vertical-menu,
.language-menu,
.notification-dropdown,
.music-messages-popover {
    position: fixed !important;

    top: var(--paxor-right-panel-top) !important;
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-right-panel-width) !important;
    max-width: calc(100vw - 12px) !important;
    max-height: calc(100vh - var(--paxor-right-panel-top)) !important;

    box-sizing: border-box !important;
    z-index: 1500 !important;
}

/* Аккаунт, три точки и язык прокручиваются целиком */
.account-menu,
.vertical-menu,
.language-menu {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Уведомления и сообщения используют внутренние списки */
.notification-dropdown,
.music-messages-popover {
    overflow: hidden !important;
}

/* ---------------------------------------------------------
   Настоящее закрытое состояние
   --------------------------------------------------------- */

.account-menu:not(.open),
.vertical-menu:not(.open),
.language-menu:not(.open),
.notification-dropdown:not(.open):not(.active),
.notification-wrapper:not(.open) .notification-dropdown:not(.open):not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(-10px) !important;

    right: 0 !important;
}

/* Настоящее открытое состояние */
.account-menu.open,
.vertical-menu.open,
.language-menu.open,
.notification-dropdown.open,
.notification-dropdown.active,
.notification-wrapper.open .notification-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: translateY(0) !important;

    right: 0 !important;
}

/* Сообщения управляются атрибутом hidden */
.music-messages-popover[hidden] {
    display: none !important;
}

.music-messages-popover:not([hidden]) {
    display: block !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: translateY(0) !important;
}

/* Плавность открытия/закрытия */
.account-menu,
.vertical-menu,
.language-menu,
.notification-dropdown {
    transition:
        opacity 0.20s ease,
        visibility 0.20s ease,
        transform 0.20s ease !important;
}

/* На страницах с меню 58px */
@media (max-width: 900px) {
    :root {
        --paxor-right-panel-top: 58px;
    }
}

/* На узком экране панели занимают всю ширину */
@media (max-width: 420px) {
    :root {
        --paxor-right-panel-width: 100%;
    }

    .account-menu,
    .vertical-menu,
    .language-menu,
    .notification-dropdown,
    .music-messages-popover {
        max-width: none !important;
    }
}


/* =========================================================
   NATIVE TOOLTIPS + NOTIFICATIONS + WALLET SAFE FIX
   Возвращены обычные подсказки без portal и дублирования.
   ========================================================= */

/* ---------------------------------------------------------
   1. Уведомления: active/open всегда открывают панель
   --------------------------------------------------------- */

#notificationDropdown.active,
#notificationDropdown.open,
.notification-wrapper.open #notificationDropdown {
    display: block !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: translateY(0) !important;
    right: 0 !important;
}

/* Закрываем только действительно неактивную панель */
.notification-wrapper:not(.open)
#notificationDropdown:not(.active):not(.open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(-10px) !important;
}

/* ---------------------------------------------------------
   2. Возвращаем всем подсказкам прежний размер и положение
   --------------------------------------------------------- */

.menu-item:hover > span:not(.notification-badge):not(.wallet-menu-status-dot),
.calculator-menu-button:hover > .calculator-tooltip,
.notification-button:hover > .notification-tooltip,
.menu-toggle-btn:hover > .menu-tooltip,
.wallet-menu-button:hover > span:not(.wallet-menu-status-dot) {
    top: 62px !important;

    margin: 0 !important;

    min-width: 112px !important;
    padding: 6px 11px !important;

    border: 1px solid rgba(6, 217, 255, 0.24) !important;
    border-radius: 9px !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.18),
            rgba(0, 255, 204, 0.07)
        ),
        rgba(10, 14, 18, 0.92) !important;

    color: #e8fbff !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.16),
        0 8px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: none !important;
    box-sizing: border-box !important;
}

/* Специальные подсказки также строго сразу под планкой */
.calculator-menu-button:hover > .calculator-tooltip,
.notification-button:hover > .notification-tooltip,
.menu-toggle-btn:hover > .menu-tooltip {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
}

/* У текста обычных menu-item сохраняем штатное центрирование */
.menu-item:hover > span:not(.notification-badge):not(.wallet-menu-status-dot),
.wallet-menu-button:hover > span:not(.wallet-menu-status-dot) {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
}

/* Красный счётчик и зелёная точка кошелька не являются tooltip */
.notification-button:hover > .notification-badge,
.wallet-menu-button:hover > .wallet-menu-status-dot {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

/* ---------------------------------------------------------
   3. Правильный stacking order без отдельного tooltip portal
   --------------------------------------------------------- */

nav {
    overflow: visible !important;
    z-index: 10000 !important;
}

nav > .menu-left,
nav > .menu-center,
nav > .menu-right,
nav li {
    overflow: visible !important;
}

/* Базовый слой зон меню */
nav > .menu-left {
    position: relative !important;
    z-index: 100 !important;
}

nav > .menu-center {
    z-index: 110 !important;
}

nav > .menu-right {
    position: relative !important;
    z-index: 120 !important;
}

/* Панели находятся ниже наведённой кнопки */
.account-menu,
.vertical-menu,
.language-menu,
.notification-dropdown,
.music-messages-popover {
    z-index: 1000 !important;
}

/* Каждый пункт меню получает собственный слой */
nav > .menu-right > li,
nav > .menu-center > li,
nav > .menu-left > li {
    position: relative !important;
    z-index: 1 !important;
}

/* Открытая панель сообщений остаётся выше обычных пунктов */
.nav-messages:has(.music-messages-popover:not([hidden])) {
    z-index: 1000 !important;
}

/* Но пункт под курсором всегда выше открытой панели */
nav > .menu-right > li:hover,
nav > .menu-right > li:focus-within,
nav > .menu-center > li:hover,
nav > .menu-center > li:focus-within,
nav > .menu-left > li:hover,
nav > .menu-left > li:focus-within {
    z-index: 5000 !important;
}

/* Если курсор находится в центральной или левой зоне,
   вся эта зона поднимается над правой панелью сообщений */
nav:has(.menu-center > li:hover) > .menu-center,
nav:has(.menu-center > li:focus-within) > .menu-center {
    z-index: 6000 !important;
}

nav:has(.menu-left > li:hover) > .menu-left,
nav:has(.menu-left > li:focus-within) > .menu-left {
    z-index: 6000 !important;
}

/* Подсказка внутри наведённой кнопки — верхний элемент */
.menu-item:hover > span:not(.notification-badge):not(.wallet-menu-status-dot),
.calculator-menu-button:hover > .calculator-tooltip,
.notification-button:hover > .notification-tooltip,
.menu-toggle-btn:hover > .menu-tooltip,
.wallet-menu-button:hover > span:not(.wallet-menu-status-dot) {
    z-index: 7000 !important;
}

/* ---------------------------------------------------------
   4. Кнопка и выпадающий бейдж кошелька не скрываются
   --------------------------------------------------------- */

#wallet-menu-button,
.wallet-menu-button,
.nav-wallet-control {
    visibility: visible !important;
    pointer-events: auto !important;
}

#wallet-menu-button > i,
#wallet-menu-button > .wallet-menu-status-dot {
    visibility: visible !important;
    pointer-events: none !important;
}

#wallet-compact-dropdown:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* ---------------------------------------------------------
   5. Адаптивная высота меню
   --------------------------------------------------------- */

@media (max-width: 900px) {
    .menu-item:hover > span:not(.notification-badge):not(.wallet-menu-status-dot),
    .calculator-menu-button:hover > .calculator-tooltip,
    .notification-button:hover > .notification-tooltip,
    .menu-toggle-btn:hover > .menu-tooltip,
    .wallet-menu-button:hover > span:not(.wallet-menu-status-dot) {
        top: 58px !important;
    }
}


/* =========================================================
   SINGLE REAL TOOLTIP IN BODY + RELIABLE WALLET BADGE
   ========================================================= */

/* Оригинальные подсказки внутри nav скрыты до переноса в body */
nav .menu-item > span:not(.notification-badge):not(.wallet-menu-status-dot),
nav .calculator-tooltip,
nav .notification-tooltip,
nav .menu-tooltip,
nav .wallet-menu-tooltip {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Переносится именно существующий элемент — дубля нет */
body > .paxor-tooltip-floating {
    position: fixed !important;
    top: 62px !important;
    left: 0;

    z-index: 2147483647 !important;

    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;

    min-width: 112px !important;
    max-width: min(260px, calc(100vw - 16px)) !important;

    margin: 0 !important;
    padding: 6px 11px !important;

    border: 1px solid rgba(6, 217, 255, 0.24) !important;
    border-radius: 9px !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.18),
            rgba(0, 255, 204, 0.07)
        ),
        rgba(10, 14, 18, 0.98) !important;

    color: #e8fbff !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    white-space: nowrap !important;

    box-shadow:
        0 0 12px rgba(6, 217, 255, 0.16),
        0 8px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;

    transform: translateX(-50%) !important;

    box-sizing: border-box !important;
}

/* Светлая тема */
body.light-theme > .paxor-tooltip-floating {
    border-color: rgba(3, 125, 156, 0.28) !important;
    background: rgba(250, 252, 253, 0.99) !important;
    color: #182127 !important;
    box-shadow:
        0 0 12px rgba(3, 125, 156, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.18) !important;
}

/* Кошелёк: чёткое скрытое и открытое состояния */
#wallet-compact-dropdown[hidden] {
    display: none !important;
}

#wallet-compact-dropdown.wallet-open:not([hidden]),
#wallet-compact-dropdown:not([hidden]) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Кнопка кошелька всегда кликабельна */
#wallet-menu-button,
.nav-wallet-control,
.nav-wallet-control .wallet-menu-button {
    pointer-events: auto !important;
}

/* Открытый кошелёк выше страниц, но ниже floating tooltip */
#wallet-compact-dropdown {
    z-index: 16000 !important;
}

@media (max-width: 900px) {
    body > .paxor-tooltip-floating {
        top: 58px !important;
    }
}


/* =========================================================
   RIGHT MENU ICONS — SLIGHTLY SMALLER
   Аккаунт и три точки не изменяются.
   Кликабельные области кнопок остаются прежними.
   ========================================================= */

/* Язык: 26px -> 23px */
.nav-language .language-icon,
.nav-language .menu-item > img.language-icon {
    width: 23px !important;
    height: 23px !important;
}

.nav-language .menu-item:hover > img.language-icon {
    transform: scale(1.08) !important;
}

/* Кошелёк: 25px -> 23px */
.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    font-size: 23px !important;
}

/* Калькулятор: 27px -> 24px */
.calculator-menu-button::before {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
}

/* Уведомления: немного уменьшаем саму иконку */
.notification-button > i,
.notification-button > i.fa-bell,
.notification-button > i.fa-envelope,
.notification-button > i.fa-envelope-open,
.notification-button > i.fa-message {
    font-size: 19px !important;
}

/* Сообщения-конверт: 28px -> 25px */
.music-messages-menu-button::before {
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 25px !important;
}

/* Аккаунт и три точки намеренно не меняются */


/* =========================================================
   RIGHT MENU ICONS — ONE MORE SMALL STEP
   Аккаунт и три точки без изменений.
   ========================================================= */

/* Язык: 23px -> 21px */
.nav-language .language-icon,
.nav-language .menu-item > img.language-icon {
    width: 21px !important;
    height: 21px !important;
}

/* Кошелёк: 23px -> 21px */
.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    font-size: 21px !important;
}

/* Калькулятор: 24px -> 22px */
.calculator-menu-button::before {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
}

/* Уведомления: 19px -> 17px */
.notification-button > i,
.notification-button > i.fa-bell,
.notification-button > i.fa-envelope,
.notification-button > i.fa-envelope-open,
.notification-button > i.fa-message {
    font-size: 17px !important;
}

/* Сообщения-конверт: 25px -> 23px */
.music-messages-menu-button::before {
    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;
}

/* Аккаунт и три точки намеренно не меняются */


/* =========================================================
   CALCULATOR MOVED TO ACCOUNT MENU
   ========================================================= */

.nav-calculator-right {
    display: none !important;
}

.account-menu #calculator-button-account {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;

    color: inherit;
    text-decoration: none;
}

.account-menu #calculator-button-account > span {
    display: inline !important;
    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: inherit !important;

    font: inherit !important;
    line-height: inherit !important;

    transform: none !important;
}

.account-menu li:has(#calculator-button-account.active) {
    border-color: rgba(6, 217, 255, 0.62) !important;

    background:
        linear-gradient(
            90deg,
            rgba(6, 171, 212, 0.30),
            rgba(0, 255, 204, 0.10)
        ),
        rgba(10, 14, 18, 0.84) !important;
}


/* =========================================================
   ACCOUNT MENU FINAL ORDER
   ========================================================= */

.account-menu ul li:has(#logout-button-menu) {
    margin-top: 18px !important;
}

.account-menu ul li:has(#calculator-button-account) {
    margin-top: 10px !important;
}


/* =========================================================
   HORIZONTAL WALLET — MATCH NOTIFICATIONS / MESSAGES
   Размер и цвет совпадают с правыми контурными значками.
   ========================================================= */

.nav-wallet-control .wallet-menu-button > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-connected > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-disconnected > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-error > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-locked > i.fa-wallet {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    flex: 0 0 23px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 23px !important;
    line-height: 1 !important;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke:
        0.82px rgba(198, 204, 208, 0.82) !important;

    paint-order: stroke fill !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;

    opacity: 1 !important;

    transition:
        -webkit-text-stroke-color 0.18s ease,
        transform 0.18s ease !important;
}

.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet,
.nav-wallet-control .wallet-menu-button:focus-visible > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-connected:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-connected.active > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-disconnected:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-disconnected.active > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-error:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-error.active > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-locked:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-locked.active > i.fa-wallet {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke-color: #ffffff !important;

    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;

    transform: scale(1.05) !important;
}

/* Светлая тема — тот же принцип, что у уведомлений и сообщений */
body.light-theme
.nav-wallet-control .wallet-menu-button > i.fa-wallet,
.light-theme
.nav-wallet-control .wallet-menu-button > i.fa-wallet {
    -webkit-text-stroke-color:
        rgba(34, 39, 43, 0.72) !important;
}

body.light-theme
.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
body.light-theme
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet,
.light-theme
.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
.light-theme
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet {
    -webkit-text-stroke-color: #000000 !important;
}

/* Цвет меняет только маленький круглый индикатор */
#wallet-menu-status-dot.wallet-menu-status-dot.connected {
    background: #40e895 !important;
    box-shadow: 0 0 9px rgba(64, 232, 149, 0.85) !important;
}

#wallet-menu-status-dot.wallet-menu-status-dot.disconnected {
    background: #d2a84d !important;
    box-shadow: 0 0 8px rgba(210, 168, 77, 0.72) !important;
}

#wallet-menu-status-dot.wallet-menu-status-dot.error,
#wallet-menu-status-dot.wallet-menu-status-dot.locked {
    background: #ff6969 !important;
    box-shadow: 0 0 9px rgba(255, 105, 105, 0.78) !important;
}


/* =========================================================
   LANGUAGE + WALLET — VISUALLY SMALLER
   Размер кнопок не меняется, уменьшаются только сами значки.
   ========================================================= */

/* Переключатель языка */
.nav-language .language-icon,
.nav-language .menu-item > img.language-icon {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    min-height: 19px !important;
    flex: 0 0 19px !important;
}

.nav-language .menu-item:hover > img.language-icon {
    transform: scale(1.07) !important;
}

/* Значок кошелька */
.nav-wallet-control .wallet-menu-button > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-connected > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-disconnected > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-error > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.wallet-locked > i.fa-wallet {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    min-height: 19px !important;
    flex: 0 0 19px !important;

    font-size: 19px !important;

    -webkit-text-stroke-width: 0.78px !important;
}

/* Hover остаётся аккуратным, без визуального увеличения */
.nav-wallet-control .wallet-menu-button:hover > i.fa-wallet,
.nav-wallet-control .wallet-menu-button.active > i.fa-wallet,
.nav-wallet-control .wallet-menu-button:focus-visible > i.fa-wallet {
    transform: scale(1.04) !important;
}

/* Слегка подправляем положение круглого индикатора под меньший значок */
#wallet-menu-status-dot.wallet-menu-status-dot {
    transform: translate(1px, -1px) !important;
}


/* =========================================================
   WALLET BADGE — 320PX, FULL BORDER, FOUR ROUNDED CORNERS
   Совпадает по ширине с правыми вертикальными панелями.
   ========================================================= */

:root {
    --paxor-wallet-panel-width: 320px !important;
    --paxor-wallet-dropdown-top: 68px !important;
}

/* Общий контейнер */
.wallet-compact-dropdown {
    top: var(--paxor-wallet-dropdown-top) !important;
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-wallet-panel-width) !important;
    max-width: calc(100vw - 8px) !important;

    box-sizing: border-box !important;
}

/* Основной компактный бейдж */
.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.not-connected,
.wallet-compact-dropdown .music-wallet-status.error {
    width: 100% !important;
    max-width: 100% !important;

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 6px 8px !important;

    display: grid !important;
    grid-template-columns:
        32px minmax(66px, 1fr) 86px 74px !important;
    align-items: center !important;
    gap: 5px !important;

    border: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-right: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-radius: 16px !important;

    overflow: visible !important;
    box-sizing: border-box !important;

    box-shadow:
        0 0 18px rgba(6, 217, 255, 0.17),
        0 12px 30px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* В отключённом состоянии сохраняем жёлтый оттенок рамки */
.wallet-compact-dropdown .music-wallet-status.not-connected {
    border-color: rgba(242, 189, 85, 0.48) !important;
}

/* Ошибка */
.wallet-compact-dropdown .music-wallet-status.error {
    border-color: rgba(255, 105, 105, 0.58) !important;
}

/* Кнопка с иконкой кошелька внутри бейджа */
.wallet-compact-dropdown .music-wallet-details-trigger {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    flex: 0 0 32px !important;

    border-radius: 9px !important;
}

.wallet-compact-dropdown .music-wallet-details-trigger > i {
    font-size: 15px !important;
}

/* Статус и адрес */
.wallet-compact-dropdown .music-wallet-status-text {
    min-width: 0 !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;

    overflow: hidden !important;
}

.wallet-compact-dropdown #music-wallet-status-title {
    width: 100% !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;

    font-size: 9.5px !important;
}

.wallet-compact-dropdown #music-wallet-status-detail {
    width: 100% !important;
    max-width: 100% !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;

    font-size: 10.5px !important;
}

.wallet-compact-dropdown .music-wallet-address-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    overflow: hidden !important;
}

/* Переключатель сети */
.wallet-compact-dropdown .music-network-selector,
.wallet-compact-dropdown .music-network-trigger {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
}

.wallet-compact-dropdown .music-network-trigger {
    height: 34px !important;
    min-height: 34px !important;

    padding: 4px 6px !important;
    gap: 4px !important;

    border-radius: 10px !important;

    font-size: 9.5px !important;
}

.wallet-compact-dropdown .music-network-trigger img {
    width: 19px !important;
    height: 19px !important;
    flex: 0 0 19px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    max-width: 43px !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.wallet-compact-dropdown .music-network-trigger-arrow {
    font-size: 7px !important;
}

/* Кнопка подключения */
.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;

    height: 34px !important;
    min-height: 34px !important;

    padding: 4px 5px !important;
    gap: 3px !important;

    border-radius: 10px !important;

    font-size: 9.5px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn i {
    font-size: 9px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn span {
    min-width: 0 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Подробная панель кошелька той же ширины */
.wallet-compact-dropdown .music-wallet-details-panel {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;

    padding: 13px !important;

    border: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-right: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-radius: 16px !important;

    box-sizing: border-box !important;
}

/* Заголовок подробной панели компактнее */
.wallet-compact-dropdown .music-wallet-details-header {
    min-height: 64px !important;

    margin: -13px -13px 12px !important;
    padding: 11px 12px !important;

    border-radius: 15px 15px 0 0 !important;
}

.wallet-compact-dropdown .music-wallet-details-heading > i {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;

    border-radius: 11px !important;

    font-size: 18px !important;
}

.wallet-compact-dropdown .music-wallet-details-heading span {
    font-size: 9px !important;
}

.wallet-compact-dropdown .music-wallet-details-heading strong {
    font-size: 13px !important;
}

/* Панель выбора сетей той же ширины */
.wallet-compact-dropdown .music-network-menu {
    position: fixed !important;

    top: calc(var(--paxor-wallet-dropdown-top) + 52px) !important;
    right: 0 !important;
    left: auto !important;

    width: var(--paxor-wallet-panel-width) !important;
    max-width: var(--paxor-wallet-panel-width) !important;
    max-height: calc(100vh - 122px) !important;

    margin: 0 !important;
    padding: 8px !important;

    border: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-right: 1px solid rgba(6, 171, 212, 0.46) !important;
    border-radius: 0 0 16px 16px !important;

    box-sizing: border-box !important;
}

.wallet-compact-dropdown .music-network-option {
    min-height: 44px !important;

    margin-bottom: 5px !important;
    padding: 6px 8px !important;

    grid-template-columns: 26px minmax(0, 1fr) 18px !important;
    gap: 8px !important;

    border-radius: 10px !important;
}

.wallet-compact-dropdown .music-network-option > img {
    width: 24px !important;
    height: 24px !important;
}

.wallet-compact-dropdown .music-network-option-copy strong {
    font-size: 11.5px !important;
}

.wallet-compact-dropdown .music-network-option-copy small {
    font-size: 9.5px !important;
}

/* Мобильная адаптация */
@media (max-width: 760px) {
    :root {
        --paxor-wallet-panel-width: min(320px, calc(100vw - 8px)) !important;
        --paxor-wallet-dropdown-top: 64px !important;
    }

    .wallet-compact-dropdown {
        top: var(--paxor-wallet-dropdown-top) !important;
        right: 4px !important;
    }

    .wallet-compact-dropdown .music-wallet-status {
        grid-template-columns:
            30px minmax(58px, 1fr) 82px 70px !important;

        border-radius: 14px !important;
    }

    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
    }

    .wallet-compact-dropdown .music-connect-wallet-btn {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .wallet-compact-dropdown .music-network-menu {
        top: calc(var(--paxor-wallet-dropdown-top) + 52px) !important;
        right: 4px !important;

        border-radius: 0 0 14px 14px !important;
    }

    .wallet-compact-dropdown .music-wallet-details-panel {
        right: 4px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 360px) {
    .wallet-compact-dropdown .music-wallet-status {
        grid-template-columns:
            30px minmax(48px, 1fr) 76px 62px !important;

        gap: 4px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger {
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
    }

    .wallet-compact-dropdown .music-connect-wallet-btn {
        width: 62px !important;
        min-width: 62px !important;
        max-width: 62px !important;
    }
}


/* =========================================================
   WALLET BADGE + MAIN WALLET PANEL — NO GAP
   Бейдж и подробная панель соединяются в один блок.
   ========================================================= */

/* Основная панель начинается сразу под бейджем */
.wallet-compact-dropdown .music-wallet-details-panel {
    top: 100% !important;
    margin-top: -1px !important;

    border-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
}

/* При открытой подробной панели убираем нижнее скругление бейджа */
.wallet-compact-dropdown:has(
    .music-wallet-details-panel:not([hidden])
) .music-wallet-status,
.wallet-compact-dropdown:has(
    .music-wallet-details-panel[aria-hidden="false"]
) .music-wallet-status {
    border-radius: 16px 16px 0 0 !important;

    box-shadow:
        0 0 18px rgba(6, 217, 255, 0.17),
        0 8px 20px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Верх подробной панели прямой, потому что он соединён с бейджем */
.wallet-compact-dropdown .music-wallet-details-header {
    border-radius: 0 !important;
}

/* Не оставляем визуальную щель из-за внутренних теней */
.wallet-compact-dropdown .music-wallet-details-panel::before,
.wallet-compact-dropdown .music-wallet-details-panel::after {
    top: 0 !important;
}

/* Мобильная версия */
@media (max-width: 760px) {
    .wallet-compact-dropdown .music-wallet-details-panel {
        top: 100% !important;
        margin-top: -1px !important;

        border-radius: 0 0 14px 14px !important;
    }

    .wallet-compact-dropdown:has(
        .music-wallet-details-panel:not([hidden])
    ) .music-wallet-status,
    .wallet-compact-dropdown:has(
        .music-wallet-details-panel[aria-hidden="false"]
    ) .music-wallet-status {
        border-radius: 14px 14px 0 0 !important;
    }
}

/* =========================================================
   ACCOUNT AVATAR — REAL AVATAR FULL SIZE
   DEFAULT USER ICON — SLIGHTLY SHORTER
   ========================================================= */

/* Настоящий пользовательский аватар после входа остаётся как раньше */
.nav-account .menu-item img.account-avatar,
#account-button img.account-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;

    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;

    object-fit: cover !important;
    object-position: center !important;
}

/* Уменьшается только стандартный контурный значок пользователя */
#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 29px !important;
    height: 26px !important;
    min-width: 29px !important;
    min-height: 26px !important;
    flex: 0 0 29px !important;

    -webkit-mask-size: 29px 26px !important;
    mask-size: 29px 26px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}

/* Стрелка остаётся в последнем согласованном положении */
#account-button::after {
    right: 7px !important;
    bottom: 10px !important;
}

/* Hover настоящего аватара без изменения его постоянного размера */
#account-button:hover img.account-avatar {
    transform: scale(1.04) !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — MEDIUM SIZE
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 31px !important;
    height: 29px !important;
    min-width: 31px !important;
    min-height: 29px !important;
    flex: 0 0 31px !important;

    -webkit-mask-size: 31px 29px !important;
    mask-size: 31px 29px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — SLIGHTLY LARGER
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 32px !important;
    height: 30px !important;
    min-width: 32px !important;
    min-height: 30px !important;
    flex: 0 0 32px !important;

    -webkit-mask-size: 32px 30px !important;
    mask-size: 32px 30px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — 33 × 31 PX
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 33px !important;
    height: 31px !important;
    min-width: 33px !important;
    min-height: 31px !important;
    flex: 0 0 33px !important;

    -webkit-mask-size: 33px 31px !important;
    mask-size: 33px 31px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — 34 × 32 PX
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 34px !important;
    height: 32px !important;
    min-width: 34px !important;
    min-height: 32px !important;
    flex: 0 0 34px !important;

    -webkit-mask-size: 34px 32px !important;
    mask-size: 34px 32px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — 35 × 33 PX
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 35px !important;
    height: 33px !important;
    min-width: 35px !important;
    min-height: 33px !important;
    flex: 0 0 35px !important;

    -webkit-mask-size: 35px 33px !important;
    mask-size: 35px 33px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — 36 × 34 PX
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 36px !important;
    height: 34px !important;
    min-width: 36px !important;
    min-height: 34px !important;
    flex: 0 0 36px !important;

    -webkit-mask-size: 36px 34px !important;
    mask-size: 36px 34px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}


/* =========================================================
   DEFAULT ACCOUNT ICON — 37 × 35 PX + ARROW RIGHT
   Настоящий аватар остаётся 36 × 36 px.
   ========================================================= */

#account-button:has(> img.account-avatar[src*="account.png"])::before,
#account-button:has(> img.account-avatar[src*="account2.png"])::before {
    width: 37px !important;
    height: 35px !important;
    min-width: 37px !important;
    min-height: 35px !important;
    flex: 0 0 37px !important;

    -webkit-mask-size: 37px 35px !important;
    mask-size: 37px 35px !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
}

#account-button::after {
    right: 5px !important;
    bottom: 10px !important;
}

/* =========================================================
   FINAL ACTIVE PAGE MARKER
   Голубой значок и полная линия под активной страницей без свечения.
   ========================================================= */

.menu-center .menu-item.active {
    color: #00ccff !important;
}

.menu-center .menu-item.active > i {
    color: #00ccff !important;
    text-shadow: none !important;
    filter: none !important;
}

.menu-center .menu-item.active > img {
    filter: none !important;
}

.menu-center .menu-item.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: 5px !important;
    left: 50% !important;
    width: 104px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #00ccff !important;
    box-shadow: none !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
}

/* =========================================================
   PAXOR WALLET TOP BAR — INCREASED HEIGHT V16
   Верхняя планка правой панели кошелька стала выше и свободнее.
   ========================================================= */

:root {
    --paxor-wallet-badge-height: 68px;
}

.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.not-connected,
.wallet-compact-dropdown .music-wallet-status.error {
    height: var(--paxor-wallet-badge-height) !important;
    min-height: var(--paxor-wallet-badge-height) !important;
    padding: 8px !important;
    grid-template-columns: 38px minmax(64px, 1fr) 88px 76px !important;
    gap: 5px !important;
}

.wallet-compact-dropdown .music-wallet-details-trigger {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 10px !important;
}

.wallet-compact-dropdown .music-wallet-details-trigger > i {
    font-size: 17px !important;
}

.wallet-compact-dropdown .music-wallet-status-text {
    gap: 3px !important;
}

.wallet-compact-dropdown #music-wallet-status-title {
    font-size: 10px !important;
    line-height: 1.15 !important;
}

.wallet-compact-dropdown #music-wallet-status-detail {
    font-size: 11.5px !important;
    line-height: 1.2 !important;
}

.wallet-compact-dropdown .music-network-selector,
.wallet-compact-dropdown .music-network-trigger {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
}

.wallet-compact-dropdown .music-network-trigger {
    height: 42px !important;
    min-height: 42px !important;
    padding: 5px 7px !important;
    gap: 4px !important;
    border-radius: 11px !important;
    font-size: 10px !important;
}

.wallet-compact-dropdown .music-network-trigger img {
    width: 21px !important;
    height: 21px !important;
    flex: 0 0 21px !important;
}

.wallet-compact-dropdown #music-network-trigger-label {
    max-width: 44px !important;
    font-size: 10px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 5px 6px !important;
    gap: 4px !important;
    border-radius: 11px !important;
    font-size: 10px !important;
}

.wallet-compact-dropdown .music-connect-wallet-btn i {
    font-size: 10px !important;
}

/* Меню сетей начинается сразу под увеличенной верхней планкой. */
.wallet-compact-dropdown .music-network-menu {
    top: calc(var(--paxor-wallet-dropdown-top) + var(--paxor-wallet-badge-height)) !important;
    max-height: calc(100vh - var(--paxor-wallet-dropdown-top) - var(--paxor-wallet-badge-height) - 10px) !important;
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-badge-height: 66px;
    }

    .wallet-compact-dropdown .music-wallet-status {
        grid-template-columns: 36px minmax(56px, 1fr) 82px 70px !important;
        padding: 7px !important;
    }

    .wallet-compact-dropdown .music-wallet-details-trigger {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        flex-basis: 36px !important;
    }

    .wallet-compact-dropdown .music-network-selector,
    .wallet-compact-dropdown .music-network-trigger {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
    }

    .wallet-compact-dropdown .music-connect-wallet-btn {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .wallet-compact-dropdown .music-network-trigger,
    .wallet-compact-dropdown .music-connect-wallet-btn {
        height: 40px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 360px) {
    :root {
        --paxor-wallet-badge-height: 64px;
    }

    .wallet-compact-dropdown .music-wallet-status {
        grid-template-columns: 34px minmax(44px, 1fr) 76px 62px !important;
        gap: 4px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .wallet-compact-dropdown .music-wallet-details-trigger {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        flex-basis: 34px !important;
    }
}

/* =========================================================
   PAXOR WALLET UNIFIED PANEL V16.1
   Верхняя статусная планка, выбор сети и основная панель
   образуют единый блок и используют одну линию соединения.
   ========================================================= */

:root {
    --paxor-wallet-corner-radius: 12px;
    --paxor-wallet-separator-color: rgba(6, 171, 212, 0.46);
}

.wallet-compact-dropdown,
.wallet-compact-dropdown .nav-global-wallet {
    overflow: visible !important;
}

.wallet-compact-dropdown .nav-global-wallet {
    position: relative !important;
}

/* Немного уменьшаем скругление закрытой верхней планки. */
.wallet-compact-dropdown .music-wallet-status,
.wallet-compact-dropdown .music-wallet-status.connected,
.wallet-compact-dropdown .music-wallet-status.not-connected,
.wallet-compact-dropdown .music-wallet-status.error {
    position: relative !important;
    z-index: 3 !important;
    border-radius: var(--paxor-wallet-corner-radius) !important;
}

/* Когда снизу открыта любая часть кошелька, верхняя планка
   становится верхом единой панели. */
.wallet-compact-dropdown.details-open .music-wallet-status,
.wallet-compact-dropdown.network-open .music-wallet-status,
.wallet-compact-dropdown:has(.music-wallet-details-panel:not([hidden])) .music-wallet-status,
.wallet-compact-dropdown:has(.music-network-menu:not([hidden])) .music-wallet-status {
    border-radius:
        var(--paxor-wallet-corner-radius)
        var(--paxor-wallet-corner-radius)
        0 0 !important;
    border-bottom-color: var(--paxor-wallet-separator-color) !important;
    box-shadow:
        0 0 18px rgba(6, 217, 255, 0.14),
        0 6px 16px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Селектор не должен быть отдельной системой координат:
   меню сетей привязывается ко всей панели кошелька. */
.wallet-compact-dropdown .music-network-selector {
    position: static !important;
}

/* Основная панель начинается ровно после верхней планки.
   Нижняя рамка верхней планки остаётся единственным разделителем. */
.wallet-compact-dropdown .music-wallet-details-panel {
    position: absolute !important;
    top: var(--paxor-wallet-badge-height) !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    border-top: 0 !important;
    border-radius: 0 0
        var(--paxor-wallet-corner-radius)
        var(--paxor-wallet-corner-radius) !important;

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.48),
        0 8px 20px rgba(6, 217, 255, 0.08) !important;
    z-index: 2 !important;
}

/* Внутренняя шапка больше не рисует вторую рамку поверх
   линии соединения с верхней планкой. */
.wallet-compact-dropdown .music-wallet-details-header {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wallet-compact-dropdown .music-wallet-details-panel::before,
.wallet-compact-dropdown .music-wallet-details-panel::after {
    top: 1px !important;
    border-top: 0 !important;
    border-top-color: transparent !important;
    box-shadow: none !important;
}

/* Меню сетей теперь является нижней частью того же блока,
   а не отдельной fixed-панелью на странице. */
.wallet-compact-dropdown .music-network-menu {
    position: absolute !important;
    top: var(--paxor-wallet-badge-height) !important;
    right: 0 !important;
    left: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(
        100vh - var(--paxor-wallet-dropdown-top) -
        var(--paxor-wallet-badge-height) - 10px
    ) !important;

    margin: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0
        var(--paxor-wallet-corner-radius)
        var(--paxor-wallet-corner-radius) !important;

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.48),
        0 8px 20px rgba(6, 217, 255, 0.08) !important;
    z-index: 4 !important;
}

/* В скрытом состоянии весь составной блок исчезает вместе. */
.wallet-compact-dropdown[hidden],
.wallet-compact-dropdown[aria-hidden="true"] {
    display: none !important;
}

@media (max-width: 760px) {
    :root {
        --paxor-wallet-corner-radius: 10px;
    }

    .wallet-compact-dropdown .music-wallet-details-panel,
    .wallet-compact-dropdown .music-network-menu {
        position: absolute !important;
        top: var(--paxor-wallet-badge-height) !important;
        right: 0 !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }
}

.music-messages-badge {
    position: absolute;
    top: 6px;
    right: 5px;
    z-index: 4;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(4, 12, 16, .96);
    border-radius: 999px;
    background: #ff3b4f;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(255, 59, 79, .22), 0 8px 18px rgba(255, 59, 79, .34);
    pointer-events: none;
}

.music-messages-badge[hidden] {
    display: none !important;
}

.music-message-thread.unread .music-message-thread-copy strong {
    color: #fff;
}

.music-message-thread.unread .music-message-thread-copy small {
    color: #dfffee;
    font-weight: 800;
}

body.light-theme .music-messages-badge,
.light-theme .music-messages-badge {
    border-color: #f7fbff;
}

/* =========================================================
   TOP MENU — PAXOR LOGO SLIGHTLY LEFT
   ========================================================= */

@media (min-width: 761px) {

    nav .menu-left .nav-logo .logo-link {
        transform: translateX(-10px) !important;
    }
}

/* === PAXOR MOBILE SERVER CHROME V1 START === */
.paxor-mobile-bottom-nav { display: none; }

@media (max-width: 760px) {
    :root {
        --paxor-mobile-top-nav-height: 46px;
        --paxor-mobile-bottom-nav-height: 58px;
        --paxor-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
        --paxor-mobile-player-height: var(--paxor-player-height, 76px);
    }

    body {
        padding-top: var(--paxor-mobile-top-nav-height) !important;
        padding-bottom: calc(var(--paxor-mobile-player-height) + var(--paxor-mobile-bottom-nav-height) + var(--paxor-mobile-safe-bottom) + 8px) !important;
    }

    nav:not(.paxor-mobile-bottom-nav) {
        height: var(--paxor-mobile-top-nav-height) !important;
        min-height: var(--paxor-mobile-top-nav-height) !important;
        padding: 0 4px !important;
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
        overflow: visible !important;
    }

    nav:not(.paxor-mobile-bottom-nav) > .menu-center { display: none !important; }
    nav:not(.paxor-mobile-bottom-nav) > .menu-left { padding-left: 0 !important; flex: 0 0 auto !important; }
    nav:not(.paxor-mobile-bottom-nav) > .menu-right {
        min-width: 0 !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 1px !important;
        flex: 0 1 auto !important;
        overflow: visible !important;
    }

    .nav-logo img { width: 30px !important; height: 30px !important; }

    .nav-wallet-control, .nav-language, .nav-notifications, .nav-messages, .nav-account, .nav-more {
        width: 34px !important;
        min-width: 34px !important;
        flex: 0 0 34px !important;
    }

    #wallet-menu-button, .nav-language .menu-item, .nav-account .menu-item, #account-button,
    .notification-button, .music-messages-menu-button, .menu-toggle-btn {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        display: grid !important;
        place-items: center !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #wallet-menu-button > span:not(.wallet-menu-status-dot), .nav-language .menu-item > span,
    #account-button > span, .notification-button > .notification-tooltip,
    .music-messages-menu-button > .notification-tooltip, .menu-toggle-btn > .menu-tooltip {
        display: none !important;
    }

    .nav-language .language-icon, .nav-language .menu-item > img.language-icon { width: 20px !important; height: 20px !important; }
    .nav-wallet-control .wallet-menu-button > i.fa-wallet, .notification-button > i,
    .notification-button > i.fa-bell, .music-messages-menu-button > i, .menu-toggle-btn > i {
        font-size: 17px !important;
        line-height: 1 !important;
    }

    .music-messages-menu-button::before, .calculator-menu-button::before, .menu-toggle-btn::before {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
    }

    .nav-account .menu-item img.account-avatar, #account-button img.account-avatar {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
        flex: 0 0 27px !important;
    }

    #account-button:has(> img.account-avatar[src*="account.png"])::before,
    #account-button:has(> img.account-avatar[src*="account2.png"])::before {
        width: 26px !important;
        height: 25px !important;
        min-width: 26px !important;
        min-height: 25px !important;
        flex: 0 0 26px !important;
        -webkit-mask-size: 26px 25px !important;
        mask-size: 26px 25px !important;
    }

    #account-button::after { display: none !important; }
    .wallet-menu-status-dot { right: 4px !important; bottom: 7px !important; }
    .notification-badge, .music-messages-badge {
        top: 3px !important;
        right: 1px !important;
        min-width: 14px !important;
        height: 14px !important;
        padding: 0 3px !important;
        border-width: 1px !important;
        font-size: 8.5px !important;
    }

    .account-menu, .language-menu, .calculator-panel, .vertical-menu, .notification-dropdown {
        top: var(--paxor-mobile-top-nav-height) !important;
        max-height: calc(100dvh - var(--paxor-mobile-top-nav-height)) !important;
    }
    .wallet-compact-dropdown { top: var(--paxor-mobile-top-nav-height) !important; }

    .paxor-mobile-bottom-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        z-index: 1210 !important;
        height: calc(var(--paxor-mobile-bottom-nav-height) + var(--paxor-mobile-safe-bottom)) !important;
        min-height: calc(var(--paxor-mobile-bottom-nav-height) + var(--paxor-mobile-safe-bottom)) !important;
        padding: 5px 4px calc(5px + var(--paxor-mobile-safe-bottom)) !important;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 2px !important;
        align-items: stretch !important;
        border-top: 1px solid rgba(6, 217, 255, 0.20) !important;
        background: linear-gradient(180deg, rgba(11, 18, 22, 0.94), rgba(5, 8, 11, 0.99)), rgba(5, 8, 11, 0.99) !important;
        box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.36) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        box-sizing: border-box !important;
    }

    .paxor-mobile-bottom-nav .menu-item {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 3px 1px 2px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        border: 1px solid transparent !important;
        border-radius: 12px !important;
        color: rgba(232, 251, 255, 0.72) !important;
        text-decoration: none !important;
        font-size: 9.5px !important;
        font-weight: 750 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .paxor-mobile-bottom-nav .menu-item::before, .paxor-mobile-bottom-nav .menu-item::after { display: none !important; }
    .paxor-mobile-bottom-nav .menu-item span {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: inherit !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .paxor-mobile-bottom-nav .menu-item img, .paxor-mobile-bottom-nav .menu-item > i {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        object-fit: contain !important;
        font-size: 20px !important;
        line-height: 22px !important;
        color: currentColor !important;
        transform: none !important;
        filter: none !important;
    }
    .paxor-mobile-bottom-nav .menu-item[href="/leya"] img { width: 25px !important; height: 25px !important; border-radius: 50% !important; }
    .paxor-mobile-bottom-nav .menu-item.active {
        border-color: rgba(0, 204, 255, 0.46) !important;
        background: linear-gradient(180deg, rgba(0, 204, 255, 0.16), rgba(3, 125, 156, 0.10)), rgba(255, 255, 255, 0.04) !important;
        color: #eaffff !important;
    }
    .paxor-mobile-bottom-nav .menu-item.active > i, .paxor-mobile-bottom-nav .menu-item.active span { color: #00ccff !important; }
}

@media (max-width: 360px) {
    nav:not(.paxor-mobile-bottom-nav) { padding-left: 3px !important; padding-right: 3px !important; }
    .nav-logo img { width: 28px !important; height: 28px !important; }
    .nav-wallet-control, .nav-language, .nav-notifications, .nav-messages, .nav-account, .nav-more,
    #wallet-menu-button, .nav-language .menu-item, .nav-account .menu-item, #account-button,
    .notification-button, .music-messages-menu-button, .menu-toggle-btn {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        flex-basis: 32px !important;
    }
    .paxor-mobile-bottom-nav .menu-item { font-size: 8.7px !important; }
    .paxor-mobile-bottom-nav .menu-item img, .paxor-mobile-bottom-nav .menu-item > i {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        font-size: 18px !important;
        line-height: 20px !important;
    }
}
/* === PAXOR MOBILE SERVER CHROME V1 END === */

/* =========================================================
   PAXOR MUSIC — MOBILE ACCOUNT ICON FORCE V1
   Marketplace + track page only
   ========================================================= */

@media (max-width: 760px) {

    html body.paxor-music-active
    > nav:not(.paxor-mobile-bottom-nav)
    > .menu-right
    > .nav-account,

    html body:has(.music-shell)
    > nav:not(.paxor-mobile-bottom-nav)
    > .menu-right
    > .nav-account {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        flex: 0 0 34px !important;
        flex-shrink: 0 !important;

        position: relative !important;
        z-index: 20 !important;
    }


    html body.paxor-music-active
    #account-button,

    html body:has(.music-shell)
    #account-button {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;

        place-items: center !important;

        pointer-events: auto !important;
        overflow: visible !important;
    }


    html body.paxor-music-active
    #account-button
    > img.account-avatar,

    html body:has(.music-shell)
    #account-button
    > img.account-avatar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 27px !important;
        min-width: 27px !important;
        height: 27px !important;
        min-height: 27px !important;
    }
}

/* === PAXOR MOBILE TOP BAR ACCOUNT + VERTICAL DOTS V2 START === */
@media (max-width: 760px) {
    nav:not(.paxor-mobile-bottom-nav) > .menu-right {
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        overflow: visible !important;
    }

    nav:not(.paxor-mobile-bottom-nav) > .menu-right > li,
    nav:not(.paxor-mobile-bottom-nav) .nav-wallet-control,
    nav:not(.paxor-mobile-bottom-nav) .nav-language,
    nav:not(.paxor-mobile-bottom-nav) .nav-notifications,
    nav:not(.paxor-mobile-bottom-nav) .nav-messages,
    nav:not(.paxor-mobile-bottom-nav) .nav-account,
    nav:not(.paxor-mobile-bottom-nav) .nav-more {
        width: 38px !important;
        min-width: 38px !important;
        flex: 0 0 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #wallet-menu-button,
    nav:not(.paxor-mobile-bottom-nav) .nav-language .menu-item,
    nav:not(.paxor-mobile-bottom-nav) .notification-button,
    nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button,
    nav:not(.paxor-mobile-bottom-nav) #account-button,
    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
        align-content: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.paxor-music-active nav:not(.paxor-mobile-bottom-nav) .nav-account,
    body:has(.music-shell) nav:not(.paxor-mobile-bottom-nav) .nav-account,
    body.paxor-music-active nav:not(.paxor-mobile-bottom-nav) #account-button,
    body:has(.music-shell) nav:not(.paxor-mobile-bottom-nav) #account-button {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button::after {
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button img.account-avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        flex: 0 0 32px !important;
        margin: 0 !important;
        transform: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account.png"]) > img.account-avatar,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account2.png"]) > img.account-avatar {
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account.png"])::before,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account2.png"])::before {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        flex: 0 0 34px !important;
        margin: 0 !important;
        -webkit-mask-size: 34px 34px !important;
        mask-size: 34px 34px !important;
        -webkit-mask-position: center !important;
        mask-position: center !important;
        background-color: currentColor !important;
    }

    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn::before {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        flex: 0 0 30px !important;
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='18.5' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='12' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3Ccircle cx='12' cy='18.5' r='1.65' fill='none' stroke='black' stroke-width='1.15'/%3E%3C/svg%3E") !important;
        -webkit-mask-size: contain !important;
        mask-size: contain !important;
        -webkit-mask-position: center !important;
        mask-position: center !important;
    }
}

@media (max-width: 360px) {
    nav:not(.paxor-mobile-bottom-nav) > .menu-right > li,
    nav:not(.paxor-mobile-bottom-nav) .nav-wallet-control,
    nav:not(.paxor-mobile-bottom-nav) .nav-language,
    nav:not(.paxor-mobile-bottom-nav) .nav-notifications,
    nav:not(.paxor-mobile-bottom-nav) .nav-messages,
    nav:not(.paxor-mobile-bottom-nav) .nav-account,
    nav:not(.paxor-mobile-bottom-nav) .nav-more,
    nav:not(.paxor-mobile-bottom-nav) #wallet-menu-button,
    nav:not(.paxor-mobile-bottom-nav) .nav-language .menu-item,
    nav:not(.paxor-mobile-bottom-nav) .notification-button,
    nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button,
    nav:not(.paxor-mobile-bottom-nav) #account-button,
    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        flex-basis: 36px !important;
    }
}
/* === PAXOR MOBILE TOP BAR ACCOUNT + VERTICAL DOTS V2 END === */

/* === PAXOR MOBILE TOP BAR REAL ACCOUNT + VERTICAL DOTS V3 START === */
@media (max-width: 760px) {
    nav:not(.paxor-mobile-bottom-nav) > .menu-right {
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        overflow: visible !important;
    }

    nav:not(.paxor-mobile-bottom-nav) > .menu-right > li,
    nav:not(.paxor-mobile-bottom-nav) .nav-wallet-control,
    nav:not(.paxor-mobile-bottom-nav) .nav-language,
    nav:not(.paxor-mobile-bottom-nav) .nav-notifications,
    nav:not(.paxor-mobile-bottom-nav) .nav-messages,
    nav:not(.paxor-mobile-bottom-nav) .nav-account,
    nav:not(.paxor-mobile-bottom-nav) .nav-more {
        width: 38px !important;
        min-width: 38px !important;
        flex: 0 0 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #wallet-menu-button,
    nav:not(.paxor-mobile-bottom-nav) .nav-language .menu-item,
    nav:not(.paxor-mobile-bottom-nav) .notification-button,
    nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button,
    nav:not(.paxor-mobile-bottom-nav) #account-button,
    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
        align-content: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.paxor-music-active nav:not(.paxor-mobile-bottom-nav) .nav-account,
    body:has(.music-shell) nav:not(.paxor-mobile-bottom-nav) .nav-account {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.paxor-music-active nav:not(.paxor-mobile-bottom-nav) #account-button,
    body:has(.music-shell) nav:not(.paxor-mobile-bottom-nav) #account-button {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button::before,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account.png"])::before,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account2.png"])::before {
        content: none !important;
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button::after {
        content: none !important;
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button .account-guest-svg {
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) #account-button > img.account-avatar,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account.png"]) > img.account-avatar,
    nav:not(.paxor-mobile-bottom-nav) #account-button:has(> img.account-avatar[src*="account2.png"]) > img.account-avatar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        flex: 0 0 34px !important;
        margin: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 50% !important;
        transform: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn::before {
        content: none !important;
        display: none !important;
    }

    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn > i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        font-size: 22px !important;
        line-height: 1 !important;
        color: currentColor !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 360px) {
    nav:not(.paxor-mobile-bottom-nav) > .menu-right > li,
    nav:not(.paxor-mobile-bottom-nav) .nav-wallet-control,
    nav:not(.paxor-mobile-bottom-nav) .nav-language,
    nav:not(.paxor-mobile-bottom-nav) .nav-notifications,
    nav:not(.paxor-mobile-bottom-nav) .nav-messages,
    nav:not(.paxor-mobile-bottom-nav) .nav-account,
    nav:not(.paxor-mobile-bottom-nav) .nav-more,
    nav:not(.paxor-mobile-bottom-nav) #wallet-menu-button,
    nav:not(.paxor-mobile-bottom-nav) .nav-language .menu-item,
    nav:not(.paxor-mobile-bottom-nav) .notification-button,
    nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button,
    nav:not(.paxor-mobile-bottom-nav) #account-button,
    nav:not(.paxor-mobile-bottom-nav) .menu-toggle-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        flex-basis: 36px !important;
    }
}
/* === PAXOR MOBILE TOP BAR REAL ACCOUNT + VERTICAL DOTS V3 END === */

/* =========================================================
   PAXOR ACCOUNT MENU — COMPACT HEIGHT
   Width intentionally unchanged
   ========================================================= */

/* Убираем лишние вертикальные промежутки списка */
.account-menu ul {
    gap: 3px !important;
    row-gap: 3px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Компактнее каждая планка */
.account-menu ul li {
    min-height: 34px !important;
    height: 34px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Ссылка/кнопка внутри планки */
.account-menu ul li > a,
.account-menu ul li > button,
.account-menu .logout-btn {
    min-height: 34px !important;
    height: 34px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    display: flex !important;
    align-items: center !important;
}

/* Mobile */
@media (max-width: 768px) {
    .account-menu ul {
        gap: 2px !important;
        row-gap: 2px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .account-menu ul li,
    .account-menu ul li > a,
    .account-menu ul li > button,
    .account-menu .logout-btn {
        min-height: 32px !important;
        height: 32px !important;
    }
}


/* =========================================================
   PAXOR ACCOUNT MENU — SPACING + SMALLER ICON CIRCLES
   Width unchanged
   ========================================================= */

/* Одинаковый, чуть увеличенный зазор между планками */
.account-menu ul {
    gap: 5px !important;
    row-gap: 5px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Выравниваем все пункты, включая специальные нижние */
.account-menu ul li,
.account-menu ul li:has(#calculator-button-account),
.account-menu ul li:has(#logout-button-menu) {
    min-height: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Содержимое пунктов */
.account-menu ul li > a,
.account-menu ul li > button,
.account-menu .logout-btn,
.account-menu #calculator-button-account {
    min-height: 34px !important;
    height: 34px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Уменьшаем кружки позади иконок */
.account-menu ul li::before {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    left: 11px !important;
}

/* Уменьшаем сами иконки и их зону */
.account-menu ul li i {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .account-menu ul {
        gap: 4px !important;
        row-gap: 4px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .account-menu ul li,
    .account-menu ul li:has(#calculator-button-account),
    .account-menu ul li:has(#logout-button-menu),
    .account-menu ul li > a,
    .account-menu ul li > button,
    .account-menu .logout-btn,
    .account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
    }

    .account-menu ul li::before {
        width: 18px !important;
        min-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        left: 10px !important;
    }

    .account-menu ul li i {
        width: 18px !important;
        min-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        font-size: 11px !important;
    }
}


/* PAXOR ACCOUNT MENU — MORE SPACE BETWEEN ROWS */

.account-menu ul {
    gap: 8px !important;
    row-gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

@media (max-width: 768px) {
    .account-menu ul {
        gap: 7px !important;
        row-gap: 7px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
}


/* =========================================================
   PAXOR ACCOUNT MENU — UNIFORM SPACE BETWEEN ROWS
   ========================================================= */

/* Сбрасываем старые разные отступы */
.account-menu ul li,
.account-menu ul li:has(#calculator-button-account),
.account-menu ul li:has(#logout-button-menu) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Реальный одинаковый промежуток МЕЖДУ планками */
.account-menu ul li + li {
    margin-top: 8px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .account-menu ul li + li {
        margin-top: 7px !important;
    }
}


/* =========================================================
   PAXOR ACCOUNT MENU — FINAL UNIFORM ROWS + ICON ALIGNMENT
   ========================================================= */

/* Все пункты идут одной колонкой с абсолютно одинаковым gap */
.account-menu ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    row-gap: 8px !important;

    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

/* Убираем ВСЕ старые индивидуальные отступы */
.account-menu ul li,
.account-menu ul li + li,
.account-menu ul li:has(#calculator-button-account),
.account-menu ul li:has(#logout-button-menu) {
    position: relative !important;

    min-height: 34px !important;
    height: 34px !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Кружок вокруг значка */
.account-menu ul li::before {
    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;

    margin: 0 !important;

    transform: translateY(-50%) !important;

    border-radius: 50% !important;
}

/* Сам значок — точно в центре этого же кружка */
.account-menu ul li > i {
    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 12px !important;
    line-height: 1 !important;
}

/* Calculator и Logout больше не имеют своих отступов */
.account-menu ul li:has(#calculator-button-account),
.account-menu ul li:has(#logout-button-menu) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {

    .account-menu ul {
        display: flex !important;
        flex-direction: column !important;

        gap: 7px !important;
        row-gap: 7px !important;

        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .account-menu ul li,
    .account-menu ul li + li,
    .account-menu ul li:has(#calculator-button-account),
    .account-menu ul li:has(#logout-button-menu) {
        min-height: 32px !important;
        height: 32px !important;

        margin: 0 !important;
    }

    .account-menu ul li::before,
    .account-menu ul li > i {
        left: 10px !important;

        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;

        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .account-menu ul li > i {
        font-size: 11px !important;
    }
}


/* =========================================================
   PAXOR ACCOUNT MENU — RESTORE FULL ROW WIDTH
   ========================================================= */

.account-menu ul {
    align-items: stretch !important;
    width: 100% !important;
}

.account-menu ul li,
.account-menu ul li:has(#calculator-button-account),
.account-menu ul li:has(#logout-button-menu) {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex: 0 0 34px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .account-menu ul li,
    .account-menu ul li:has(#calculator-button-account),
    .account-menu ul li:has(#logout-button-menu) {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-basis: 32px !important;
    }
}


/* =========================================================
   PAXOR LANGUAGE MENU — MATCH ACCOUNT MENU
   ========================================================= */

/* Панель — такая же ширина, как Account Menu */
.language-menu {
    width: 305px !important;
    max-width: calc(100vw - 12px) !important;

    padding: 26px 17px 20px !important;

    border-radius: 0 0 17px 17px !important;

    box-sizing: border-box !important;
}

/* Все языки одной колонкой */
.language-menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;

    gap: 8px !important;
    row-gap: 8px !important;

    margin: 0 !important;

    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

/* Все планки одинакового размера */
.language-menu ul li {
    position: relative !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    min-height: 34px !important;
    height: 34px !important;

    flex: 0 0 34px !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 52px !important;
    padding-right: 38px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    border-radius: 14px !important;
}

/* Одинаковый маленький кружок, как в Account Menu */
.language-menu ul li::before {
    content: "" !important;

    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;

    margin: 0 !important;

    transform: translateY(-50%) !important;

    border-radius: 50% !important;

    pointer-events: none !important;
}

/* Флаг точно по центру кружка */
.language-menu ul li img.lang-icon {
    position: absolute !important;

    left: 14px !important;
    top: 50% !important;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    object-fit: contain !important;

    border-radius: 50% !important;
}

/* Название языка */
.language-menu ul li > span:not(.lang-check) {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 14.5px !important;
    font-weight: 550 !important;
    line-height: 1.25 !important;
}

/* Галочка активного языка остаётся справа */
.language-menu ul li .lang-check {
    position: absolute !important;

    right: 12px !important;
    top: 50% !important;

    margin: 0 !important;

    transform: translateY(-50%) !important;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .language-menu {
        width: 280px !important;
        max-width: calc(100vw - 12px) !important;

        padding: 22px 14px 18px !important;
    }

    .language-menu ul {
        gap: 7px !important;
        row-gap: 7px !important;

        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .language-menu ul li {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        min-height: 32px !important;
        height: 32px !important;

        flex: 0 0 32px !important;

        margin: 0 !important;

        padding-left: 48px !important;
        padding-right: 36px !important;
    }

    .language-menu ul li::before {
        left: 10px !important;

        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;

        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .language-menu ul li img.lang-icon {
        left: 13px !important;

        width: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;

        height: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;

        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .language-menu ul li > span:not(.lang-check) {
        font-size: 14px !important;
    }
}


/* Совсем узкий телефон — как Account Menu */
@media (max-width: 420px) {
    .language-menu {
        width: 100% !important;
        max-width: none !important;
    }
}


/* =========================================================
   ACCOUNT + LANGUAGE — EXACT SAME WIDTH
   ========================================================= */

.account-menu,
.language-menu {
    width: 305px !important;
    min-width: 305px !important;
    max-width: 305px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .account-menu,
    .language-menu {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

@media (max-width: 420px) {
    .account-menu,
    .language-menu {
        width: calc(100vw - 12px) !important;
        min-width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
    }
}


/* =========================================================
   PAXOR THREE DOTS MENU — EXACTLY LIKE ACCOUNT MENU
   ========================================================= */

/* ---------------------------------------------------------
   Одинаковая ширина всех трех меню
   Account / Language / Three dots
   --------------------------------------------------------- */

.account-menu,
.language-menu,
.vertical-menu {
    width: 305px !important;
    min-width: 305px !important;
    max-width: 305px !important;

    box-sizing: border-box !important;
}

/* Те же внешние отступы панели */
.vertical-menu {
    padding: 26px 17px 20px !important;
}


/* ---------------------------------------------------------
   Список — точно как в Account Menu
   --------------------------------------------------------- */

.vertical-menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;

    gap: 8px !important;
    row-gap: 8px !important;

    margin: 0 !important;

    padding-top: 7px !important;
    padding-right: 0 !important;
    padding-bottom: 7px !important;
    padding-left: 0 !important;
}


/* ---------------------------------------------------------
   Все планки одинаковые
   --------------------------------------------------------- */

.vertical-menu ul li,
.vertical-menu ul li + li {
    position: relative !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    min-height: 34px !important;
    height: 34px !important;

    flex: 0 0 34px !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   Кружок вокруг иконки — как в Account Menu
   --------------------------------------------------------- */

.vertical-menu ul li::before {
    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    margin: 0 !important;

    transform: translateY(-50%) !important;

    border-radius: 50% !important;
}


/* ---------------------------------------------------------
   Иконка строго по центру кружка
   --------------------------------------------------------- */

.vertical-menu ul li > i {
    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 12px !important;
    line-height: 1 !important;
}


/* ---------------------------------------------------------
   Ссылка внутри планки
   --------------------------------------------------------- */

.vertical-menu ul li > a {
    min-height: 34px !important;
    height: 34px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    display: flex !important;
    align-items: center !important;

    box-sizing: border-box !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .account-menu,
    .language-menu,
    .vertical-menu {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }

    .vertical-menu {
        padding: 22px 14px 18px !important;
    }

    .vertical-menu ul {
        gap: 7px !important;
        row-gap: 7px !important;

        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .vertical-menu ul li,
    .vertical-menu ul li + li {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        min-height: 32px !important;
        height: 32px !important;

        flex: 0 0 32px !important;

        margin: 0 !important;
    }

    .vertical-menu ul li::before,
    .vertical-menu ul li > i {
        left: 10px !important;
        top: 50% !important;

        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;

        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;

        transform: translateY(-50%) !important;
    }

    .vertical-menu ul li > i {
        font-size: 11px !important;
    }

    .vertical-menu ul li > a {
        min-height: 32px !important;
        height: 32px !important;
    }
}


/* Узкий телефон — все три меню одной ширины */
@media (max-width: 420px) {

    .account-menu,
    .language-menu,
    .vertical-menu {
        width: calc(100vw - 12px) !important;
        min-width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
    }
}


/* =========================================================
   PAXOR MESSAGES TOOLTIP — ABOVE OPEN DROPDOWN MENUS
   ========================================================= */

/* Контейнер сообщений поднимаем только при наведении */
nav:not(.paxor-mobile-bottom-nav) .nav-messages {
    position: relative !important;
}

nav:not(.paxor-mobile-bottom-nav) .nav-messages:hover {
    z-index: 3000 !important;
}

/* Кнопка конверта */
nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button {
    position: relative !important;
}

nav:not(.paxor-mobile-bottom-nav)
.music-messages-menu-button:hover {
    z-index: 3001 !important;
}

/* Сама подсказка — выше Account / Language / Three dots */
nav:not(.paxor-mobile-bottom-nav)
.music-messages-menu-button > .notification-tooltip {
    z-index: 9999 !important;
}

/* Родители не должны обрезать подсказку */
nav:not(.paxor-mobile-bottom-nav),
nav:not(.paxor-mobile-bottom-nav) .menu-right,
nav:not(.paxor-mobile-bottom-nav) .nav-messages {
    overflow: visible !important;
}


/* =========================================================
   MESSAGES TEXT TOOLTIP — ABSOLUTELY ABOVE ALL MENUS
   ========================================================= */

nav:not(.paxor-mobile-bottom-nav) .nav-messages {
    position: relative !important;
}

nav:not(.paxor-mobile-bottom-nav) .nav-messages:hover {
    z-index: 999998 !important;
}

nav:not(.paxor-mobile-bottom-nav)
.music-messages-menu-button {
    position: relative !important;
}

nav:not(.paxor-mobile-bottom-nav)
.music-messages-menu-button:hover {
    z-index: 999999 !important;
}

/* Именно текст подсказки */
nav:not(.paxor-mobile-bottom-nav)
.music-messages-menu-button > .notification-tooltip,
nav:not(.paxor-mobile-bottom-nav)
.nav-messages .notification-tooltip {
    position: absolute !important;
    z-index: 1000000 !important;

    overflow: visible !important;

    opacity: 1;
}

/* Не позволяем родителям обрезать подсказку */
nav:not(.paxor-mobile-bottom-nav) .menu-right,
nav:not(.paxor-mobile-bottom-nav) .nav-messages,
nav:not(.paxor-mobile-bottom-nav) .music-messages-menu-button {
    overflow: visible !important;
}


/* =========================================================
   MOBILE ACCOUNT / LANGUAGE / THREE DOTS FINAL ALIGN
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       ACCOUNT — такая же высота планок, как Language/3 dots
       ----------------------------------------------------- */

    .account-menu ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        row-gap: 7px !important;
    }

    .account-menu ul li,
    .account-menu ul li + li,
    .account-menu ul li:has(#calculator-button-account),
    .account-menu ul li:has(#logout-button-menu) {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        flex: 0 0 32px !important;

        margin: 0 !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        box-sizing: border-box !important;
    }

    .account-menu ul li > a,
    .account-menu ul li > button,
    .account-menu .logout-btn,
    .account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        display: flex !important;
        align-items: center !important;
    }


    /* -----------------------------------------------------
       LANGUAGE + THREE DOTS
       Чуть сдвигаем панели влево
       ----------------------------------------------------- */

    .language-menu,
    .vertical-menu {
        right: 6px !important;
        left: auto !important;
    }
}


/* На обычном телефоне панели стоят ровно с отступом 6px
   от обоих краёв */
@media (max-width: 420px) {

    .language-menu,
    .vertical-menu {
        width: calc(100vw - 12px) !important;
        min-width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;

        right: 6px !important;
        left: auto !important;
    }

    /* Account оставляем привязанным к правому краю,
       меняем только высоту его планок */
    .account-menu ul li,
    .account-menu ul li + li,
    .account-menu ul li:has(#calculator-button-account),
    .account-menu ul li:has(#logout-button-menu),
    .account-menu ul li > a,
    .account-menu ul li > button,
    .account-menu .logout-btn,
    .account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }
}


/* =========================================================
   PAXOR MOBILE DROPDOWNS — HARD FINAL
   ========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       ACCOUNT MENU
       Такая же компактная высота, как Language / Three dots
       ===================================================== */

    html body #account-menu.account-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 7px !important;
        row-gap: 7px !important;
    }

    html body #account-menu.account-menu ul > li {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        flex: 0 0 32px !important;

        margin: 0 !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        box-sizing: border-box !important;
    }

    html body #account-menu.account-menu ul > li > a,
    html body #account-menu.account-menu ul > li > button,
    html body #account-menu.account-menu .logout-btn,
    html body #account-menu.account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        display: flex !important;
        align-items: center !important;
    }


    /* =====================================================
       LANGUAGE — сдвигаем открытую панель влево
       ===================================================== */

    html body #language-menu.language-menu,
    html body #language-menu.language-menu.open {
        right: 10px !important;
        left: auto !important;
    }


    /* =====================================================
       THREE DOTS — сдвигаем открытую панель влево
       ===================================================== */

    html body #verticalMenu.vertical-menu,
    html body #verticalMenu.vertical-menu.open {
        right: 10px !important;
        left: auto !important;
    }
}


/* На обычном телефоне Account тоже 32px без исключений */
@media (max-width: 420px) {

    html body #account-menu.account-menu ul > li,
    html body #account-menu.account-menu ul > li > a,
    html body #account-menu.account-menu ul > li > button,
    html body #account-menu.account-menu .logout-btn,
    html body #account-menu.account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }

    html body #language-menu.language-menu.open,
    html body #verticalMenu.vertical-menu.open {
        right: 10px !important;
        left: auto !important;
    }
}


/* =========================================================
   PAXOR MOBILE DROPDOWNS — COMPACT ACCOUNT + FULL WIDTH
   ========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       ACCOUNT MENU — меньше расстояние между планками
       ===================================================== */

    html body #account-menu.account-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 4px !important;
        row-gap: 4px !important;

        margin: 0 !important;

        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    /* Полностью убираем старые индивидуальные отступы */
    html body #account-menu.account-menu ul > li,
    html body #account-menu.account-menu ul > li + li,
    html body #account-menu.account-menu ul > li:has(#calculator-button-account),
    html body #account-menu.account-menu ul > li:has(#logout-button-menu) {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        flex: 0 0 32px !important;

        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    html body #account-menu.account-menu ul > li > a,
    html body #account-menu.account-menu ul > li > button,
    html body #account-menu.account-menu .logout-btn,
    html body #account-menu.account-menu #calculator-button-account {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }


    /* =====================================================
       LANGUAGE — на всю ширину экрана
       ===================================================== */

    html body #language-menu.language-menu,
    html body #language-menu.language-menu.open {
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       THREE DOTS — на всю ширину экрана
       ===================================================== */

    html body #verticalMenu.vertical-menu,
    html body #verticalMenu.vertical-menu.open {
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   MOBILE ACCOUNT MENU — FINAL DETAILS
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       ВСЕ планки строго одной ширины, включая первую
       ----------------------------------------------------- */

    html body #account-menu.account-menu ul > li,
    html body #account-menu.account-menu ul > li:first-child,
    html body #account-menu.account-menu ul > li:last-child {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        align-self: stretch !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       Кружочки меньше
       ----------------------------------------------------- */

    html body #account-menu.account-menu ul > li::before {
        left: 11px !important;
        top: 50% !important;

        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;

        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;

        margin: 0 !important;

        transform: translateY(-50%) !important;

        border-radius: 50% !important;
    }


    /* -----------------------------------------------------
       Значок точно по центру маленького кружка
       ----------------------------------------------------- */

    html body #account-menu.account-menu ul > li > i {
        left: 11px !important;
        top: 50% !important;

        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;

        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 10px !important;
        line-height: 1 !important;
    }


    /* -----------------------------------------------------
       Шрифт как в меню "три точки"
       ----------------------------------------------------- */

    html body #account-menu.account-menu ul > li > a,
    html body #account-menu.account-menu ul > li > button,
    html body #account-menu.account-menu .logout-btn,
    html body #account-menu.account-menu #calculator-button-account,
    html body #account-menu.account-menu #calculator-button-account > span {
        font-size: 14.5px !important;
        font-weight: 550 !important;
        line-height: 1.25 !important;
    }
}












/* === MOBILE RIGHT ACCOUNT DRAWER V4 START === */

@media (max-width: 760px) {

    /* =====================================================
       PANEL
       ===================================================== */

    html body > #account-menu.account-menu {
        position: fixed !important;

        top: 56px !important;
        right: 0 !important;
        bottom: 58px !important;
        left: auto !important;

        width: min(84vw, 340px) !important;
        min-width: 0 !important;
        max-width: 340px !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;

        background:
            linear-gradient(
                180deg,
                rgba(10, 30, 37, .97),
                rgba(5, 17, 22, .985)
            ) !important;

        border:
            1px solid rgba(32, 217, 255, .24) !important;

        border-right: 0 !important;

        border-radius:
            16px 0 0 16px !important;

        box-shadow:
            -10px 0 28px rgba(0,0,0,.48) !important;

        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;

        transform:
            translate3d(102%,0,0) !important;

        visibility: visible !important;
        opacity: 1 !important;

        pointer-events: none !important;

        transition:
            transform .24s ease !important;

        z-index: 5000 !important;
    }


    html body > #account-menu.account-menu.open {
        transform:
            translate3d(0,0,0) !important;

        pointer-events: auto !important;
    }


    /* =====================================================
       HEADER — как слева
       ===================================================== */

    html body > #account-menu
    .account-mobile-right-drawer-header {
        flex: 0 0 55px !important;

        height: 55px !important;
        min-height: 55px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 14px !important;

        border-bottom:
            1px solid rgba(255,255,255,.07) !important;

        box-sizing: border-box !important;
    }


    html body > #account-menu
    .account-mobile-right-drawer-header strong {
        margin: 0 !important;
        padding: 0 !important;

        color: #ffffff !important;

        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }


    /* =====================================================
       LIST
       ===================================================== */

    html body > #account-menu.account-menu > ul {
        flex: 1 1 auto !important;

        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 10px 10px 14px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        box-sizing: border-box !important;

        list-style: none !important;

        scrollbar-width: thin;
        scrollbar-color:
            rgba(32,217,255,.55)
            transparent;
    }


    /* =====================================================
       ROW
       те же пропорции, что слева
       ===================================================== */

    html body > #account-menu.account-menu
    > ul > li {
        position: relative !important;

        display: grid !important;

        grid-template-columns:
            26px
            minmax(0,1fr) !important;

        align-items: center !important;

        column-gap: 12px !important;

        width: 100% !important;

        height: 42px !important;
        min-height: 42px !important;

        margin: 2px 0 !important;

        padding:
            0
            10px
            0
            14px !important;

        box-sizing: border-box !important;

        background:
            transparent !important;

        border:
            1px solid rgba(255,255,255,.045) !important;

        border-radius:
            8px !important;

        box-shadow:
            none !important;
    }


    /* Старые кружки полностью убираем */

    html body > #account-menu.account-menu
    > ul > li::before,

    html body > #account-menu.account-menu
    > ul > li::after {
        content: none !important;
        display: none !important;
    }


    /* =====================================================
       ICON
       ===================================================== */

    html body > #account-menu.account-menu
    > ul > li > i {
        position: static !important;

        inset: auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        justify-self: center !important;

        width: 26px !important;
        min-width: 26px !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        background: transparent !important;

        border: 0 !important;
        outline: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        color:
            rgba(220,232,240,.68) !important;

        font-size: 15px !important;
        line-height: 1 !important;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    html body > #account-menu.account-menu
    > ul > li > a,

    html body > #account-menu.account-menu
    > ul > li > button {
        position: static !important;

        inset: auto !important;

        display: flex !important;

        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        background: transparent !important;

        border: 0 !important;
        outline: 0 !important;

        box-shadow: none !important;

        color:
            rgba(225,235,242,.72) !important;

        font-size: 14px !important;
        font-weight: 550 !important;
        line-height: 1.15 !important;

        text-align: left !important;
        text-decoration: none !important;

        white-space: nowrap !important;
    }


    html body > #account-menu
    #calculator-button-account > span {
        font-size: 14px !important;
        font-weight: 550 !important;
        line-height: 1.15 !important;
    }


    /* =====================================================
       ACTIVE — один в один по идее с левой
       ===================================================== */

    html body > #account-menu.account-menu
    > ul > li.mobile-account-active {
        background:
            rgba(32,217,255,.12) !important;

        border-color:
            rgba(32,217,255,.26) !important;

        box-shadow:
            inset 3px 0 0 #20d9ff !important;
    }


    html body > #account-menu.account-menu
    > ul > li.mobile-account-active > i {
        color: #20d9ff !important;
    }


    html body > #account-menu.account-menu
    > ul > li.mobile-account-active > a,

    html body > #account-menu.account-menu
    > ul > li.mobile-account-active > button {
        color: #ffffff !important;

        font-weight: 700 !important;
    }


    /* Hover */

    html body > #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover {
        background:
            rgba(255,255,255,.045) !important;
    }


    html body > #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover > i,

    html body > #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover > a {
        color:
            rgba(255,255,255,.92) !important;
    }


    /* Logout */

    html body > #account-menu.account-menu
    > ul > li:has(#logout-button-menu) {
        margin-top: 8px !important;
    }


    /* =====================================================
       BACKDROP
       ===================================================== */

    body > #account-global-mobile-backdrop {
        position: fixed !important;

        top: 56px !important;
        right: 0 !important;
        bottom: 58px !important;
        left: 0 !important;

        background:
            rgba(0,0,0,.34) !important;

        opacity: 0 !important;
        visibility: hidden !important;

        pointer-events: none !important;

        transition:
            opacity .2s ease,
            visibility .2s ease !important;

        z-index: 4990 !important;
    }


    body.account-global-mobile-open
    > #account-global-mobile-backdrop {
        opacity: 1 !important;
        visibility: visible !important;

        pointer-events: auto !important;
    }

}


/* Desktop */
@media (min-width: 761px) {

    #account-menu
    .account-mobile-right-drawer-header {
        display: none !important;
    }

}

/* === MOBILE RIGHT ACCOUNT DRAWER V4 END === */


/* === ACCOUNT DESKTOP MENU LIKE MOBILE V5 START === */

@media (min-width: 761px) {

    /* =====================================================
       DESKTOP ACCOUNT PANEL
       ===================================================== */

    html body .nav-account {
        position: relative !important;
    }


    html body .nav-account
    > #account-menu.account-menu {

        position: absolute !important;

        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;

        width: 340px !important;
        min-width: 340px !important;
        max-width: 340px !important;

        height: auto !important;
        max-height: min(680px, calc(100vh - 90px)) !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;

        background:
            linear-gradient(
                180deg,
                rgba(10,30,37,.98),
                rgba(5,17,22,.99)
            ) !important;

        border:
            1px solid rgba(32,217,255,.24) !important;

        border-radius: 16px !important;

        box-shadow:
            0 16px 42px rgba(0,0,0,.52),
            inset 0 1px 0 rgba(255,255,255,.04)
            !important;

        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;

        transform:
            translateY(-8px) scale(.985) !important;

        transform-origin:
            top right !important;

        opacity: 0 !important;
        visibility: hidden !important;

        pointer-events: none !important;

        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease !important;

        z-index: 6000 !important;
    }


    html body .nav-account
    > #account-menu.account-menu.open {

        transform:
            translateY(0) scale(1) !important;

        opacity: 1 !important;
        visibility: visible !important;

        pointer-events: auto !important;
    }


    /* =====================================================
       HEADER — такой же как на MOBILE
       ===================================================== */

    html body #account-menu
    .account-mobile-right-drawer-header {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 55px !important;

        width: 100% !important;

        height: 55px !important;
        min-height: 55px !important;

        margin: 0 !important;
        padding: 0 14px !important;

        box-sizing: border-box !important;

        border-bottom:
            1px solid rgba(255,255,255,.07) !important;
    }


    html body #account-menu
    .account-mobile-right-drawer-header strong {

        margin: 0 !important;
        padding: 0 !important;

        color: #ffffff !important;

        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        text-align: center !important;
    }


    /* =====================================================
       LIST
       ===================================================== */

    html body #account-menu.account-menu
    > ul {

        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        margin: 0 !important;

        padding:
            10px
            10px
            12px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        list-style: none !important;

        box-sizing: border-box !important;

        scrollbar-width: thin;
        scrollbar-color:
            rgba(32,217,255,.55)
            transparent;
    }


    /* =====================================================
       ПЛАНКИ — как на MOBILE
       ===================================================== */

    html body #account-menu.account-menu
    > ul > li {

        position: relative !important;

        display: grid !important;

        grid-template-columns:
            26px
            minmax(0,1fr) !important;

        align-items: center !important;

        column-gap: 12px !important;

        width: 100% !important;

        height: 42px !important;
        min-height: 42px !important;

        margin:
            2px 0 !important;

        padding:
            0
            10px
            0
            14px !important;

        box-sizing: border-box !important;

        background:
            transparent !important;

        border:
            1px solid rgba(255,255,255,.045) !important;

        border-radius:
            8px !important;

        box-shadow:
            none !important;

        transition:
            background .16s ease,
            border-color .16s ease,
            color .16s ease !important;
    }


    /* никаких кружков вокруг иконок */

    html body #account-menu.account-menu
    > ul > li::before,

    html body #account-menu.account-menu
    > ul > li::after {

        content: none !important;
        display: none !important;
    }


    /* =====================================================
       ICONS
       ===================================================== */

    html body #account-menu.account-menu
    > ul > li > i {

        position: static !important;

        inset: auto !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        justify-self: center !important;

        width: 26px !important;
        min-width: 26px !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        background: transparent !important;

        border: 0 !important;
        outline: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        color:
            rgba(220,232,240,.68) !important;

        font-size: 15px !important;
        line-height: 1 !important;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    html body #account-menu.account-menu
    > ul > li > a,

    html body #account-menu.account-menu
    > ul > li > button {

        position: static !important;

        inset: auto !important;

        display: flex !important;

        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        outline: 0 !important;

        box-shadow: none !important;

        color:
            rgba(225,235,242,.72) !important;

        font-size: 14px !important;
        font-weight: 550 !important;
        line-height: 1.15 !important;

        text-align: left !important;
        text-decoration: none !important;

        white-space: nowrap !important;
    }


    html body #account-menu
    #calculator-button-account > span {

        font-size: 14px !important;
        font-weight: 550 !important;
    }


    /* =====================================================
       ACTIVE — тот же яркий PAXOR CYAN
       ===================================================== */

    html body #account-menu.account-menu
    > ul > li.mobile-account-active {

        background:
            rgba(32,217,255,.12) !important;

        border-color:
            rgba(32,217,255,.26) !important;

        box-shadow:
            inset 3px 0 0 #20d9ff !important;
    }


    html body #account-menu.account-menu
    > ul > li.mobile-account-active > i {

        color:
            #20d9ff !important;
    }


    html body #account-menu.account-menu
    > ul > li.mobile-account-active > a,

    html body #account-menu.account-menu
    > ul > li.mobile-account-active > button {

        color:
            #ffffff !important;

        font-weight:
            700 !important;
    }


    /* =====================================================
       HOVER
       ===================================================== */

    html body #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover {

        background:
            rgba(255,255,255,.045) !important;

        border-color:
            rgba(255,255,255,.08) !important;
    }


    html body #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover > i {

        color:
            #20d9ff !important;
    }


    html body #account-menu.account-menu
    > ul > li:not(.mobile-account-active):hover > a {

        color:
            #ffffff !important;
    }


    /* Logout немного отделяем */

    html body #account-menu.account-menu
    > ul > li:has(#logout-button-menu) {

        margin-top:
            8px !important;
    }

}

/* === ACCOUNT DESKTOP MENU LIKE MOBILE V5 END === */


/* === ACCOUNT DESKTOP MENU CLEAN V7 START === */

@media (min-width: 761px) {

    /* =====================================================
       1. МОБИЛЬНЫЙ СПИСОК НА DESKTOP НЕ ПОКАЗЫВАЕМ
       Именно он создавал второе меню
       ===================================================== */

    html body #account-menu
    > #account-mobile-navigation {
        display: none !important;

        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }


    /* =====================================================
       2. ЗАГОЛОВОК ACCOUNT НА DESKTOP НЕ НУЖЕН
       На мобильном он остаётся
       ===================================================== */

    html body #account-menu
    > .account-mobile-right-drawer-header {
        display: none !important;
    }


    /* =====================================================
       3. САМА ПАНЕЛЬ
       Не меняем рабочую механику V5.
       Только чуть плотнее вправо и ограничиваем высоту.
       ===================================================== */

    html body .nav-account
    > #account-menu.account-menu {

        right: -6px !important;

        top:
            calc(100% + 6px) !important;

        width: 340px !important;
        min-width: 340px !important;
        max-width: 340px !important;

        /*
         * Панель заканчивается выше глобального плеера.
         */
        max-height:
            calc(100vh - 185px) !important;

        overflow: hidden !important;
    }


    /* =====================================================
       4. ТОЛЬКО ОСНОВНОЙ СПИСОК
       ===================================================== */

    html body #account-menu.account-menu
    > ul:not(#account-mobile-navigation) {

        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        height: auto !important;

        max-height:
            calc(100vh - 185px) !important;

        margin: 0 !important;

        padding:
            10px
            10px
            12px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        box-sizing: border-box !important;
    }

}

/* === ACCOUNT DESKTOP MENU CLEAN V7 END === */


/* === MOBILE ACCOUNT MENU GRAY SCROLL V9 START === */

@media (max-width: 760px) {

    #account-menu.account-menu {
        scrollbar-width: thin !important;
        scrollbar-color:
            rgba(150, 158, 166, .65)
            transparent !important;
    }

    #account-menu.account-menu > ul {
        scrollbar-width: thin !important;
        scrollbar-color:
            rgba(150, 158, 166, .65)
            transparent !important;
    }

    #account-menu.account-menu::-webkit-scrollbar,
    #account-menu.account-menu > ul::-webkit-scrollbar {
        width: 5px !important;
    }

    #account-menu.account-menu::-webkit-scrollbar-track,
    #account-menu.account-menu > ul::-webkit-scrollbar-track {
        background: transparent !important;
    }

    #account-menu.account-menu::-webkit-scrollbar-thumb,
    #account-menu.account-menu > ul::-webkit-scrollbar-thumb {
        background:
            rgba(150, 158, 166, .65) !important;

        border-radius: 999px !important;
    }

    #account-menu.account-menu::-webkit-scrollbar-thumb:hover,
    #account-menu.account-menu > ul::-webkit-scrollbar-thumb:hover {
        background:
            rgba(178, 185, 192, .78) !important;
    }

}

/* === MOBILE ACCOUNT MENU GRAY SCROLL V9 END === */


/* === MOBILE ACCOUNT SCROLLBAR GRAY V10 START === */

@media (max-width: 760px) {

    html body #account-menu.account-menu,
    html body #account-menu.account-menu #account-mobile-navigation {

        scrollbar-width: thin !important;
        scrollbar-color: #7f878e transparent !important;
    }


    html body #account-menu.account-menu::-webkit-scrollbar,
    html body #account-menu.account-menu #account-mobile-navigation::-webkit-scrollbar {

        width: 5px !important;
        height: 5px !important;
    }


    html body #account-menu.account-menu::-webkit-scrollbar-track,
    html body #account-menu.account-menu #account-mobile-navigation::-webkit-scrollbar-track {

        background: transparent !important;
    }


    html body #account-menu.account-menu::-webkit-scrollbar-thumb,
    html body #account-menu.account-menu #account-mobile-navigation::-webkit-scrollbar-thumb {

        background: #7f878e !important;
        background-color: #7f878e !important;

        border-radius: 999px !important;

        border: 0 !important;
        box-shadow: none !important;
    }

}

/* === MOBILE ACCOUNT SCROLLBAR GRAY V10 END === */


/* === MOBILE LANGUAGE MENU GRAY SCROLL V11 START === */

@media (max-width: 760px) {

    html body .language-menu,
    html body .language-menu > ul {

        scrollbar-width: thin !important;
        scrollbar-color: #7f878e transparent !important;
    }


    html body .language-menu::-webkit-scrollbar,
    html body .language-menu > ul::-webkit-scrollbar {

        width: 5px !important;
        height: 5px !important;
    }


    html body .language-menu::-webkit-scrollbar-track,
    html body .language-menu > ul::-webkit-scrollbar-track {

        background: transparent !important;
    }


    html body .language-menu::-webkit-scrollbar-thumb,
    html body .language-menu > ul::-webkit-scrollbar-thumb {

        background: #7f878e !important;
        background-color: #7f878e !important;

        border: 0 !important;
        border-radius: 999px !important;

        box-shadow: none !important;
    }

}

/* === MOBILE LANGUAGE MENU GRAY SCROLL V11 END === */














/* === MOBILE NOTIFICATIONS REAL PLAYER EDGE V16 START === */

@media (max-width: 760px) {

    /*
     * Высоту --paxor-notification-panel-height
     * устанавливает menu.js по реальной позиции global player.
     */
    html body .notification-dropdown,
    html.paxor-mobile-ui body .notification-dropdown {

        position: fixed !important;

        top: var(--paxor-right-panel-top, 58px) !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;

        height: var(
            --paxor-notification-panel-height,
            calc(
                100dvh
                - var(--paxor-right-panel-top, 58px)
                - 130px
            )
        ) !important;

        min-height: 0 !important;
        max-height: none !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }


    /*
     * Прокручивается внутренний список уведомлений.
     */
    html body .notification-dropdown .notification-list,
    html.paxor-mobile-ui body .notification-dropdown .notification-list {

        flex: 1 1 auto !important;

        min-height: 0 !important;
        max-height: none !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        overscroll-behavior-y: contain !important;
        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: thin !important;
        scrollbar-color: #7f878e transparent !important;
    }


    /* Такой же scrollbar, как Account — 5px */

    html body .notification-dropdown .notification-list::-webkit-scrollbar,
    html.paxor-mobile-ui body .notification-dropdown .notification-list::-webkit-scrollbar {

        display: block !important;
        width: 5px !important;
        height: 5px !important;
    }


    html body .notification-dropdown .notification-list::-webkit-scrollbar-track,
    html.paxor-mobile-ui body .notification-dropdown .notification-list::-webkit-scrollbar-track {

        background: transparent !important;
    }


    html body .notification-dropdown .notification-list::-webkit-scrollbar-thumb,
    html.paxor-mobile-ui body .notification-dropdown .notification-list::-webkit-scrollbar-thumb {

        background: #7f878e !important;
        background-color: #7f878e !important;

        border: 0 !important;
        border-radius: 999px !important;

        box-shadow: none !important;
    }

}

/* === MOBILE NOTIFICATIONS REAL PLAYER EDGE V16 END === */


/* === MOBILE WALLET REAL PLAYER EDGE + GRAY SCROLL V17 START === */

@media (max-width: 760px) {

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel {

        position: fixed !important;

        /*
         * Старое положение сверху сохраняем.
         * Меняется только нижняя граница.
         */
        top: 126px !important;

        bottom: auto !important;

        height: var(
            --paxor-wallet-real-panel-height,
            calc(100dvh - 126px - 130px)
        ) !important;

        min-height: 0 !important;

        max-height: var(
            --paxor-wallet-real-panel-height,
            calc(100dvh - 126px - 130px)
        ) !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        overscroll-behavior-y: contain !important;
        -webkit-overflow-scrolling: touch !important;

        box-sizing: border-box !important;

        scrollbar-width: thin !important;
        scrollbar-color: #7f878e transparent !important;
    }


    /* Такой же scrollbar, как в Account menu */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel::-webkit-scrollbar {

        display: block !important;

        width: 5px !important;
        height: 5px !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel::-webkit-scrollbar-track {

        background: transparent !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel::-webkit-scrollbar-thumb {

        background: #7f878e !important;
        background-color: #7f878e !important;

        border: 0 !important;
        border-radius: 999px !important;

        box-shadow: none !important;
    }

}

/* === MOBILE WALLET REAL PLAYER EDGE + GRAY SCROLL V17 END === */


/* === MOBILE WALLET JOINED BADGE V19 START === */

@media (max-width: 760px) {

    /*
     * Весь верхний Wallet badge:
     * прямо под горизонтальным меню,
     * на всю ширину мобильного экрана.
     */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown {

        position: fixed !important;

        top: var(--paxor-right-panel-top, 58px) !important;

        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }


    /*
     * Сам верхний бейдж.
     * Убираем боковые зазоры и нижние скругления,
     * потому что ниже продолжается та же рамка.
     */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-status {

        width: 100% !important;
        max-width: 100% !important;

        height: 58px !important;
        min-height: 58px !important;

        margin: 0 !important;

        border-radius: 13px 13px 0 0 !important;

        border-bottom:
            1px solid rgba(3, 125, 156, .72) !important;

        box-sizing: border-box !important;
    }


    /*
     * Нижняя часть начинается ТОЧНО под badge:
     *
     * 58px — положение под horizontal menu
     * 58px — высота самого badge
     *
     * Итого top = 116px.
     */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel {

        position: fixed !important;

        top: calc(
            var(--paxor-right-panel-top, 58px)
            + 58px
        ) !important;

        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        margin: 0 !important;

        /*
         * Верх нижней рамки больше не выглядит
         * отдельной карточкой.
         */
        border-top: 0 !important;

        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;

        border-bottom-left-radius: 13px !important;
        border-bottom-right-radius: 13px !important;

        clip-path: none !important;

        background-clip: padding-box !important;

        box-sizing: border-box !important;
    }


    /*
     * Убираем возможный визуальный зазор/тень
     * между badge и нижней частью.
     */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-status {

        box-shadow:
            0 -1px 0 rgba(3, 125, 156, .25),
            inset 0 1px 0 rgba(255,255,255,.07) !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel {

        box-shadow:
            0 14px 34px rgba(0,0,0,.54) !important;
    }

}

/* === MOBILE WALLET JOINED BADGE V19 END === */


/* === MOBILE WALLET COMPACT LOWER HEADER V20 START === */

@media (max-width: 760px) {

    /* -----------------------------------------------------
       1. Нижний контур ВЕРХНЕГО badge
       Должен быть виден между badge и нижней частью
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-status {

        position: relative !important;
        z-index: 20 !important;

        border-bottom:
            1px solid rgba(3, 125, 156, .95) !important;

        box-shadow:
            inset 0 -1px 0 rgba(32, 217, 255, .18),
            inset 0 1px 0 rgba(255,255,255,.07) !important;
    }


    /* Нижняя рамка остаётся сразу под badge */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel {

        z-index: 10 !important;

        border-top: 0 !important;
    }


    /* -----------------------------------------------------
       2. Компактнее шапка нижней части Wallet
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header {

        min-height: 64px !important;
        height: auto !important;

        /*
         * Убираем старый большой отрицательный отступ сверху,
         * чтобы шапка не закрывала нижний контур badge.
         */
        margin:
            0 -15px 11px -15px !important;

        padding:
            8px 14px !important;

        gap: 9px !important;

        border-top: 0 !important;

        border-radius: 0 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       3. Значок кошелька в этой шапке меньше
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header
    .music-wallet-details-heading > i.fa-wallet {

        width: 43px !important;
        height: 43px !important;
        flex: 0 0 43px !important;

        font-size: 26px !important;

        margin: 0 !important;
    }


    /* Компактнее расстояние иконка -> текст */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header
    .music-wallet-details-heading {

        gap: 9px !important;

        min-height: 0 !important;
    }


    /* -----------------------------------------------------
       4. Текст над названием кошелька
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-heading > span,
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    #music-wallet-name {

        font-size: 9px !important;
        line-height: 1.15 !important;

        margin: 0 !important;
    }


    /* Основной кошелёк / состояние */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-heading > strong,
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    #music-wallet-details-state {

        font-size: 13px !important;
        line-height: 1.2 !important;

        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }


    /* Если справа есть кнопка закрытия */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    #music-wallet-details-close {

        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;

        font-size: 13px !important;
    }

}

/* === MOBILE WALLET COMPACT LOWER HEADER V20 END === */


/* === MOBILE WALLET BADGE + ADDRESS COMPACT V22 START === */

@media (max-width: 760px) {

    /* =====================================================
       1. НИЖНИЙ КОНТУР ВЕРХНЕГО BADGE ОСТАЁТСЯ ВИДИМЫМ
       ===================================================== */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-status {

        position: relative !important;
        z-index: 30 !important;

        margin-bottom: 0 !important;

        border-bottom:
            2px solid rgba(32, 217, 255, .58) !important;

        box-shadow:
            inset 0 -1px 0 rgba(255,255,255,.08),
            0 1px 0 rgba(0,0,0,.32) !important;
    }


    /* =====================================================
       2. УБИРАЕМ ПУСТОТУ МЕЖДУ BADGE И
          "ОСНОВНОЙ КОШЕЛЁК"
       ===================================================== */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-panel {

        margin-top: 0 !important;

        /*
         * Именно этот padding создавал пустую полоску
         * над нижней шапкой.
         */
        padding-top: 0 !important;

        border-top: 0 !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header {

        margin:
            0 -15px 8px -15px !important;

        border-radius: 0 !important;

        border-top: 0 !important;

        box-shadow: none !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header::before,

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-header::after {

        border-radius: 0 !important;
    }


    /* =====================================================
       3. РАМКА "АДРЕС КОШЕЛЬКА" КОМПАКТНЕЕ
       ===================================================== */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-section:has(#music-wallet-details-address) {

        height: auto !important;

        min-height: 0 !important;
        max-height: none !important;

        padding:
            10px 12px 9px !important;

        margin-top: 9px !important;

        box-sizing: border-box !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-section:has(#music-wallet-details-address)
    .music-wallet-details-label {

        margin-bottom: 5px !important;

        font-size: 10px !important;
        line-height: 1.15 !important;
    }


    /* Строка самого адреса */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-address-row {

        min-height: 28px !important;

        margin: 0 !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* Кнопки Copy / Explorer компактнее */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-address-actions {

        margin-top: 7px !important;

        gap: 7px !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-address-actions
    .music-wallet-link-btn {

        min-height: 33px !important;
        height: 33px !important;

        padding:
            5px 10px !important;

        font-size: 11px !important;

        border-radius: 9px !important;
    }


    /* =====================================================
       4. БЕГУЩИЙ ПОЛНЫЙ АДРЕС
       Только когда реально есть адрес 0x...
       ===================================================== */

    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-address-row:
    has(#music-wallet-details-address[title^="0x"]) {

        position: relative !important;

        display: block !important;

        width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;

        padding-right: 38px !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    #music-wallet-details-address[title^="0x"] {

        position: absolute !important;

        top: 50% !important;
        left: calc(100% - 38px);

        width: max-content !important;
        max-width: none !important;

        margin: 0 !important;

        white-space: nowrap !important;

        text-overflow: clip !important;

        transform:
            translateY(-50%);

        animation:
            paxorWalletAddressMarqueeV22
            12s
            linear
            1s
            infinite !important;

        will-change:
            left,
            transform;
    }


    /*
     * Copy остаётся справа неподвижной,
     * адрес проходит рядом с ней.
     */
    html body
    #wallet-compact-dropdown.wallet-compact-dropdown
    .music-wallet-details-address-row:
    has(#music-wallet-details-address[title^="0x"])
    .music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;

        z-index: 5 !important;

        transform:
            translateY(-50%) !important;
    }


    /*
     * Адрес появляется справа,
     * полностью проезжает влево
     * и затем цикл начинается снова.
     */
    @keyframes paxorWalletAddressMarqueeV22 {

        0% {
            left: calc(100% - 38px);
            transform:
                translateY(-50%)
                translateX(0);
        }

        8% {
            left: calc(100% - 38px);
            transform:
                translateY(-50%)
                translateX(0);
        }

        92% {
            left: 0;
            transform:
                translateY(-50%)
                translateX(-100%);
        }

        100% {
            left: 0;
            transform:
                translateY(-50%)
                translateX(-100%);
        }
    }

}

/* === MOBILE WALLET BADGE + ADDRESS COMPACT V22 END === */


/* === MOBILE WALLET ADDRESS ONE LINE V23 START === */

@media (max-width: 760px) {

    /* =====================================================
       РАМКА АДРЕСА — НИЖЕ И КОМПАКТНЕЕ
       ===================================================== */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-section:has(#music-wallet-details-address) {

        min-height: 0 !important;
        height: auto !important;

        padding: 8px 10px 8px !important;

        margin-top: 7px !important;
        margin-bottom: 7px !important;

        border-radius: 12px !important;

        box-sizing: border-box !important;
    }


    html body
    #wallet-compact-dropdown
    .music-wallet-details-section:has(#music-wallet-details-address)
    .music-wallet-details-label {

        display: block !important;

        margin: 0 0 4px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;
    }


    /* =====================================================
       ADDRESS ROW
       Всегда строго одна строка
       ===================================================== */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row {

        position: relative !important;

        display: block !important;

        width: 100% !important;

        height: 31px !important;
        min-height: 31px !important;
        max-height: 31px !important;

        margin: 0 !important;
        padding: 0 38px 0 0 !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /*
     * Обычное состояние:
     * "Кошелёк не подключён"
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address {

        display: block !important;

        width: auto !important;
        max-width: 100% !important;

        margin: 0 !important;

        font-size: 13px !important;
        line-height: 31px !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        word-break: normal !important;
        overflow-wrap: normal !important;
    }


    /* =====================================================
       ПОЛНЫЙ 0x ADDRESS — БЕГУЩАЯ СТРОКА
       ===================================================== */

    html body
    #wallet-compact-dropdown
    #music-wallet-details-address[title^="0x"] {

        position: absolute !important;

        top: 50% !important;

        /*
         * Начинается справа,
         * непосредственно перед кнопкой Copy.
         */
        left: calc(100% - 38px) !important;

        width: max-content !important;
        max-width: none !important;

        overflow: visible !important;

        white-space: nowrap !important;
        text-overflow: clip !important;

        line-height: 1 !important;

        transform:
            translateY(-50%);

        animation:
            paxorWalletAddressRunV23
            12s
            linear
            1s
            infinite !important;

        will-change:
            left,
            transform;
    }


    @keyframes paxorWalletAddressRunV23 {

        0%,
        8% {

            left: calc(100% - 38px);

            transform:
                translateY(-50%)
                translateX(0);
        }


        92%,
        100% {

            left: 0;

            transform:
                translateY(-50%)
                translateX(-100%);
        }
    }


    /* =====================================================
       COPY — НЕ ДВИГАЕТСЯ
       ===================================================== */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;
        left: auto !important;

        z-index: 10 !important;

        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform:
            translateY(-50%) !important;
    }


    /* =====================================================
       НИЖНИЕ ACTIONS
       Второй Copy не нужен — наверху уже есть иконка Copy
       ===================================================== */

    html body
    #wallet-compact-dropdown
    .music-wallet-address-actions {

        display: flex !important;

        width: 100% !important;

        margin-top: 5px !important;

        gap: 6px !important;

        min-height: 0 !important;
    }


    html body
    #wallet-compact-dropdown
    #music-wallet-copy-text-btn {

        display: none !important;
    }


    /* =====================================================
       ОБОЗРЕВАТЕЛЬ
       ===================================================== */

    html body
    #wallet-compact-dropdown
    #music-wallet-explorer-link {

        min-height: 31px !important;
        height: 31px !important;

        padding: 4px 11px !important;

        font-size: 11px !important;

        border-radius: 9px !important;
    }


    html body
    #wallet-compact-dropdown
    #music-wallet-explorer-link[aria-disabled="true"] {

        display: none !important;
    }


    /* =====================================================
       ПОДКЛЮЧИТЬ — КОГДА ADDRESS НЕТ
       ===================================================== */

    html body
    #wallet-compact-dropdown
    #music-wallet-address-connect-btn {

        width: 100% !important;

        min-height: 34px !important;
        height: 34px !important;

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 7px !important;

        padding: 5px 12px !important;

        font-size: 12px !important;
        font-weight: 700 !important;

        border-radius: 9px !important;
    }


    html body
    #wallet-compact-dropdown
    #music-wallet-address-connect-btn[hidden] {

        display: none !important;
    }

}

/* === MOBILE WALLET ADDRESS ONE LINE V23 END === */


/* === MOBILE WALLET FULL ADDRESS MARQUEE V24 START === */

@media (max-width: 760px) {

    /* Адрес — обычный шрифт, без жирности */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address {

        font-weight: 400 !important;
    }


    /*
     * Когда кошелёк подключён:
     * реальный textContent не показываем,
     * а полный адрес берём из title="0x..."
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address[title^="0x"] {

        position: absolute !important;

        top: 0 !important;
        left: 0 !important;
        right: 38px !important;

        width: auto !important;
        max-width: none !important;

        height: 31px !important;

        margin: 0 !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        color: transparent !important;

        font-size: 13px !important;
        font-weight: 400 !important;

        line-height: 31px !important;

        animation: none !important;

        transform: none !important;
    }


    /*
     * Полный адрес.
     * content: attr(title) = полный 0x...
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address[title^="0x"]::before {

        content: attr(title);

        position: absolute !important;

        top: 50% !important;
        left: 100% !important;

        display: block !important;

        width: max-content !important;

        color: #ffffff !important;

        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1 !important;

        white-space: nowrap !important;

        transform:
            translateY(-50%);

        animation:
            paxorWalletFullAddressRunV24
            13s
            linear
            1s
            infinite !important;

        will-change:
            left,
            transform;
    }


    /*
     * Адрес появляется справа,
     * полностью проходит перед кнопкой Copy
     * и уходит влево.
     */
    @keyframes paxorWalletFullAddressRunV24 {

        0%,
        8% {

            left: 100%;

            transform:
                translateY(-50%)
                translateX(0);
        }


        92%,
        100% {

            left: 0;

            transform:
                translateY(-50%)
                translateX(-100%);
        }
    }


    /* Copy остаётся неподвижной справа */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;

        z-index: 20 !important;

        transform:
            translateY(-50%) !important;
    }

}

/* === MOBILE WALLET FULL ADDRESS MARQUEE V24 END === */


/* === MOBILE WALLET REAL ADDRESS MARQUEE V25 START === */

@media (max-width: 760px) {

    /*
     * Отключаем предыдущую V24 pseudo-анимацию.
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address::before {

        content: none !important;
        display: none !important;
        animation: none !important;
    }


    /*
     * Окно, в котором проезжает адрес.
     * Справа оставляем место для Copy.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row {

        position: relative !important;

        display: block !important;

        width: 100% !important;

        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding: 0 38px 0 0 !important;

        margin: 0 !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /*
     * Не подключено — обычная неподвижная надпись.
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address:not([data-full-address^="0x"]) {

        position: static !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        color: rgba(225, 231, 235, .92) !important;

        font-size: 13px !important;
        font-weight: 400 !important;

        line-height: 30px !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        transform: none !important;
        animation: none !important;
    }


    /*
     * ПОДКЛЮЧЁННЫЙ WALLET:
     * двигаем реальный полный адрес.
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address[data-full-address^="0x"] {

        position: absolute !important;

        top: 50% !important;
        left: 100% !important;

        right: auto !important;

        display: block !important;

        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;

        margin: 0 !important;

        color: rgba(235, 239, 242, .95) !important;

        font-family:
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            monospace !important;

        font-size: 12.5px !important;

        /* без жирности */
        font-weight: 400 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        overflow: visible !important;

        text-overflow: clip !important;

        word-break: normal !important;
        overflow-wrap: normal !important;

        transform:
            translateY(-50%) !important;

        animation:
            paxorWalletAddressRealRunV25
            11s
            linear
            .6s
            infinite !important;

        animation-play-state:
            running !important;

        will-change:
            left;
    }


    /*
     * Реально едет СПРАВА -> ВЛЕВО.
     */
    @keyframes paxorWalletAddressRealRunV25 {

        0% {
            left: 100%;
        }

        8% {
            left: 100%;
        }

        92% {
            left: -100%;
        }

        100% {
            left: -100%;
        }
    }


    /*
     * Copy всегда стоит справа.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;
        left: auto !important;

        z-index: 30 !important;

        width: 30px !important;
        height: 30px !important;

        margin: 0 !important;

        transform:
            translateY(-50%) !important;
    }

}

/* === MOBILE WALLET REAL ADDRESS MARQUEE V25 END === */


/* === MOBILE WALLET ADDRESS MARQUEE FINAL V26 START === */

@media (max-width: 760px) {

    /* -----------------------------------------------------
       Отключаем старые варианты V24/V25
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    #music-wallet-details-address::before {

        content: none !important;
        display: none !important;
        animation: none !important;
    }


    /* -----------------------------------------------------
       Окно адреса
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row {

        position: relative !important;

        display: block !important;

        width: 100% !important;

        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        margin: 0 !important;
        padding: 0 39px 0 0 !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       Базовый текст — всегда видимый
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    #music-wallet-details-address {

        color: rgba(235,239,242,.95) !important;

        font-size: 12.5px !important;

        /* НЕ жирный */
        font-weight: 400 !important;

        white-space: nowrap !important;

        word-break: normal !important;
        overflow-wrap: normal !important;

        text-overflow: clip !important;

        opacity: 1 !important;

        visibility: visible !important;
    }


    /* -----------------------------------------------------
       Если кошелёк НЕ подключён
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    #music-wallet-details-address:not(.paxor-wallet-address-marquee) {

        position: static !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        line-height: 30px !important;

        overflow: hidden !important;

        transform: none !important;

        animation: none !important;
    }


    /* -----------------------------------------------------
       ПОЛНЫЙ подключённый адрес
       Реальный текст движется справа -> налево
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    #music-wallet-details-address.paxor-wallet-address-marquee {

        position: absolute !important;

        top: 50% !important;

        /*
         * Начальная точка прямо перед Copy.
         */
        left: calc(100% - 39px) !important;
        right: auto !important;

        display: inline-block !important;

        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;

        color: rgba(235,239,242,.95) !important;

        font-family:
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            monospace !important;

        font-size: 12.5px !important;
        font-weight: 400 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        opacity: 1 !important;
        visibility: visible !important;

        animation:
            paxorWalletAddressMoveV26
            10s
            linear
            0s
            infinite !important;

        will-change: transform;
    }


    @keyframes paxorWalletAddressMoveV26 {

        0% {
            transform:
                translate3d(0, -50%, 0);
        }

        5% {
            transform:
                translate3d(0, -50%, 0);
        }

        95% {
            transform:
                translate3d(
                    calc(-100% - 100vw),
                    -50%,
                    0
                );
        }

        100% {
            transform:
                translate3d(
                    calc(-100% - 100vw),
                    -50%,
                    0
                );
        }
    }


    /* -----------------------------------------------------
       Copy остаётся неподвижным справа
       ----------------------------------------------------- */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;
        left: auto !important;

        z-index: 50 !important;

        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;

        margin: 0 !important;

        transform:
            translateY(-50%) !important;
    }

}

/* === MOBILE WALLET ADDRESS MARQUEE FINAL V26 END === */


/* === MOBILE WALLET COPY MASK V27 START === */

@media (max-width: 760px) {

    /*
     * Адрес начинает движение чуть раньше,
     * чтобы первая буква не торчала под Copy.
     */
    html body
    #wallet-compact-dropdown
    #music-wallet-details-address.paxor-wallet-address-marquee {

        left: calc(100% - 46px) !important;
    }


    /*
     * Copy находится выше бегущего адреса.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: absolute !important;

        top: 50% !important;
        right: 0 !important;

        z-index: 60 !important;

        isolation: isolate !important;

        background: rgba(15, 19, 23, .98) !important;

        transform: translateY(-50%) !important;
    }


    /*
     * Небольшая маска слева от Copy.
     * Она полностью закрывает текст,
     * который мог выглядывать из-под значка.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn::before {

        content: "" !important;

        position: absolute !important;

        top: -2px !important;
        bottom: -2px !important;

        left: -10px !important;
        right: -2px !important;

        z-index: -1 !important;

        background: rgba(15, 19, 23, .98) !important;

        border-radius: 9px !important;

        pointer-events: none !important;
    }


    /* Сам значок всегда поверх маски */
    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn > i {

        position: relative !important;
        z-index: 2 !important;
    }

}

/* === MOBILE WALLET COPY MASK V27 END === */


/* === MOBILE WALLET ADDRESS SEPARATE VIEWPORT V28 START === */

@media (max-width: 760px) {

    /*
     * Address и Copy теперь две физически отдельные области.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row {

        position: relative !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            32px !important;

        align-items: center !important;

        gap: 7px !important;

        width: 100% !important;

        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding: 0 !important;
        margin: 0 !important;

        overflow: visible !important;

        box-sizing: border-box !important;
    }


    /*
     * Окно только для текста адреса.
     * Всё, что выходит вправо/влево,
     * физически обрезается здесь.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport {

        position: relative !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 30px !important;

        overflow: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /* обычное состояние — Wallet не подключён */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address:not(.paxor-wallet-address-marquee) {

        position: static !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        color: rgba(235,239,242,.95) !important;

        font-size: 12.5px !important;
        font-weight: 400 !important;

        line-height: 30px !important;

        white-space: nowrap !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        transform: none !important;
        animation: none !important;
    }


    /*
     * Подключённый Wallet:
     * полный адрес заезжает СПРАВА
     * только внутри своего viewport.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        position: absolute !important;

        top: 50% !important;
        left: 100% !important;
        right: auto !important;

        display: block !important;

        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        color: rgba(235,239,242,.96) !important;

        font-family:
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            monospace !important;

        font-size: 12.5px !important;
        font-weight: 400 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        overflow: visible !important;
        text-overflow: clip !important;

        animation:
            paxorWalletAddressViewportRunV28
            11s
            linear
            .5s
            infinite !important;

        will-change: transform;
    }


    @keyframes paxorWalletAddressViewportRunV28 {

        0%,
        6% {
            transform:
                translate3d(
                    0,
                    -50%,
                    0
                );
        }

        94%,
        100% {
            transform:
                translate3d(
                    calc(-100% - 100vw),
                    -50%,
                    0
                );
        }
    }


    /*
     * COPY — отдельная колонка.
     * Больше никакой чёрной маски.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        z-index: 20 !important;

        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        background:
            rgba(6,171,212,.08) !important;

        border:
            1px solid rgba(6,217,255,.24) !important;

        border-radius: 8px !important;

        box-shadow: none !important;
    }


    /*
     * Полностью убираем маску V27.
     */
    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn::before {

        content: none !important;

        display: none !important;
    }

}

/* === MOBILE WALLET ADDRESS SEPARATE VIEWPORT V28 END === */


/* === MOBILE WALLET ADDRESS + PLAIN COPY ICON V29 START === */

@media (max-width: 760px) {

    /* отдельное окно для бегущего адреса */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport {

        position: relative !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 30px !important;

        overflow: hidden !important;

        white-space: nowrap !important;
    }


    /* полный адрес */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        position: absolute !important;

        top: 50% !important;

        left: calc(100% - 3px) !important;
        right: auto !important;

        display: block !important;

        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        color: rgba(235,239,242,.96) !important;

        font-size: 12.5px !important;
        font-weight: 400 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        overflow: visible !important;
        text-overflow: clip !important;

        opacity: 1 !important;
        visibility: visible !important;

        animation:
            paxorWalletAddressRunV29
            10s
            linear
            infinite !important;

        will-change: transform;
    }


    @keyframes paxorWalletAddressRunV29 {

        from {
            transform:
                translate3d(
                    0,
                    -50%,
                    0
                );
        }

        to {
            transform:
                translate3d(
                    calc(-100% - 100vw),
                    -50%,
                    0
                );
        }
    }


    /* =====================================================
       COPY — ТОЛЬКО ЗНАЧОК, БЕЗ РАМКИ
       ===================================================== */

    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        /* полностью убрать рамку */
        border: 0 !important;
        outline: 0 !important;

        /* убрать квадратный фон */
        background: transparent !important;

        border-radius: 0 !important;

        box-shadow: none !important;

        color: #8feeff !important;

        transform: none !important;

        z-index: 20 !important;
    }


    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn::before,

    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn::after {

        content: none !important;
        display: none !important;
    }


    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn > i {

        font-size: 19px !important;

        color: #8feeff !important;

        background: transparent !important;

        border: 0 !important;

        box-shadow: none !important;
    }

}

/* === MOBILE WALLET ADDRESS + PLAIN COPY ICON V29 END === */


/* === MOBILE WALLET VISIBLE MARQUEE V30 START === */

@media (max-width:760px) {

    /*
     * Отдельное окно адреса.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport {

        position:relative !important;

        display:block !important;

        width:100% !important;
        min-width:0 !important;

        height:30px !important;

        overflow:hidden !important;

        white-space:nowrap !important;
    }


    /*
     * Полный адрес.
     * Больше не держим его долго полностью справа за экраном.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        position:absolute !important;

        top:50% !important;

        left:0 !important;
        right:auto !important;

        display:inline-block !important;

        width:max-content !important;
        min-width:max-content !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;

        color:rgba(235,239,242,.96) !important;

        font-family:
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            monospace !important;

        font-size:12.5px !important;
        font-weight:400 !important;

        line-height:1 !important;

        white-space:nowrap !important;

        overflow:visible !important;
        text-overflow:clip !important;

        opacity:1 !important;
        visibility:visible !important;

        animation:
            paxorWalletAddressVisibleV30
            12s
            linear
            infinite !important;

        /*
         * Начинаем не с невидимой части цикла,
         * а уже когда адрес входит в окно.
         */
        animation-delay:-3s !important;

        will-change:transform;
    }


    /*
     * В начале адрес появляется справа,
     * затем полностью проходит через окно.
     */
    @keyframes paxorWalletAddressVisibleV30 {

        0% {
            transform:
                translate3d(
                    calc(100vw - 120px),
                    -50%,
                    0
                );
        }

        100% {
            transform:
                translate3d(
                    calc(-100% - 20px),
                    -50%,
                    0
                );
        }
    }


    /*
     * Copy остаётся отдельным справа,
     * без рамки и без фона.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        position:relative !important;

        top:auto !important;
        right:auto !important;
        left:auto !important;

        width:30px !important;
        height:30px !important;
        min-width:30px !important;

        padding:0 !important;
        margin:0 !important;

        border:0 !important;
        outline:0 !important;

        border-radius:0 !important;

        background:transparent !important;

        box-shadow:none !important;

        transform:none !important;

        z-index:30 !important;
    }


    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn::before,
    html body
    #wallet-compact-dropdown
    #music-copy-wallet-address-btn::after {

        content:none !important;
        display:none !important;
    }

}

/* === MOBILE WALLET VISIBLE MARQUEE V30 END === */


/* === MOBILE WALLET MARQUEE MOVING V31 START === */

@media (max-width:760px) {

    /*
     * Полный адрес.
     * Чуть выше и реальное движение через translate.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        position:absolute !important;

        /*
         * Было 50%.
         * Поднимаем примерно на 4px.
         */
        top:43% !important;

        left:0 !important;
        right:auto !important;

        display:inline-block !important;

        width:max-content !important;
        min-width:max-content !important;
        max-width:none !important;

        margin:0 !important;
        padding:0 !important;

        color:rgba(235,239,242,.96) !important;

        font-size:12.5px !important;
        font-weight:400 !important;

        line-height:1 !important;

        white-space:nowrap !important;

        overflow:visible !important;
        text-overflow:clip !important;

        opacity:1 !important;
        visibility:visible !important;

        /*
         * Старый transform оставляем только
         * для вертикального центрирования.
         */
        transform:translateY(-50%) !important;

        /*
         * Горизонтальное движение теперь отдельным
         * свойством translate.
         */
        translate:0 0;

        animation:
            paxorWalletAddressMoveV31
            11s
            linear
            infinite !important;

        animation-delay:-1.5s !important;

        will-change:translate;
    }


    @keyframes paxorWalletAddressMoveV31 {

        0% {
            translate:
                calc(100vw - 105px)
                0;
        }

        100% {
            translate:
                calc(-100% - 25px)
                0;
        }
    }


    /*
     * Окно адреса остаётся отдельным от Copy.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport {

        position:relative !important;

        display:block !important;

        width:100% !important;
        min-width:0 !important;

        height:30px !important;

        overflow:hidden !important;

        white-space:nowrap !important;
    }


    /*
     * Copy остаётся неподвижным,
     * без рамки и фона.
     */
    html body
    #wallet-compact-dropdown
    .music-wallet-details-address-row
    #music-copy-wallet-address-btn {

        border:0 !important;
        outline:0 !important;

        background:transparent !important;

        box-shadow:none !important;

        transform:none !important;
    }

}

/* === MOBILE WALLET MARQUEE MOVING V31 END === */


/* === MOBILE WALLET MARQUEE POSITION V32 START === */

@media (max-width:760px) {

    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        /* было 43%, опускаем чуть ниже */
        top:46% !important;
    }

}

/* === MOBILE WALLET MARQUEE POSITION V32 END === */


/* === MOBILE WALLET MARQUEE POSITION V33 START === */

@media (max-width:760px) {

    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        top:48% !important;
    }

}

/* === MOBILE WALLET MARQUEE POSITION V33 END === */


/* === MOBILE WALLET MARQUEE POSITION V34 START === */

@media (max-width:760px) {

    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        top:50% !important;
    }

}

/* === MOBILE WALLET MARQUEE POSITION V34 END === */


/* === MOBILE WALLET MARQUEE POSITION V35 START === */

@media (max-width:760px) {

    html body
    #wallet-compact-dropdown
    .music-wallet-address-marquee-viewport
    #music-wallet-details-address.paxor-wallet-address-marquee {

        top:52% !important;
    }

}

/* === MOBILE WALLET MARQUEE POSITION V35 END === */


/* === MOBILE NETWORK MENU WIDE V36 START === */

@media (max-width:760px) {

    /*
     * Список сетей:
     *
     * LEFT = начало кнопки выбора сети
     * RIGHT = край экрана
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu.music-network-menu {

        position:fixed !important;

        left:
            var(
                --paxor-mobile-network-menu-left,
                190px
            ) !important;

        right:0 !important;

        width:auto !important;
        min-width:0 !important;
        max-width:none !important;

        padding:7px !important;

        box-sizing:border-box !important;

        overflow-x:hidden !important;
        overflow-y:auto !important;

        border:
            1px solid rgba(32,217,255,.42) !important;

        /*
         * Справа меню касается края,
         * поэтому правые углы прямые.
         */
        border-right:0 !important;

        border-radius:
            12px 0 0 12px !important;

        background:
            linear-gradient(
                180deg,
                rgba(12,34,43,.99),
                rgba(7,21,27,.99)
            ) !important;

        box-shadow:
            -8px 8px 28px rgba(0,0,0,.42),
            inset 1px 0 0 rgba(32,217,255,.10)
            !important;

        z-index:1900 !important;
    }


    /*
     * Каждая сеть:
     * Logo | Name | Check
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option {

        display:grid !important;

        grid-template-columns:
            28px
            minmax(0,1fr)
            16px !important;

        align-items:center !important;

        gap:9px !important;

        width:100% !important;

        min-height:43px !important;

        margin:0 0 5px 0 !important;

        padding:6px 7px !important;

        box-sizing:border-box !important;

        text-align:left !important;

        border:
            1px solid rgba(32,217,255,.14) !important;

        border-radius:9px !important;

        background:
            rgba(255,255,255,.025) !important;
    }


    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option:last-child {

        margin-bottom:0 !important;
    }


    /*
     * Логотип.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option > img {

        display:block !important;

        width:26px !important;
        height:26px !important;

        min-width:26px !important;

        object-fit:contain !important;

        margin:0 !important;
    }


    /*
     * Возвращаем текст, который сейчас
     * на мобильном фактически скрыт.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option-copy {

        display:block !important;

        width:auto !important;
        min-width:0 !important;

        opacity:1 !important;
        visibility:visible !important;
    }


    /*
     * Название сети.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option-copy strong {

        display:block !important;

        color:#f2f6f8 !important;

        font-size:12px !important;
        font-weight:600 !important;

        line-height:1.2 !important;

        white-space:nowrap !important;

        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }


    /*
     * Chain ID в мобильном списке убираем.
     * Оставляем только название сети —
     * так меню выглядит чище.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option-copy small {

        display:none !important;
    }


    /*
     * Галочка выбранной сети.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option-check {

        display:block !important;

        justify-self:center !important;

        font-size:10px !important;
    }


    /*
     * Выбранная сеть.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option.selected {

        border-color:
            rgba(32,217,255,.42) !important;

        background:
            rgba(32,217,255,.10) !important;
    }

}

/* === MOBILE NETWORK MENU WIDE V36 END === */


/* === MOBILE NETWORK MENU PLAYER LIMIT V37 START === */

@media (max-width:760px) {

    html body
    #wallet-compact-dropdown
    #music-network-menu.music-network-menu {

        /*
         * Высоту выставляет JS по реальному
         * верхнему краю глобального плеера.
         */
        height:
            var(
                --paxor-mobile-network-menu-height,
                auto
            ) !important;

        max-height:
            var(
                --paxor-mobile-network-menu-height,
                calc(100dvh - 190px)
            ) !important;

        /*
         * Прокрутка только внутри рамки.
         */
        overflow-x:hidden !important;
        overflow-y:auto !important;

        overscroll-behavior:contain !important;

        scrollbar-gutter:stable !important;

        box-sizing:border-box !important;


        /* Firefox */
        scrollbar-width:thin !important;
        scrollbar-color:
            #7f878e
            transparent !important;
    }


    /* Chrome / Android / Edge */

    html body
    #wallet-compact-dropdown
    #music-network-menu.music-network-menu::-webkit-scrollbar {

        width:5px !important;
    }


    html body
    #wallet-compact-dropdown
    #music-network-menu.music-network-menu::-webkit-scrollbar-track {

        background:transparent !important;
    }


    html body
    #wallet-compact-dropdown
    #music-network-menu.music-network-menu::-webkit-scrollbar-thumb {

        background:#7f878e !important;
        background-color:#7f878e !important;

        border:0 !important;

        border-radius:999px !important;

        box-shadow:none !important;
    }


    /*
     * Немного воздуха справа от названий,
     * чтобы scrollbar не касался текста.
     */
    html body
    #wallet-compact-dropdown
    #music-network-menu
    .music-network-option {

        padding-right:9px !important;
    }

}

/* === MOBILE NETWORK MENU PLAYER LIMIT V37 END === */

/* Account dropdown — Blockchain custom PNG */
#account-dropdown .account-blockchain-icon,
.account-menu .account-blockchain-icon,
.account-blockchain-icon {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    flex: 0 0 20px !important;
    filter: brightness(0) saturate(100%) invert(60%) !important;
    opacity: 1 !important;
}


/* Blockchain PNG — active state */
a.active > .account-blockchain-icon,
li.active > a > .account-blockchain-icon,
a[aria-current="page"] > .account-blockchain-icon,
.menu-item.active > .account-blockchain-icon {
    content: url("/static/img/blockchain_blue.png") !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Desktop wallet stays connected from its status badge to the player edge. */
@media (min-width: 761px) {
    html body #wallet-compact-dropdown#wallet-compact-dropdown {
        bottom: auto !important;
        height: max(0px, calc(100dvh - var(--paxor-wallet-dropdown-top, 68px) - var(--paxor-menu-player-bottom-inset, 88px))) !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
    }
    html body #wallet-compact-dropdown#wallet-compact-dropdown > .nav-global-wallet {
        height: 100% !important;
        min-height: 0 !important;
    }
    html body #wallet-compact-dropdown #music-wallet-status.music-wallet-status {
        border-radius: var(--paxor-wallet-corner-radius, 12px) !important;
        border-bottom: 1px solid rgba(6, 171, 212, .46) !important;
    }
    html body #wallet-compact-dropdown #music-wallet-status.not-connected {
        border-bottom-color: rgba(242, 189, 85, .48) !important;
    }
    html body #wallet-compact-dropdown #music-wallet-status.error {
        border-bottom-color: rgba(255, 105, 105, .58) !important;
    }
    html body #wallet-compact-dropdown #music-wallet-details-panel.music-wallet-details-panel {
        top: var(--paxor-wallet-badge-height, 68px) !important;
        bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 0 !important;
        clip-path: none !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }
    html body #wallet-compact-dropdown #music-wallet-details-panel .music-wallet-details-header {
        width: auto !important;
        max-width: none !important;
    }
    html body #wallet-compact-dropdown #music-wallet-details-panel .music-wallet-details-header,
    html body #wallet-compact-dropdown #music-wallet-details-panel .music-wallet-details-header::before,
    html body #wallet-compact-dropdown #music-wallet-details-panel .music-wallet-details-header::after {
        border-radius: 0 !important;
    }
    html body #wallet-compact-dropdown #music-wallet-details-panel::before,
    html body #wallet-compact-dropdown #music-wallet-details-panel::after {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
    html body #wallet-compact-dropdown #music-network-menu.music-network-menu {
        position: fixed !important;
        top: calc(var(--paxor-wallet-dropdown-top, 68px) + var(--paxor-wallet-badge-height, 68px)) !important;
        bottom: auto !important;
        right: 0 !important;
        left: auto !important;
        width: var(--paxor-wallet-panel-width, 320px) !important;
        max-width: calc(100vw - 8px) !important;
        height: max(0px, calc(100dvh - var(--paxor-wallet-dropdown-top, 68px) - var(--paxor-wallet-badge-height, 68px) - var(--paxor-menu-player-bottom-inset, 88px))) !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }
}
