:root {
    --green-color: 84,183,137;
    --dvh: 100vh;
}
:focus, :active {
    outline: none;
}
*, :after, :before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    color: #fff;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font: inherit;
}
ul {
    list-style: none;
}
input, textarea, select, button {
    font: inherit;  
}
body {
    -webkit-text-size-adjust: none;
    overflow: hidden;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #fff;
    background-color: #070707;
}

.nowrap {
    white-space: nowrap;
}
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
#app-content, body, html {
    height: var(--dvh);
    width: 100vw;
    overflow: hidden;
}
#app-content:before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../images/bg-planet.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    filter: blur(30px);
    z-index: -1;
    opacity: 0.2;
}
#app-page {
    height: var(--dvh);
    min-height: 100%;
    overflow-y: auto;
    overscroll-behavior: none;
}
#app-page::-webkit-scrollbar {
    display:none;
}
.content {
    min-height: calc(var(--dvh) + 1px);
    touch-action: pan-y;
    padding-top: calc(15px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    padding-bottom: calc(15px + var(--tg-safe-area-inset-bottom, 0px) / 2);
}
#bottom-nav + #app-page > .content  {
    padding-bottom: calc(15px + 103px + var(--tg-safe-area-inset-bottom, 0px) / 2);
}

#bottom-nav {
    background: #17181a;
    border-radius: 15px 15px 0 0;
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 600px;
    z-index: 990;
    transform: translateX(-50%);
    padding-bottom: calc(var(--tg-safe-area-inset-bottom, 0px) / 2);
}

/* NOTIFICATION */

#notification {
    display: none;
    position: fixed;
    top: calc(30px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 1001;
    pointer-events: none;
}
.notification__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 75%;
    margin: 0 auto;
}
.notification__cont {
    color: #000;
    font-size: 13px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    transition: opacity 0.15s;
}
.notification__cont.success {
    background-color: rgb(var(--green-color));
}
.notification__cont.error {
    background-color: #ff6f6f;
}
.notification__cont.warning {
    background-color: #f1c233;
}

/* LOADER */

.loading__wrap,
.loading__ring {
    width: 50px;
    height: 50px;
}
@keyframes rotate{
    to {transform:rotate(360deg);}
}
.loading__ring {
    position: absolute;
}
.loading__ring:first-child {
    transform: skew(30deg, 20deg);
}
.loading__ring:last-child {
    transform: skew(-30deg, -20deg) scale(-1,1);
}
.loading__ring:last-child svg {
    animation-delay: -0.5s;
}
.loading__ring svg {
    animation: rotate 1s linear infinite;
    fill: rgba(0,0,0, 0.7);
}


/* MODAL */

.modal {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    z-index: 999;
}
.modal-dialog {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: calc(var(--dvh) + 1px);
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.15s ease-out;
}
.modal-dialog:before {
    content: "";
    display: flex;
    flex-grow: 1;
    min-height: 5vh;
}
.modal.show .modal-dialog {
    transform: translateY(0);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #131313;
    border-radius: 8px 8px 0 0;
    pointer-events: auto;
    transform: translateY(1px);
}
.modal-content:before {
    content: "";
    background-color: #434346;
    border-radius: 2px;
    height: 4px;
    width: 40px;
    margin: 12px auto;
}
.modal-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 0 15px;
}
.modal-title {
    font-weight: 700;
    font-size: 18px;
}
.modal-close {
    cursor: pointer;
    height: 32px;
    width: 32px;
    min-width: 32px;
    background-color: #3c3c3c;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.15s;
    margin-left: auto;
}
.modal-close:hover {
    color: #fff;
    opacity: 0.75;
}
.modal-body {
    position: relative;
    padding: 15px;
    padding-bottom: calc(15px + var(--tg-safe-area-inset-bottom, 0px));
    min-height: 120px;
}
.modal-backdrop {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    backdrop-filter: blur(3px);
    opacity: 0.85;
    z-index: 998;
}
.modal-confirm-buts {
    display: flex;
    padding-top: 10px;
    column-gap: 10px;
}

