body {
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--globe);
}

body::-webkit-scrollbar {
    width: 0;
}

body::-webkit-scrollbar-thumb {
    background-color: #000;
}


.container {
    max-width: 1024px;
    margin-inline: auto;
}

.game-viewport {
    --game-shell-viewport-height: var(--app-height, 100vh);
    --game-shell-header-space: 0px;
    --game-shell-height: max(0px, calc(var(--game-shell-viewport-height) - var(--game-shell-header-space)));
    box-sizing: border-box;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--game-shell-viewport-height);
    z-index: 12500;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding-top: var(--game-shell-header-space);
    padding-bottom: 0;
    overflow: hidden;
    background-color: var(--island-orange);
}

@supports (height: 100dvh) {
    .game-viewport {
        --game-shell-viewport-height: var(--app-height, 100dvh);
    }
}

.game-viewport--active {
    display: flex;
}

.game-viewport__stage {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    margin-top: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    background-color: var(--island-orange);
}

@media (orientation: portrait) {
    .game-viewport__stage {
        width: 100vw;
        height: calc(100vw * 17 / 9);
        max-width: 100vw;
        max-height: none;
        aspect-ratio: 9 / 17;
    }
}

.game-viewport__curtain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: #ED4E08;
    transform: translateY(0);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.game-viewport__iframe,
#game-iframe,
iframe[data-game],
iframe[src*="/game/"] {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background-color: var(--island-orange);
    opacity: 1;
    transition: opacity 140ms ease-out;
}

body.game-viewport-active {
    overflow: hidden;
    overscroll-behavior: none;
}

body.game-viewport-header-visible.tg-layout.tg-has-header::before {
    z-index: 12610;
}

body.game-viewport-header-visible .header {
    z-index: 12620;
}

.game-viewport--loading .game-viewport__curtain,
.game-viewport--reveal .game-viewport__curtain {
    visibility: visible;
    opacity: 1;
}

.game-viewport--loading .game-viewport__iframe {
    opacity: 0;
}

.game-viewport--reveal .game-viewport__curtain {
    animation: game-curtain-open 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.game-viewport--ready .game-viewport__curtain {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-102%);
}

@keyframes game-curtain-open {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-102%);
        opacity: 0;
    }
}

.header,
.footer {
    padding-inline: 16px;
}

section,
.section {
    padding-inline: 20px;
}

.header {
    position: sticky;
    top: var(--tg-header-offset-top, 0px);
    z-index: 60;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0px 4px 0px 0px #B71E0A;
    background-color: var(--island-orange);
    border: 0;
    border-radius: 0 0 8px 8px;
}

.header__ {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__action-cancel {
    font-family: 'SF Pro', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.4px;
    color: var(--white-primary);
}

.header__name {
    font-family: 'SF Pro', sans-serif;
    font-weight: 590;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    /* letter-spacing: -0.4px; */
    text-align: center;
    color: var(--white-primary);
}

.header__subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
    text-align: center;
    color: var(--white-primary);
}

.header__action-menu {
    display: flex;
}

.header__action-menu .icon {
    width: 23px;
    height: 23px;
}

.bottom__nav-section {
    position: fixed;
    width: 100%;
    padding-bottom: 14px;
    bottom: var(--tg-safe-bottom, 0px);
    z-index: 50;
}

.bottom__nav {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    background-color: var(--island-orange);
    padding: 20px;
    border-radius: 9em;
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 6px 6px 0px 0px #FFFFFF66 inset;
}

.bottom__nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    gap: 2px;
}

.bottom__nav-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    color: #FFC366;
}

.bottom__nav-item .icon {
    display: block;
    width: 20px;
    height: 20px;
}

.bottom__nav-item:hover,
.bottom__nav-item.active .bottom__nav-text {
    color: var(--island-light-yellow);
}

.bottom__nav-item:hover,
.bottom__nav-item.active .icon {
    filter: sepia(0.9);
}

.bottom__nav-playBtn {
    margin-top: -30px;
    justify-self: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border: 1.57px solid var(--text-primary);
    box-shadow: 1.05px 1.05px 0px 0px var(--text-primary), 3.15px 3.15px 0px 0px #FFFFFF66 inset, -3.15px -3.15px 0px 0px #FF620040 inset;
    display: flex;
}

.bottom__nav-playBtn .icon {
    width: 23px;
    height: 23px;
    margin: auto;
}

.current__season {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom__nav__shadow {
    position: fixed;
    bottom: var(--tg-safe-bottom, 0px);
    left: 0;
    background: #1E1916;
    filter: blur(180px);
    width: 100%;
    height: 131px;
    z-index: 3;
    pointer-events: none;
}

.c__season-label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: 'AA BadaBoom BB', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--white-primary);
}

.c__season-label .icon {
    width: 16px;
    height: 16px;
}

.c__season-time {
    font-family: 'AA BadaBoom BB', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--white-primary);
}

.brand__ {
    padding-top: 20px;
}

.brand__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand__logo {
    display: flex;
}

.brand__logo-img {
    width: 55px;
    height: 36px;
}

.brand__wallet {
    display: flex;
    gap: 8px;
}

.brand__wallet-shop {
    display: flex;
    width: 36px;
    height: 36px;
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
}

.brand__wallet-shop .icon {
    width: 20px;
    height: 20px;
    margin: auto;
}

.brand__currency {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--island-light-yellow);
    padding-inline: 10px;
    border-radius: 8px;
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFFB2 inset;
    position: relative;
}

.brand__currency-text {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.5px;
    color: var(--white-primary);

    text-shadow: 1px 1px 0 var(--text-primary);
    -webkit-text-stroke: 0.5px var(--text-primary);
}

.brand__currency-status {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--text-primary);
    white-space: nowrap;
}

.brand__currency.is-auth-degraded {
    min-width: 88px;
    padding-right: 8px;
}

.brand__currency.is-stale {
    background-color: #ecdca7;
}

.brand__currency.is-hard-failed {
    background-color: #f0d8d1;
}

.brand__currency-text.is-unavailable {
    color: var(--text-primary);
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.app-auth-status {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    pointer-events: none;
}

.app-auth-status--active {
    display: block;
}

.app-auth-status__scrim {
    position: absolute;
    inset: 0;
    background: rgba(19, 19, 25, 0.12);
    opacity: 0;
}

.app-auth-status__card {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--tg-safe-top, 0px) + 12px);
    max-width: 360px;
    margin-inline: auto;
    border: 2px solid var(--text-primary);
    border-radius: 18px;
    background: #FFF4D0;
    box-shadow: 2px 2px 0 0 var(--text-primary);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.app-auth-status__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.1;
    color: var(--text-primary);
    text-align: center;
}

.app-auth-status__info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
    color: var(--text-primary);
    text-align: center;
}

.app-auth-status__action {
    min-width: 132px;
    height: 38px;
    margin: 4px auto 0;
    padding: 0 14px;
    border: 1px solid var(--text-primary);
    border-radius: 10px;
    background: var(--island-orange);
    color: var(--white-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 1px 1px 0 0 var(--text-primary);
}

.app-auth-status__action:hover,
.app-auth-status__action:active {
    transform: translateY(1px);
}

.app-auth-status--recovering .app-auth-status__scrim {
    display: none;
}

.app-auth-status--recovering .app-auth-status__card {
    background: #FFF1BB;
}

.app-auth-status--hard .app-auth-status__scrim {
    opacity: 1;
}

.app-auth-status--hard {
    pointer-events: auto;
}

.app-auth-status--hard .app-auth-status__card {
    top: 50%;
    transform: translateY(-50%);
    background: #FFF2EE;
}

body.app-auth-hard-failed {
    overflow: hidden;
}

body.app-auth-mutations-blocked [data-session-mutation] {
    pointer-events: none;
    opacity: 0.62;
    cursor: wait;
}

.app-lifecycle-status {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--tg-safe-top, 0px) + 12px);
    z-index: 11900;
    display: none;
    pointer-events: none;
    padding: 0 12px;
}

.app-lifecycle-status--active {
    display: block;
}

.app-lifecycle-status__card {
    max-width: 360px;
    margin: 0 auto;
    border: 2px solid var(--text-primary);
    border-radius: 18px;
    background: #FFF7E1;
    box-shadow: 2px 2px 0 0 var(--text-primary);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.app-lifecycle-status__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.1;
    color: var(--text-primary);
    text-align: center;
}

.app-lifecycle-status__info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
    color: var(--text-primary);
    text-align: center;
}

.app-lifecycle-status__action {
    min-width: 132px;
    height: 36px;
    margin: 2px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--text-primary);
    border-radius: 10px;
    background: var(--island-orange);
    color: var(--white-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: 1px 1px 0 0 var(--text-primary);
}

.app-lifecycle-status__action:hover,
.app-lifecycle-status__action:active {
    transform: translateY(1px);
}

.app-lifecycle-status--recovering .app-lifecycle-status__card {
    background: #FFF1BB;
}

.app-lifecycle-status--syncing .app-lifecycle-status__card {
    background: #EAF7FF;
}

.app-lifecycle-status--offline .app-lifecycle-status__card {
    background: #F2F6FF;
}

.app-lifecycle-status--stale .app-lifecycle-status__card {
    background: #FFF4D0;
}

.app-lifecycle-status--dead .app-lifecycle-status__card {
    background: #FFF2EE;
}

body.app-ux-dead [data-page] {
    filter: saturate(0.95);
}

.is-hidden {
    display: none !important;
}



.global__card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 16px 20px 0 20px;
    border: 2px solid var(--text-primary);
    z-index: 0;
    box-shadow: 6px 6px 0px 0px #FFFFFF66 inset;
}



.promo__ {
    margin-top: 20px;
}

.promo__content {
    gap: 10px;
    background-image: url('../images/promo__man.svg'), url('../images/promo-bg.svg');
    background-position: calc(100% + 2px) calc(100% + 21px), center;
    background-size: 176px 152px, cover;
}

