.lk-nav {
  max-width: 2080px;
  margin: 20rem auto;
  padding: 18rem 20rem;
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(80.78deg, rgba(13, 19, 28, 0.2) -32.05%, rgba(13, 19, 28, 0.1) 44.46%, rgba(13, 19, 28, 0.2) 119.44%);
  display: flex;
  justify-content: start;
  align-items: center;
  width: calc(100% - 40em);
  z-index: 10
}

.lk-nav__logo {
  margin: 0 auto 0 0;
  max-width: 154em
}

.lk-nav__logo img {
  width: 100%;
  opacity: 0.92;
  filter: brightness(1) saturate(0.95);
  transition: 0.35s ease;
}

.theme-toggler {
  position: relative;
  display: inline-block;
  margin-right: 20em;
}

.theme-toggler__label {
  display: inline-block;
  width: 62em;
  height: 32em;
  cursor: pointer;
  border: 1px solid rgba(231, 234, 237, 0.2);
  border-radius: 50px;
}

.theme-toggler__checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-toggler__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(80.78deg, rgba(13, 19, 28, 0.2) -32.05%, rgba(13, 19, 28, 0.1) 44.46%, rgba(13, 19, 28, 0.2) 119.44%);
  transition: 0.4s;
  border-radius: 40px;
  /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) inset;*/
  backdrop-filter: blur(20px);
  border: 1px solid rgba(231, 234, 237, 0.2);
}

.theme-toggler__slider::before {
  content: "";
  position: absolute;
  height: 30em;
  width: 30em;
  left: 0px;
  bottom: 0px;
  background-color: #fff;
  border-radius: 50%;
  background: url("/img/moon.svg") center;
  visibility: hidden;
}

.contentLoad .theme-toggler__slider::before {
  visibility: visible;
  transition: 0.4s;
}

.dark-theme .theme-toggler__slider::before {
  background: url("/img/moon.svg") center;
}

.theme-toggler__checkbox:checked + .theme-toggler__slider::before {
  transform: translateX(30em);
  background: url("/img/sun.svg") center;
}

.theme-toggler__icon {
  position: absolute;
  font-size: 20em;
  line-height: 40px;
  transition: opacity 0.4s, transform 0.4s;
}

.theme-toggler__icon--moon {
  left: 10px;
  opacity: 1; 
  transform: scale(1);
}

.theme-toggler__icon--sun {
  right: 10px;
  opacity: 0;
  transform: scale(0.5);
}


.theme-toggler__checkbox:checked ~ .theme-toggler__slider .theme-toggler__icon--moon {
  opacity: 0;
  transform: scale(0.5);
}

.theme-toggler__checkbox:checked ~ .theme-toggler__slider .theme-toggler__icon--sun {
  opacity: 1;
  transform: scale(1);
}

.lk-nav__time {
  border-left: 1px solid #276192;
  padding-left: 20em;
}

.lk-nav__time p {
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 14em;
  line-height: 1.2;
  color: hsla(0, 0%, 100%, .8)
}

.lk-nav__time p + p {
  font-family: "UbuntuSans", sans-serif;
  font-weight: 500;
  font-size: 18em;
  line-height: 1.2;
  color: #fff;
  margin: 4px 0 0
}

.lk-nav__time p span {
  font-size: .88em;
  color: hsla(0, 0%, 100%, .5)
}

.lk-nav__func {
  margin: 0 20em;
  padding: 0 20em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #276192;
  border-left: 1px solid #276192
}

.lk-nav__func a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40em;
  height: 40em;
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 100%
}

.lk-nav__func svg {
  width: 20em;
  height: 24em
}

.lk-nav__pers {
  display: grid;
  grid-template-columns:auto 1fr;
  gap: 12em;
  align-items: center;
  position: relative
}

.lk-nav__pers img {
  width: 100%;
  border-radius: 100%;
  height: 40em;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #87aedb
}

.lk-nav__pers svg{
  height: 40em;
}

.lk-nav__pers p {
  font-family: "UbuntuSans", sans-serif;
  font-weight: 500;
  font-size: 15em;
  line-height: 1.2;
  color: #fff
}

.lk-nav__pers p:nth-child(1) {
  padding-right: 26px
}

.lk-nav__pers p + p {
  margin: 4px 0 0;
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 15em;
  line-height: 1.2;
  color: hsla(0, 0%, 100%, .5)
}