/* STORY */
/*.stories-slider-pagination {
    top: calc(8px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
}
.stories-slider-actions {
    top: calc(18px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
}*/
.stories-slider {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0;
    background: rgba(21,20,29, 0.95);
}
.stories-slider {
    padding-top: calc(10px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    padding-bottom: calc(10px + var(--tg-safe-area-inset-bottom, 0px) / 2);
    padding-left: 10px;
    padding-right: 10px;
}
.stories-wrapper {
    position: relative;
    width: min(100%, calc((100vh - 20px) * 9 / 16), 414px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}
.stories-wrapper > .swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
/*.stories-slider:not(.stories-slider-in) {
  pointer-events: none;
}
.stories-slider:not(.stories-slider-in) * {
  pointer-events: none !important;
}*/
.stories-slider-in {
    animation: stories-slider-in 400ms forwards;
/*    pointer-events: auto;*/
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}
.stories-slider-out {
    pointer-events: none;
    animation: stories-slider-out 400ms forwards !important;
}
.stories-slider-content > video {
    object-fit: cover;
}
.stories-slider .swiper-slide {
    position: relative;
}
.stories-slider-but {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
    z-index: 300;
}
.stories-slider-but .button {
    display: block;
    font-size: 22px;
    padding: 20px;
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.2);
}

@keyframes stories-slider-in {
    0% {
        transform: translate3d(0, 0, 0) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate3d(0, 0, 0) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}
@keyframes stories-slider-out {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate3d(0, 0, 0) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(0.5);
        opacity: 0;
    }
}

/* BUTTONS */

.button {
    position: relative;
    display: inline-block;
    background-color: #000;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s, color 0.15s;
    user-select: none;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
}
.button:hover {
    background-color: #1b1b1b;
}
.button.loading {
    color: transparent !important;
    transition: none;
}
.button.loading > [data-icon] {
    opacity: 0;
}
.button.loading:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-image: url('../images/loader-white.svg');
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    vertical-align: -5px;
    cursor: default;
}
.button.loading.button--white:before {
    filter: invert(1);
}
.button > [data-icon] {
    margin-right: 8px;
    vertical-align: -2px;
}
.button--icon > [data-icon] {
    margin-right: 0;
}
.button--big {
    display: block;
    padding: 16px 22px;
    font-size: 18px;
}
.button--big > [data-icon] {
    vertical-align: -3px;
    width: 18px;
    height: 18px;
}
.button--new {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.button--new > [data-icon] {
    margin: 0;
}
.button--disabled {
    cursor: default;
    background-color: #262626 !important;
    opacity: 0.75;
}
.button--gray {
    background-color: #212121;
}
.button--gray:hover {
    background-color: #1b1b1b;
}
.button--green {
    background-color: rgb(var(--green-color));
}
.button--green:hover {
    background-color: #3bab76;
}
.button--white {
    color: #000;
    background-color: #fff;
}
.button--white:hover {
    background-color: #ddd;
}
.button--yellow {
    color: #000;
    background-color: #ffb902;
}
.button--yellow:hover {
    background-color: #dba925;
}

.bg--beauty {
    position: relative;
    z-index: 1;
}
.bg--beauty:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: inherit;
    box-shadow: inset 0px 0px 90px rgba(114, 114, 114, 0.5);
    opacity: 0.5;
    z-index: -1;
}
.bg--green {
    background: radial-gradient(98.66% 98.66% at 50% 1.34%, #c9f5e0 0%, #3d9c70 100%);
}
.bg--green:before {
    background-color: #307f5a;
}
.bg--gray {
    background: radial-gradient(98.66% 98.66% at 50% 1.34%, #9e9e9e 0%, #4e4e4e 100%);
}
.bg--gray:before {
    background-color: #2a2a2a;
}
.bg--red {
    background: radial-gradient(98.66% 98.66% at 50% 1.34%, #f8c6c7 0%, #cd4e4d 100%);
}
.bg--red:before {
    background-color: #9b1919;
}

/* ICONS */

[data-icon] {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -3px;
}
[data-icon][data-invert] {
    filter: invert(1);
}
[data-icon="external"] {
    background-image: url('../images/icon-external.svg?v=1');
}
[data-icon="copy"] {
    background-image: url('../images/icon-copy.svg?v=1');
}
[data-icon="share"] {
    background-image: url('../images/icon-share.svg?v=3');
}
[data-icon="lock"] {
    background-image: url('../images/icon-lock.svg?v=2');
}
[data-icon="add"] {
    background-image: url('../images/icon-add.svg?v=1');
}
[data-icon="edit"] {
    background-image: url('../images/icon-edit.svg?v=3');
}
[data-icon="sort"] {
    background-image: url('../images/icon-sort.svg');
    transform: scale(1.07);
}
[data-icon="notifs"] {
    background-image: url('../images/icon-notifications.svg?v=2');
}
[data-icon="support"] {
    background-image: url('../images/icon-support.svg');
}
[data-icon="up"] {
    background-image: url('../images/arrow-up.svg');
}
[data-icon="up-green"] {
    background-image: url('../images/arrow-up-green.svg');
}
[data-icon="down"] {
    background-image: url('../images/arrow-up.svg');
    transform: rotate(180deg);
}
[data-icon="down-red"] {
    background-image: url('../images/arrow-up-red.svg');
    transform: rotate(180deg);
}
[data-icon="back"] {
    background-image: url('../images/arrow-back.svg');
}
[data-icon="next"] {
    background-image: url('../images/arrow-back.svg');
    transform: rotate(180deg);
}
[data-icon="next-new"] {
    background-image: url('../images/icon-arrow-right.svg');
}
[data-icon="back-new"] {
    background-image: url('../images/icon-arrow-right.svg');
    transform: rotate(180deg);
}
[data-icon="done"] {
    background-image: url('../images/icon-done.svg');
}
[data-icon="trash"] {
    background-image: url('../images/icon-trash.svg?v=1');
}
[data-icon="image"] {
    background-image: url('../images/icon-image.svg');
}
[data-icon="video"] {
    background-image: url('../images/icon-video.svg');
}
[data-icon="smile"] {
    background-image: url('../images/icon-smile.svg');
}
[data-icon="close"] {
    background-image: url('../images/icon-close.svg');
}
[data-icon="close-red"] {
    background-image: url('../images/icon-close-red.svg?v=1');
}
[data-icon="audio"] {
    background-image: url('../images/icon-audio.svg');
}
[data-icon="settings"] {
    background-image: url('../images/menu-icon-settings.svg');
}
[data-icon="finish"] {
    background-image: url('../images/icon-finish.svg');
}
[data-icon="user"] {
    background-image: url('../images/icon-user.svg');
}
[data-icon="shield"] {
    background-image: url('../images/icon-shield.svg');
}
[data-icon="wallet"] {
    background-image: url('../images/icon-wallet.svg');
}
[data-icon="wallet-outline"] {
    background-image: url('../images/icon-wallet-outline.svg?v=8');
}
[data-icon="fingerprint"] {
    background-image: url('../images/icon-fingerprint.svg?v=1');
}
[data-icon="doc-secure"] {
    background-image: url('../images/icon-doc-secure.svg');
}
[data-icon="privacy-policy"] {
    background-image: url('../images/icon-privacy-policy.svg?v=1');
}
[data-icon="faq"] {
    background-image: url('../images/icon-faq.svg');
}
[data-icon="achievements"] {
    background-image: url('../images/icon-achievements.svg');
}
[data-icon="stats"] {
    background-image: url('../images/icon-stats.svg');
}
[data-icon="help"] {
    background-image: url('../images/icon-help.svg');
}
[data-icon="code"] {
    background-image: url('../images/icon-code.svg');
}
[data-icon="connect"] {
    background-image: url('../images/icon-connect.svg?v=3');
}
[data-icon="subscription"] {
    background-image: url('../images/icon-subscription.svg');
}

/* CONTENT */

#app-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: #070707;
    color: #fff;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
}
.app-loading__wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 100%;
    min-height: 580px;
    max-height: 1200px;
    margin: auto;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.app-loading__cont {
    position: relative;
    flex-grow: 1;
    max-height: 600px;
}
.app-loading__cont:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-image: url('../images/logo-loading.svg');
    background-repeat: no-repeat;
    background-size: min(90%, 480px) auto;
    background-position: center;
    z-index: -1;
}
.app-loading__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vw;
    max-width: 600px;
    max-height: 600px;
    transform: translate(-50%, -10%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    opacity: 0.99;
    border-radius: 50%;
    animation: moveUp 2s ease-in-out forwards;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    z-index: -1;
}
.app-loading__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../images/img-loading.png');
    background-repeat: no-repeat;
    background-size: min(80%, 320px) auto;
    background-position: center right;
    transform: translateY(-5%);
    animation: moveDown 2s ease-in-out forwards;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    z-index: -1;
}
.app-loading__title {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    padding: 20px 25px;
}
.app-loading__title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 700px;
    background: #070707;
    filter: blur(30px);
    border-radius: 50%;
    z-index: -1;
}
.app-loading__title > h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
}
.app-loading__title > h2 span {
    display: inline-block;
    line-height: 54px;
    color: #000;
    background: linear-gradient(97.31deg, #FFFFFF -22.02%, #E7E7E7 120.88%);
    padding: 5px 5px 0;
}
.app-loading__about {
    padding: 10px 25px;
    padding-top: calc(25px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
}
.app-loading__about:before {
    content: '';
    position: absolute;
    right: 40px;
    height: 38px;
    width: 20px;
    background-image: url('../images/attr-loading.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.app-loading__about > p {
    display: none;
    font-size: 13px;
    line-height: 16px;
    max-width: 220px;
}
.app-loading__loader {
    left: 0;
    display: flex;
    align-items: center;
    column-gap: 30px;
    padding: 10px 25px;
    padding-bottom: calc(50px + var(--tg-safe-area-inset-bottom, 0px) / 2);;
}
.app-loading__loader > .ring {
    width: 28px;
    height: 28px;
    background-image: url('../images/icon-loading.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 50%;
    animation: rotate 2s linear infinite;
}
.app-loading__loader > .text {
    font-size: 13px;
    line-height: 16px;
}

@keyframes moveUp {
    from {
        transform: translate(-50%, -10%);
    }
    to {
        transform: translate(-50%, -15%);
    }
}

@keyframes moveDown {
    from {
        transform: translateY(-5%);
    }
    to {
        transform: translateY(0%);
    }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.section-box {
    position: relative;
    width: 100%;
    padding: 20px;
    background: rgb(255,255,255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 10px;
    margin-bottom: 20px;
}

.section-box__item {
    display: grid;
    align-items: center;
    grid-template-columns: 24px 1fr;
    grid-column-gap: 12px;
}
.section-box__item.no--icon {
    display: block;
}
.section-box__item > [data-icon] {
    width: 24px;
    height: 24px;
}
.section-box__item > p {
    font-size: 13px;
}
.section-box__item > p a {
    font-weight: bold;
    border-bottom: 1px dashed;
}

.section-box__btn {
    margin-top: 15px;
}
.section-box__btn > .button {
    padding: 7px 18px;
    border-radius: 5px;
}

.team-links {
    margin-top: -5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
}
.team-link {
    display: flex;
    flex-direction: column;
    padding: 15px;
    cursor: pointer;
}
.team-link__title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.team-link__desc {
    font-size: 12px;
    color: #777;
}
.team-link__button-wrap {
    padding-top: 15px;
    margin-top: auto;
}
.team-link__button-wrap .button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 5px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.team-link__button-wrap .button > [data-icon] {
    margin: 0;
    width: 12px;
    height: 12px;
}

.bottom-nav__items {
    display: flex;
    align-items: start;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    height: 88px;
}
.bottom-nav__item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.15s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.2;
}
.bottom-nav__item.planet,
.bottom-nav__item.active {
    opacity: 1;
}
.bottom-nav__item.planet:before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    width: 104px;
    height: 104px;
    background-color: #17181a;
    transform: translateX(-50%);
    border-radius: 50%;
}
.bottom-nav__item.active:not(.planet):before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 3px;
    background-color: #62D9A2;
    transform: translateX(-50%);
}
.bottom-nav__item > div {
    margin-top: -5px;
}
.bottom-nav__item.planet > div {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 15px;
    position: relative;
    margin-top: -20px;
}
.bottom-nav__item.planet.active > div:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0px 30px 50px rgba(84, 183, 137, 0.25);
}
.bottom-nav__item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.bottom-nav__item.planet img {
    width: 34px;
    height: 34px;
}

/* Top Bar */

.top-bar {
    display: flex;
    column-gap: 10px;
    padding-bottom: 25px;
    width: 100%;
}
.top-bar__member {
    flex: 1 1 0;
    display: grid;
    align-items: center;
    grid-template-columns: 54px 1fr;
    grid-column-gap: 15px;
    background: rgba(255, 255, 255, 0.08);
/*    backdrop-filter: blur(25px);*/
    border-radius: 12px;
    cursor: pointer;
}
.top-bar__member-info {
    overflow: hidden;
    padding-right: 5px;
}
.top-bar__member-info .subscription {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 2px 5px 0;
    border-radius: 5px;
    color: #fff;
}
.top-bar__member-info .subscription.start {
    background: rgba(255, 255, 255, 0.05);
}
.top-bar__member-info .subscription.algotrade,
.top-bar__member-info .subscription.copytrade,
.top-bar__member-info .subscription.testdrive {
    background: #fff;
    color: #000;
}
.top-bar__member-info .subscription.pro {
    background: #ab3459;
}
.top-bar__member-info .subscription.creator {
    background: #f3601b;
}
.top-bar__member-info .login {
    padding-top: 3px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.top-bar__member-photo {
    font-size: 0;
}
.top-bar__member-photo > img {
    border-radius: 12px;
    width: 54px;
    height: 54px;
    object-fit: cover;
}
.top-bar__item {
    cursor: pointer;
    height: 54px;
    min-width: 54px;
    background: rgba(255, 255, 255, 0.08);
/*    backdrop-filter: blur(25px);*/
    border-radius: 12px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.top-bar__item > [data-icon] {
    width: 18px;
    height: 18px;
}
.top-bar__item > [data-icon][data-notifs]:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(var(--green-color));
}
.top-bar__item > span {
    padding-left: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: -2px;
    letter-spacing: 0.5px;
}

/* Top Menu */
.top-menu {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}
.top-menu__icon {
    font-size: 0;
    padding-right: 12px;
    padding-left: 3px;
}
.top-menu__icon [data-icon] {
    width: 28px;
    height: 32px;
}
.top-menu__title {
    overflow: hidden;
}
.top-menu__title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: -4px;
}
.top-menu__buts {
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 15px;
    display: flex;
    column-gap: 5px;
}
.top-menu__buts > span {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 7px 15px 5px;
}

/* Team Page */

.team-cont {
    padding-top: 20px;
}

.team-list {
    display: flex;
    flex-wrap: wrap;
}
.team-level + .team-level {
    padding-top: 25px;
}
.team-level > h2 {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 0;
}
.team-level > h2 span {
    opacity: 0.4;
}
.team-item {
    position: relative;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.03);
/*    backdrop-filter: blur(25px);*/
    border-radius: 20px;
    transition: box-shadow 0.15s;
}
.team-item[data-id] {
    cursor: pointer;
}
.team-item + .team-item {
    margin-top: 15px;
}
.team-item.active {
    box-shadow: 0 0 0px 2px #54b789 inset;
}
.team-user {
    display: grid;
    grid-template-columns: 46px 1fr 34px;
    grid-column-gap: 20px;
    align-items: center;
    position: relative;
}
.team-user__photo {
    position: relative;
    font-size: 0;
}
.team-user__photo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
}
.team-user__photo .percent {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #000;
    background-color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: -1px -1px 3px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-user__info {
    overflow: hidden;
}
.team-user__info .login {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.team-user__info .sub-name {
    display: inline-block;
    margin-top: 3px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    padding: 2px 6px;
    color: #fff;
    background-color: #000;
    border-radius: 4px;
}
.team-user__info .sub-name.start {
    background-color: rgb(50,50,50);
}
.team-user__info .sub-name.testdrive,
.team-user__info .sub-name.copytrade,
.team-user__info .sub-name.algotrade {
    background-color: #fff;
    color: #000
}
.team-user__info .sub-name.pro {
    background-color: #ab3459;
}
.team-user__info .sub-name.creator {
    background-color: #f3601b;
}
.team-user__but a {
    display: inline-block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-image: url('../images/icon-contact.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.team-achievements {
    padding-top: 25px;
}
.team-achievements .achievements__list {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 10px;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.team-achievements .achievements__list::-webkit-scrollbar {
    display: none;
}
.team-achievements .achievements__item {
    flex: 0 0 auto;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 140px;
}
.team-achievements .achievements__item .value {
    padding-top: 2px;
}
@media (min-width: 600px) {
    .team-achievements .achievements__list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.referer-link {
    text-align: center;
}
.referer-link .link {
    display: block;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 15px;
}
.referer-link .buts {
    margin-top: 15px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.referer-link .buts > *:first-child {
    flex-grow: 1;
    flex-shrink: 0;
}
.referer-link .buts > *:last-child > i {
    margin-right: 0;
}
.referer-code {
    text-align: center;
}
.referer-code > span {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

/* Market Page */

.market-item {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 20px;
}
.market-item + .market-item {
    margin-top: 20px;
}
.market-item__img {
    width: 100%;
    height: 180px;
    background-color: rgba(0,0,0,0.5);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}
.market-item__wrap {
    padding: 20px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
}
.market-item__tag > span {
    display: inline-block;
    background-color: rgb(var(--green-color));
    border-radius: 8px;
    font-weight: 700;
    color: #fff;
    padding: 7px 16px 6px;
}
.market-item__info > h3 {
    display: block;
    padding-top: 1px;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    mix-blend-mode: difference;
}
.market-item__info > p {
    font-size: 12px;
    color: #aeaeae;
}
.market-item__status > span {
    display: inline-block;
    background-color: #fff;
    border-radius: 8px;
    font-weight: 700;
    color: #000;
    padding: 7px 16px 6px;
    mix-blend-mode: difference;
}
.market-item__cont {
    padding: 20px;
}
.market-item__head {
    display: grid;
    grid-template-columns: 1fr min-content;
    grid-column-gap: 20px;
}
.market-item__title > span,
.market-item__title > a {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 700;
}
.market-item__title > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    z-index: 1;
}
.market-item__subtitle {
    padding-top: 3px;
    grid-column: 1/-1;
    color: #7E7E7E;
    font-size: 12px;
}
.market-item__market {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
}
.market-summary {
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
}
.market-summary > h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}
.market-summary > div {
    text-align: right;
}
.market-summary > div > span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 0.9;
    white-space: nowrap;
    color: rgb(var(--green-color));
    filter: brightness(1.1);
}
.market-summary > div > p {
    display: block;
    padding-top: 2px;
    color: #7e7e7e;
    font-size: 12px;
}
.market-statistic + .market-spoiler {
    padding-top: 20px;
}
.market-statistic > li.head {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    padding-bottom: 3px;
}
.market-statistic > li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.market-statistic > li + li {
    padding-top: 5px;
}
.market-statistic > li + li.head {
    padding-top: 30px;
}
.market-item__story {
    padding-top: 40px;
}
.market-item__story a[href] {
    border-bottom: 1px dotted;
    color: rgb(var(--green-color));
}
.market-connect {
    padding-top: 20px;
}
.market-connect.fixed {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100%;
    max-width: 600px;
    padding: 0 15px;
    z-index: 991;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s cubic-bezier(.22,.61,.36,1), visibility 0s linear .2s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.market-connect.fixed.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    transition: opacity .2s ease, transform .2s cubic-bezier(.22,.61,.36,1), visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
    .market-connect.fixed {
        transition: none;
    }
    .market-connect.fixed.is-visible {
        transition: none;
    }
}

.market-connect .button {
    padding: 22px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 700;
}
.market-connect .button + .button {
    margin-top: 10px;
}

.market-spoiler + .market-spoiler {
    border-top: 1px solid #ffffff0d;
}
.market-spoiler__head {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr min-content;
    grid-column-gap: 20px;
    align-items: center;
    padding: 15px 0;
}
.market-spoiler__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.market-spoiler__but {
    margin-top: -1px;
    height: 16px;
    width: 16px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 451.847 451.847' fill='%23fff'%3E%3Cpath d='M225.923 354.706c-8.098 0-16.195-3.092-22.369-9.263L9.27 151.157c-12.359-12.359-12.359-32.397 0-44.751 12.354-12.354 32.388-12.354 44.748 0l171.905 171.915 171.906-171.909c12.359-12.354 32.391-12.354 44.744 0 12.365 12.354 12.365 32.392 0 44.751L248.292 345.449c-6.177 6.172-14.274 9.257-22.369 9.257z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.15s;
}
.market-spoiler__content {
    display: none;
}
.market-spoiler__content > p {
    padding-bottom: 20px;
    line-height: 1.4;
}
.market-spoiler.active .market-spoiler__but {
    transform: rotate(180deg);
}

.strategy-connect__top {
    display: flex;
    flex-direction: column;
}
.strategy-connect__img {
    font-size: 0;
}
.strategy-connect__img > img {
    width: 100%;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
}
.strategy-connect__info {
    padding: 20px 0 30px;
    text-align: center;
}
.strategy-connect__info .title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 24px;
}
.strategy-connect__info .subtitle {
    padding-top: 2px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #7e7e7e;
}

/* Study Page */

.study-modules__list {
    display: flex;
    flex-wrap: wrap;
}
.study-module__item {
    position: relative;
    width: 100%;
    padding: 30px;
    background: rgba(255,255,255,0.03);
/*    backdrop-filter: blur(25px);*/
    border-radius: 20px;
}
.study-module__item + .study-module__item {
    margin-top: 20px;
}
.study-module__head {
    display: flex;
    align-items: center;
    column-gap: 8px;
}
.study-module__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
}
.study-module__icon span {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}
.study-module__icon.lock [data-icon] {
    filter: invert(1);
}
.study-module__item.opened .study-module__icon.lock {
    background-color: rgb(var(--green-color));
}
.study-module__item.opened .study-module__icon.lock [data-icon] {
    background-image: url('../images/icon-unlock.svg?v=2');
}
.study-module__item.required .study-module__icon.lock,
.study-module__item.closed .study-module__icon.lock {
    background-color: #444;
}
.study-module__item.required .study-module__icon.lock [data-icon],
.study-module__item.closed .study-module__icon.lock [data-icon] {
    background-image: url('../images/icon-lock.svg?v=2');
}
.study-module__time {
    margin-left: auto;
}
.study-module__time span {
    color: #7E7E7E;
    font-size: 12px;
}
.study-module__title {
    padding-top: 25px;
    width: 90%;
}
.study-module__title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
}
.study-module__but {
    padding-top: 25px;
    display: flex;
    align-items: center;
}
.study-module__but:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    z-index: 1;
}
.study-module__but .extra {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.study-module__but .play {
    margin-left: auto;
    width: 44px;
    height: 44px;
    background-image: url('../images/icon-play.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.study-lessons__list {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 20px;
}
.study-lesson__item {
    position: relative;
    width: 100%;
    padding: 20px 25px;
    background: rgba(255,255,255,0.03);
/*    backdrop-filter: blur(25px);*/
    border-radius: 20px;
}
.study-lesson__item + .study-lesson__item {
    margin-top: 20px;
}
.study-lesson__about {
    display: grid;
    grid-template-columns: 32px 1fr 34px;
    grid-gap: 10px 18px;
}
.study-lesson__icons {
    grid-row: 1/3;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.study-lesson__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #000;
    border-radius: 8px;
}
.study-lesson__icon span {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
}
.study-lesson__icon.lock [data-icon] {
    filter: invert(1);
}
.study-lesson__title {
    width: 90%;
}
.study-lesson__title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}
.study-lesson__but:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    z-index: 1;
}
.study-lesson__but .play {
    display: block;
    margin-left: auto;
    width: 34px;
    height: 34px;
    background-image: url('../images/icon-play.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.study-lesson__extra,
.study-lesson__time {
    margin-top: auto;
    color: #7E7E7E;
    font-size: 10px;
}
.study-lesson__time {
    text-align: center;
}

.study-lesson__item.passed .study-lesson__icon.lock {
    background-color: rgb(var(--green-color));
}
.study-lesson__item.passed .study-lesson__icon.lock [data-icon] {
    background-image: url('../images/icon-passed.svg?v=5');
}
.study-lesson__item.current .study-lesson__icon.lock {
    background-color: #444;
}
.study-lesson__item.current .study-lesson__icon.lock [data-icon] {
    background-image: url('../images/icon-passed.svg?v=5');
}
.study-lesson__item.closed .study-lesson__icon.lock {
    background-color: #444;
}
.study-lesson__item.closed .study-lesson__icon.lock [data-icon] {
    background-image: url('../images/icon-lock.svg?v=2');
}
.study-lesson__item.opened .study-lesson__icon.lock {
    background-color: #444;
}
.study-lesson__item.opened .study-lesson__icon.lock [data-icon] {
    background-image: url('../images/icon-unlock.svg?v=2');
}

.lesson-content {
    position: relative;
    width: 100%;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 20px;
}
.lesson__next-prev {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    padding-top: 20px;
}
@media (min-width: 400px) {
    .lesson__next-prev {
        grid-template-columns: 1fr 1fr;
    }
}
.lesson__next-prev .button {
    height: 100%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
}
.lesson__next-prev .button:hover {
    background-color: rgba(0,0,0, 0.1);
}
.lesson__next-prev .button > div {
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 5px;
    opacity: 0.5;
}
.lesson__next-prev .button > div i {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    margin-left: 5px;
}
.lesson__next-prev .button > div i[data-icon="back"] {
    margin-left: 0;
    margin-right: 5px;
}

.lesson-content .highslide {
    display: flex;
    justify-content: center;
}
.lesson-content .highslide img {
    max-width: 100%;
    border-radius: 18px;
}
.lesson-content .highlink {
    color: rgb(var(--green-color));
    border-bottom: 1px dotted;
    transition: border-color 250ms;
}
.lesson-content .highlink:hover {
    border-bottom-color: transparent;
}

.lesson-content .p-frame,
.lesson-content .p-video {
    position: relative;
    display: block;
    height: 0;
    overflow: hidden;
    padding-bottom: calc(56.25% + 9px);
    background-color: rgba(255,255,255, 0.05);
    border-radius: 18px;
    user-select: none;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.lesson-content .p-frame.vertical,
.lesson-content .p-video.vertical {
    padding-bottom: calc(177.78% + 28px);
}
.lesson-content .p-frame:before,
.lesson-content .p-video:before {
    content: '';
    position: absolute;
    left: calc(50% - 22px);
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    background-image: url('../images/icon-loading.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    animation: rotate 3s linear infinite;
}
.lesson-content .p-frame iframe,
.lesson-content .p-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lesson-content .highslide,
.lesson-content .p-frame,
.lesson-content .p-video {
    margin: 10px -7px;
}
.lesson-content .p-spoiler .highslide,
.lesson-content .p-spoiler .p-frame,
.lesson-content .p-spoiler .p-video {
    margin-left: 0;
    margin-right: 0;
}
.lesson-content *:first-child.highslide,
.lesson-content *:first-child.p-frame,
.lesson-content *:first-child.p-video {
    margin-top: -13px;
}
.lesson-content *:last-child.highslide,
.lesson-content *:last-child.p-frame,
.lesson-content *:last-child.p-video {
    margin-bottom: -13px;
}

.lesson-content .p-audio {
    margin: 10px 0;
}
.lesson-content .p-audio audio {
    max-width: 100%;
}

.lesson-content .button {
    display: block;
    width: 100%;
    margin: 10px 0;
    background-color: rgb(var(--green-color));
    transition: opacity 250ms;
}
.lesson-content .button:hover {
    opacity: 0.9;
}

.p-spoiler + .p-spoiler {
    border-top: 1px solid #ffffff0d;
}
.p-spoiler__head {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr min-content;
    grid-column-gap: 20px;
    align-items: center;
    padding: 15px 0;
}
.p-spoiler__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.p-spoiler__but {
    margin-top: -1px;
    height: 16px;
    width: 16px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 451.847 451.847' fill='%23fff'%3E%3Cpath d='M225.923 354.706c-8.098 0-16.195-3.092-22.369-9.263L9.27 151.157c-12.359-12.359-12.359-32.397 0-44.751 12.354-12.354 32.388-12.354 44.748 0l171.905 171.915 171.906-171.909c12.359-12.354 32.391-12.354 44.744 0 12.365 12.354 12.365 32.392 0 44.751L248.292 345.449c-6.177 6.172-14.274 9.257-22.369 9.257z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.15s;
}
.p-spoiler__content {
    display: none;
}
.p-spoiler__content > p {
    padding-bottom: 20px;
    line-height: 1.4;
}
.p-spoiler.active .p-spoiler__but {
    transform: rotate(180deg);
}

.test-section {
    position: relative;
    border: 1px dashed rgba(255,255,255, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    transition: border-color 0.15s, background-color 0.15s;
}
.test-section:before {
    content: "№" attr(data-question-num);
    display: inline-block;
    position: absolute;
    left: 18px;
    top: -13px;
    height: 26px;
    line-height: 26px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.15s;
}
.test-section.del {
    border-color: rgb(223,70,70, 0.5);
    background-color: rgb(70,59,59, 0.5);
}
.test-section.del .form__del [data-icon] {
    background-image: url('../images/arrow-back.svg');
}
.portlet-placeholder {
    border: 1px dashed rgb(var(--green-color));
    margin-top: 20px;
    height: 70px;
    border-radius: 20px;
}

.lesson-test__but {
    padding-top: 20px;
}
.lesson-test__complete {
    margin: 20px 0 0 0;
    background: rgba(var(--green-color), 0.75);
}
.lesson-test__complete .section-box__item > p {
    font-size: 14px;
    font-weight: 700;
}

.lesson-test__ul {
    height: 60px;
    overflow: hidden;
}
.lesson-test__ul > ul.numbers-list {
    overflow: hidden;
    padding-bottom: 60px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    list-style: none;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}
.lesson-test__ul > ul.numbers-list > li {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 32px;
    font-weight: 700;
    border-radius: 50%;
    text-align: center;
    background-color: #3c3c3c;
    border: 2px solid transparent;
    color: #aaa;
    transition: background-color 0.15s;
}
.lesson-test__ul > ul.numbers-list > li + li {
    margin-left: 10px;
}
.lesson-test__ul > ul.numbers-list > li[data-num] {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}
.lesson-test__ul > ul.numbers-list > li.active {
    background-color: #ffffff;
    color: #111;
}
.lesson-test__ul > ul.numbers-list > li:first-child,
.lesson-test__ul > ul.numbers-list > li[data-num],
.lesson-test__ul > ul.numbers-list > li[data-num] + li {
    cursor: pointer;
}
.lesson-test__ul > ul.numbers-list > li[data-result="1"] {
    border-color: rgb(var(--green-color));
    color: #fff;
}
.lesson-test__ul > ul.numbers-list > li[data-result="0"] {
    border-color: rgb(230, 78, 78);
    color: #fff;
}
.lesson-test__ul > ul.numbers-list > li[data-num][data-result] {
    background-color: transparent;
}
.lesson-test__ul > ul.numbers-list > li[data-num][data-result].active {
    background-color: #ffffff;
    color: #111;
    border-color: transparent;
}

.lesson-test__item {
    display: none;
}
.lesson-test__item.active {
    display: block;
}
.lesson-test__variants {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.lesson-test__variants > span {
    background-color: transparent;
    border: 1px solid #3c3c3c;
    padding: 15px;
    border-radius: 20px;
}
.lesson-test__variants > span.selected {
    border-color: transparent;
    background-color: #fff;
    color: #000;
}
.lesson-test__variants > span.wrong {
    border: 2px solid rgb(230, 78, 78);
    background-color: transparent;
    color: #fff;
}
.lesson-test__variants > span.proper {
    border: 2px solid rgb(var(--green-color));
    background-color: transparent;
    color: #fff;
}
.lesson-test__item:not(.passed) .lesson-test__variants > span:not(.selected):not(.wrong):not(.proper):hover {
    cursor: pointer;
    border-color: #fff;
}
.lesson-test__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.lesson-test__buts {
    padding-top: 25px;
}

/* FORM */

.form__fields {
    position: relative;
}
.form__field {
    position: relative;
    padding: 0 0 22px;
}
.form__field:last-child {
    padding-bottom: 0;
}
.form__label {
    display: block;
    color: #999;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 10px;
    font-family: 'Bebas Neue', sans-serif;
}
.form__item {
    position: relative;
}

.form__input {
    position: relative;
}
.form__input.lock:before,
.form__input.edit:before,
.form__input.loading:before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: invert(1);
    opacity: 0.5;
}
.form__input.lock:before {
    background-image: url('../images/icon-lock.svg');
}
.form__input.edit:before {
    background-image: url('../images/icon-edit-2.svg?v=3');
}
.form__input.edit:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}
.form__input.loading:before {
    background-image: url('../images/loader-white.svg');
    filter: unset;
}
.form__input input {
    display: block;
    background: transparent;
    color: #fff;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    width: 100%;
    padding: 26px 24px 8px;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    -webkit-appearance: none;
}
.form__input.beauty input {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}
.form__input input::placeholder {
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #666;
    transition: color 150ms;
}
.form__input input:not(:focus)::placeholder {
    color: transparent;
}
.form__input input:focus {
    background: transparent;
    outline: none;
    border: 1px solid rgb(var(--green-color));
}
.form__input input:disabled {
    color: #777;
}
.form__input label {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #999;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 24px;
    pointer-events: none;
    transition: 0.2s ease all;
}
.form__input input:focus ~ label,
.form__input input:valid ~ label,
.form__input input:not([value=""]):read-only ~ label,
.form__input input[data-filled] ~ label {
    top: 20px;
    font-size: 14px;
    line-height: 100%;
}

.form__textarea {
    position: relative;
}
.form__textarea textarea {
    width: 100%;
    min-height: 185px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 36px 24px 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    resize: vertical;
}
.form__textarea.beauty input {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}
.form__textarea label {
    position: absolute;
    left: 24px;
    top: 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #999;
    pointer-events: none;
    transition: 0.2s ease all;
}
.form__textarea textarea:focus {
    background: transparent;
    outline: none;
    border: 1px solid rgb(var(--green-color));
}
.form__textarea textarea::placeholder {
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #333333;
}
.form__textarea textarea:focus ~ label,
.form__textarea textarea:valid ~ label,
.form__textarea textarea:disabled ~ label,
.form__textarea textarea:read-only ~ label {
    top: 20px;
    font-size: 14px;
    line-height: 100%;
}

.form__select {
    position: relative;
}
.form__select select {
    display: block;
    background: transparent;
    box-shadow: none;
    color: #fff;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    width: 100%;
    padding: 26px 24px 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    -webkit-appearance: none;
}
.form__select label {
    position: absolute;
    left: 24px;
    top: 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #aaa;
    pointer-events: none;
    transition: 0.2s ease all;
}
.form__select label {
    top: 13px;
    font-size: 14px;
    line-height: 100%;
}
.form__select select:focus {
    background: transparent;
    border-color: rgb(var(--green-color));
    outline: none;
}
.form__select:not(.form__select--multiple) select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px auto;
    padding-right: 46px;
}
.form__select--multiple select {
    overflow: hidden;
    overflow-y: auto;
    height: 120px;
}

.form__checkbox {
    display: flex;
    align-items: center;
    margin-top: 6px;
}
.form__checkbox label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}
.form__checkbox label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 2px solid #A2A2A2;
    border-radius: 2px;
    margin: 0 10px 0 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.form__checkbox label a {
    color: rgb(var(--green-color));
}
.form__checkbox input {
    display: none !important;
}
.form__checkbox input[disabled] + label {
    color: #555;
}
.form__checkbox input[disabled] + label::before {
    border: 2px solid #c5c5c5;
}
.form__checkbox input:checked + label::before {
    border-color: rgb(var(--green-color));
    background-color: rgb(var(--green-color));
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
.form__checkbox.hide {
    display: none;
}

#agreements-accept .form__checkbox input[disabled] + label {
    color: #ccc;
}

.form__error {
    display: none;
    color: #ff5733;
    font-size: 10px;
    line-height: 16px;
    padding: 3px 10px 0;
}
.form__field--error .form__error {
    display: block;
}
.form__field--error .form__input {
    border-bottom-color: #ff5733;
}

.form__extra {
    display: block;
    padding: 6px 10px 0;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.7;
}

.form-buts {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding-top: 20px;
}

.form__drag,
.form__del {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 10px;
    border-left: 1px solid rgb(255, 255, 255, 0.05);
    opacity: 0.75;
    z-index: 1;
}
.form__drag + .form__del {
    right: 36px;
}
.form__drag + input {
    padding-right: 40px;
}
.form__drag + .form__del + input {
    padding-right: 80px;
}

.custom-select {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    min-width: 38px;
    padding: 8px 8px 7px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    color: #fff;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px auto;
    padding-right: 26px;
    cursor: pointer;
}
.custom-select option {
    background-color: #121212;
}

.upload-button {
    margin-left: -5px;
    margin-bottom: -10px;
}
.upload-button > * {
    margin-left: 5px;
    margin-bottom: 10px;
}
.upload-button label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.upload-button input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
.upload-reset.hide {
    display: none;
}

/* BB Panel */

ul.bbpanel {
    overflow: hidden;
    list-style: none;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
ul.bbpanel.first {
    margin-top: 0;
}
ul.bbpanel > li {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255, 0.15);
    color: #aaa;
    transition: border-color 0.15s;
    border-radius: 20px;
}
ul.bbpanel > li:hover,
ul.bbpanel > li.active {
    border-color: rgb(var(--green-color));
}
ul.bbpanel > li [data-icon] {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
}
ul.bbpanel > li input.bbupload {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
ul.bbpanel > li input.bbupload ~ label {
    display: block;
    cursor: pointer;
}
ul.bbupload-list {
    background-color: #121212;
    border-radius: 10px;
}
ul.bbupload-list > li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 0 10px;
}
ul.bbupload-list > li:first-child {
    padding-top: 10px;
}
ul.bbupload-list > li:last-child {
    padding-bottom: 10px;
}
ul.bbupload-list > li .img {
    font-size: 0;
    margin-right: 20px;
}
ul.bbupload-list > li .img > img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}
ul.bbupload-list > li .title {
    font-size: 13px;
    font-weight: 700;
    width: calc(100% - 100px);
    overflow: hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    text-transform: uppercase;
    opacity: 0.75;
    cursor: pointer;
    transition: opacity 0.15s;
}
ul.bbupload-list > li .title > span {
    color: rgb(var(--green-color));
}
ul.bbupload-list > li .title:hover {
    opacity: 1;
}
ul.bbupload-list > li .del {
    margin-left: auto;
    font-size: 0;
    cursor: pointer;
    color: #ff6f6f;
    transition: opacity 0.15s;
}
ul.bbupload-list > li .del:hover {
    opacity: 0.5;
}

.form-emoji {
    display: none;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    font-weight: 400;
    background-color: #272827;
    color: rgba(255,255,255, 0.7);
    border-radius: 10px;
    margin-bottom: 5px;
    overflow-y: auto;
    padding: 5px;
}
.form-emoji .emoji-category {
    padding: 7px;
    clear: both;
}
.form-emoji .emoji-list {
    margin-top: 4px;
    margin-bottom: 4px;
    width: 100%;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 2px;
}
.form-emoji .emoji-symbol a,
.form-emoji .emoji-symbol a:hover {
    cursor: pointer;
    text-decoration: none;
}

/* ---------- Tabs ---------- */
.tabs {
    overflow: hidden;
    padding-bottom: 25px;
}
.tabs__wrap {
    position: relative;
    -webkit-overflow-scrolling: touch;
}
.tabs__wrap:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255,255,255,0.1);
}
.tabs__list {
    display: flex;
    column-gap: 30px;
    flex-wrap: nowrap;
    list-style: none;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
    user-select: none;
}
.tabs__list::-webkit-scrollbar {
    display: none;
}
.tabs__list > li {
    display: flex;
}
.tabs__list > li > a,
.tabs__list > li > span {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background-color: transparent;
    transition: background-color 0.15s ease;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}