.promo__content-title {
    background: linear-gradient(0deg, #FB6800 -25%, #FFDD43 62.84%, #FFDD43 71.67%);
}


.promo__content-info {
    max-width: 200px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.content__btn-box {
    margin: auto auto 0 auto;
    transform: translateY(2px);
    padding: 6px 8px 0 8px;
    border-radius: 16px 16px 0 0;
    border: 2px solid var(--text-primary);
    max-height: 26.5px;
    background-color: var(--globe);
    border-bottom: none;

    display: flex;
    gap: 5px;
}

.content-btn {
    height: 32px;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
    padding: 5px 12px 0 12px;
    border-radius: 9em;
    display: flex;
    align-items: center;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #fff;
}

.daily__ {
    margin-top: 24px;
}

.daily__rewards {
    gap: 10px;
    background-image: url('../images/daily-rewards.svg');
    background-size: cover;
    padding-bottom: 16px;
    overflow: hidden;
}

.daily__content-box {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.brand__cta-calendar,
.leaderboard__cta-reward {
    display: flex;
    width: 36px;
    height: 36px;
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
}

.brand__cta-calendar .icon,
.leaderboard__cta-reward .icon {
    width: 20px;
    height: 20px;
    margin: auto;
}

.daily__content-texts {
    display: flex;
    flex-direction: column;
}

.daily__content-title {
    background: var(--white-primary);
}

.daily__content-info {
    max-width: 252px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.daily__rewards-box {
    position: relative;
    width: calc(100% + 40px);
    margin-inline: -20px;
    margin-top: 12px;
}

.daily__rewards-shadow {
    width: 40px;
    position: absolute;
    top: -18px;
    background-color: #FFC73A;
    height: calc(100% + 20px);
    filter: blur(14px);
    left: auto;
    right: auto;
    pointer-events: none;
}

.daily__rewards-shadow.left {
    left: -20px;
}

.daily__rewards-shadow.right {
    right: -20px;
}

.daily__rewards-scroll {
    position: relative;
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.daily__rewards-scroll::-webkit-scrollbar {
    height: 0;
}

.daily__rewards-list {
    display: flex;
    min-width: max-content;
    gap: 4px;
    padding-inline: 20px;
}

.daily__rewards-item {
    flex-shrink: 0;
    cursor: default;
    min-width: max-content;
    border-radius: 8px;
    padding: 8px 7px 8px 7px;
    background: #5D0F0033;
    border: 1px solid #5D0F0066;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daily__rewards-item.active,
.daily__rewards-item.collect {
    background: var(--island-inner-white);
    border: 1px solid var(--white-tertiary);
}

.daily__rewards-day {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--white-primary);
}

.daily__rewards-money {
    display: flex;
    gap: 3px;
    margin: 8px 0 4px 0;
}

.daily__rewards-value {
    display: block;
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);
    color: #DF7102;
}

.daily__rewards-item.active .daily__rewards-value,
.daily__rewards-item.collect .daily__rewards-value {
    color: var(--white-primary);
}

.daily__rewards-money .icon {
    width: 20px;
    height: 20px;
}

.daily__rewards-item .icon__b {
    width: 12px;
    height: 12px;
    display: none;
}

.daily__rewards-item:not(.active):not(.collect) .icon__b.fireIcon,
.daily__rewards-item.active .icon__b.fireActive,
.daily__rewards-item.collect .icon__b.checkIcon {
    display: block;
}




/* modal */
.section.__modal__ {
    position: fixed;
    top: var(--tg-safe-top, 0px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--tg-safe-top, 0px) - var(--tg-safe-bottom, 0px));
    z-index: 90;
}

.section.__modal__ .__modal__bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    min-height: calc(100dvh + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background-color: var(--overlay);
    z-index: 90;
}

.__modal__ {
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    /* padding-bottom: 30px; */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: 0.3s ease;
    overflow-y: auto;
    padding-top: 50px;
    padding-bottom: calc(50px + var(--tg-safe-bottom, 0px));
}

.__modal__::-webkit-scrollbar {
    display: none;
}

.__modal__body {
    position: relative;
    z-index: 91;
    transform: translateY(10%);
    opacity: 0;
    transition: 0.3s ease;
    margin-top: auto;
    width: 100%;
    max-width: 720px;
    /*  default 1024px  */
    margin-inline: auto;
}

.__modal__.center__ .__modal__body {
    margin-block: auto;
}

.section.__modal__.active {
    display: flex;
    pointer-events: visible;
    visibility: visible;
    opacity: 1;
}

.section.__modal__.active .__modal__body {
    transform: translateY(0);
    opacity: 1;
}

.__modal__body .daily__rewards {
    align-items: center;
}

.__modal__body .daily__content-title,
.__modal__body .daily__content-info {
    text-align: center;
}

.__modal__body .daily__rewards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 8px;
    column-gap: 4px;
    padding: 0;
}





.daily__collect-btn {
    min-width: 200px;
}

.daily__collect-btn.time__active .text {
    display: none;
}

.daily__collect-btn:not(.time__active) .time,
.daily__collect-btn:not(.time__active) .btnText {
    display: none;
}

.daily__collect-btn.time__active {
    padding: 8px 20px 4px 20px;
    background: #585858;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
    /* background: #585858; */
}

.daily__collect-btn.time__active .btnText {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 8px;
    line-height: 100%;
    text-align: center;
    color: #B2B2B2;
}

.daily__status {
    min-height: 16px;
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 120%;
    text-align: center;
    color: #5f4a42;
}

.fortune__content[data-open-daily-wheel] {
    cursor: pointer;
}

.fortune__content[data-open-daily-wheel]:focus-visible {
    outline: 2px solid #ED4E08;
    outline-offset: 2px;
}


.fortune__ {
    margin-top: 16px;
}

.fortune__content {
    gap: 10px;
    background-image: url('../images/fortune-wheel-en.png'), url('../images/fortune-bg.jpg');
    background-position: calc(100% + 15px) center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 160px 166px, cover;
}

html[lang="ru"] .fortune__content {
    background-image: url('../images/fortune-wheel-ru.webp'), url('../images/fortune-bg.jpg');
}


.fortune__content-title {
    background: var(--white-primary);
}

.fortune__content-info {
    max-width: 190px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.social__ {
    margin-top: 26px;
    padding-bottom: 10px;
}

.social__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.social__list-item {
    display: flex;
    align-items: center;
    gap: 4px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-tertiary);
}

.social__list-item .icon {
    width: 16px;
    height: auto;
}

.social__list-item:hover {
    filter: contrast(0.6);
}





/* profile */
.profile__ {
    margin-top: 20px;
}

.profile__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile__avatar {
    background-image: url('../images/profile_bg.jpg');
    background-size: cover;
    align-items: center;
    padding-block: 16px;
}

.profile__avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    border: 1px solid var(--text-primary);
}

.profile__user-texts {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: var(--text-primary);
}

.profile__id {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: var(--text-primary);
}

.progress__box {
    width: 100%;
    max-width: 306px;
    display: none;
    align-items: flex-end;
}

.progress__level {
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 41px;
    background-image: url('../images/svg/pentagon.svg');
    background-size: contain;
}

.progress__level-count {
    margin-bottom: -4px;
    text-shadow: 1px 1px 0px var(--text-primary);
    -webkit-text-stroke: 0.5px var(--text-primary);

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white-primary);
}

.profile__progress {
    width: 100%;
    height: 20px;
    background-color: var(--text-primary);
    margin: 0 0 4px -20px;
    border-radius: 5px;
    padding: 4px 4px 4px 20px;
}

.profile__progress-bar {
    height: 100%;
    width: 100%;
    display: flex;
    gap: 2px;
}

.progress__bar-line {
    border-radius: 2px;
    height: 100%;
    width: 0%;
    background-color: #FBC300;
    max-width: 24px;
    transition: 0.3s;
}

.progress__bar-line.active {
    width: 100%;
}



.profile__friends {
    padding: 10px 20px 10px 24px;
    background-image: url('../images/profile-friend-bg.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
}

.profile__empty {
    gap: 8px;
    padding: 20px 24px;
    background-image: url('../images/profile_bg.jpg');
    background-size: cover;
    background-position: center center;
}

.profile__empty-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    color: var(--text-primary);
}

.profile__empty-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 140%;
    color: var(--text-primary);
}

.p-friends__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.p-friends__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.p-friends__item .icon {
    width: 20px;
    height: 20px;
}

.p-friends__btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px 12px 5px 12px;
    width: max-content;
    flex-shrink: 0;
    white-space: nowrap;
}

.p-friends__count {
    margin-bottom: -2px;
    min-width: 3ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}



.profile__settings {
    padding: 16px 20px;
    background-image: url('../images/proffile-setting-bg.jpg');
    background-size: cover;
    gap: 16px;
}

.profile__settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.profile__settings-part,
.profile__settings-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile__settings-side {
    gap: 2px;
}

.p-setting__partIcon {
    width: 20px;
    height: 20px;
}

.p-setting__arrowIcon {
    width: 16px;
    height: 16px;
}

.setting__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.setting__lang-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}


.profile__about {
    padding: 16px 20px;
    background-image: url('../images/profile-about-bg.jpg');
    background-size: cover;
    background-position: center center;
}



.profile__lang-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.top__back-btn {
    display: flex;
}

.top__back-btn .icon {
    width: 24px;
    height: 24px;
}



.p__lang__check {
    width: 20px;
    height: 20px;
    opacity: 0;
    visibility: hidden;
}

.langue__item.active .p__lang__check {
    opacity: 1;
    visibility: visible;
}




.wallet__ {
    margin-top: 20px;
    padding-bottom: 0;
}

.wallet__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.walletCarouselCards {
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding-inline: 20px;
}


.wallet__card {
    padding: 16px 20px;
    gap: 0;
    background-position: right center;
    background-size: cover;
}

.wallet__card-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__card-price {
    margin: 12px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wallet__crypto {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.wallet__crypto-value {
    background: var(--white-primary);
    font-size: 44px;
}

.wallet__crypto-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);

    margin-bottom: 7px;
}

.wallet__currency {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wallet__currency-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__currency-statis {
    background-color: #FFFFFF66;
    border: 1px solid #FFFFFFCC;
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 9em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.wallet__currency-statis .icon {
    width: 12px;
    height: 12px;
}

.wallet__currency-percent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 8px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #006C2F;
}

.wallet__currency-statis.down__active .wallet__currency-percent {
    color: #AB0000;
}

.wallet__card-btns {
    display: flex;
    gap: 8px;
}

.wallet__card-btns .content__orange-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.wallet__card-btns .content__orange-btn .icon {
    margin: -2px 0 2px 0;
}


.wallet__tab-content {
    padding: 16px 20px 20px 20px;
    z-index: 2;
    overflow: hidden;
    min-height: 290px;
    background-color: #FFF4D9;
}

.wallet__tab-content::before,
.wallet__tab-content::after {
    position: absolute;
    top: 0;
    left: 20px;
    content: '';
    width: 156px;
    height: 156px;
    background-color: #FFC28B;
    filter: blur(115px);
    z-index: -1;
    pointer-events: none;
}

.wallet__tab-content::after {
    left: auto;
    top: 156px;
    right: 20px;
    z-index: 0;
}


.wallet__tab-title {
    background: var(--white-primary);
}

.wallet__tab-btns {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 0 16px 0;
}

.w__tab-btn {
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    background: #FFFFFF;
    padding: 7px 12px 3px 12px;
    border-radius: 9em;
    display: flex;
    align-items: center;
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--text-primary);
}

.w__tab-btn.active {
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 2px 2px 0px 0px #FFFFFF66 inset;
    color: #fff;
}

.wallet__tab-panels {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wallet__tab-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet__tab-panel:not(.active) {
    display: none;
}

.wallet__panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.w__panel__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__tab-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet__tx-feed-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.wallet__tx-tail-state {
    width: 100%;
}

.wallet__tx-load-more {
    width: 100%;
}

.wallet__tx-sentinel {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.wallet__history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: var(--island-inner-white);
    border: 1px solid var(--text-primary);
    backdrop-filter: blur(4px);
    appearance: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.wallet__history-item:hover {
    background-color: #FFF6D5;
}

.wallet__history-item:active {
    transform: translateY(1px);
}

.wallet__history-item:focus-visible {
    outline: 2px solid #FF8A00;
    outline-offset: 2px;
}

@media (hover: none) and (pointer: coarse) {
    .wallet__history-item {
        -webkit-tap-highlight-color: transparent;
    }

    .wallet__history-item:focus,
    .wallet__history-item:focus-visible {
        outline: none;
        box-shadow: none;
    }
}

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

.wallet__history-icon {
    width: 36px;
    height: 36px;
    display: flex;
    border: 1px solid #5D0F00CC;
    box-shadow: 3px 3px 0px 0px #FFFFFF66 inset;
    background-color: #FFAD01;
    border-radius: 8px;
}

.wallet__history-icon .icon {
    width: 20px;
    height: 20px;
    margin: auto;
}

.wallet__history-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__history-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.wallet__history-amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: var(--text-primary);
}

.wallet__history-amount.__plus {
    color: #40723C;
}

.wallet__history-amount.__minus {
    color: #BC3D2A;
}

.wallet__history-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: var(--text-primary);
}

.walletTxStatus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 99px;
    height: 28px;
    padding: 1px 14px 0;
    border-radius: 24px;
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), inset 2px 2px 0px 0px #FFFFFF66;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    white-space: nowrap;
}