.lk-nav__drop {
  position: absolute;
  top: 46em;
  right: 20em;
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 24px;
  padding: 20em;
  background: #0d1b29;
  opacity: 0;
  pointer-events: none;
  z-index: 5
}

.lk-nav__drop.active {
  opacity: 1;
  pointer-events: all
}

.lk-nav__drop_call {
  position: absolute;
  right: 0;
  top: -6px;
}

.lk-nav__pers-avatar {
  position: relative;
  display: block;
  border-radius: 100%;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.lk-nav__pers-avatar:hover {
  box-shadow: 0 0 0 2px rgba(69, 151, 235, .55);
  transform: translateY(-1px);
}

.lk-nav__pers-avatar-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(8 16 28 / 39%);
  backdrop-filter: blur(1px);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.lk-nav__pers-avatar-overlay svg {
  width: 18rem;
  height: 18rem;
  transition: transform .35s ease;
}

.lk-nav__pers-avatar:hover .lk-nav__pers-avatar-overlay {
  opacity: 1;
  transform: scale(1);
}

.lk-nav__pers-avatar:hover .lk-nav__pers-avatar-overlay svg {
  transform: rotate(90deg);
}

.lk-nav__drop_close {
  /*display: block;*/
  /*width: max-content;*/
  /*margin: 0 0 0 auto;*/
  /*cursor: pointer;*/
  /*display: none;*/
  position: absolute;
  right: 3px;
  top: 0;
  cursor: pointer;
  display: none;
}

.lk-nav__drop .my-dep__bal_block {
  /*margin: 20px 0 0;*/
  padding: 16rem;
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 20px;
  background: rgba(231, 234, 237, 0.08);
}

.lk-nav__drop .my-dep__bal_title {
  font-size: 26em;
  margin-top: 14rem;
}

.lk-nav__drop_text {
  margin: 8rem 0 16rem;
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 12em;
  line-height: 1.2;
  color: hsla(0, 0%, 100%, .5);
}

.lk-nav__drop_btn {
  display: flex;
  column-gap: 16rem;
}

.lk-nav__drop_btn button {
  padding: 10rem 33rem;
}

.lk-nav__drop_btn button::after {
  content: none
}

.lk-nav__drop_list {
  margin: 24em 0 0;
  display: grid;
  grid-template-columns:1fr;
  gap: 8em;

  border-bottom: 1.5px solid transparent;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(255, 255, 255, 0) 100%
  );

  padding: 0 0 16em
}

.lk-nav__drop_list a {
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 14em;
  line-height: 1.2;
  color: hsla(210, 14%, 92%, 0.8);
}

.lk-nav__drop_list + ul {
  margin: 16em 0 0
}

.lk-nav__drop_out {
  margin: .8em 0 0;
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 15em;
  line-height: 1.2;
  color: hsla(0, 0%, 100%, .6);
  display: grid;
  grid-template-columns:auto 1fr;
  gap: 8px;
  align-items: center;
  transition: all .3s
}

.lk-nav__drop_out svg {
  transition: all .3s;
  opacity: .6
}

.lk-nav__drop_out:hover {
  color: #fff
}

.lk-nav__drop_out:hover svg {
  opacity: 1
}

.dep-aside-layer {
  display: contents;
}

.dep-aside {
  border: 1.5px solid hsla(0, 0%, 100%, .1);
  border-radius: 24px;
  padding: 24em 16em;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(80.78deg, rgba(13, 19, 28, 0.2) -32.05%, rgba(13, 19, 28, 0.1) 44.46%, rgba(13, 19, 28, 0.2) 119.44%);
}

.dep-aside__title {
  padding: 0 0 0 .75em;
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 16em;
  line-height: 1.2;
  color: hsla(0, 0%, 100%, .8)
}

/* the NAVIGATION heading carries the shortcut to account settings on its right */
/* rem, not em: this heading already sets font-size: 16em, so any em below it
   would multiply by 16 — rem keeps these values in plain design pixels */
.dep-aside__title--nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
}

.dep-aside__gear {
  flex-shrink: 0;
  width: 26rem;
  height: 26rem;
  /* negative margins keep the heading row exactly as tall as it was */
  margin: -4rem 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(231, 234, 237, 0.5);
  transition: color .2s ease, background .2s ease, transform .5s ease;
}

.dep-aside__gear svg {
  width: 18rem;
  height: 18rem;
  display: block;
}