.tabs__list > li.active > a,
.tabs__list > li.active > span {
    color: rgb(var(--green-color));
    border-color: rgb(var(--green-color));
}

.tabs.tabs--two .tabs__list {
    display: flex;
    justify-content: space-around;
    column-gap: 0;
}
.tabs.tabs--two .tabs__list > li {
    flex: 1;
}
.tabs.tabs--two .tabs__list > li > a,
.tabs.tabs--two .tabs__list > li > span {
    width: 100%;
    font-size: 22px;
}

.tabs.tabs--big .tabs__list > li > a,
.tabs.tabs--big .tabs__list > li > span {
    font-size: 22px;
}


/* ALL */

.my-tooltip {
    position: absolute;
    padding: 0 8px;
    z-index: 9999;
    max-width: 300px;
}
.my-tooltip .ui-tooltip-content {
    background-color: rgba(30,30,30,0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    max-width: 240px;
    width: max-content;
    padding: 12px;
    white-space: pre-line;
}

.tooltip {
    display: inline-block;
    cursor: pointer;
    background-color: #444;
    background-image: url('../images/icon-help.svg?v=11');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px auto;
    border-radius: 50%;
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0 5px;
}

.achievements__list {
    display: grid;
    grid-row-gap: 12px;
}
.achievements__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
    font-size: 14px;
}
.achievements__item .name {
    color: #999;
}
.achievements__item .value {
    white-space: nowrap;
}
.achievements__item #referer-link {
    cursor: pointer;
    font-weight: 700;
}
.achievements__item #referer-link > span {
    text-decoration: underline;
    padding-right: 10px;
}
.achievements__item #referer-link [data-icon] {
    width: 14px;
    height: 14px;
}
.achievements__item #exchange-ref-link {
    cursor: pointer;
    font-weight: 700;
}
.achievements__item #exchange-ref-link > span {
    text-decoration: underline;
    padding-right: 10px;
}
.achievements__item #exchange-ref-link [data-icon] {
    width: 14px;
    height: 14px;
}