.walletTxStatus--modal {
    margin: 0 auto;
}

.walletTxStatus--completed,
.wallet-tx-sheet__status.is-success {
    background: #006C2F;
}

.walletTxStatus--pending,
.wallet-tx-sheet__status.is-pending {
    background: #FFAD01;
}

.walletTxStatus--declined,
.wallet-tx-sheet__status.is-error {
    background: #AB0000;
}

.walletTxStatus--refunded,
.wallet-tx-sheet__status.is-info {
    background: #0E5FA8;
}

.wallet-tx-modal.__modal__,
.walletTxModal.__modal__ {
    padding: 16px 0 calc(var(--tg-safe-bottom, 0px) + 36px);
    overflow: hidden;
}

.wallet-tx-modal .__modal__body,
.walletTxModal .__modal__body {
    max-width: 1024px;
    padding-inline: 16px;
}

.wallet-tx-sheet,
.wallet-tx-sheet.wallet__form-box,
.walletTxModal__sheet {
    position: relative;
    width: 100%;
    max-width: 353px;
    margin-inline: auto;
    padding: 22px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #FFE5C2 !important;
    background-color: #FFE5C2 !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    border-radius: 20px;
    overflow: hidden;
    max-height: calc(100dvh - var(--tg-safe-top, 0px) - var(--tg-safe-bottom, 0px) - 20px);
}

.wallet-tx-sheet::before,
.wallet-tx-sheet::after,
.walletTxModal__sheet::before,
.walletTxModal__sheet::after {
    content: '';
    position: absolute;
    border-radius: 100%;
    background: #FFC28B;
    filter: blur(58px);
    pointer-events: none;
    z-index: 0;
}

.wallet-tx-sheet::before,
.walletTxModal__sheet::before {
    width: 128px;
    height: 128px;
    top: -66px;
    left: -43px;
}

.wallet-tx-sheet::after,
.walletTxModal__sheet::after {
    width: 156px;
    height: 156px;
    right: -62px;
    bottom: -28px;
}

.wallet-tx-sheet:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.wallet-tx-sheet__handle,
.walletTxModal__handle,
.wallet-tx-sheet > *,
.walletTxModal__sheet > * {
    position: relative;
    z-index: 1;
}

.wallet-tx-sheet__handle,
.walletTxModal__handle {
    width: 43px;
    height: 4px;
    margin: -6px auto 8px;
    border-radius: 10px;
    background: #D8BA9C;
}

.wallet-tx-sheet__sr-title,
.walletTxModal__srTitle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wallet-tx-sheet__status {
    margin: 0 auto;
}

.wallet-tx-sheet__amount,
.walletTxModal__amount {
    margin-top: 12px;
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 40px;
    line-height: 88%;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-tx-sheet__amount.__plus,
.walletTxModal__amount--credit {
    color: #006C2F;
}

.wallet-tx-sheet__amount.__minus,
.walletTxModal__amount--debit {
    color: #AB0000;
}

.wallet-tx-sheet__date,
.walletTxModal__date,
.wallet-tx-sheet__fee-line,
.walletTxModal__fee {
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    text-align: center;
    color: var(--text-primary);
}

.wallet-tx-sheet__fee-line,
.walletTxModal__fee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.wallet-tx-sheet__fee-line strong,
.walletTxModal__fee strong {
    font-weight: 800;
}

.wallet-tx-sheet__details,
.walletTxModal__fields {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-tx-sheet__field,
.walletTxModal__field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wallet-tx-sheet__label,
.walletTxModal__label {
    padding-left: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    color: var(--text-primary);
}

.wallet-tx-sheet__field-input,
.walletTxModal__input {
    min-width: 0;
    min-height: 40px;
    padding: 6px 8px 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: none;
    backdrop-filter: blur(2px);
}

.wallet-tx-sheet__field-input--memo,
.walletTxModal__input--memo {
    align-items: center;
    padding-right: 16px;
}

.wallet-tx-sheet__value,
.walletTxModal__value {
    min-width: 0;
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-tx-sheet__value--mono {
    font-size: 10px;
    letter-spacing: 0;
}

.wallet-tx-sheet__value--memo,
.walletTxModal__value--memo {
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}

.walletTxModal__actions {
    display: flex;
    gap: 4px;
    flex: none;
}

.walletTxModal__action {
    width: 46px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 24px;
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), inset 3px 3px 0px 0px #FFFFFF66;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    cursor: pointer;
    flex: none;
}

.walletTxModal__action .icon {
    width: 16px;
    height: 16px;
}

.walletTxModal__action--copy.active .copy {
    display: none;
}

.walletTxModal__action--copy:not(.active) .check {
    display: none;
}

.walletTxModal__action:hover {
    background: linear-gradient(180deg, #FF8B57 0%, #F45A15 100%);
}

.walletTxModal__action:active {
    background: linear-gradient(180deg, #E56733 0%, #D84605 100%);
}

.walletTxModal__action:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.walletTxModal__action.is-disabled,
.walletTxModal__action:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 360px) {
    .wallet-tx-modal .__modal__body,
    .walletTxModal .__modal__body {
        padding-inline: 12px;
    }

    .wallet-tx-modal.__modal__,
    .walletTxModal.__modal__ {
        padding-bottom: calc(var(--tg-safe-bottom, 0px) + 44px);
    }

    .wallet-tx-sheet,
    .walletTxModal__sheet {
        padding: 20px 14px 18px;
    }

    .walletTxStatus--modal {
        min-width: 90px;
        height: 26px;
        font-size: 14px;
    }

    .wallet-tx-sheet__amount,
    .walletTxModal__amount {
        font-size: 34px;
    }

    .wallet-tx-sheet__date,
    .walletTxModal__date,
    .wallet-tx-sheet__fee-line,
    .walletTxModal__fee {
        font-size: 11px;
    }

    .wallet-tx-sheet__field-input,
    .walletTxModal__input {
        padding-left: 12px;
    }

    .walletTxModal__action {
        width: 42px;
        height: 25px;
    }
}

@media (max-width: 340px) {
    .wallet-tx-modal .__modal__body,
    .walletTxModal .__modal__body {
        padding-inline: 10px;
    }

    .wallet-tx-modal.__modal__,
    .walletTxModal.__modal__ {
        padding-bottom: calc(var(--tg-safe-bottom, 0px) + 40px);
    }

    .wallet-tx-sheet,
    .walletTxModal__sheet {
        padding: 18px 12px 16px;
    }

    .wallet-tx-sheet__amount,
    .walletTxModal__amount {
        font-size: 30px;
    }

    .wallet-tx-sheet__value,
    .walletTxModal__value {
        font-size: 9px;
    }

    .walletTxModal__action {
        width: 40px;
    }
}

.wallet-send-confirm-modal.__modal__ {
    padding-top: 14px;
    padding-bottom: calc(12px + var(--tg-safe-bottom, 0px));
    overflow: hidden;
}

.wallet-send-confirm-modal .__modal__body {
    max-width: 540px;
}

.wallet-send-confirm-sheet {
    margin: 0 20px;
    padding: 12px 14px 16px;
    gap: 14px;
    background: #FDE6C6;
    box-shadow: 0 14px 28px rgba(49, 18, 8, 0.16), 6px 6px 0px 0px #FFFFFF66 inset;
}

.wallet-send-confirm-sheet:focus-visible {
    outline: 2px solid #FF8A00;
    outline-offset: 2px;
}

.wallet-send-confirm-sheet__handle {
    width: 36px;
    height: 4px;
    border-radius: 999px;
    margin: 0 auto;
    background: rgba(49, 18, 8, 0.2);
}

.wallet-send-confirm-sheet__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.15;
    text-align: center;
    color: var(--text-primary);
}

.wallet-send-confirm-sheet__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.wallet-send-confirm-sheet__btn {
    width: 100%;
}

.wallet-send-confirm-sheet__btn--secondary {
    background: #ED4E08;
    color: #FFFFFF !important;
}

.wallet-send-confirm-sheet__btn--reject {
    background: #FFF6EB;
    color: var(--text-primary) !important;
}

@media (max-width: 480px) {
    .wallet-send-confirm-sheet {
        margin: 0 12px;
        padding: 10px 12px 14px;
    }

    .wallet-send-confirm-sheet__title {
        font-size: 18px;
    }
}

@media (max-height: 720px) {
    .wallet-send-confirm-modal.__modal__ {
        padding-top: 10px;
        padding-bottom: calc(10px + var(--tg-safe-bottom, 0px));
    }

    .wallet-send-confirm-sheet {
        padding: 9px 12px 13px;
        gap: 8px;
    }

    .wallet-send-confirm-sheet__title {
        font-size: 18px;
    }
}

.not__available {
    margin-top: 8px;
    gap: 4px;
    max-width: 280px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.not__available-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--text-primary);
}

.not__available-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--text-primary);
}


.wallet__form-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}




.wallet__form {
    min-height: calc(90vh - 205px);
    /*header height:85px;  body padding-bottom: 120px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.wallet__form-box {
    background-image: url('../images/form-bg.jpg');
    background-size: cover;
    background-position: top center;
    padding: 16px 20px 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.wallet__form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__form-btns .wallet__form-label {
    text-align: center;
}

.wallet__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet__form-error {
    margin-top: 0;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    overflow: hidden;
    pointer-events: none;
    align-self: flex-start;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #BC3D2A;
    background: #BC3D2A;
    box-shadow: 1px 1px 0px 0px #BC3D2A, 3px 3px 0px 0px #FFFFFF66 inset;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
    transition: max-height 0.24s ease, opacity 0.18s ease, transform 0.18s ease, margin-top 0.24s ease, margin-bottom 0.24s ease, padding 0.24s ease;
}

.wallet__form-error:not(:empty) {
    margin-top: 2px;
    margin-bottom: 6px;
    max-height: 48px;
    opacity: 1;
    transform: translateY(0);
    padding: 5px 10px;
}

.wallet__form-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet__form-available {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__form-available .value__ {
    font-size: 12px;
    color: #40723C;
}

.wallet__form-available.invalid__text {
    color: #BC3D2A;
}

.wallet__form-available.invalid__text .value__ {
    color: #BC3D2A;
}

.__form__input-box {
    position: relative;
    width: 100%;
}

.__form__input-box--copy-fade .__form__input {
    padding-right: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.__form__input-box--copy-fade::after {
    content: '';
    position: absolute;
    top: 1px;
    right: 56px;
    bottom: 1px;
    width: 58px;
    border-radius: 0 22px 22px 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 215, 110, 0) 0%, rgba(255, 203, 73, 0.78) 58%, rgba(255, 185, 0, 1) 100%);
}

.__form__input-box--copy-fade .__form__inp-textBox {
    z-index: 2;
}

.__form__input {
    width: 100%;
    border-radius: 24px;
    height: 45px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.wallet__form.wallet__form__submitted .__form__input:invalid {
    color: #BC3D2A;
    border: 1px solid #BC3D2A;
    box-shadow: 1px 1px 0px 0px #BC3D2A, 3px 3px 0px 0px #FFFFFF66 inset;
}

.wallet__form.wallet__form__submitted .__form__input:invalid::placeholder {
    color: #BC3D2A;
}

.wallet__form.wallet__form__submitted .__form__input:invalid+.__form__inp-textBox .__form__inp-text {
    color: #BC3D2A;
}

.wallet__form.wallet__form__submitted .__form__input:invalid+.__form__inp-textBox path {
    stroke: #BC3D2A;
}

.__form__input::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

[data-wallet-send] .__form__input::placeholder {
    opacity: 0.5;
}

[data-wallet-send] .__form__input::-webkit-input-placeholder {
    opacity: 0.5;
}

input.__form__input {
    padding-right: 55px;
}

textarea.__form__input {
    height: 111px;
    padding-bottom: 30px;
    /* resize: vertical; */
    resize: none;
}