/* 90deg is two teeth of an eight-tooth gear, so it settles looking identical */
.dep-aside__gear:hover {
  color: #e7eaed;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(90deg);
}

.dep-aside ul {
  margin: 16em 0 0;
  display: grid;
  grid-template-columns:1fr;
  gap: 4px
}

.dep-aside__rocket .dep-aside ul{
  gap: 0;
}

.dep-aside .dep-aside__rocket ul a span{
  /*background: linear-gradient(90deg, #6C92C2 0%, #AFCAEE 100%);*/
  /*-webkit-background-clip: text;*/
  /*background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
}

.dep-aside__rocket ul a::before{
  content: none !important;
}



.dep-aside ul a {
  padding: .55em;
  display: grid;
  grid-template-columns:1.2em 1fr;
  transition: all .3s;
  font-family: "UbuntuSans", sans-serif;
  font-weight: 400;
  font-size: 16em;
  line-height: 1.2;
  color: hsla(210, 14%, 92%, 0.6);
  transition: all .3s;
  position: relative;
  border: none;
  border-radius: 8rem;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, 0);
  gap: 8px;
  align-items: center;
}

.dep-aside ul a:hover {
  mask-image: linear-gradient(-75deg, rgba(0, 0, 0, 0.6) 30%, rgb(0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 70%);
  mask-size: 200%;
  animation: 1.5s ease-in-out infinite alternate shine;
  color: #fff
}

.dep-aside ul a svg, .dep-aside ul a img {
  opacity: .6;
  transition: all .3s;
  width: 1.2em;
  height: 1.2em
}

.dep-aside ul.dep-aside__bounty a svg, .dep-aside ul.dep-aside__bounty a img {
  opacity: 1;
}

.dep-aside ul a svg g {
  opacity: 1
}

.dep-aside ul a span {
  position: relative;
  top: 1rem;
}

.dep-aside ul a::before {
  content: "";
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(29, 119, 192, 0.4) 0%, rgba(29, 119, 192, 0) 100%);
  background-size: cover;
  position: absolute;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  border-left: 2rem solid #1D77C0;
  border-top-left-radius: 8rem;
  border-bottom-left-radius: 8rem;
  border-left-width: 2rem;
}

.dep-aside ul a.active, .dep-aside ul a.active span {
  color: rgba(231, 234, 237, 1);
}

.dep-aside ul a.active::before {
  opacity: 1
}

.dep-aside ul a:hover svg {
  opacity: 1
}

.dep-aside ul.blue a {
  color: #87aedb
}

.dep-aside ul + .dep-aside__title {
  margin: 1.25em 0 0;
  padding-top: 1.25em;
  border-top: 1px solid #667d9182;
}

.dep-aside__rocket {
  background: url("../../img/rocket-eclipse.png") no-repeat center top;
  border: 1px solid rgba(231, 234, 237, 0.2);
  padding: 1rem 12rem 12rem;
  border-radius: 16px;
  position: relative;
  margin-top: 38rem;
  background-size: 100%;
}

.dep-aside__rocket-img {
  position: absolute;
  top: -25%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

.dep-aside__rocket-img img {
  max-width: 72rem;
  width: 64px;
  display: block;
  animation: rocket-float 2.8s ease-in-out infinite;
  transform-origin: 50% 70%;
  will-change: transform;
}

@keyframes rocket-float {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

.dep-aside__backdrop,
.dep-aside__mobile-head,
.dep-aside__balance-card,
.dep-aside__close,
.dep-aside__open {
  display: none;
}

@media (max-width: 1366px) {
  .dep-aside ul a {
    font-size: 18em;
  }
}

@media (min-width: 1025px) {
  .lk-mobile-footer {
    display: none;
  }

  .lk-mobile-wrapper{
    display: none;
  }
}

@media (max-width: 1024px) {
  .dep-aside ul.logout{
    padding-bottom: 30rem;
  }

  .lk-nav {
    width: calc(100vw - 16px);
    margin: 8rem auto 0;
    padding: 10rem 12rem;
    border-radius: 20px;
    gap: 8px;
  }

  .lk-nav__time {
    display: none;
  }

  .lk-nav__logo {
    margin: 0;
    max-width: 120em;
  }

  .lk-nav-toggler,
  .lk-nav__pers {
    display: none;
  }

  .lk-nav__func {
    order: 2;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 8px;
    border: 0;
  }

  .lk-nav__func a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(231, 234, 237, 0.2)
  }

  .dep-aside__open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    order: 3;
    width: auto;
    min-width: 96px;
    padding: 0 14px;
    border-radius: 999px;
    gap: 8px;
    font-size: 16px;
    color: #e7eaed;
  }

  .dep-aside__open::before {
    content: "Menu";
    font-family: "UbuntuSans", sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #e7eaed;
  }

  .dep-aside__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 12, 20, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 101;
  }

  .dep-aside {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(66vw, 360px);
    height: 100vh;
    z-index: 110;
    border-radius: 0 24px 24px 0;
    padding: 20em 16em 28em;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    background: rgba(13, 19, 28, 1);
    box-shadow: 12px 0px 40px 0px rgba(13, 19, 28, 0.8);
    border-right: 1px solid rgba(231, 234, 237, 0.2)
  }

  .dep-aside__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12em;
    margin-bottom: 16em;
  }

  .dep-aside__profile {
    display: flex;
    align-items: center;
    gap: 12em;
  }

  .dep-aside ul + .dep-aside__title {
    margin: 16rem 0 0;
    padding-top: 16rem;
  }

  .dep-aside ul a {
    font-size: 16em;
    padding: 10.5rem;
  }

  .dep-aside__balance-amount {
    font-weight: 700;
    font-size: 25em;
    line-height: 120%;
    color: rgba(231, 234, 237, 1);
  }

  .dep-aside__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #fff;
    background: url("/img/home-avatar.svg") no-repeat center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  /* uploaded avatar covers the default silhouette behind it */
  .dep-aside__avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
  }

  /* the whole profile block and the gear both open account settings */
  .dep-aside__profile {
    color: inherit;
    text-decoration: none;
  }

  .dep-aside__settings {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(231, 234, 237, 0.2);
    transition: background .18s ease, border-color .18s ease;
  }

  .dep-aside__settings:active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(231, 234, 237, 0.38);
  }

  /* the drawer head already carries the settings shortcut here */
  .dep-aside__gear {
    display: none;
  }

  .dep-aside__profile-name {
    margin: 0;
    font-size: 16em;
    font-weight: 700;
    color: #e7eaed;
  }

  .dep-aside__profile-email {
    margin: 2rem 0 0;
    font-size: 12em;
    font-weight: 400;
    color: rgba(231, 234, 237, 0.55);
  }

  .dep-aside__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    right: calc(12px + env(safe-area-inset-right));
    z-index: 120;
  }

  .dep-aside__close svg {
    width: 12px;
    height: 12px;
  }

  .dep-aside__balance-card {
    display: block;
    margin-bottom: 18em;
    padding: 12rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
  }

  .dep-aside__balance-sub {
    display: flex;
    align-items: center;
    font-size: 16em;
    font-weight: 500;
    gap: 4rem;
    color: rgba(231, 234, 237, 0.55);
  }

  .dep-aside__balance-sub svg {
    opacity: 0.65;
    max-height: 20rem;
  }

  .dep-aside ul {
    margin-top: 12em;
  }

  body.dep-aside-open .dep-aside__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.dep-aside-open .dep-aside__close {
    display: inline-flex;
  }

  body.dep-aside-open .lk-mobile-footer {
    display: none;
  }

  body.dep-aside-open .dep-aside {
    transform: none;
  }

  /* footer */
  body.dep-wrapper__body {
    padding-bottom: calc(76rem + env(safe-area-inset-bottom));
  }

  .lk-mobile-wrapper{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0 8rem 8rem;
    padding-top: 0;
    /*background: linear-gradient(80.78deg, rgba(13, 19, 28, 0.2) -32.05%, rgba(13, 19, 28, 0.1) 44.46%, rgba(13, 19, 28, 0.2) 119.44%);*/

    /*backdrop-filter: blur(8px);*/
    /*-webkit-backdrop-filter: blur(8px);*/
    display: initial;
  }

  .lk-mobile-footer__finish .lk-mobile-footer__icon{
    width: 83rem;
    height: 83rem;
    position: relative;
    top: 6rem;
  }

  .lk-mobile-footer__finish .lk-mobile-footer__label{
    font-weight: 500;
    font-size: 11em;
    line-height: 120%;
    background: linear-gradient(39.63deg, #1A73FC -21.69%, #E6F9FD 114.67%);
    background-clip: text;
    color: transparent;
    position: relative;
    bottom: 13rem;
  }

  .lk-mobile-footer {
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 4px;
    border-radius: 24px;

    border: 1px solid rgba(231, 234, 237, 0.2);
    background: linear-gradient(80.78deg, rgba(13, 19, 28, 0.2) -32.05%, rgba(13, 19, 28, 0.1) 44.46%, rgba(13, 19, 28, 0.2) 119.44%);
    backdrop-filter: blur(20px);

    font-family: UbuntuSans;
    font-weight: 500;
  }

  .lk-mobile-footer__item {
    min-width: 0;
    flex: 1 1 20%;
    height: 64rem;
    border-radius: 16px;
    text-decoration: none;
    color: rgba(231, 234, 237, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  .lk-mobile-footer__icon {
    width: 24em;
    height: 24em;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lk-mobile-footer__icon svg,
  .lk-mobile-footer__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }

  .lk-mobile-footer__label {
    font-family: "UbuntuSans", sans-serif;
    font-size: 11em;
    font-weight: 500;
    white-space: nowrap;
  }

  .lk-mobile-footer__item.is-active {
    color: rgba(231, 234, 237, 1);
    background: linear-gradient(360deg, rgba(29, 119, 192, 0.4) 0%, rgba(29, 119, 192, 0) 100%);
    border-bottom: 2px solid rgba(29, 119, 192, 1);
  }

  .lk-mobile-footer__item--earn .lk-mobile-footer__icon {
    color: #f2bf19;
  }

  .lk-mobile-footer__soon{
    font-weight: 500;
    font-size: 11em;
    text-align: center;
    color: rgba(175, 202, 238, 1);
  }

  .custom-modal{
    width: 97%;
    top: 45%;
  }
}

@media (max-width: 420px) {
  .lk-nav__logo {
    max-width: 105em;
  }

  .lk-nav__func a {
    width: 34px;
    height: 34px;
  }

  .dep-aside__open {
    min-width: 84px;
    padding: 0 10px;
  }

  .dep-aside__open::before {
    font-size: 14px;
  }
}

.lk-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lk-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  padding: 1.5px;
  pointer-events: none;
}

.lk-modal__box::-webkit-scrollbar,
.lk-modal::-webkit-scrollbar {
  display: none;
}

.overlay.active {
  backdrop-filter: blur(6px) opacity(1);
  pointer-events: all !important;
  opacity: 1;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: linear-gradient(315deg, rgba(13, 19, 28, 0.4) 0%, rgba(13, 19, 28, 0.32) 100%);
  backdrop-filter: blur(6px) opacity(0);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

.lk-modal__box {
  border-radius: 16px;
  overflow: auto;
  max-height: calc(100vh - 40px);
}

.lk-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  padding: 24em;
  backdrop-filter: blur(20px);
  background: linear-gradient(315deg, #0d131c 0%, rgba(13, 19, 28, 0.8) 100%);
  border: 1px solid rgba(231, 234, 237, 0.2);
  box-shadow: 0 0 40px 0 rgba(13, 19, 28, 0.6);
}

.lk-modal__title {
  font-weight: 400;
  margin-bottom: 24px;
  font-size: 18em;
  color: #e7eaedcc;
  text-align: center;
  text-transform: uppercase;
}

.lk-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
}

.lk-modal__timer {
  font-weight: 700;
  font-size: 20em;
  background: linear-gradient(90deg, #6c92c2 0%, #afcaee 100%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
}

.lk-modal__qr-wrap {
  background: linear-gradient(315deg, #0d131c 0%, rgba(13, 19, 28, 0.8) 100%);
  max-width: 180px;
  margin-bottom: 13px;
  border: 1px solid rgba(231, 234, 237, 0.2);
  border-radius: 16px;
  padding: 12rem;
}

.lk-modal__qr-img {
  display: block;
  width: 100%;
}

.lk-modal__qr-text {
  font-size: 14em;
  color: #ffffff80;
  margin-bottom: 24px;
}

.lk-modal__text {
  margin-bottom: 4px;
  font-size: 16em;
  color: #ffffff99;
}

.lk-modal__item {
  width: 100%;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  padding: 12rem;
  margin-top: 8px;
  border: 1px solid rgba(231, 234, 237, 0.2);
  border-radius: 16px;
  background: rgba(231, 234, 237, 0.08);
}

.lk-modal__item-icon {
  position: relative;
  padding-right: 12px;
}

.lk-modal__item-icon::after {
  content: "";
  display: block;
  height: 16px;
  width: 1px;
  position: absolute;
  right: 0;
  background-color: #ffffff26;
  top: 50%;
  transform: translateY(-50%);
}

.lk-modal__item-value {
  font-size: 16em;
  font-weight: 400;
  margin-left: 12px;
  color: rgb(231, 234, 237);
}

.lk-modal__item-copy {
  padding-left: 12px;
}

.lk-modal__row.lk-modal__row--first {
  margin-top: 12px;
}

.lk-modal__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8rem;
}

.lk-modal__row-label::before {
  content: "";
  display: block;
  background-color: #87aedb;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  top: -2px;
}

.lk-modal__row-label span {
  color: #fff;
  font-weight: 500;
  margin-left: 4px;
}

.lk-modal__row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14em;
  color: rgba(231, 234, 237, 0.5);
}

.lk-modal__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16em;
  font-weight: 500;
  color: #87aedb;
}