.achievements__head {
    display: flex;
    justify-content: space-between;
    column-gap: 18px;
    align-items: center;
}
.achievements__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    font-weight: 700;
    padding-top: 4px;
}
.achievements__title .tooltip {
    vertical-align: 1px;
}
.achievements__icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--green-color));
    border-radius: 8px;
}
.achievements__head + .achievements__list {
    padding-top: 25px;
}
.achievements__buts {
    padding-top: 25px;
}
.achievements__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 5px;
    user-select: none;
}
.achievements__tabs > li {
    background-color: rgba(255,255,255,0.15);
    border-radius: 5px;
}
.achievements__tabs > li.active {
    background-color: #fff;
    color: #000;
}
.achievements__tabs > li > span,
.achievements__tabs > li > a {
    display: inline-block;
    min-width: 38px;
    padding: 8px 8px 7px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.achievements-stats {
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
}
.achievements-stats__item {
}
.achievements-stats__item .value {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 30px;
    white-space: nowrap;
}
.achievements-stats__item .name {
    color: #777;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.05;
}

.achievements__graph {
    padding-top: 25px;
}

.progress__item + .progress__item {
    padding-top: 18px;
}
.progress__line {
    background-color: #444;
    border-radius: 3px;
    height: 6px;
    position: relative;
    width: 100%;
    border-radius: 10px;
}
.progress__line > span {
    background-color: rgb(var(--green-color));
    display: flex;
    height: inherit;
    width: 0%;
    border-radius: 10px;
    justify-content: flex-end;
    transition: width .4s ease;
}
.progress__info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding-top: 4px;
}