textarea.__form__input::-webkit-scrollbar {
    width: 0;
}

.__form__inp-textBox {
    position: absolute;
    top: 15px;
    right: 20px;
}

.__form__inp-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 99%;
    letter-spacing: 0%;
    color: var(--text-primary);
}

.__form__textareaLimit {
    position: absolute;
    bottom: 16px;
    right: 20px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 8px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: var(--text-primary);
}

[data-wallet-send] .__form__textareaLimit {
    opacity: 0.5;
}

.__form__textareaLimit.invalid__text {
    color: #AB0000;
}

.wallet__form-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet__form__senBtn {
    padding: 16px 20px 8px 20px;
    width: 100%;
    border-radius: 9em;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--white-primary);

}

.wallet__form__senBtn:disabled,
.wallet__form__senBtn.disabled {
    background: linear-gradient(180deg, #CEAA9B 0%, #8F7367 100%);
}

.wallet__form__senBtn:not(:disabled):not(.disabled):hover {
    background: #FA6C2D;
}

.wallet__form__senBtn:not(:disabled):not(.disabled):active {
    background: #BC3A00;
}




.missions__ {
    margin-top: 26px;
}

.missions__content {
    background-image: url('../images/missions_bg.svg');
    background-size: cover;
    background-position: center center;
}

.missions__content-title {
    background: var(--white-primary);
}

.missions__content-info {
    margin-top: 2px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    color: var(--text-primary);
}

.referrals__ .missions__content-info {
    white-space: pre-line;
}

.mission__list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mission__item {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #001F5D66;
    border: 1px solid #001F5D66;
    backdrop-filter: blur(12px);
}

.mission__item.active {
    background: #0063B6;
    border: 1px solid #12568F;
    box-shadow: 0px 2px 10px 0px #3047AACC;
}

.mission__info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mission__img {
    border-radius: 5px;
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center center;
}

.mission__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 120%;
    color: var(--white-primary);
}

.mission__actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mission__reward {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mission__value {
    margin-bottom: -2px;
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    color: var(--white-primary);

    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);
}

.mission__coin {
    width: 16px;
    height: 16px;
}

.mission__progress {
    position: relative;
    width: 100%;
    min-height: 8px;
    height: 100%;
    max-height: 12px;
    outline: 0.5px solid #311208;
    background: #1E7FCE;
    border-radius: 9em;
    display: flex;
}