.lk-modal__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14em;
  font-weight: 500;
  padding: 20rem 0;
  color: rgb(255, 216, 59);
}

.lk-modal__status::before {
  content: "";
  display: block;
  background-color: #fff050;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  top: -1px;
}

.lk-modal__divider {
  height: 1.5px;
  width: 100%;
  border: 1px solid transparent;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.2) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

.lk-modal__divider--top {
  margin-bottom: 12rem;
}

.lk-modal__divider--bottom {
  margin-top: 20em;
  margin-bottom: 20em;
}

.lk-modal__protect {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14em;
  font-weight: 500;
  color: rgb(108, 194, 108);
}

.lk-modal__row-item-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lk-modal__row-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lk-modal__row-item-label {
  color: #fff;
  font-size: 14em;
}

.lk-modal__close-btn span {
  position: relative;
  z-index: 4;
}

.lk-modal__close-btn {
  position: relative;
  border: none;
  outline: none;
  width: 120px;
  height: 52px;
  color: #ff5050;
  font-weight: 500;
  z-index: 1;
  border-radius: 50px;
  font-size: 20px;
  margin-top: 24px;
  background-color: transparent;
}

.lk-modal__close-btn:before {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 1px;
  bottom: 1.5px;
  left: 1px;
  border-radius: 50px;
  z-index: 3;
  background: linear-gradient(291.92deg, rgba(255, 255, 255, 0.1) -18.35%, rgba(255, 255, 255, 0) 102.25%);
  background-color: #0d1b29;
}