.top-buttons {
    padding-bottom: 20px;
}
.top-buttons__list {
    display: flex;
    column-gap: 8px;
}
.top-buttons__icon {
    cursor: pointer;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 20px;
}
.top-buttons__icon.green {
    background-color: rgb(var(--green-color));
}
.top-buttons__icon > span {
    font-size: 8px;
    font-weight: 300;
    transition: opacity 0.15s;
}
.top-buttons__icon > span [data-icon] {
    margin-right: 2px;
    vertical-align: 0px;
}
.top-buttons__icon:hover > span {
    opacity: 0.75;
}

.top-buttons > .top-buttons__icon {
    width: 40px;
}
body:not(.open-buttons) .top-buttons__icon + .top-buttons__wrap {
    display: none;
}
body.open-buttons .top-buttons > .top-buttons__icon {
    display: none;
}

.settings-cont__title {
    padding: 30px 16px 15px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 21px;
}
.settings-menu {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 10px;
}
.settings-menu__item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    padding-right: 32px;
    transition: background-color 0.15s;
}
.settings-menu:not(.subs) .settings-menu__item {
    cursor: pointer;
}
.settings-menu:not(.subs) .settings-menu__item:hover {
    background-color: rgba(255,255,255, 0.1);
}
.settings-menu__item:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.settings-menu__item:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.settings-menu__item + .settings-menu__item {
    border-top: 1px solid rgba(255,255,255, 0.06);
}
.settings-menu__item:before {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url('../images/icon-arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: invert(1);
    opacity: 0.5;
}
.settings-menu__item.lock:before {
    background-image: url('../images/icon-lock.svg');
}
.settings-menu__item.no-icon:before {
    background-image: none;
}
.settings-menu__item .icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
/*    background: #434343;
    background: linear-gradient(to bottom, #838383, #434343);
    border-radius: 5px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}
.settings-menu__item .icon > [data-icon] {
    width: 20px;
    height: 20px;
}
.settings-menu__item .name {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.settings-menu.subs .settings-menu__item {
    padding: 20px;
    padding-right: 32px;
}
.settings-menu.subs .settings-menu__item:before {
    background-image: url('../images/icon-done.svg');
    opacity: 0.85;
    width: 12px;
    height: 12px;
}
.settings-menu.subs  .settings-menu__item .name {
    white-space: normal;
}

.settings-personal__top {
    display: flex;
    flex-direction: column;
}
.settings-personal__photo {
    margin: 0 auto;
    font-size: 0;
}
.settings-personal__photo > img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
}
.settings-personal__info {
    padding: 20px 0 30px;
    text-align: center;
}
.settings-personal__info .name {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 24px;
}
.settings-personal__info .login {
    padding-top: 2px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #7e7e7e;
}
.settings-personal__but {
    padding-top: 25px;
}
.settings-personal__but > * + * {
    display: block;
    margin-top: 10px;
}

.settings-sub {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 150px;
    padding: 20px;
    background: rgb(255, 255, 255, 0.03);
    /* backdrop-filter: blur(25px); */
    border-radius: 10px;
    margin-bottom: 30px;
}
.settings-sub.big {
    min-height: 220px;
    margin-bottom: 0;
}
.settings-sub__decor > span {
    position: absolute;
    right: 0;
    bottom: -17%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.settings-sub.big .settings-sub__decor > span {
    font-size: 112px;
}
.settings-sub__decor > span {
    max-width: 50%;
}
.settings-sub__decor::before {
    content: '';
    position: absolute;
    right: 7%;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 2555, 255, 0.5);
    filter: blur(70px);
}
.settings-sub__decor::after {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 0;
    right: 10px;
    left: 0;
    background-position: center right;
    background-size: auto 100%;
    background-repeat: no-repeat;
}
.settings-sub__cont {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.settings-sub__cont:not(.max) {
    width: 50%;
    max-width: 50%;
}
.settings-sub__cont .title {
    display: flex;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 32px;
}
.settings-sub__cont .subtitle {
    padding-top: 15px;
    color: rgba(255,255,255,0.5);
    max-width: 50%;
}
.settings-sub__cont .name > span {
    display: inline-block;
    position: relative;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.settings-sub__cont .name > span i {
    position: absolute;
    top: 2px;
    right: -24px;
    transition: right 250ms;
}
.settings-sub__cont .name::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
    border-radius: 10px;
}
.settings-sub__cont .name:hover > span i {
    right: -30px;
}
.settings-sub__cont .about {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
}
.settings-sub__cont .about > i {
    width: 20px;
    height: 20px;
    margin-right: 16px;
}
.settings-sub__cont .about > span {
    font-size: 12px;
    line-height: 1.1;
    color: rgba(255,255,255,0.5);
}

.settings-sub__cont .price {
    margin-top: auto;
}
.settings-sub__cont .price > span {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
}

.settings-sub.start {
    background: rgba(255, 255, 255, 0.05);
}
.settings-sub.start .settings-sub__decor::after {
    background-image: url('../images/sub-start.png');
    right: 0;
}
.settings-sub.start .settings-sub__decor::before {
    background-color: rgba(255, 255, 255, 0.5);
}

.settings-sub.algotrade,
.settings-sub.copytrade,
.settings-sub.testdrive {
    background: #fff;
    color: #000;
}
.settings-sub.algotrade a,
.settings-sub.copytrade a,
.settings-sub.testdrive a {
    color: #000;
}
.settings-sub.algotrade .settings-sub__cont .about > i,
.settings-sub.copytrade .settings-sub__cont .about > i,
.settings-sub.testdrive .settings-sub__cont .about > i {
    filter: invert(1);
}
.settings-sub.algotrade .settings-sub__cont .name > span i,
.settings-sub.copytrade .settings-sub__cont .name > span i,
.settings-sub.testdrive .settings-sub__cont .name > span i {
    filter: none;
}
.settings-sub.algotrade .settings-sub__cont .subtitle,
.settings-sub.copytrade .settings-sub__cont .subtitle,
.settings-sub.testdrive .settings-sub__cont .subtitle {
    color: rgba(0, 0, 0, 0.5);
}
.settings-sub.algotrade .settings-sub__cont .price > span,
.settings-sub.copytrade .settings-sub__cont .price > span,
.settings-sub.testdrive .settings-sub__cont .price > span {
    background-color: #121212;
    color: #fff;
}

.settings-sub.algotrade .settings-sub__decor::after {
    background-image: url('../images/sub-algotrade.png');
}
.settings-sub.algotrade .settings-sub__decor::before {
    background-color: #5C5C5C;
}

.settings-sub.copytrade .settings-sub__decor::after {
    background-image: url('../images/sub-copytrade.png');
}
.settings-sub.copytrade .settings-sub__decor::before {
    background-color: #ff4700;
}

.settings-sub.testdrive .settings-sub__decor::after {
    background-image: url('../images/sub-testdrive.png');
}
.settings-sub.testdrive .settings-sub__decor::before {
    background-color: #56EBD2;
}

.settings-sub.pro {
    background: #ab3459;
}
.settings-sub.pro .settings-sub__decor::after {
    background-image: url('../images/sub-pro.png');
    right: 0;
}
.settings-sub.pro .settings-sub__decor::before {
    background-color: #fff;
}

.settings-sub.creator {
    background: #f3601b;
}
.settings-sub.creator-1 .settings-sub__decor::after {
    background-image: url('../images/sub-creator-1.png');
}
.settings-sub.creator-2 .settings-sub__decor::after {
    background-image: url('../images/sub-creator-2.png');
}
.settings-sub.creator-3 .settings-sub__decor::after {
    background-image: url('../images/sub-creator-3.png');
}
.settings-sub.creator .settings-sub__decor::before {
    background-color: #fff;
}

.subscriptions-wrap .swiper-pagination {
    position: static;
    padding: 20px 0;
}
.subscriptions-wrap .swiper-pagination-bullet {
    background: #fff;
    width: 10px;
    height: 10px;
}
.subscriptions-wrap .swiper-pagination-bullet-active {
    background: rgb(var(--green-color));
}

.settings-my-product {
    padding: 20px;
    margin: -15px 0 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.settings-my-product + .settings-my-product {
    margin-top: 10px;
}
.settings-my-product__cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.settings-my-product__cont .renew {
    background-color: #ffffff;
    color: #121212;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
}
.settings-my-product__cont .name strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}
.settings-my-product__cont .status {
    display: block;
    font-size: 12px;
    opacity: 0.5;
}

.content-auth,
.content-pay {
    display: flex;
    flex-direction: column;
}
.auth-page {
    width: 100%;
    background: rgb(255,255,255, 0.02);
    backdrop-filter: blur(50px);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.auth-page__img {
    margin: 0 auto;
    font-size: 0;
}
.auth-page__img > img {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}
.auth-page > div + .auth-page__title,
.auth-page > div + .auth-page__img {
    padding-top: 50px;
}
.auth-page__title {
    display: block;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
}
.auth-page__subtitle {
    display: block;
    color: #7a7a7a;
    text-align: center;
    padding: 25px 25px 0;
}
.auth-page__mentor {
    text-align: center;
    padding: 25px 25px 0;
}
.auth-page__mentor .fullname {
    font-size: 20px;
    padding-bottom: 5px;
}
.auth-page__mentor .username {
    display: inline-block;
    background-color: #555;
    border-radius: 20px;
    padding: 4px 12px;
}
.auth-page__buts {
    padding-top: 100px;
}
.auth-page__buts > .button {
    max-width: 320px;
    margin: 0 auto;
}
.auth-page__buts .tg-button {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
}
.auth-page__buts .tg-button .button {
    position: relative;
    z-index: 1;
    pointer-events: none;
}
.auth-page__buts .tg-button iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto;
    transform: scale(5);
    transform-origin: left top;
}
.auth-page__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}
.auth-page__icon > [data-icon] {
    z-index: 1;
    width: 40px;
    height: 40px;
}

