.fancybox-bg {
    opacity: 0.56 !important;
    background: var(--Night-Black, #1c232b) !important;
}

.fancybox-close-small {
    display: flex !important;
    top: 18px !important;
    right: 16px !important;
    position: absolute !important;
    width: 40px !important;
    height: 40px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 32px !important;
    background: var(--Graphite-Gray, #1e2329) !important;
    box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 1px #1e2329,
        0 0 1px 1.5px rgba(0, 0, 0, 0.24), 0 2px 2px 0 rgba(0, 0, 0, 0.24) !important;
}

.user_profile {
    display: flex;
    padding-bottom: 12px;
    gap: 8px;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid var(--Graphite-Gray, #1e2329);
}

.user_photo {
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
    border-radius: 1000px;
    border: 1px solid var(--Graphite-Gray, #1e2329);
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
}
.user_photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.user_info {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.user_name {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.user_name a {
    color: var(--Silver-White, #eaecef);
    text-decoration: none;
    transition: color 0.2s ease;
}

.user_name a:hover {
    color: var(--Binance-Yellow, #f0890b);
}

.bets_aval {
    color: var(--Muted-Gray, #8b949e);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 140% */
}

.bets_aval span {
    color: var(--Binance-Yellow, #f0890b);
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.menu_li {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: left;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.menu_li:hover {
    padding-left: 4px;
}

.menu_li:hover .li_icon {
    color: var(--Binance-Yellow, #f0890b);
}

.menu_li:hover a {
    color: var(--Binance-Yellow, #f0890b);
}

.li_icon {
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease;
}

.li_icon svg {
    transition: all 0.2s ease;
}

.menu_li_about {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--Graphite-Gray, #1e2329) !important;
}

.menu_li a {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
}

.menu_li_logout {
    margin-top: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--Graphite-Gray, #1e2329);
}

.menu_li_telegram {
    border-bottom: 1px solid var(--Graphite-Gray, #1e2329);
    padding-bottom: 20px;
}

.menu_li_link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.menu_li_link:hover {
    padding-left: 4px;
}

.menu_li_link:hover .li_icon,
.menu_li_link:hover .external_link {
    color: var(--Binance-Yellow, #f0890b);
}

.menu_li_link:hover a {
    color: var(--Binance-Yellow, #f0890b);
}

.li_link_content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: left;
}

.external_link {
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease;
}

.external_link svg {
    transition: all 0.2s ease;
}

.btn_makebid {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 32px;
    padding: 15px;
    background: linear-gradient(90deg, #f0890b 0%, #ff3358 100%);
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 137, 11, 0.3);
}

.btn_makebid:hover {
    box-shadow: 0 6px 20px rgba(240, 137, 11, 0.5);
    transform: translateY(-1px);
}

.menu_divider {
    border: none;
    border-top: 1px solid rgba(234, 236, 239, 0.08);
    margin: 16px 0;
}

.menu_separator {
    color: var(--Muted-Gray, #8b949e);
    margin: 0 8px;
    font-family: Inter;
    font-size: 12px;
}

.menu_li_auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu_content {
    display: flex;
    flex-direction: column;
}

#main_menu {
    width: 100%;
    max-width: 300px;
    background: var(--Night-Black, #0b0e11);
    border-radius: 16px;
}

.pay_method_image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.pay_method_image:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pay_method_image img {
    max-width: 100%;
    height: auto;
}