.lk-modal__close-btn:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(255, 80, 80, 0.1), rgba(255, 80, 80, 0.1)),
  linear-gradient(259.89deg, rgba(255, 80, 80, 0) 76.73%, #ff5050 100%),
  linear-gradient(259.42deg, #ff5050 0%, rgba(255, 80, 80, 0) 22.43%);
  border-radius: 50px;
}

.lk-modal--withdrawal {
  font-family: UbuntuSans;
  font-weight: 500;
  line-height: 120%;
  color: rgb(231, 234, 237);
  margin-bottom: 12rem;
}

.lk-modal--withdrawal .lk-modal__box {
  position: relative;
}

.lk-modal--withdrawal .lk-modal__content {
  align-items: stretch;
}

.lk-modal--withdrawal .lk-modal__title {
  font-family: UbuntuSans;
  font-weight: 400;
  font-size: 24em;
  line-height: 120%;
  color: rgb(231, 234, 237);
  margin-bottom: 8rem;
  text-transform: none;
  text-align: left;
}

.lk-modal--withdrawal .lk-modal__text {
  font-family: UbuntuSans;
  font-weight: 400;
  font-size: 16em;
  line-height: 120%;
  color: rgba(231, 234, 237, 0.6);
  margin-bottom: 8rem;
}

.lk-modal--withdrawal .lk-modal__text:last-child {
  margin-bottom: 20rem;
}

.lk-modal--withdrawal .lk-modal__close {
  position: static;
  margin-top: 20rem;
}

.lk-modal__loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.lk-modal--withdrawal.is-loading .lk-modal__loading {
  display: flex;
}

.lk-modal--withdrawal.is-loading .lk-modal__content {
  opacity: 0;
  pointer-events: none;
}

.lk-modal__spinner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #4da3ff;
  animation: lkModalSpin 0.85s linear infinite;
}