.main-volume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
}
.main-volume__info .name {
    color: #b5b5b5;
    font-size: 14px;
}
.main-volume__info .name .tooltip {
    vertical-align: -4px;
}
.main-volume__info .value {
    padding-top: 20px;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
}
.main-volume__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    height: 50px;
    width: 50px;
    min-width: 50px;
    background-color: rgb(var(--green-color));
}
.main-volume__icon > [data-icon] {
    width: 24px;
    height: 24px;
}

.section-stories {
    padding: 5px 5px 25px;
    margin-top: -5px;
    overflow: hidden;
}
.stories__list {
    display: flex;
}
.stories__item {
    flex-shrink: 0;
    position: relative;
    width: 25%;
    background-color: #161616;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
    display: flex;
    margin-right: 15px;
}
.stories__item:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}
.stories__item:after {
    left: -4px;
    top: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid #555;
    border-radius: 20px;
}
.stories__item.active:after {
    border-color: rgb(var(--green-color));
}
.stories__item::before {
    content: "";
    display: block;
    padding-bottom: 120%;
}
.stories__title {
    margin-top: auto;
    padding: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
/*  mix-blend-mode: difference; */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.pay-check {
    padding: 30px;
}
.pay-check > div + .pay-check__title {
    padding-top: 40px;
}
.pay-check__title {
    display: block;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
}
.pay-check__subtitle {
    display: block;
    color: #7a7a7a;
    text-align: center;
    padding: 25px 25px 0;
}
.pay-check__icon {
    text-align: center;
}
.pay-check__icon > .loader {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url('../images/icon-loading.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    animation: rotate 3s linear infinite;
}

.wallet-list {
    padding-top: 20px;
}
.wallet-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
}
.wallet-list__item .name {
    color: #999;
}
.wallet-list__item .value {
    flex-shrink: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.payouts__list {
    padding-top: 25px;
}
.payouts__item {
    display: grid;
    grid-template-columns: repeat(3, 1fr) min-content;
    grid-column-gap: 10px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px dashed rgba(255,255,255,0.1);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.payouts__item:first-child {
    border-top: 0;
    padding-top: 0;
}
.payouts__item.payout,
.payouts__item.withdraw_cancel {
    cursor: pointer;
}
.payouts__item.payout .payouts__type span,
.payouts__item.withdraw_cancel .payouts__type span {
    display: inline-block;
    border-bottom: 1px dotted #aaa;
}
.payouts__amount {
    white-space: nowrap;
}
.payouts__date {
    white-space: nowrap;
    color: #777;
}
.payouts__type {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.payouts__icon {
    width: 26px;
    height: 26px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payouts__icon.withdraw-cancel {
    cursor: pointer;
}
.payouts__icon > i {
    width: 10px;
    height: 10px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-size: 12px;
    text-align: center;
    padding-top: 15px;
}
.calendar__cell {
    background-color: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 4px 2px;
}
.calendar__cell.def {
    color: #777;
}
.calendar__cell.pos {
    color: rgb(var(--green-color));
}
.calendar__cell.neg {
    color: #cb9f9f;
}
.calendar__cell.empty {
    background: none;
}
.calendar__day {
    font-weight: 700;
    display:block;
}
.calendar__week {
    font-weight: 700;
    padding: 10px 0;
    color: #777;
}

.calendar-top {
    margin-top: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
}
.calendar-nav {
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.calendar-nav > li.calendar-month {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.calendar-nav > li.calendar-next,
.calendar-nav > li.calendar-prev {
    padding: 8px 7px 7px;
    margin-top: -2px;
    cursor: pointer;
}

.notifications__list {
    display: flex;
    flex-wrap: wrap;
}
.notification__item {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.notification__item + .notification__item {
    margin-top: 20px;
}
.notification__title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}
.notification__text {
    font-size: 14px;
}
.notification__date {
    margin-top: auto;
    color: #7E7E7E;
    font-size: 10px;
}

@supports (height: 100dvh) {
    :root {
      --dvh: min(100vh, 100dvh);
    }
}