.mission__progress-bar {
    width: var(--progress__w);
    height: auto;
    border-radius: 9em;
    background: linear-gradient(269.94deg, #FFE67E 1.19%, #FBC300 37.9%, #FF8000 99.93%);
    outline: none;
}

.mission__claim-btn {
    max-width: 100px;
    height: 23px;
    width: 100%;
    justify-content: center;
    font-size: 14px;
}

.mission__item:not(.active) .mission__claim-btn {
    display: none;
}

.leaderboard__ {
    margin-top: 26px;
}

body[data-page="leaderboard"] .leaderboard__blog {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body[data-page="leaderboard"] .leaderboard__sort-btns {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 8px;
    border: 1px solid #310C0C;
    box-shadow: 2px 2px 0px 0px #FFFFFFB2 inset;
    background-color: var(--island-light-yellow);
}

body[data-page="leaderboard"] .leader__sort-btn {
    display: flex;
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

body[data-page="leaderboard"] .leader__sort-btn.active {
    background: var(--island-orange);
    box-shadow: 2px 2px 0px 0px #FFFFFFB2 inset;
    border: 1px solid #310C0C;
}

body[data-page="leaderboard"] .leader__sort-btn .icon {
    width: 16px;
    height: 16px;
    margin: auto;
}

body[data-page="leaderboard"] .leader__sort-btn.active .icon.double-dark {
    display: none;
}

body[data-page="leaderboard"] .leader__sort-btn:not(.active) .icon.double-light {
    display: none;
}

body[data-page="leaderboard"] .leader__sort-btn.active .icon.double-light {
    filter: brightness(0) invert(1);
}

body[data-page="leaderboard"] .conditions__tab-btns {
    gap: 8px;
}

body[data-page="leaderboard"] .conditions__tab-btn {
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

body[data-page="leaderboard"] .conditions__tab-btn.active:not(.dest__btn-danger) {
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    color: var(--white-primary);
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
}

body[data-page="leaderboard"] .conditions__tab-btn.active:hover {
    background: #FA6C2D;
}

body[data-page="leaderboard"] .conditions__tab-btn.active:active {
    background: #BC3A00;
}

body[data-page="leaderboard"] .conditions__tab {
    margin-top: 0;
}

.leaderboard__content {
    padding-block: 16px;
    background-image: url('../images/leaderboard-bg.svg');
    background-position: center 70%;
    background-size: cover;
}

.leaderboard__content-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

body[data-page="index"] .leaderboard__teaser-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body[data-page="index"] .leaderboard__sort-btns--teaser {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 8px;
    border: 1px solid #310C0C;
    box-shadow: 2px 2px 0px 0px #FFFFFFB2 inset;
    background-color: var(--island-light-yellow);
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn {
    display: flex;
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn.active {
    background: var(--island-orange);
    box-shadow: 2px 2px 0px 0px #FFFFFFB2 inset;
    border: 1px solid #310C0C;
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn .icon {
    width: 16px;
    height: 16px;
    margin: auto;
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn.active .icon.double-dark {
    display: none;
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn:not(.active) .icon.double-light {
    display: none;
}

body[data-page="index"] .leaderboard__sort-btns--teaser .leader__sort-btn.active .icon.double-light {
    filter: brightness(0) invert(1);
}

.leaderboard__content-title {
    background: var(--white-primary);
}

.leaderboard__podium {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 32% 36% 32%;
    align-items: end;
}


.leaderboard__podium-item {
    padding: 0 20px 16px 20px;
    background: #5D0F0033;
    border: 1px solid #5D0F0066;
    backdrop-filter: blur(4px);
    min-height: 92px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.leaderboard__podium-item.second__ {
    border-right: none;
    border-radius: 16px 0 0 16px;
}

.leaderboard__podium-item.first__ {
    min-height: 125px;
    background: #5D0F0066;
    border-radius: 16px 16px 0 0;
}

.leaderboard__podium-item.third__ {
    border-left: none;
    border-radius: 0 16px 16px 0;
}

.leaderboard__avatar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -24px;
}

.leaderboard__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #5D0F00;
}

.leaderboard__podium-numb {
    margin-top: -6px;
    background: #5D0F00;
    width: 12px;
    height: 12px;
    border-radius: 9em;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 6px;
    line-height: 100%;
    color: var(--white-primary);
}

.leaderboard__username {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    color: var(--white-primary);
}

.leaderboard__texts-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.leaderboard__collect {
    display: flex;
    align-items: center;
    gap: 4px;
}

.leaderboard__collect-text,
.leaderboard__collect-numb .numb {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 7px;
    line-height: 120%;
    color: var(--white-primary);
    text-align: center;
}

.leaderboard__collect-text {
    text-transform: none;
}

.leaderboard__collect-numb {
    display: flex;
    align-items: center;
    gap: 2px;
}

.leaderboard__collect-numb .icon {
    width: 6px;
    height: 6px;
}

.leaderboard__action {
    display: flex;
    align-items: center;
    gap: 2px;
}

.leaderboard__value {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);
    color: var(--white-primary);
}

.leaderboard__value--placeholder {
    min-width: 12px;
    text-align: center;
}

.leaderboard__coin {
    width: 16px;
    height: 16px;
    margin-top: -2px;
}



.leaderboard__list {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body[data-page="leaderboard"] .leaderboard__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 8px;
}

body[data-page="leaderboard"] .leaderboard__list::-webkit-scrollbar {
    width: 4px;
}

body[data-page="leaderboard"] .leaderboard__list::-webkit-scrollbar-thumb {
    background: rgba(49, 18, 8, 0.35);
    border-radius: 9em;
}

body[data-page="leaderboard"] .leaderboard__content.is-distance .leaderboard__value {
    min-width: 22px;
    text-align: right;
}

body[data-page="leaderboard"] .leaderboard__coin--distance {
    width: 14px;
    height: 14px;
    margin-top: 0;
}

.leaderboard__status {
    min-height: 18px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 120%;
    color: var(--white-primary);
}

.leaderboard__status.is-error {
    color: #FFE0E0;
}

.leaderboard__status-retry {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    border-radius: 999px;
    padding: 2px 8px;
    color: var(--white-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
}

.leaderboard__podium-item.is-empty {
    opacity: 0.6;
}

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

    padding: 6px 20px 6px 12px;
    background: #5D0F004D;
    border: 1px solid #5D0F00CC;
    backdrop-filter: blur(4px);
    border-radius: 8px;
}

.leaderboard__info {
    display: flex;
    align-items: center;
}

.leaderboard__item-count {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: var(--white-primary);
}

.leaderboard__item-avatar {
    width: 32px;
    height: 32px;
    margin: 0 8px 0 12px;
    border-radius: 9em;
}

.leaderboard__item.board__you-item .leaderboard__username,
.leaderboard__item.board__you-item .leaderboard__collect-text,
.leaderboard__item.board__you-item .leaderboard__collect-numb .numb,
.leaderboard__item.board__you-item .leaderboard__item-count {
    color: var(--text-primary);
}

.callFriedns__ {
    margin-top: 16px;
}

.callFriedns__content {
    gap: 22px;
    background-image: url('../images/man-happy.svg'), url('../images/call-friends-bg.svg');
    background-position: bottom right, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 172px 119px, cover;
}

.callFriedns__content-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.callFriedns__content-title {
    background: var(--white-primary);
}

.callFriedns__content-info {
    max-width: 190px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--text-primary);
    white-space: pre-line;
}


.callFriedns__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    min-width: max-content;
    flex-shrink: 0;
    white-space: nowrap;

    height: 32px;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
    border-radius: 9em;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--text-primary);
}

.callFriedns__btn-label {
    margin-bottom: -2px;
}

.callFriedns__btn .p-friends__count {
    margin-bottom: -2px;
    min-width: 4ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.homeRefboom__ {
    margin-top: 20px;
}

.homeRefboom__card,
.referrals__refboost-card {
    gap: 12px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    padding: 10px 14px 4px 16px;
    background-color: #4992CC;
    background-image:
        url('../images/refboomfon.svg'),
        linear-gradient(180deg, #A0DFFC 0%, #4992CC 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center bottom, center;
    background-size: 395px 63px, cover;
}

.homeRefboom__copy,
.referrals__refboost-copy,
.homeRefboom__btn {
    position: relative;
    z-index: 1;
}

.homeRefboom__copy,
.referrals__refboost-copy {
    max-width: 200px;
}

.homeRefboom__title {
    max-width: 200px;
    margin: 0;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    text-shadow: 2px 2px 0px var(--text-primary);
    -webkit-text-stroke: 0.5px var(--text-primary);
}

.homeRefboom__btn {
    width: 104px;
    min-width: 104px;
    height: 32px;
    margin-top: 3px;
    padding: 5px 12px 0 12px;
    justify-content: center;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}

@media (max-width: 360px) {
    .homeRefboom__card,
    .referrals__refboost-card {
        padding: 10px 12px 4px 14px;
        gap: 10px;
        background-size: 382px 61px, cover;
    }

    .homeRefboom__copy,
    .referrals__refboost-copy {
        max-width: 170px;
    }

    .homeRefboom__title {
        max-width: 170px;
        font-size: 20px;
    }

    .homeRefboom__btn {
        width: 98px;
        min-width: 98px;
        font-size: 15px;
    }
}

@media (max-width: 340px) {
    .homeRefboom__card,
    .referrals__refboost-card {
        padding: 10px 10px 4px 12px;
        gap: 8px;
        background-size: 366px 59px, cover;
    }

    .homeRefboom__copy,
    .referrals__refboost-copy {
        max-width: 156px;
    }

    .homeRefboom__title {
        max-width: 156px;
        font-size: 18px;
    }

    .homeRefboom__btn {
        width: 92px;
        min-width: 92px;
        font-size: 14px;
        padding-inline: 10px;
    }
}




.promoSoon__content {
    background-image: url('../images/promoSoon-bg.svg');
    background-size: cover;
    background-position: top center;
    padding: 0 20px 20px 20px;
}

.play__runGame-soon {
    position: relative;
    z-index: 1;
    margin: -17px auto 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('../images/play-rungame-soon.svg');
    background-size: contain;
    width: 306px;
    height: 203px;
    padding-bottom: 17px;
}

.play__runGame-title {
    font-size: 55px;
    background: linear-gradient(0.15deg, #FB6800 17.9%, #FFDD43 114.35%);
}

.promoSoon__info {
    margin-bottom: 12px;
    max-width: 520px;
    margin-inline: auto;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 130%;
    text-align: center;
    color: var(--text-primary);
}

.promoSoon__info .link__ {
    color: #FA6A2A;
    font-style: italic;
}

.promoSoon-btn {
    width: 100%;
    margin-inline: auto;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    max-width: 480px;
    color: var(--white-primary);
}





.gameWheel__ {
    margin-top: 16px;
}

.gameWheel__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gameWheel__ .fortune__content {
    background-image: url('../images/fortune-wheel-en.png'), url('../images/promo-bg.svg');
    background-position: center right, left center;
    padding-bottom: 30px;
}

html[lang="ru"] .gameWheel__ .fortune__content {
    background-image: url('../images/fortune-wheel-ru.webp'), url('../images/promo-bg.svg');
}

.fortune__content-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wheelSpinBtn {
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    color: var(--white-primary);
}

.wheelSpinBtn .text,
.wheelSpinBtn .time,
.wheelSpinBtn .btnText {
    color: var(--white-primary);
}

.wheelSpinBtn.time__active .text {
    display: none;
}

.wheelSpinBtn:not(.time__active) .time,
.wheelSpinBtn:not(.time__active) .btnText {
    display: none;
}

.wheelSpinBtn.time__active {
    padding: 8px 20px 4px 20px;
    background: #585858;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
}

.wheelSpinBtn.time__active .btnText {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 8px;
    line-height: 100%;
    text-align: center;
    color: #F5EDE8;
}

.wheelSpinBtn.disabled {
    background: linear-gradient(180deg, #BEBEBE 0%, #7C7C7C 100%);
}

.wheelSpinBtn.disabled .text,
.wheelSpinBtn.disabled .time,
.wheelSpinBtn.disabled .btnText {
    color: #FFF8F1;
}

.wheelSpinBtn.loading {
    pointer-events: none;
}


.wheel__game-content {
    position: relative;
    margin-top: 14px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.wheel__pointer {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 5;
}

.wheel__game {
    position: relative;
    background-image: url('../images/wheel-game.svg');
    background-size: contain;
    width: min(100%, 505px);
    min-width: 280px;
    max-width: 505px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 12px;

    /* transform-origin: top center; */
    transform: rotate(0deg);
    transition: var(--speedRotate);
    will-change: transform;
}


.wheel__game-item {
    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(16px, 4.9vw, 28px);
    line-height: 100%;
    text-align: center;
    color: var(--white-primary);
    white-space: nowrap;
    letter-spacing: 0.01em;

    position: absolute;
    top: 47%;
    left: 0;
    transform: rotate(calc(360deg / var(--segment-count, 8) * var(--angle) + 66deg)) translate(0%, 0%);
    transform-origin: 100% 50%;
    width: 50%;
    pointer-events: none;
}


.wheel__modal__title {
    font-family: 'AA BadaBoom BB', sans-serif;
    font-weight: 500;
    font-size: 64px;
    background: linear-gradient(0.15deg, #FB6800 17.9%, #FFDD43 114.35%);
    -webkit-text-stroke: 2px #000000CC;
}

.wheel__modal__title::after {
    font-family: 'AA BadaBoom BB', sans-serif;
}

.wheel__modal-box {
    position: relative;
    z-index: 1;
    margin: -84px auto 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('../images/defeat__img.svg');
    background-size: 100% auto;
    aspect-ratio: 306 / 285;
    width: 100%;
    max-width: 306px;
    padding-bottom: 30px;
}

.modal__defeat-info {
    margin-bottom: 30px;
    max-width: 290px;
}


.wheel__modal {
    padding-bottom: 30px;
}

.wheel__modal__win {
    background-image: url('../images/wheel-win-bg.svg');
    background-position: center 70%;
    padding-bottom: 30px;
}

.wheel__modal__win-box {
    position: relative;
    z-index: 1;
    margin: -84px auto 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('../images/wheel__win.svg');
    background-size: 100% auto;
    aspect-ratio: 292 / 253;
    width: 100%;
    max-width: 392px;
    padding-bottom: 10px;
}

.modal__claim-btn {
    width: 100%;
    max-width: 240px;
    height: 72px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: -10px auto 20px auto;
    background: linear-gradient(180deg, #FFB700 24.04%, #ED9108 100%);
}

.wheel__win-value {
    text-shadow: 1px 1px 0 var(--text-primary);
    -webkit-text-stroke: 1px var(--text-primary);

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 100%;
    color: var(--white-primary);
}



.missions__conditions {
    margin-top: 16px;
}

.m__conditions-title {
    font-size: 32px;
}

.conditions__tab {
    margin-top: 16px;
}

.conditions__tab-btns {
    display: flex;
    align-items: center;
    gap: 8px;

    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border: 2px solid #310C0C;
    border-radius: 16px;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;
    padding: 8px 10px;
}

.conditions__tab-btn {
    width: 100%;
}

.conditions__tab-btn:not(.dest__btn-danger) {
    display: block;
    padding: 12px 20px 10px 20px;
    border-radius: 9em;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 18px;
    letter-spacing: 0%;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-primary);
}

.conditions__tab-panels {
    margin-top: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conditions__tab-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conditions__tab-panel:not(.active) {
    display: none;
}

.conditions__tab-panel .missions__content {
    padding-bottom: 16px;
}

.conditions__tab-panel .mission__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.missions__conditions-content .mission__img {
    width: 40px;
    height: 40px;
}

.missions__conditions-content .mission__info {
    gap: 8px;
    width: 100%;
}

.missions__conditions-content .mission__progress {
    margin-top: 4px;
    min-height: 12px;
}

.mission__info-box {
    width: 100%;
}

.progress__countNumb {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 6px;
    line-height: 120%;
    text-align: center;
    color: var(--text-primary);
}

.conditions__mission-btn {
    padding: 7px 19px 7px 19px;
    height: 36px;
    min-width: 80px;
}

.mission__item:not(.active) .conditions__mission-btn {
    background: #0063B6;
    border: 1px solid #12568F;
    box-shadow: none;
}

.collect__missionIcon {
    width: 20px;
    height: 20px;
}

.missions__conditions .mission__item.collect .mission__reward {
    display: none;
}

.missions__conditions .mission__item:not(.collect) .collect__missionIcon {
    display: none;
}

.missions__conditions .mission__item.collect .mission__progress {
    display: none;
}

.mission__collect {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.mission__collect-text,
.mission__collect-numb .numb {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 8px;
    line-height: 120%;
    color: var(--white-primary);
}

.mission__collect-numb {
    display: flex;
    align-items: center;
}

.mission__collect-numb .numb {
    font-weight: 700;
}

.mission__collect-numb .icon {
    width: 8px;
    height: 8px;
    margin-top: -2px;
}

.missions__conditions .mission__item:not(.collect) .mission__collect {
    display: none;
}


.mission__warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 26px 20px;
}

.mission__warning-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
    color: var(--text-primary);
}

.mission__warning-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 110%;
    text-align: center;
    color: var(--text-primary);
}



.leaderboard__item.board__you-item {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border-radius: 16px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;
}

body[data-page="leaderboard"] .leaderboard__list .leaderboard__item.board__you-item {
    position: sticky;
    top: calc(var(--tg-safe-top, 0px) + 96px);
    bottom: calc(var(--tg-bottom-nav-height, 0px) + var(--tg-safe-bottom, 0px) + 8px);
    z-index: 3;
}

.leaderboard__item.leaderboard__item--placeholder {
    visibility: hidden;
    pointer-events: none;
}

body[data-page="leaderboard"] .leaderboard__pinned {
    position: sticky;
    bottom: calc(var(--tg-bottom-nav-height, 0px) + var(--tg-safe-bottom, 0px));
    z-index: 3;
    margin-top: 8px;
}

body[data-page="leaderboard"] .leaderboard__pinned.is-hidden {
    display: none;
}

body[data-page="leaderboard"] .leaderboard__pinned .leaderboard__item {
    margin: 0;
}

body[data-page="leaderboard"] .leaderboard__list {
    padding-bottom: 10px;
}


.leaderboard__promo {
    padding: 16px 20px;
    gap: 8px;
    margin-bottom: 16px;
    align-items: flex-start;
    background-color: rgba(239, 239, 239, 1);
    background-image: url('../images/leader-board-reward.svg'), url('../images/missions_bg.svg');
    background-position: calc(100% - 10px) 100%, top right;
    background-size: 184px 150px, cover;
}

body[data-page="leaderboard"] .leaderboard__promo {
    background-position: right -10px bottom -10px, top right;
}

.leaderboard__promo-title {
    background: var(--white-primary);
    max-width: 200px;
}

.leaderboard__promo-btn {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    padding: 8px 16px 6px 16px;
    border-radius: 24px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--text-primary);
}





/*  */
.shop__ {
    margin-top: 16px;
}

.shop__promo {
    background-image: url('../images/fortune-wheel-en.png'), url('../images/promo-bg.svg');
    background-position: center right, left center;
    padding-bottom: 16px;
    background-size: 160px 166px, cover;
}

html[lang="ru"] .shop__promo {
    background-image: url('../images/fortune-wheel-ru.webp'), url('../images/promo-bg.svg');
}

.shop__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop__card-content {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    width: 100%;
}

.shop__card-box {
    width: 100%;
    padding: 16px 20px 30px 20px;
    gap: 12px;
}


.shop__card-box {
    background-image: url('../images/shop-bg-default.svg');
    background-size: cover;
    background-position: top left;
}

.shop__card-box.contentBg_1 {
    background-image: url('../images/shop-bg-1.svg');
}

.shop__card-box.contentBg_2 {
    background-image: url('../images/shop-bg-2.svg');
}

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

.shop__card {
    width: 100%;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border-radius: 16px;
    border: 2px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 4px 4px 0px 0px #FFFFFF66 inset;
}

.shop__card-image {
    background-image: url('../images/shop/card_1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    aspect-ratio: 1 / 1;

    box-shadow: 6px 6px 0px 0px #FFFFFF66 inset;
    border: 2px solid #310C0C;
    border-radius: 16px;
}

.shop__card-image.card__img__2 {
    background-image: url('../images/shop/card_2.svg');
}

/* images inner img */
/* img {
} */


.shop__card-rarity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;

    text-align: center;
    margin-bottom: -4px;
}

.shop__card-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    text-transform: uppercase;
    color: #A50084;
}

.shop__card-name {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    color: #310C0C;
}

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

.shop__ .dest__btn .icon {
    margin: -2px 0 2px 0;
}






/* welcome site */
.welcomeBody {
    position: relative;
    background-image: url('../images/welcome-bg.svg');
    background-size: cover;
    background-position: center center;
    min-height: 100dvh;
}

.welcomeBody::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 393px;
    height: 525px;
    z-index: -1;
    background-image: url('../images/welcome-run-man.svg');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
}

.welcomeBody .header {
    background: #67C5FC;
    box-shadow: none;
}

.welcome__ {
    margin-top: 44px;
}

.welcome__content-title {
    font-size: 56px;
    max-width: 300px;
}

.welcome__content-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #311208;

    max-width: 250px;
}


.welcome__ .dest__btn {
    width: max-content;
    padding: 22px 32px 16px 32px;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset, 0px 0px 35.2px 10px #FFDFB566;

    position: absolute;
    top: auto;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);

    font-weight: 900;
    font-size: 40px;
}

/* onboarding */
body.onboarding {
    position: relative;
    background-image: url('../images/welcome-bg.svg');
    background-size: cover;
    background-position: center center;
    min-height: 100dvh;
    background-repeat: no-repeat;
    padding-bottom: 0;
    /* overflow: hidden; */
}

.onboard__ {
    padding-inline: 0;
}

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

.onboard__carousel {
    position: relative;
    z-index: 5;
    width: 100%;
}

.onboard__carousel::after {
    content: '';
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 160px);
    height: 163px;
    z-index: 6;
    background: #7F4544;
    filter: blur(60px);
    pointer-events: none;
}

.onboard__carousel .swiper-wrapper {
    height: 100%;
}

.onboard__slide {
    position: relative;
    padding-top: 36px;
    padding-inline: 20px;
    min-height: calc(100dvh - (36px + var(--tg-safe-top, 0px)));
}

.onboard__texts {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onboard__title {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-size: 56px;
    font-weight: 400;
    padding-bottom: 10px;
}

.onboard__info {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 0.5px #311208;
    text-shadow: 2px 2px 0px #311208;
}

.onboard__image {
    position: absolute;
    right: 0;
    z-index: 0;
    bottom: 0;
    max-width: 393px;
    object-position: right bottom;
    object-fit: contain;
    width: 80%;
    max-height: 100%;
}

.onboard__navigation {
    position: absolute;
    bottom: 30px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.onboard__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.onboard__pagination .swiper-pagination-bullet {
    margin: 0 !important;
    width: 8px;
    height: 8px;
    border: 1px solid #311208;
    background-color: var(--white-primary);
    opacity: 1;
}

.onboard__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset, 0px 0px 35.2px 10px #FFDFB566;
}

.onboard__navigation-next {
    min-width: 225px;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 40px;
    padding: 12px 20px 12px 20px;
}

.onboard__skip-btn {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 0.5px #311208;
    text-shadow: 2px 2px 0px #311208;
}

@media (max-height: 820px) {
    .onboard__image {
        width: 78%;
    }
}

@media (max-height: 740px) {
    .onboard__slide {
        padding-top: 24px;
    }

    .onboard__texts {
        min-height: 150px;
    }

    .onboard__title {
        font-size: 46px;
    }

    .onboard__info {
        font-size: 20px;
    }

    .onboard__image {
        width: 72%;
    }
}






.friends__left-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.friends__left-content .top__back-btn {
    margin-top: -5px;
}

.friends__ {
    margin-top: 16px;
}

.friends__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.friends__card {
    position: relative;
    overflow: hidden;
    padding: 12px 20px;
    background-image: url('../images/f__card-bg.svg');
    background-position: center center;
    background-size: cover;
}

.friends__card.cardbg2 {
    background-image: url('../images/f__card-bg2.svg');
}

.friends__ .wallet__card-price {
    gap: 0;
}

.friends__ .friends__card:first-child {
    grid-column: span 2;
}

.friend__card-info {
    margin-top: -3px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: var(--text-primary);
}

.friend__card-smileImg {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 117px;
    object-position: center bottom;
    object-fit: contain;
}


/* referal content */
.referrals__ {
    margin-top: 20px;
    padding-bottom: 0;
}

.referrals__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.referrals__card-btn {
    margin-top: 8px;
}

.referrals__link-card {
    background-image: url('../images/referal-bg.svg');
    background-position: center;
    background-size: cover;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.referrals__link-card .orange__btn-small {
    min-width: 0;
    width: 100%;
    padding: 9px 12px 9px 12px;
    overflow: hidden;

    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-size: 16px;
    line-height: 14px;
    font-weight: 400;
    /* text-align: center; */
}

.ref__copy-btn {
    padding: 6px 17px;
    max-width: 54px;
    display: flex;
}

.ref__copy-btn .icon {
    width: 20px;
    height: 20px;
}

.ref__copy-btn.active .copy {
    display: none;
}

.ref__copy-btn:not(.active) .check {
    display: none;
}

.ref__users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ref__users-text {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--white-primary);

    -webkit-text-stroke: 1px #311208;
    text-shadow: 1px 1px 0px #311208;
}

.r__users-right,
.user__count-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user__count-box {
    gap: 4px;
}

.user__count-box .icon {
    width: 20px;
    height: 20px;
    /* margin-bottom: -3px; */
}


.ref__dropdown {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.ref__dropdown-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    border-radius: 9em;
    border: 1px solid #310C0C;
    box-shadow: 0px 0px 0px 0px #310C0C, 2px 2px 0px 0px #FFFFFF66 inset;
    padding: 4px 15px 4px 15px;
    min-height: 28px;
}

.ref__dropdown-text {
    display: flex;
    align-items: center;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--white-primary);
}

.ref__dropdown-head .icon {
    width: 12px;
    height: 12px;
    margin-bottom: 0;
    display: block;
    align-self: center;
}

.ref__dropdown-panel {
    position: absolute;
    top: 32px;
    right: 0;
    z-index: 1;
    border-radius: 8px;
    padding: 6px 8px 12px 8px;
    background-image: url('../images/ref-dropd-bg.svg');
    background-size: cover;
    background-position: top center;
    border: 2px solid #310C0C;
    box-shadow: 6px 6px 0px 0px #FFFFFF66 inset;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;

    transition: 0.3s;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
}

.ref__dropdown.active .ref__dropdown-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.d__panel-item:first-child {
    grid-column: span 2;
}

.d__panel-item {
    min-width: max-content;
    width: 100%;
    padding: 6px 10px;
    background: #FFFFFF4D;
    border: 1px solid #311208;
    backdrop-filter: blur(4px);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--text-primary);
}

.d__panel-item.active {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
}


.referrals__ .mission__warning {
    padding-inline: 0;
}

.ref__card-btn {
    margin-top: 8px;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    border: 1px solid var(--text-primary);
    box-shadow: 1px 1px 0px 0px var(--text-primary), 3px 3px 0px 0px #FFFFFF66 inset;
    padding: 8px 16px 8px 16px;
    border-radius: 9em;
    display: flex;
    align-items: center;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    color: #fff;
}



.referrals__ .missions__content {
    padding-bottom: 24px;
}


.referrals__ .mission__list {
    margin-top: 10px;
}

.referrals__ .mission__item {
    grid-template-columns: 70% auto;
}

.referrals__refboost-card {
    background-color: #4992CC;
    background-image:
        url('../images/refboomfon.svg'),
        linear-gradient(180deg, #A0DFFC 0%, #4992CC 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center bottom, center;
    background-size: 395px 63px, cover;
}

.refboost__ {
    margin-top: 20px;
    padding-bottom: 0;
}

.refboost__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.refboost__hero {
    position: relative;
    min-height: 150px;
    padding: 14px 18px 16px;
    border-radius: 16px;
    border: 2px solid #310C0C;
    background-color: #39A9FF;
    background-image:
        url("../images/refboost-ellipse.svg"),
        url("../images/refboost-ellipse.svg"),
        url("../images/refboost-mask.svg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 22px -2px, calc(100% - 24px) 63px, -830px -801px;
    background-size: 120px 120px, 120px 120px, 1656px 1593px;
    overflow: hidden;
}

.refboost__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 6px 6px 0px 0px #FFFFFF66;
    pointer-events: none;
}

.refboost__hero-copy,
.refboost__me-headings {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.refboost__hero-copy {
    max-width: 168px;
}

.refboost__me-label,
.refboost__section-subtitle {
    font-family: 'Montserrat', sans-serif;
}

.refboost__me-label {
    font-size: 11px;
    line-height: 120%;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(49, 18, 8, 0.7);
}

.refboost__hero-title {
    max-width: 168px;
    margin: 0;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    text-shadow: 2px 2px 0px var(--text-primary);
    -webkit-text-stroke: 1px #311208;
}

html[lang="en"] .refboost__hero-title span {
    display: inline-block;
    white-space: nowrap;
}

html[lang="en"] .refboost__hero-copy {
    max-width: 176px;
}

html[lang="en"] .refboost__hero-title {
    max-width: 176px;
}

html[lang="en"] .refboost__hero-sub {
    max-width: 152px;
}

html[lang="en"] .refboost__hero-figure {
    max-width: 56%;
}

.refboost__hero-sub,
.refboost__section-subtitle,
.refboost__me-note {
    font-size: 14px;
    line-height: 140%;
    color: rgba(49, 18, 8, 0.82);
}

.refboost__hero-figure {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 221px;
    height: 133px;
    max-width: 60%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    z-index: 2;
}

.refboost__hero-sub {
    margin-top: 5px;
    max-width: 150px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 13px;
    color: #311208;
}

.refboost__hero-btn {
    position: relative;
    z-index: 3;
    margin-top: 9px;
    width: 123px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, inset 3px 3px 0px 0px #FFFFFF66;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    color: #310C0C;
    text-align: center;
    white-space: nowrap;
    padding-top: 1px;
    flex: none;
}

.refboost__hero-btn:hover {
    background: linear-gradient(180deg, #FFE38C 0%, #FFBF1E 100%);
}

.refboost__hero-btn:active {
    background: linear-gradient(180deg, #F2C249 0%, #E39B00 100%);
}

.refboost__hero-btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.refboost__me-header,
.refboost__leader-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.refboost__me {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 215, 110, 0.32), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.refboost__section-title {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 1px #311208;
    text-shadow: 1px 1px 0 #311208;
    margin: 0;
}

.refboost__state-badge {
    border-radius: 999px;
    border: 1px solid rgba(49, 18, 8, 0.18);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    padding: 7px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    line-height: 120%;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.refboost__state-badge.is-eligible {
    background: rgba(160, 255, 188, 0.85);
}

.refboost__state-badge.is-excluded,
.refboost__state-badge.is-banned {
    background: rgba(255, 139, 139, 0.88);
}

.refboost__state-badge.is-below-threshold {
    background: rgba(255, 215, 110, 0.9);
}

.refboost__me-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.refboost__me-panel {
    min-width: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(49, 18, 8, 0.12);
}

.refboost__me-balance {
    margin-top: 6px;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-size: 28px;
    line-height: 1;
    color: var(--text-primary);
}

.refboost__me-note {
    margin-top: 8px;
}

.refboost__me-metrics {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.refboost__me-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.refboost__me-metric-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    line-height: 120%;
    font-weight: 700;
    color: rgba(49, 18, 8, 0.64);
    text-transform: uppercase;
}

.refboost__me-metric-value {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-size: 24px;
    line-height: 1;
    color: var(--text-primary);
}

.refboost__leaderboard {
    position: relative;
    border-radius: 16px;
    border: 2px solid #310C0C;
    padding: 14px 18px 12px 18px;
    overflow: visible;
    background: radial-gradient(120% 120% at 50% 50%, #87DAFB 0%, #5CAFE2 49%, #377EC3 100%);
}

.refboost__leaderboard::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 6px 6px 0px 0px #FFFFFF66;
    pointer-events: none;
}

.refboost__leader-ellipse {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.refboost__leader-ellipse.ellipse-a {
    left: 25px;
    top: 4px;
}

.refboost__leader-ellipse.ellipse-b {
    right: -2px;
    top: 344px;
}

.refboost__leader-ellipse.ellipse-c {
    left: -2px;
    top: auto;
    bottom: 8px;
    width: 120px;
    height: 114px;
}

.refboost__leader-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: var(--white-primary);
    text-shadow: 2px 2px 0px var(--text-primary);
    -webkit-text-stroke: 1px #311208;
}

.refboost__leader-title {
    margin: 0;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    text-shadow: 2px 2px 0px var(--text-primary);
    -webkit-text-stroke: 1px #311208;
}

.refboost__leader-count img {
    width: 20px;
    height: 20px;
}

.refboost__leader-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.refboost__leader-gap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    margin: 2px 0;
    color: rgba(255, 255, 255, 0.78);
}

.refboost__leader-gap::before,
.refboost__leader-gap::after {
    content: '';
    flex: 1;
    min-width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.refboost__leader-gap-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.refboost__leader-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 6px 20px 6px 12px;
    border-radius: 8px;
    border: 1px solid #47186F;
    background: rgba(9, 0, 90, 0.3);
    backdrop-filter: blur(4px);
}

.refboost__leader-item--low {
    border-color: rgba(73, 0, 93, 0.8);
}

.refboost__leader-main {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.refboost__leader-rank {
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: var(--white-primary);
    text-align: left;
    flex: none;
}

.refboost__leader-avatar {
    width: 32px;
    height: 32px;
    margin: 0 8px 0 6px;
    border-radius: 100px;
    overflow: hidden;
    flex: none;
}

.refboost__leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.refboost__leader-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.refboost__leader-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    color: var(--white-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refboost__leader-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.refboost__leader-meta-label,
.refboost__leader-meta-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 7px;
    line-height: 120%;
    color: #FFCF23;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refboost__leader-right {
    display: grid;
    grid-template-columns: auto 38px;
    align-items: center;
    column-gap: 3px;
    justify-content: end;
    margin-left: auto;
    flex: none;
}

.refboost__leader-pill {
    height: 20px;
    min-width: 60px;
    padding: 0 5px;
    border-radius: 24px;
    border: 1px solid #310C0C;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    box-shadow: inset 2px 2px 0px 0px #FFFFFF66;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: #310C0C;
    white-space: nowrap;
    box-sizing: border-box;
}

.refboost__leader-pill img {
    width: 12px;
    height: 12px;
}

.refboost__leader-percent {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);
    color: var(--white-primary);
    text-align: right;
    white-space: nowrap;
}

.refboost__leader-you-item {
    position: sticky;
    top: 96px;
    bottom: 123px;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border-radius: 16px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;
    z-index: 3;
}

.refboost__leader-you-item .refboost__leader-percent {
    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    -webkit-text-stroke: 1px var(--text-primary);
    text-shadow: 1px 1px 0px var(--text-primary);
    color: var(--white-primary);
    text-align: right;
}

.refboost__leader-you-item .refboost__leader-rank,
.refboost__leader-you-item .refboost__leader-name,
.refboost__leader-you-item .refboost__leader-meta-label,
.refboost__leader-you-item .refboost__leader-meta-value {
    color: var(--text-primary);
}

.refboost__leaderboard--empty {
    padding-bottom: 24px;
}

.refboost__empty-label {
    width: max-content;
    margin-inline: auto;
    position: relative;
    z-index: 2;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    background: none;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 1px #311208;
    text-shadow: 2px 2px 0px var(--text-primary);
}

.refboost__empty-label::after {
    content: none;
}

.refboost__empty-body {
    position: relative;
    z-index: 2;
    padding-inline: 0;
    padding-bottom: 0;
}

.refboost__empty-title {
    max-width: 240px;
}

.refboost__empty-info {
    max-width: 250px;
}

.refboost__empty-btn {
    margin-top: 10px;
}

.refboost__leader-shortage {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 120px;
    z-index: 45;
}

.refboost__leader-shortage[hidden] {
    display: none;
}

.refboost__leader-shortage-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 72px;
    padding: 8px 12px;
    border-radius: 16px;
    border: 2px solid #310C0C;
    background-image: url('../images/promoSoon-bg.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    box-shadow: inset 6px 6px 0px 0px #FFFFFF66;
    overflow: hidden;
}

.refboost__leader-shortage-text {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    max-width: 196px;
    margin: 0;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.15;
    text-align: left;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 1px #311208;
    text-shadow: 2px 2px 0px var(--text-primary);
}

.refboost__leader-shortage-text > span:first-child {
    font-size: 20px;
    line-height: 100%;
}

.refboost__leader-shortage-amount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.refboost__leader-shortage-amount > span {
    font-size: 20px;
    line-height: 100%;
}

.refboost__leader-shortage-amount img {
    width: 14px;
    height: 14px;
    margin-top: -1px;
    flex: none;
}

.refboost__leader-shortage-btn {
    position: relative;
    z-index: 2;
    flex: none;
    width: 132px;
    min-height: 32px;
    padding: 4px 12px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid #310C0C;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    box-shadow: 1px 1px 0px 0px #310C0C, inset 3px 3px 0px 0px #FFFFFF66;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-primary);
}

.refboost__leader-shortage-btn:hover {
    background: #FA6C2D;
}

.refboost__leader-shortage-btn:active {
    background: #BC3A00;
}

.refboost-page .brand__box {
    gap: 12px;
}

.refboost-page .friends__left-content {
    min-width: 0;
}

.refboost-page .friends__left-content .grd__shadow-text {
    white-space: nowrap;
}

.refboost__modal-box {
    position: relative;
    width: 100%;
    max-width: 353px;
    max-height: 535px;
    margin-inline: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    border: 2px solid #310C0C;
    overflow-y: auto;
    overflow-x: hidden;
    background-image: url('../images/promoSoon-bg.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    box-shadow: 6px 6px 0px 0px #FFFFFF66 inset;
}

.refboost__modal-box::-webkit-scrollbar {
    width: 0;
}

.refboost__modal-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.refboost__modal-title {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 1px #000000CC;
    text-shadow: 2px 2px 0px #260D05;
}

.refboost__modal-panel {
    position: relative;
    border-radius: 16px;
    border: 2px solid #310C0C;
    overflow: hidden;
}

.refboost__modal-panel--primary {
    min-height: 293px;
    padding: 14px 18px 18px 18px;
    background: linear-gradient(180deg, #FFB700 24.04%, #ED9108 100%);
    box-shadow: inset 6px 6px 0px 0px #FFFFFF66;
}

.refboost__modal-panel--table {
    padding: 39px 16px 16px 16px;
    border-width: 1px;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    box-shadow: 1px 1px 0px 0px #310C0C, inset 3px 3px 0px 0px #FFFFFF66;
}

.refboost__modal-panel--grid {
    min-height: 83px;
}

.refboost__modal-panel-title {
    -webkit-text-stroke: 1px #000000CC;
    text-shadow: 1px 1px 0px #260D05;
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    text-align: left;
    text-transform: uppercase;
    color: var(--white-primary);
    margin-bottom: 12px;
}

.refboost__modal-list,
.refboost__modal-values {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding-left: 18px;
}

.refboost__modal-values {
    margin-top: 10px;
    justify-content: center;
}

.refboost__modal-list-item,
.refboost__modal-value-item,
.refboost__modal-grid-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    color: #000000;
}

.refboost__modal-chip {
    position: absolute;
    left: 4px;
    right: 4px;
    top: 2px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, inset 2px 2px 0px 0px #FFFFFF66;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.refboost__modal-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 4px 20px;
}

.refboost__modal-grid-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.refboost__modal-grid-item {
    min-height: 22px;
    display: flex;
    align-items: center;
}

.refboost__modal-close {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 1px 20px;
    border-radius: 24px;
    border: 1px solid #310C0C;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-primary);
    -webkit-text-stroke: 0;
    text-shadow: none;
    white-space: nowrap;
}

.refboost__modal-close:hover {
    background: #FA6C2D;
}

.refboost__modal-close:active {
    background: #BC3A00;
}

.refboost__modal-close:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .refboost__me-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .refboost__hero {
        min-height: 144px;
        padding: 14px 16px 16px;
        background-position: 14px -4px, calc(100% - 18px) 67px, -848px -804px;
    }

    .refboost__hero-figure {
        width: 202px;
        max-width: 58%;
    }

    .refboost__hero-title {
        max-width: 156px;
        font-size: 26px;
    }

    .refboost__hero-sub {
        max-width: 148px;
        line-height: 12px;
    }

    .refboost__hero-btn {
        width: 121px;
    }

    html[lang="en"] .refboost__hero {
        min-height: 138px;
    }

    html[lang="en"] .refboost__hero-copy {
        max-width: 170px;
    }

    html[lang="en"] .refboost__hero-title {
        max-width: 170px;
        font-size: 24px;
    }

    html[lang="en"] .refboost__hero-sub {
        max-width: 150px;
        line-height: 11px;
    }

    html[lang="en"] .refboost__hero-figure {
        width: 192px;
        max-width: 54%;
    }

    .refboost__leader-item {
        padding: 6px 20px 6px 12px;
    }

    .refboost__leader-pill {
        padding: 0 5px;
    }

    .refboost__modal-box {
        padding: 18px 18px 20px 18px;
    }

    .refboost__modal-title {
        font-size: 26px;
        line-height: 26px;
    }
}

@media (max-width: 360px) {
    .refboost-page .brand__box {
        gap: 8px;
        align-items: flex-start;
    }

    .refboost-page .friends__left-content {
        gap: 10px;
    }

    .refboost-page .brand__currency {
        gap: 3px;
        padding-inline: 8px;
    }

    .refboost-page .brand__currency-text {
        font-size: 14px;
    }

    .refboost-page .brand__wallet {
        gap: 6px;
    }

    .refboost-page .brand__wallet-shop {
        width: 34px;
        height: 34px;
    }

    .refboost-page .brand__wallet-shop .icon {
        width: 18px;
        height: 18px;
    }

    .refboost-page .friends__left-content .grd__shadow-text {
        font-size: 26px;
    }

    .refboost__content {
        gap: 10px;
    }

    .refboost__hero {
        min-height: 140px;
        padding: 12px 14px 14px;
        background-position: 10px -8px, calc(100% - 14px) 72px, -860px -801px;
    }

    .refboost__hero-copy {
        max-width: 154px;
    }

    .refboost__hero-figure {
        width: 182px;
        max-width: 58%;
    }

    .refboost__hero-title {
        max-width: 154px;
        font-size: 23px;
    }

    .refboost__hero-sub {
        max-width: 150px;
        font-size: 10px;
        line-height: 11px;
    }

    .refboost__hero-btn {
        width: 118px;
        height: 27px;
        font-size: 15px;
        line-height: 15px;
    }

    html[lang="en"] .refboost__hero {
        min-height: 134px;
    }

    html[lang="en"] .refboost__hero-copy {
        max-width: 160px;
    }

    html[lang="en"] .refboost__hero-title {
        max-width: 160px;
        font-size: 21px;
    }

    html[lang="en"] .refboost__hero-sub {
        max-width: 144px;
    }

    html[lang="en"] .refboost__hero-figure {
        width: 174px;
        max-width: 52%;
    }

    .refboost__leaderboard {
        padding: 14px 14px 12px 14px;
    }

    .refboost__leader-shortage {
        left: 16px;
        right: 16px;
        bottom: 116px;
    }

    .refboost__leader-shortage-inner {
        min-height: 68px;
        padding: 8px 12px;
        gap: 8px;
    }

    .refboost__leader-shortage-text {
        max-width: 162px;
        font-size: 18px;
    }

    .refboost__leader-shortage-btn {
        width: 126px;
        min-height: 30px;
        font-size: 15px;
    }

    .refboost__leaderboard--empty {
        padding-bottom: 22px;
    }

    .refboost__leader-head {
        gap: 6px;
    }

    .refboost__leader-title {
        font-size: 22px;
    }

    .refboost__empty-label {
        font-size: 28px;
    }

    .refboost__leader-count {
        gap: 3px;
        font-size: 22px;
    }

    .refboost__leader-list {
        margin-top: 6px;
    }

    .refboost__leader-item {
        padding: 6px 12px 6px 10px;
    }

    .refboost__leader-main {
        gap: 0;
    }

    .refboost__leader-rank {
        width: 16px;
        font-size: 18px;
    }

    .refboost__leader-avatar {
        width: 28px;
        height: 28px;
        margin: 0 6px 0 6px;
    }

    .refboost__leader-name {
        font-size: 11px;
    }

    .refboost__leader-meta {
        gap: 3px;
    }

    .refboost__leader-meta-label,
    .refboost__leader-meta-value {
        font-size: 7px;
    }

    .refboost__leader-right {
        grid-template-columns: auto 36px;
        column-gap: 3px;
    }

    .refboost__leader-pill {
        height: 18px;
        min-width: 54px;
        padding: 0 4px;
        gap: 3px;
        font-size: 9px;
    }

    .refboost__leader-pill img {
        width: 10px;
        height: 10px;
    }

    .refboost__leader-percent {
        font-size: 18px;
    }

    .refboost__modal-box {
        max-height: calc(100vh - 24px);
        padding: 16px 14px 18px 14px;
    }

    .refboost__modal-content {
        gap: 14px;
    }

    .refboost__modal-title {
        font-size: 24px;
        line-height: 24px;
    }

    .refboost__modal-panel--primary {
        min-height: auto;
        padding: 12px 14px 16px 14px;
    }

    .refboost__modal-panel--table {
        padding: 39px 12px 14px 12px;
    }

    .refboost__modal-panel-title {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 10px;
    }

    .refboost__modal-list,
    .refboost__modal-values {
        gap: 10px;
        padding-left: 16px;
    }

    .refboost__modal-values {
        margin-top: 8px;
    }

    .refboost__modal-list-item,
    .refboost__modal-value-item,
    .refboost__modal-grid-item {
        font-size: 11px;
    }

    .refboost__modal-chip {
        font-size: 14px;
        line-height: 14px;
    }

    .refboost__modal-grid {
        gap: 4px 12px;
    }

    .refboost__modal-close {
        min-height: 40px;
        font-size: 22px;
        line-height: 100%;
        padding: 0 16px 1px 16px;
    }
}

@media (max-width: 340px) {
    .refboost-page .friends__left-content .grd__shadow-text {
        font-size: 24px;
    }

    .refboost__empty-label {
        font-size: 24px;
    }

    .refboost__hero {
        min-height: 138px;
        padding: 12px 12px 14px;
        background-position: 8px -10px, calc(100% - 12px) 74px, -874px -806px;
    }

    .refboost__hero-copy {
        max-width: 144px;
    }

    .refboost__hero-figure {
        width: 170px;
        max-width: 57%;
    }

    .refboost__hero-title {
        max-width: 144px;
        font-size: 22px;
    }

    .refboost__hero-sub {
        max-width: 136px;
        line-height: 11px;
    }

    .refboost__hero-btn {
        width: 112px;
        font-size: 14px;
        line-height: 14px;
    }

    html[lang="en"] .refboost__hero {
        min-height: 132px;
    }

    html[lang="en"] .refboost__hero-copy {
        max-width: 150px;
    }

    html[lang="en"] .refboost__hero-title {
        max-width: 150px;
        font-size: 20px;
    }

    html[lang="en"] .refboost__hero-sub {
        max-width: 132px;
    }

    html[lang="en"] .refboost__hero-figure {
        width: 160px;
        max-width: 52%;
    }

    .refboost__leader-shortage {
        left: 14px;
        right: 14px;
        bottom: 114px;
    }

    .refboost__leader-shortage-inner {
        min-height: 66px;
        padding: 8px 10px;
        gap: 7px;
    }

    .refboost__leader-shortage-text {
        max-width: 148px;
        font-size: 18px;
    }

    .refboost__leader-shortage-btn {
        width: 120px;
        min-height: 29px;
        font-size: 14px;
    }
}

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

.leaderboard-item__avatar {
    width: 32px;
    height: 32px;
    border-radius: 9em;
}

.leaderboard-item__id,
.gem-history__id {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border-radius: 9em;
    border: 1px solid #310C0C;
    box-shadow: 2px 2px 0px 0px #FFFFFF66 inset;
    padding: 4px 8px 4px 8px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 120%;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.referrals__ .leaderboard-item__id {
    display: none;
}

.leaderboard-item__meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.leaderboard-item__level {
    -webkit-text-stroke: 0.8px #311208;

    font-family: 'Burbank Big Condensed', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
    color: var(--white-primary);
}


.ref__paginations {
    margin: 8px auto 0 auto;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.ref__paginations-btn {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border: 1px solid #310C0C;
    box-shadow: 2px 2px 0px 0px #FFFFFF66 inset;
    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 120%;
    text-align: center;
    color: var(--text-primary);
}

.ref__paginations-btn:hover {
    filter: brightness(1.2);
}

.ref__paginations-btn.active {
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    color: var(--white-primary);
}

.ref__paginations-btn .icon {
    width: 16px;
    height: 16px;
}



/* referrals ------------------------------------------------------- modal */


/* .ref__modal__content {
    position: relative;
    max-height: 535px;
} */

.ref__modal__box {
    position: relative;

    background-image: url('../images/promoSoon-bg.svg');
    background-size: cover;
    background-position: top center;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    max-height: 535px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.ref__modal__box::-webkit-scrollbar {
    width: 0;
}

.ref__modal-title,
.ref__modal-subtitle {
    -webkit-text-stroke: 1px #000000CC;
    text-shadow: 2px 2px 0px #260D05;

    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white-primary);
}

.ref__modal-title[data-i18n="referrals.modal.aboutTitle"] {
    width: 100%;
    white-space: nowrap;
    font-size: clamp(24px, 5.2vw, 28px);
    line-height: 1;
    text-align: center;
}

.ref__modal-blog {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ref__modal-subtitle {
    font-size: 20px;
    line-height: 20px;
    text-align: left;
    text-shadow: 1px 1px 0px #260D05;
}


.ref__modal-info,
.ref__modal-listItem {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 11px;
    color: var(--text-primary);
}

.ref__modal-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #0E2E4A;
}

.ref__modal__btns {
    display: flex;
    gap: 4px;
}

.ref__modal-destBtn,
.ref__modal-oranBtn {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 39px;
    padding: 0 20px;
    width: 100%;
    /* max-width: 480px; */
    margin-inline: auto;
}

.ref__modal-destBtn {
    background: linear-gradient(180deg, #FF7538 0%, #ED4E08 100%);
    color: var(--white-primary);
}

.ref__modal-oranBtn {
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
}

.text__gradient {
    background: linear-gradient(0deg, #FB6800 -25%, #FFDD43 62.84%, #FFDD43 71.67%);
    text-shadow: none;
    font-size: 36px;
    line-height: 125%;
}


.ref__modal__list {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* .ref__modal-listItem {  } */
.ref__modal-lvlBox {
    padding: 2px 4px 8px 4px;
    border: 1px solid #310C0C;
    background: linear-gradient(180deg, #FFD76E 0%, #FFB900 100%);
    border-radius: 12px;
    box-shadow: 1px 1px 0px 0px #310C0C, 3px 3px 0px 0px #FFFFFF66 inset;
}

.ref__modal-lvlBox .lvl__head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 14px 4px 14px;
    font-size: 13px;
    line-height: 1;
}

.ref__modal-lvlList {
    margin-top: 8px;
    width: 100%;
    max-width: 305px;
    margin-inline: auto;
    padding-inline: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


.ref__modal-lvlText {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    text-align: left;
    justify-self: start;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}




/* gem history */

.gem__ {
    margin-top: 16px;
    padding-bottom: 0;
}

.gem__history {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[data-gem-history-list] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gem__history-feed-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gem__history-tail-state {
    width: 100%;
}

.gem__history-load-more {
    width: 100%;
}

.gem__history-sentinel {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.gem__his-notFound {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 12px;
}

body[data-page="gem-history"] .gem__his-notFound {
    width: 100%;
    min-height: clamp(220px, 52dvh, 560px);
}

.gem__not-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    color: var(--text-primary);
}

.gem__not-info {
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 130%;
    color: var(--text-secondary);
}

.gem__history-card {
    padding: 16px 20px 24px 20px;
    background-image: url('../images/operations-bg.svg');
    background-size: cover;
    background-position: top left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gem__history-title {
    -webkit-text-stroke: 1px #310C0C;
    text-shadow: 2px 2px 0px #311208;

    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--white-primary);
}

.gem__history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gem__history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 12px 11px 16px;
    border-radius: 8px;

    background: #FFFFFF4D;
    border: 1px solid #311208;
    backdrop-filter: blur(4px);
}

.leaderboard__podium-item.is-skeleton,
.leaderboard__item.is-skeleton {
    pointer-events: none;
}

.leaderboard__skeleton {
    display: block;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.22);
}

.leaderboard__skeleton--avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-top: -24px;
}

.leaderboard__skeleton--avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.leaderboard__skeleton--name {
    width: 72px;
    height: 10px;
}

.leaderboard__skeleton--value {
    width: 42px;
    height: 12px;
}

.leaderboard__skeleton--rank {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.gem-history__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.gem-history__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: var(--text-primary);
}

.gem-history__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gem-history__amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    text-align: right;
    color: #006C2F;
}

.gem-history__amount.down__ {
    color: #AB0000;
}

.gem-history__date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    text-align: right;
    color: var(--text-primary);
}

body.wallet-form--receive .getCoin__ {
    margin-top: 20px;
}

body.wallet-form--receive .getCoin__header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

body.wallet-form--receive .getCoin__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.wallet-form--receive .wallet__form {
    min-height: auto;
    justify-content: flex-start;
    gap: 16px;
}

body.wallet-form--receive .getCoin__title {
    font-family: 'FORTNITE BATTLEFEST', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
}

body.wallet-form--receive .getCoin__ .__form__input,
body.wallet-form--receive .getCoin__ .__form__input::placeholder {
    font-weight: 700;
    font-size: 12px;
}

body.wallet-form--receive [data-wallet-receive-address-box] [data-wallet-receive-address].__form__input {
    padding-right: 68px;
}

body.wallet-form--receive .getCoin__ .__form__inp-textBox {
    top: 5px;
    right: 10px;
}

body.wallet-form--receive .wallet__form-group--receive-memo {
    position: relative;
    left: 0;
    top: -10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 8px;
    margin-bottom: 8px;
}

body.wallet-form--receive [data-wallet-receive].wallet__form-box {
    height: 190px;
}

body.keyboard-open[data-page="wallet-form"] .wallet__form {
    padding-bottom: calc(12px + var(--keyboard-inset, 0px));
}



@media (max-width: 680px) {
    .shop__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*hello world*/