@keyframes lkModalSpin {
  to {
    transform: rotate(360deg);
  }
}

.lk-modal__loading-text {
  font-size: 13px;
  opacity: 0.85;
}



.custom-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  /*width: 90%;*/
  max-width: 500px;
  font-family: UbuntuSans;
  font-weight: 500;
  /*font-size: 24em;*/
  line-height: 120%;
  color: rgba(231, 234, 237, 1);
  margin-bottom: 12rem;
}

.custom-modal.active{
  visibility: visible;
  opacity: 1;
}

.custom-modal__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: max-content;
  padding: 20rem;
  backdrop-filter: blur(20px);
  background: linear-gradient(315deg, #0d131c75 0%, rgb(13 19 28 / 7%) 100%);
  border: 1px solid rgba(231, 234, 237, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0px 0px 40px 0px rgba(13, 19, 28, 0.6);
  border-radius: 12rem;
}

.custom-modal__box{
  border-radius: 16px;
  overflow: auto;
  max-height: calc(100vh - 40px);
  padding: 16rem;
}

.custom-modal__title{
  font-family: UbuntuSans;
  font-weight: 400;
  font-size: 22em;
  line-height: 1;
  color: rgba(231, 234, 237, 1);
  text-align: center;
}

.custom-modal__title > div{
  display: flex;
  align-items: center;
  gap: 6rem;
}

.custom-modal__title svg{
  max-height: 24rem;
}

.custom-modal__text{
  font-family: UbuntuSans;
  font-weight: 400;
  font-size: 18em;
  line-height: 120%;
  color: rgba(231, 234, 237, 0.8);
  margin-bottom: 8rem;
}

.custom-modal__divider {
  height: 1px;
  background: rgba(255, 255, 255, .28);
  margin: 16rem 0;
}

.custom-modal__text:last-child{
  margin-bottom: 20rem;
}

.custom-modal__text span{
  color: rgba(231, 234, 237, 1);
  font-weight: 500;
}

.custom-modal__actions{
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal__close{
  cursor: pointer;
  margin-top: 20rem;
}

.custom-modal__confirm-text{
  color: rgba(231, 234, 237, 1);
}

.custom-modal__success-text{
  color: #00dc82;
}

.custom-modal__error-text{
  color: #f0a44a;
}

.custom-modal__confirm{
  border: 1px solid rgba(231, 234, 237, 1);
}

.custom-modal__error{
  border: 1px solid #f0a44a99;
}

.custom-modal__success{
  border: 1px solid #00dc8273;
}

#confirm-modal .custom-modal__text{
  white-space: pre;
}

#confirm-modal [data-modal-confirm]{
  background: #00D579;
  color: #000;
  line-height: 0.9;
}
#confirm-modal [data-modal-cancel]{
  background: #FF5050;
  line-height: 0.9;
}

#confirm-modal .custom-modal__actions{
  gap: 16rem;
}

@media (max-width: 1024px) {
  body .lk-modal {
    left: initial;
    transform: initial;
    top: 0;
  }

  .lk-modal .lk-modal__content {
    width: 95vw;
    padding: 16rem;
  }

  .lk-modal__title {
    font-size: 12em;
  }

  .lk-modal--withdrawal {
    width: 95vw;
  }

  .lk-modal--withdrawal .lk-modal__content {
    max-width: 100%;
    width: 100%;
  }

  .lk-modal--withdrawal .lk-modal__title {
    font-size: 18em;
    text-align: center;
  }

  .lk-modal--withdrawal .lk-modal__text {
    font-size: 13em;
    text-align: center;
    color: rgba(231, 234, 237, 0.6);
  }

  .lk-modal__qr-wrap{
    max-width: 140rem;
  }

  .lk-modal__timer{
    font-size: 18em;
    margin-bottom: 12rem;
  }

  .lk-modal__title{
    margin-bottom: 16rem;
  }

  .lk-modal__qr-text{
    font-size: 12em;
    margin-bottom: 16rem;
  }

  .lk-modal__text{
    font-size: 14em;
  }

  .lk-modal__item{
    padding: 12rem;
  }

  .lk-modal__item svg{
    max-height: 24rem;
  }

  .lk-modal__item-value{
    font-size: 14em;
    word-break: break-word;
  }

  .lk-modal__check{
    font-size: 14em;
  }

  .lk-modal__status{
    padding: 16rem 0;
  }

  .lk-modal__row-label{
    font-size: 12em;
  }
}
