:root {
  --nav-height: 64px;
}
/* app-like feel */

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html,
body {
  -webkit-text-size-adjust: 100%;
  user-select: none;
  -webkit-user-select: none;
}

/* текст в input/textarea должен выделяться */
input,
textarea {
  user-select: text;
  -webkit-user-select: text;
  outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/* скрываем scrollbar, но скролл оставляем */
.content-item {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.content-item::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* убрать браузерный вид элементов */
button,
input,
textarea,
select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

/* картинки нельзя случайно выделить/перетащить */
img,
svg {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* убрать highlight/focus как на сайте */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* более нативное нажатие */
button:active,
a:active,
[role="button"]:active {
  opacity: .8;
}

/* не позволяем браузеру тянуть страницу */
body {
  touch-action: pan-x pan-y;
}

/* скрыть scrollbar вообще у всех вложенных скроллов */
.scroll,
[style*="overflow: auto"],
[style*="overflow-y: auto"] {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll::-webkit-scrollbar,
[style*="overflow: auto"]::-webkit-scrollbar,
[style*="overflow-y: auto"]::-webkit-scrollbar {
  display: none;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  box-sizing: border-box;
}

body {
  background: #080808;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--tg-viewport-stable-height, 100dvh);
  min-height: 0;
  padding-top: var(--tg-content-safe-area-inset-top, 0px);
  padding-right: var(--tg-content-safe-area-inset-right, 0px);
  padding-left: var(--tg-content-safe-area-inset-left, 0px);
  overflow: hidden;
  box-sizing: border-box;
}


/* Контейнер страниц */
.contents {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
}


/* Конкретная страница */
.content-item {
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  padding-top: max(16px, var(--content-top, 0px));
  padding-right: 14px;
  padding-left: 14px;

  padding-bottom: calc(
    var(--nav-height)
    + var(--tg-safe-area-inset-bottom, 0px)
    + 16px
  );

  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.content-item[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(
    var(--nav-height) +
    var(--tg-safe-area-inset-bottom, 0px)
  );
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, .045);
  z-index: 3;
}

.nav .container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 100%;
  padding-right: var(--tg-safe-area-inset-right, 0px);
  padding-bottom: var(--tg-safe-area-inset-bottom, 0px);
  padding-left: var(--tg-safe-area-inset-left, 0px);
  box-sizing: border-box;
}

.nav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: var(--nav-height);
  gap: 4px;
  margin: 0;
  padding: 0;
  color: #686868;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition:
    color .2s ease,
    opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 22px;
  line-height: 1;
  transition:
    transform .2s cubic-bezier(.2, .8, .2, 1),
    opacity .2s ease;
}

.nav button > span:last-child {
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform .2s ease;
}


/* active */

.nav button.active {
  color: #fff;
}

.nav button.active .nav-icon {
  transform: translateY(-1px) scale(1.06);
}

.nav button.active > span:last-child {
  transform: translateY(1px);
}


/* tap */

.nav button:active .nav-icon {
  transform: scale(.9);
}

.nav button.active:active .nav-icon {
  transform: translateY(-1px) scale(.92);
}


/* disabled / unavailable */

.nav button:disabled {
  opacity: .35;
  cursor: default;
}



/* home start */
.home-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-user__info {
    min-width: 0;
}

.home-user__hello {
    margin-bottom: 3px;
    color: #777;
    font-size: 13px;
    line-height: 1.2;
}

.home-user__name {
    overflow: hidden;
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-user__username {
    margin-top: 3px;
    overflow: hidden;
    color: #777;
    font-size: 13px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-user__avatar {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: #121212;
    border-radius: 50%;
}

.home-user__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-card {
    background: #121212;
    border-radius: 22px;
}

.balance-card {
    position: relative;
    margin-top: 14px;
    padding: 26px 18px;
    background: #121212;
    border-radius: 20px;
}

.balance-card__label {
    margin-bottom: 7px;
    color: #888;
    font-size: 13px;
}

.balance-card__value {
    padding-right: 30px;
    overflow: hidden;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.balance-card__value span {
    color: #747474;
    font-size: 16px;
}

.balance-card__profit {
    margin-top: 14px;
    color: #19e68c;
    font-size: 13px;
    font-weight: 600;
}

.balance-card__profit span {
    font-weight: 500;
}
.balance-card__profit small {
  font-size: 9px;
}

.balance-card__open {
    position: absolute;
    top: 17px;
    right: 17px;
    margin: 0;
    padding: 0;
    color: #888;
    font: inherit;
    font-size: 21px;
    line-height: 1;
    background: none;
    border: 0;
}

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

.stat-card {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 10px;
    gap: 9px;
    background: #121212;
    border-radius: 17px;
}

.stat-card__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 19px;
    background: #191919;
    border-radius: 13px;
}

.stat-card__info {
    min-width: 0;
}

.stat-card__label {
    margin-bottom: 2px;
    overflow: hidden;
    color: #888;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-card__value {
    overflow: hidden;
    font-size: 18px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stat-card__value small {
  font-size: 9px;
}

.ai-card {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-top: 8px;
    padding: 10px 13px;
    gap: 10px;
    overflow: hidden;
    color: #111;
    background: linear-gradient(110deg, #ff6256 0%, #ff9774 29%, #ead9d0 54%, #379aff 79%, #078bf2 100%);
    border-radius: 18px;
}

.ai-card__icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 21px;
    background: #000;
    border-radius: 50%;
}

.ai-card__content {
    min-width: 0;
}

.ai-card__title {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-card__text {
    margin-top: 2px;
    overflow: hidden;
    color: rgba(0, 0, 0, .5);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-card__arrow {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 20px;
}

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

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    gap: 5px;
    margin: 0;
    padding: 0 5px;
    color: #fff;
    font: inherit;
    font-size: 12px;
    background: #121212;
    border: 0;
    border-radius: 16px;
}

.action-card__icon {
    font-size: 20px;
    line-height: 1;
}

.action-card__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    color: #111;
    font-size: 9px;
    font-weight: 700;
    background: #fff;
    border-radius: 10px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 2px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
}

.section-more {
    margin: 0;
    padding: 0;
    color: #888;
    font: inherit;
    font-size: 12px;
    background: none;
    border: 0;
}

.home-packages {
  margin-top: 18px;
}

.home-packages__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-deposits-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 78px;
  padding: 14px;
  padding-top: 36px;
  background: #121212;
  border-radius: 18px;
}

.mini-deposits-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: #0c75f7;
  background: #191919;
  border-radius: 12px;
}

.mini-deposits-empty__icon svg {
  width: 20px;
  height: 20px;
}

.mini-deposits-empty__content strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 550;
  text-align: center;
}

.mini-deposits-empty__content span {
  display: block;
  max-width: 280px;
  margin-top: 4px;
  color: #666;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.mini-deposits-empty button {
  width: 100%;
  height: 40px;
  margin-top: 13px;
  padding: 0 14px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mini-deposits-empty button:active {
  background: #0969dc;
}

.home-package {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 10px;
  gap: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: #121212;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.home-package:active {
  background: #161616;
}


/* icon */

.home-package__icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #777;
  background: #191919;
  border-radius: 13px;
}

.home-package__icon svg,
.home-package__icon img {
  width: 21px;
  height: 21px;
}

.home-package__icon--plus {
  color: #a9b9d3;
}

.home-package__icon--pro {
  color: #0c75f7;
}


/* body */

.home-package__body {
  min-width: 0;
  flex: 1;
}

.home-package__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}


/* info */

.home-package__info {
  min-width: 0;
  flex: 1;
}

.home-package__info span {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  color: #666;
  font-size: 8px;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-package__info strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* profit */

.home-package__profit {
  flex: 0 0 auto;
  text-align: right;
}

.home-package__profit strong {
  display: block;
  color: #0c75f7;
  font-size: 11px;
  font-weight: 600;
}

.home-package__profit span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 8px;
}


/* progress */

.home-package__progress {
  margin-top: 8px;
}

.home-package__progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.home-package__progress span {
  color: #666;
  font-size: 7px;
}

.home-package__progress strong {
  color: #888;
  font-size: 8px;
  font-weight: 500;
}

.home-package__bar {
  height: 4px;
  overflow: hidden;
  background: #202020;
  border-radius: 10px;
}

.home-package__bar i {
  display: block;
  height: 100%;
  background: #0c75f7;
  border-radius: inherit;
}


@media (max-width: 360px) {
  .home-package {
    padding: 9px;
    gap: 9px;
  }

  .home-package__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .home-package__icon svg {
    width: 20px;
    height: 20px;
  }
}

.history-header {
    color: #fff;
    margin-bottom: 18px;
}

.history-header span {
    color: #777;
    font-size: 11px;
}

.history-header h1 {
    margin: 4px 0 6px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.02em;
}

.history-header p {
    margin: 0;
    color: #777;
    font-size: 11px;
    line-height: 1.45;
}

.operations {
    margin-top: 18px;
}

.operation {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 10px;
    gap: 10px;
    background: #121212;
    border-radius: 17px;
}

.operation + .operation {
    margin-top: 8px;
}

.operation__icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 19px;
    background: #191919;
    border-radius: 13px;
}

.operation__info {
    min-width: 0;
}

.operation__title {
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operation__meta {
    margin-top: 2px;
    overflow: hidden;
    color: #777;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operation__right {
    min-width: 0;
    margin-left: auto;
    text-align: right;
}

.operation__amount {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operation__amount--success {
    color: #19e68c;
}

.operation__amount--error {
    color: #ff4d5e;
}

.operation__status {
    margin-top: 2px;
    color: #777;
    font-size: 11px;
}

.operation__status--success {
    color: #19e68c;
}

.operation__status--error {
    color: #ff4d5e;
}

.operations-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 78px;
    padding: 36px 14px;
    gap: 11px;
    background: #121212;
    border-radius: 17px;
}

.operations-empty__icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #666;
    font-size: 20px;
    background: #191919;
    border-radius: 13px;
}

.operations-empty__content {
    min-width: 0;
}

.operations-empty__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

.operations-empty__text {
    margin-top: 3px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}
/* home end */

.portfolio {
  color: #fff;
}

.portfolio-header {
  margin-bottom: 24px;
}

.portfolio-header span,
.portfolio-title span {
  color: #777;
  font-size: 11px;
}

.portfolio-header h1 {
  margin: 4px 0 6px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.portfolio-header p {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.portfolio-summary,
.deposit-card {
  background: #111;
  border-radius: 20px;
}

.portfolio-summary__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.portfolio-summary__stats > div {
  min-width: 0;
  padding: 13px 14px;
  background: #121212;
  border-radius: 16px;
}

.portfolio-summary__stats span {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 10px;
}

.portfolio-summary__stats strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-summary__stats .accent {
  color: #0c75f7;
}

.portfolio-tabs{
  margin:18px 0 12px;
  padding:4px;

  display:grid;
  grid-template-columns:1fr 1fr;

  background:#101010;

  border:1px solid #1d1d1d;
  border-radius:12px;
}

.portfolio-tab{
  position:relative;

  height:40px;
  padding:0 12px;

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

  color:#5f5f5f;
  background:transparent;

  border:0;
  border-radius:9px;

  cursor:pointer;

  font-size:10px;
  font-weight:550;

  transition:
    color .18s ease,
    background .18s ease;
}

.portfolio-tab:hover{
  color:#9b9b9b;
}

.portfolio-tab.active{
  color:#ededed;
  background:#191919;
}

.portfolio-tab b{
  min-width:20px;
  height:20px;

  padding:0 6px;

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

  color:#555;
  background:#0d0d0d;

  border:1px solid #242424;
  border-radius:6px;

  font-size:7px;
  font-weight:650;

  transition:.18s ease;
}

.portfolio-tab.active b{
  color:#83b5ff;
  background:rgba(12,117,247,.07);

  border-color:rgba(12,117,247,.15);
}


/* COMPLETED CARD */

.deposit-card--completed{
  opacity:.82;
}

.deposit-card--completed:hover{
  opacity:1;
}

.deposit-card--completed .deposit-plan{
  color:#686868;
}

.deposit-card--completed .deposit-status strong{
  color:#8a8a8a;
}

.deposit-status__completed{
  color:#8b8b8b !important;
}

.deposit-status__completed i{
  background:#646464 !important;
  box-shadow:none !important;
}


/* COMPLETED RESULT */

.deposit-completed{
  margin-top:13px;
  padding:13px;

  display:grid;
  grid-template-columns:1fr 1fr;

  background:#0d0d0d;

  border:1px solid #1d1d1d;
  border-radius:10px;
}

.deposit-completed > div{
  min-width:0;
}

.deposit-completed > div + div{
  padding-left:14px;
  border-left:1px solid #1d1d1d;
}

.deposit-completed span{
  display:block;

  color:#484848;

  font-size:7px;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.deposit-completed strong{
  display:block;

  margin-top:5px;

  color:#a5a5a5;

  font-size:10px;
  font-weight:520;
}

.deposit-completed strong.accent{
  color:#19e68c;
}


/* EMPTY STATE INSIDE TAB */

.portfolio-tab-empty{
  min-height:190px;
  padding:30px 20px;

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

  text-align:center;

  background:#0d0d0d;

  border:1px solid #1e1e1e;
  border-radius:13px;
}

.portfolio-tab-empty__icon{
  width:38px;
  height:38px;

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

  color:#555;
  background:#111;

  border:1px solid #232323;
  border-radius:10px;
}

.portfolio-tab-empty__icon svg{
  width:18px;
  height:18px;
}

.portfolio-tab-empty strong{
  margin-top:13px;

  color:#999;

  font-size:11px;
  font-weight:520;
}

.portfolio-tab-empty span{
  max-width:270px;

  margin-top:6px;

  color:#4d4d4d;

  font-size:8px;
  line-height:1.55;
}

/* deposits */
.deposit-list--skeleton,
.deposit-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.deposit-card {
  position: relative;
  padding: 15px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.018),
      rgba(255,255,255,0)
    ),
    #121212;
  border-radius: 19px;
}


/* head */

.deposit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}

.deposit-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.deposit-plan {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #0c75f7;
  background:
    linear-gradient(
      145deg,
      rgba(12,117,247,.14),
      rgba(12,117,247,.04)
    );
  border: 1px solid rgba(12,117,247,.14);
  border-radius: 14px;
}

.deposit-plan svg,
.deposit-plan img {
  width: 22px;
  height: 22px;
}

.deposit-main__info {
  min-width: 0;
}

.deposit-main__info span {
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
  color: #777;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-main__info strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-profit {
  flex: 0 0 auto;
  text-align: right;
}

.deposit-profit span {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 8px;
}

.deposit-profit strong {
  display: block;
  color: #0c75f7;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}


/* status */

.deposit-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  gap: 7px;
}

.deposit-status > div {
  min-width: 0;
  padding: 10px;
  background: #191919;
  border-radius: 12px;
}

.deposit-status span {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 7px;
}

.deposit-status strong {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-status strong i {
  display: block;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: #19e68c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(25,230,140,.06);
}


/* next accrual */

.deposit-next {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 11px;
  gap: 10px;
  background:
    linear-gradient(
      90deg,
      rgba(12,117,247,.07),
      rgba(12,117,247,.015)
    ),
    #171717;
  border: 1px solid rgba(12,117,247,.10);
  border-radius: 14px;
}

.deposit-next__icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #0c75f7;
  background: rgba(12,117,247,.09);
  border-radius: 11px;
}

.deposit-next__icon svg {
  width: 18px;
  height: 18px;
}

.deposit-next__info {
  min-width: 0;
  flex: 1;
}

.deposit-next__info span,
.deposit-next__amount span {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 7px;
}

.deposit-next__info strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.deposit-next__amount {
  flex: 0 0 auto;
  text-align: right;
}

.deposit-next__amount strong {
  display: block;
  color: #0c75f7;
  font-size: 11px;
  font-weight: 600;
}


/* progress */

.deposit-progress {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #1e1e1e;
}

.deposit-progress__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}

.deposit-progress__top > div {
  min-width: 0;
}

.deposit-progress__top span {
  display: block;
  color: #666;
  font-size: 7px;
}

.deposit-progress__top strong {
  display: block;
  margin-top: 3px;
  color: #999;
  font-size: 9px;
  font-weight: 500;
}

.deposit-progress__top > b {
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.deposit-progress__bar {
  height: 5px;
  overflow: hidden;
  background: #202020;
  border-radius: 20px;
}

.deposit-progress__bar i {
  display: block;
  height: 100%;
  background: #0c75f7;
  border-radius: inherit;
}

.deposit-progress__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  gap: 10px;
}

.deposit-progress__bottom span {
  color: #555;
  font-size: 7px;
}


/* mobile */

@media (max-width: 360px) {

  .deposit-card {
    padding: 13px;
  }

  .deposit-plan {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .deposit-main {
    gap: 9px;
  }

  .deposit-main__info strong {
    font-size: 15px;
  }

  .deposit-status {
    gap: 5px;
  }

  .deposit-status > div {
    padding: 9px 7px;
  }

  .deposit-next {
    padding: 10px;
  }

  .deposit-next__amount strong {
    font-size: 10px;
  }
}


/* bottom */

.deposit-bottom {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #1e1e1e;
}

.deposit-bottom button {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  color: #b7b7b7;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  background: #191919;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.deposit-bottom button:active {
  background: #202020;
}


@media (max-width: 360px) {
  .deposit-card {
    padding: 12px;
  }

  .deposit-plan {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .deposit-plan svg {
    width: 20px;
    height: 20px;
  }

  .deposit-main {
    gap: 8px;
  }

  .deposit-main__info strong {
    font-size: 14px;
  }

  .deposit-profit strong {
    font-size: 12px;
  }
}

.accent {
  color: #0c75f7;
}

@media (max-width: 650px) {
  .portfolio-summary,
  .deposit-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .deposit-data {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .deposit-meta {
    justify-content: space-between;
    gap: 15px;
  }
}


/* ANALYTICS */

.analytics {
  color: #fff;
}

.analytics-header {
  margin-bottom: 18px;
}

.analytics-header span {
  color: #777;
  font-size: 11px;
}

.analytics-header h1 {
  margin: 4px 0 6px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.analytics-header p {
  margin: 0;
  max-width: 520px;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.trade-card {
  background: #121212;
  border-radius: 18px;
}

.analytics-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.analytics-pool,
.analytics-profit {
  padding: 16px;
  background: #121212;
  border-radius: 20px;
}


/* POOL */

.analytics-pool__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}

.analytics-pool__head > div:first-child {
  min-width: 0;
}

.analytics-pool__head span {
  display: block;
  color: #777;
  font-size: 10px;
}

.analytics-pool__head strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 27px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-pool__head small {
  display: block;
  margin-top: 9px;
  color: #19e68c;
  font-size: 10px;
  font-weight: 550;
}

.analytics-pool__period {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #888;
  font-size: 9px;
  background: #191919;
  border-radius: 10px;
}


/* WEEK */

.analytics-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  height: 175px;
  margin-top: 17px;
  gap: 7px;
}

.analytics-day {
  display: grid;
  grid-template-rows: 18px 1fr 17px;
  height: 100%;
  min-width: 0;
  text-align: center;
}

.analytics-day__value {
  align-self: center;
  overflow: hidden;
  color: #666;
  font-size: 7px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease;
}

.analytics-day.active .analytics-day__value {
  color: #fff;
  opacity: 1;
}

.analytics-day__track {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 27px;
  margin: 0 auto;
  overflow: hidden;
  background: #161616;
  border-radius: 20px;
}

.analytics-day__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--value);
  min-height: 12px;
  overflow: hidden;
  background: #202020;
  border-radius: 20px;
}

.analytics-day__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.26) 0,
    rgba(255,255,255,.26) 1px,
    transparent 1px,
    transparent 4px
  );
}

.analytics-day.active .analytics-day__bar {
  background: linear-gradient(
    180deg,
    #f5f5f5 0%,
    #ffd2bd 22%,
    #4eb7ff 56%,
    #0c75f7 78%,
    #8b6cff 100%
  );
}

.analytics-day.active .analytics-day__bar::after {
  display: none;
}

.analytics-day > span {
  align-self: end;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-day.active > span {
  color: #ddd;
}


/* POOL FOOT */

.analytics-pool__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #1e1e1e;
}

.analytics-pool__foot span {
  color: #777;
  font-size: 9px;
}

.analytics-pool__foot strong {
  color: #fff;
  font-size: 11px;
  font-weight: 550;
}


/* PROFIT */

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

.analytics-profit__head > div:first-child {
  min-width: 0;
}

.analytics-profit__head span {
  display: block;
  color: #777;
  font-size: 8px;
}

.analytics-profit__head strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
}

.analytics-profit__badge {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #888;
  font-size: 8px;
  background: #191919;
  border-radius: 9px;
}


/* GAUGE */

.profit-gauge {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 190px;
  margin: 2px auto 0;
}

.profit-gauge__chart {
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  overflow: visible;
}

.profit-gauge__bg,
.profit-gauge__value {
  fill: none;
  stroke-width: 13;
  stroke-linecap: round;
}

.profit-gauge__bg {
  stroke: #1a1a1a;
}

.profit-gauge__value {
  stroke: url(#profitGaugeGradient);
  stroke-dasharray: var(--progress) 100;
}


/* GAUGE CONTENT */

.profit-gauge__content {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 170px;
  text-align: center;
  transform: translateX(-50%);
}

.profit-gauge__content span {
  display: block;
  color: #777;
  font-size: 8px;
}

.profit-gauge__content strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.02em;
}

.profit-gauge__content small {
  display: block;
  margin-top: 5px;
  color: #19e68c;
  font-size: 9px;
  font-weight: 550;
}

.profit-gauge__min,
.profit-gauge__max {
  position: absolute;
  bottom: 28px;
  color: #666;
  font-size: 9px;
}

.profit-gauge__min {
  left: -5px;
}

.profit-gauge__max {
  right: -5px;
}


/* PROFIT BOTTOM */

.analytics-profit__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 3px;
}

.analytics-profit__bottom > div {
  min-width: 0;
  padding: 11px;
  background: #191919;
  border-radius: 14px;
}

.analytics-profit__bottom span {
  display: block;
  color: #777;
  font-size: 8px;
}

.analytics-profit__bottom strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-profit__bottom small {
  display: block;
  margin-top: 3px;
  color: #19e68c;
  font-size: 8px;
}


/* SMALL SCREENS */

@media (max-width: 360px) {
  .analytics-pool,
  .analytics-profit {
    padding: 14px;
  }

  .analytics-pool__head strong {
    font-size: 24px;
  }

  .analytics-week {
    height: 160px;
    gap: 5px;
  }

  .analytics-day__track {
    max-width: 24px;
  }
}

/* analytics title */

.analytics-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 22px 0 10px;
}

.analytics-title span {
  color: #777;
  font-size: 10px;
}

.analytics-title h2 {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.analytics-title a {
  color: #888;
  font-size: 11px;
  text-decoration: none;
}


/* trades */

.trade-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 8px;
}

.trade-card {
  min-width: 0;
  padding: 14px;
}

.trade-top,
.trade-main,
.trade-route,
.trade-pair,
.trade-profit {
  display: flex;
  align-items: center;
}

.trade-top,
.trade-main {
  justify-content: space-between;
}

.trade-route {
  gap: 5px;
  font-size: 9px;
}

.trade-route img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.trade-route svg {
  width: 11px;
  margin: 0 1px;
  color: #555;
}

.trade-time {
  color: #666;
  font-size: 9px;
}

.trade-main {
  margin-top: 17px;
}

.trade-pair {
  min-width: 0;
  gap: 8px;
}

.trade-pair__icons {
  display: flex;
  flex: 0 0 auto;
}

.trade-pair__icons img {
  width: 27px;
  height: 27px;
}

.trade-pair__icons img + img {
  margin-left: -7px;
}

.trade-pair > div:last-child {
  min-width: 0;
}

.trade-pair strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-pair span {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 9px;
}

.trade-profit {
  flex: 0 0 auto;
  gap: 5px;
  margin-left: 8px;
}

.trade-profit strong {
  color: #0c75f7;
  font-size: 15px;
}

.trade-profit span {
  color: #777;
  font-size: 9px;
}

.trade-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #1e1e1e;
}

.trade-info > div {
  min-width: 0;
}

.trade-info span {
  display: block;
  color: #666;
  font-size: 8px;
}

.trade-info strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 8px 8px 8px 12px;
  background: #121212;
  border-radius: 14px;
}

.analytics-pagination > span {
  color: #666;
  font-size: 10px;
  font-weight: 500;
}

.analytics-pagination button {
  min-width: 72px;
  height: 34px;
  padding: 0 14px;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  background: #191919;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background .15s ease,
    transform .15s ease,
    opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.analytics-pagination button:active {
  background: #202020;
  transform: scale(.97);
}

.analytics-pagination button:disabled {
  color: #555;
  background: #161616;
  cursor: default;
  opacity: .6;
}

/* PROFILE */

.profile {
  color: #fff;
}

.profile-header {
  margin-bottom: 18px;
}

.profile-header span {
  color: #777;
  font-size: 11px;
}

.profile-header h1 {
  margin: 4px 0 6px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.profile-header p {
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}


/* USER */

.profile-card {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px;
  background: #121212;
  border-radius: 18px;
}

.profile-avatar {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  object-fit: cover;
  background: #191919;
  border-radius: 15px;
}

.profile-user {
  min-width: 0;
  flex: 1;
  margin-left: 11px;
}

.profile-user strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-user span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #777;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-edit {
  flex: 0 0 auto;
  margin-left: 10px;
  padding: 6px 9px;
  color: #0c75f7;
  font: inherit;
  font-size: 9px;
  font-weight: 550;
  background: #191919;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}


/* OVERVIEW */

.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.profile-overview__main {
  min-width: 0;
  padding: 14px;
  background: #121212;
  border-radius: 17px;
}

.profile-overview__main > span {
  display: block;
  color: #777;
  font-size: 9px;
}

.profile-overview__main > strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #0c75f7;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overview__main > small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 8px;
}

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

.profile-overview__stats > div {
  min-width: 0;
  flex: 1;
  padding: 10px 11px;
  background: #121212;
  border-radius: 15px;
}

.profile-overview__stats span {
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overview__stats strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* PARTNERS */
.profile-partners {
  margin-top: 8px;
}
.profile-partners,
.profile-promo {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  gap: 11px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: #121212;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.profile-promo {
  margin-top: 8px;
}

.profile-partners:active,
.profile-promo:active {
  background: #161616;
}

.profile-partners__icon,
.profile-promo__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0c75f7;
  background: #191919;
  border-radius: 12px;
}

.profile-partners__icon svg,
.profile-promo__icon svg {
  width: 20px;
  height: 20px;
}

.profile-partners__info,
.profile-promo__info {
  min-width: 0;
  flex: 1;
}

.profile-partners__info strong,
.profile-promo__info strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.profile-partners__info span,
.profile-promo__info span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-partners__arrow,
.profile-promo__arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #555;
}

/* SECTIONS */

.profile-section-title {
  margin: 18px 2px 8px;
  color: #666;
  font-size: 9px;
}


/* MENU */

.profile-menu {
  overflow: hidden;
  background: #121212;
  border-radius: 18px;
}

.profile-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  gap: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.profile-menu__item + .profile-menu__item {
  border-top: 1px solid #1e1e1e;
}

.profile-menu__icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #888;
  background: #191919;
  border-radius: 12px;
}

.profile-menu__icon svg {
  width: 19px;
  height: 19px;
}

.profile-menu__item > div {
  min-width: 0;
  flex: 1;
}

.profile-menu__item strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu__item > div > span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #555;
}

.profile-menu__item:active,
.profile-partners:active {
  background: #161616;
}


/* LOGOUT */

.profile-logout {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  color: #d76666;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  background: #121212;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
}

.profile-logout:active {
  background: #161616;
}


@media (max-width: 360px) {
  .profile-overview {
    grid-template-columns: 1fr;
  }

  .profile-overview__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.accent {
  color: #0c75f7;
}


@media (max-width: 700px) {
  .trade-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .analytics-stats,
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: #080808;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: var(--tg-viewport-stable-height, 100dvh);
  min-height: 0;

  padding:
    calc(
      16px +
      var(--tg-safe-area-inset-top, 0px) +
      var(--tg-content-safe-area-inset-top, 0px)
    )
    14px
    calc(20px + var(--tg-safe-area-inset-bottom, 0px));

  scroll-padding-top: 80px;
  scroll-padding-bottom: 180px;

  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  color: #fff;
  background: #080808;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  animation: modalShow .2s ease;
}


/* modal header buttons */

.modal-close,
.modal-back {
  position: absolute;
  top: calc(
    14px +
    var(--tg-safe-area-inset-top, 0px) +
    var(--tg-content-safe-area-inset-top, 0px)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #888;
  background: #121212;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}

.modal-close {
  right: 14px;
}

.modal-back {
  left: 14px;
}

.modal-close svg,
.modal-back svg {
  width: 15px;
  height: 15px;
  display: block;
}

.modal-close:active,
.modal-back:active {
  background: #191919;
}


/* modal title */

.modal-head {
  margin-bottom: 18px;
}

.modal-head__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 9px;
  letter-spacing: .04em;
}

.modal-head h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.modal-head p {
  max-width: 360px;
  margin: 6px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}


/* modal body */

.modal-body {
  width: 100%;
}


/* fixed actions */

.modal-action {
  position: fixed;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  padding: 10px 14px calc(
    14px +
    var(--tg-safe-area-inset-bottom, 0px)
  );
  gap: 8px;
  background: #080808;
  transform: translateX(-50%);
  z-index: 10;
  box-sizing: border-box;
}

.modal-action button {
  width: 100%;
}

.modal.active:has(.modal-action) .modal-content {
  padding-bottom: calc(
    100px +
    var(--tg-safe-area-inset-bottom, 0px)
  );
}


@keyframes modalShow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* SHEET */

.modal-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    visibility .22s ease;
  z-index: 99999;
}

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

.modal-sheet_content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  max-height: calc(
    var(--tg-viewport-height, 100dvh) -
    var(--tg-safe-area-inset-top, 0px) -
    18px
  );
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background: #121212;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  box-sizing: border-box;
}

.modal-sheet.active .modal-sheet_content {
  transform: translateY(0);
}


/* sheet controls */

.modal-sheet_close,
.modal-sheet_back {
  position: absolute;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #888;
  background: #191919;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}

.modal-sheet_close {
  right: 14px;
}

.modal-sheet_back {
  left: 14px;
}

.modal-sheet_close svg,
.modal-sheet_back svg {
  display: block;
  width: 15px;
  height: 15px;
}

.modal-sheet_close:active,
.modal-sheet_back:active {
  background: #202020;
}


/* sheet body */

.modal-sheet_body {
  width: 100%;
  max-height: inherit;
  padding:
    18px
    14px
    calc(20px + var(--tg-safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.sheet-title {
  margin: 0 0 7px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.sheet-desc {
  margin: 0 0 20px;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}



.form-label {
  margin: 17px 0 7px;
  color: #777;
  font-size: 10px;
}

.coin-select {
  position: relative;
}

.coin-select__current {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 9px 12px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: #121212;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
}

.coin-select__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: #191919;
  border-radius: 12px;
}

.coin-select__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.coin-select__info,
.coin-select__item > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.coin-select__info strong,
.coin-select__item strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}

.coin-select__info small,
.coin-select__item small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 9px;
}

.coin-select__current > svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.coin-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  padding: 5px;
  background: #191919;
  border-radius: 16px;
  z-index: 20;
}

.coin-select.open .coin-select__list {
  display: block;
}

.coin-select__item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.coin-select__item.active,
.coin-select__item:active {
  background: #222;
}

.coin-select__item .coin-select__icon {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
}

.coin-select__item .coin-select__icon img {
  width: 21px;
  height: 21px;
}

.coin-select__item em {
  color: #777;
  font-size: 9px;
  font-style: normal;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.coin-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  min-height: 68px;
  padding: 9px 9px 8px;

  color: #fff;
  font: inherit;
  text-align: left;

  background: #121212;
  border: 1px solid transparent;
  border-radius: 12px;

  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;

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

.coin-card:active {
  transform: scale(.97);
}

.coin-card.active {
  background: #15191f;
  border-color: rgba(12, 117, 247, .45);
}


/* icons */

.coin-card__icons {
  position: relative;
  display: flex;
  align-items: center;

  height: 24px;
  margin-bottom: 6px;
}

.coin-card__icons img:first-child {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.coin-card__icons img + img {
  width: 13px;
  height: 13px;

  margin-top: 11px;
  margin-left: -6px;

  object-fit: contain;
  background: #191919;
  border: 1.5px solid #121212;
  border-radius: 50%;
}

.coin-card.active .coin-card__icons img + img {
  border-color: #15191f;
}

[data-currency-rate-timer] {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}


/* text */

.coin-card strong {
  display: block;
  overflow: hidden;
  width: 100%;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-card span {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-top: 3px;
  color: #666;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* selected marker */

.coin-card.active::after {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  content: "";
  background: #0c75f7;
  border-radius: 50%;
}


/* narrow screens */

@media (max-width: 350px) {
  .coin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-card {
    min-height: 82px;
  }
}


/* amount */

.amount-field {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  background: #121212;
  border-radius: 16px;
}

.amount-field input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 550;
  background: transparent;
  border: 0;
  outline: 0;
}

.amount-field input::placeholder {
  color: #555;
}

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

.amount-field__coin img {
  width: 20px;
  height: 20px;
}

.amount-field__coin strong {
  font-size: 11px;
  font-weight: 550;
}

.amount-hint {
  margin-top: 6px;
  color: #666;
  font-size: 9px;
}


/* quote */

.deposit-quote {
  margin-top: 16px;
  padding: 13px;
  background: #121212;
  border-radius: 16px;
}

.deposit-quote__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.deposit-quote__row + .deposit-quote__row {
  margin-top: 10px;
}

.deposit-quote__row span {
  color: #777;
  font-size: 9px;
}

.deposit-quote__row span em {
  margin-left: 4px;
  color: #0c75f7;
  font-style: normal;
}

.deposit-quote__row strong {
  font-size: 10px;
  font-weight: 500;
}

.deposit-quote__result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #202020;
}

.deposit-quote__result > span {
  color: #777;
  font-size: 10px;
}

.deposit-quote__result > strong {
  color: #0c75f7;
  font-size: 18px;
  font-weight: 600;
}

.deposit-quote__result small {
  font-size: 10px;
  font-weight: 500;
}
.topup-qr {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* primary */

.deposit-submit,
.deposit-payment__close {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  height: 46px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}


/* payment */

.payment-status {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 10px;
  background: #121212;
  border-radius: 16px;
}

.payment-status__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0c75f7;
  background: #191919;
  border-radius: 12px;
}

.payment-status__icon svg {
  width: 21px;
  height: 21px;
}

.payment-status strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.payment-status span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 9px;
}


.payment-asset {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 12px;
  background: #121212;
  border-radius: 16px;
}

.payment-asset__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: #191919;
  border-radius: 12px;
}

.payment-asset__icon img {
  width: 24px;
  height: 24px;
}

.payment-asset > div:nth-child(2) {
  flex: 1;
}

.payment-asset span {
  display: block;
  color: #777;
  font-size: 9px;
}

.payment-asset strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 550;
}

.payment-asset__network {
  padding: 5px 8px;
  color: #aaa;
  font-size: 9px;
  background: #191919;
  border-radius: 8px;
}


/* payment fields */

.payment-field {
  margin-top: 8px;
  padding: 12px;
  background: #121212;
  border-radius: 16px;
}

.payment-field > span {
  display: block;
  margin-bottom: 7px;
  color: #777;
  font-size: 9px;
}

.payment-field > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 10px;
}

.payment-field strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-address {
  font-size: 11px !important;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #0c75f7;
  font: inherit;
  font-size: 9px;
  background: #191919;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.copy-btn.is-copied {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.copy-btn.is-copied svg {
  display: block;
}


.payment-warning {
  margin-top: 8px;
  padding: 11px 12px;
  color: #777;
  font-size: 9px;
  line-height: 1.45;
  background: #121212;
  border-radius: 14px;
}

.payment-warning strong {
  color: #aaa;
  font-weight: 550;
}


.payment-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px;
  background: #121212;
  border-radius: 14px;
}

.payment-result span {
  color: #777;
  font-size: 9px;
}

.payment-result strong {
  color: #0c75f7;
  font-size: 13px;
  font-weight: 600;
}


.invest-plans {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.invest-plan {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 10px;
  gap: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: #121212;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.invest-plan.active {
  border-color: #0c75f7;
  background: #14171b;
}

.invest-plan__icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #777;
  background: #191919;
  border-radius: 13px;
}

.invest-plan.active .invest-plan__icon {
  color: #0c75f7;
}

.invest-plan__icon svg {
  width: 21px;
  height: 21px;
}

.invest-plan__icon img {
  width: 21px;
  height: 21px;
}

.invest-plan__info {
  min-width: 0;
  flex: 1;
}

.invest-plan__info strong,
.invest-plan__rate strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}

.invest-plan__info span,
.invest-plan__rate span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 9px;
}

.invest-plan__rate {
  flex: 0 0 auto;
  text-align: right;
}

.invest-plan__rate strong {
  color: #0c75f7;
  font-size: 15px;
}


/* amount */

.invest-amount {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  background: #121212;
  border-radius: 16px;
}

.invest-amount input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 550;
  background: transparent;
  border: 0;
  outline: 0;
}

.invest-amount input::placeholder {
  color: #555;
}

.invest-amount > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.invest-amount strong {
  font-size: 11px;
  font-weight: 550;
}

.invest-amount button {
  padding: 5px 7px;
  color: #0c75f7;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  background: #191919;
  border: 0;
  border-radius: 8px;
}

.invest-amount__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 10px;
}

.invest-amount__bottom span {
  color: #666;
  font-size: 9px;
}


/* calculation */

.invest-calc {
  margin-top: 16px;
  padding: 13px;
  background: #121212;
  border-radius: 16px;
}

.invest-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.invest-calc__row + .invest-calc__row {
  margin-top: 10px;
}

.invest-calc__row span {
  color: #777;
  font-size: 9px;
}

.invest-calc__row strong {
  font-size: 10px;
  font-weight: 500;
}

.invest-calc__daily {
  color: #0c75f7;
}

.invest-calc__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 13px;
  gap: 12px;
  border-top: 1px solid #202020;
}

.invest-calc__total span {
  display: block;
  color: #aaa;
  font-size: 10px;
}

.invest-calc__total small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 8px;
  font-weight: 400;
}

.invest-calc__total > strong {
  color: #0c75f7;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.invest-calc__total > strong small {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: 10px;
  font-weight: 500;
}

.invest-calc__receive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding: 10px;
  background: #191919;
  border-radius: 12px;
}

.invest-calc__receive span {
  color: #777;
  font-size: 9px;
}

.invest-calc__receive strong {
  font-size: 12px;
  font-weight: 550;
}


/* create */

.invest-submit,
.invest-success__close {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  height: 46px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}


/* success */

.invest-success {
  padding-top: 12px;
}

.invest-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  color: #0c75f7;
  background: #121212;
  border-radius: 18px;
}

.invest-success__icon svg {
  width: 29px;
  height: 29px;
}

.invest-success__head {
  margin-top: 16px;
  text-align: center;
}

.invest-success__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.invest-success__head p {
  max-width: 340px;
  margin: 7px auto 0;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
}

.invest-success__amount {
  margin-top: 20px;
  padding: 15px;
  text-align: center;
  background: #121212;
  border-radius: 16px;
}

.invest-success__amount span {
  display: block;
  color: #777;
  font-size: 9px;
}

.invest-success__amount strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  font-weight: 600;
}

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

.invest-success__details > div {
  min-width: 0;
  padding: 11px;
  background: #121212;
  border-radius: 14px;
}

.invest-success__details span {
  display: block;
  color: #777;
  font-size: 8px;
}

.invest-success__details strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invest-success__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 11px;
  gap: 10px;
  background: #121212;
  border-radius: 14px;
}

.invest-success__next > span {
  color: #777;
  font-size: 9px;
}

.invest-success__next strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.invest-success__next svg {
  width: 14px;
  height: 14px;
  color: #777;
}


/* WITHDRAW */

.withdraw-create {
  width: 100%;
}


/* address */

.withdraw-address {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 8px 0 12px;
  gap: 8px;
  background: #121212;
  border-radius: 16px;
  box-sizing: border-box;
}

.withdraw-address input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 12px;
  background: transparent;
  border: 0;
  outline: 0;
}

.withdraw-address input::placeholder {
  color: #555;
}

.withdraw-address__paste {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #0c75f7;
  font: inherit;
  font-size: 9px;
  font-weight: 550;
  background: #191919;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.withdraw-address__paste:active {
  background: #202020;
}


/* amount */

.withdraw-amount {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0 12px;
  background: #121212;
  border-radius: 16px;
  box-sizing: border-box;
}

.withdraw-amount input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 550;
  background: transparent;
  border: 0;
  outline: 0;
}

.withdraw-amount input::placeholder {
  color: #555;
}

.withdraw-amount > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.withdraw-amount strong {
  color: #fff;
  font-size: 11px;
  font-weight: 550;
}

.withdraw-amount button {
  padding: 5px 7px;
  color: #0c75f7;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  background: #191919;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.withdraw-amount button:active {
  background: #202020;
}

.withdraw-amount__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 10px;
}

.withdraw-amount__bottom span {
  min-width: 0;
  color: #666;
  font-size: 9px;
  line-height: 1.3;
}

.withdraw-amount__bottom span:last-child {
  text-align: right;
}


/* calculation */

.withdraw-calc {
  margin-top: 16px;
  padding: 13px;
  background: #121212;
  border-radius: 16px;
}

.withdraw-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
}

.withdraw-calc__row + .withdraw-calc__row {
  margin-top: 10px;
}

.withdraw-calc__row span {
  min-width: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.3;
}

.withdraw-calc__row span em {
  margin-left: 4px;
  color: #0c75f7;
  font-style: normal;
}

.withdraw-calc__row strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  text-align: right;
}


/* receive */

.withdraw-calc__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  margin-top: 13px;
  padding-top: 13px;
  gap: 12px;
  border-top: 1px solid #202020;
}

.withdraw-calc__total > div {
  min-width: 0;
}

.withdraw-calc__total > div span {
  display: block;
  color: #aaa;
  font-size: 10px;
}

.withdraw-calc__total > div small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 8px;
  font-weight: 400;
}

.withdraw-calc__total > strong {
  flex: 0 0 auto;
  color: #0c75f7;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.withdraw-calc__total > strong small {
  color: inherit;
  font-size: 10px;
  font-weight: 500;
}


/* balance debit */

.withdraw-calc__spent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin-top: 11px;
  padding: 10px;
  gap: 10px;
  background: #191919;
  border-radius: 12px;
}

.withdraw-calc__spent span {
  color: #777;
  font-size: 9px;
}

.withdraw-calc__spent strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}


/* warning */

.withdraw-warning {
  margin-top: 8px;
  padding: 10px 11px;
  color: #777;
  font-size: 9px;
  line-height: 1.45;
  background: #121212;
  border-radius: 14px;
}

.withdraw-warning strong {
  color: #aaa;
  font-weight: 550;
}


/* submit */

.withdraw-submit {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  height: 46px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.withdraw-submit:active {
  opacity: .85;
}


/* SUCCESS */

.withdraw-success {
  width: 100%;
  padding-top: 12px;
}

.withdraw-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  color: #0c75f7;
  background: #121212;
  border-radius: 18px;
}

.withdraw-success__icon svg {
  width: 29px;
  height: 29px;
}

.withdraw-success__head {
  margin-top: 16px;
  text-align: center;
}

.withdraw-success__head h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.withdraw-success__head p {
  max-width: 340px;
  margin: 7px auto 0;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
}


/* success amount */

.withdraw-success__amount {
  margin-top: 20px;
  padding: 15px;
  text-align: center;
  background: #121212;
  border-radius: 16px;
}

.withdraw-success__amount span {
  display: block;
  color: #777;
  font-size: 9px;
}

.withdraw-success__amount strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}


/* success details */

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

.withdraw-success__details > div {
  min-width: 0;
  padding: 11px;
  background: #121212;
  border-radius: 14px;
}

.withdraw-success__details span {
  display: block;
  color: #777;
  font-size: 8px;
}

.withdraw-success__details strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-success__details .accent {
  color: #0c75f7;
}


/* success address */

.withdraw-success__address {
  margin-top: 8px;
  padding: 11px;
  background: #121212;
  border-radius: 14px;
}

.withdraw-success__address span {
  display: block;
  color: #777;
  font-size: 8px;
}

.withdraw-success__address strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* success button */

.withdraw-success__close {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.withdraw-success__close:active {
  opacity: .85;
}


@media (max-width: 360px) {
  .withdraw-amount__bottom {
    align-items: flex-start;
  }

  .withdraw-calc__total > strong {
    font-size: 16px;
  }
}

.partners {
  width: 100%;
}


/* SUMMARY */

.partners-summary {
  padding: 15px;
  background: #121212;
  border-radius: 18px;
}

.partners-summary__main span {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 9px;
}

.partners-summary__main strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.partners-summary__main small {
  color: #777;
  font-size: 10px;
  font-weight: 500;
}

.partners-summary__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.partners-summary__stats > div {
  min-width: 0;
  padding: 10px;
  background: #191919;
  border-radius: 12px;
}

.partners-summary__stats span {
  display: block;
  margin-bottom: 4px;
  color: #777;
  font-size: 8px;
}

.partners-summary__stats strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* INVITER */

.partner-inviter {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 11px;
  gap: 10px;
  background: #121212;
  border-radius: 16px;
}

.partner-inviter__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: #191919;
  border-radius: 12px;
}

.partner-inviter__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-inviter__info {
  min-width: 0;
}

.partner-inviter__info span {
  display: block;
  margin-bottom: 2px;
  color: #777;
  font-size: 8px;
}

.partner-inviter__info strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.partner-inviter__info small {
  display: block;
  margin-top: 2px;
  color: #666;
  font-size: 9px;
}


/* LINK */

.partner-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 8px 8px 8px 12px;
  gap: 10px;
  background: #121212;
  border-radius: 16px;
}

.partner-link.m5 {
  margin-top: 5px;
}

.partner-link > div {
  min-width: 0;
  flex: 1;
}

.partner-link span {
  display: block;
  margin-bottom: 4px;
  color: #777;
  font-size: 8px;
}

.partner-link strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-link__copy,
.partner-weblink__copy {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #0c75f7;
  background: #191919;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.partner-link__copy svg,
.partner-weblink__copy svg  {
  width: 17px;
  height: 17px;
}

.partner-link__copy.is-copied,
.partner-weblink__copy.is-copied {
  background: #E8F5E9!important;
  color: #2E7D32;
}


.partners-share {
  width: 100%;
  margin-top: 7px;
  padding: 11px;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}


/* LEVEL */

.partner-level {
  margin-top: 18px;
}

.partner-level__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
  gap: 10px;
}

.partner-level__head span {
  display: block;
  color: #666;
  font-size: 8px;
}

.partner-level__head strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
}

.partner-level__percent {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #0c75f7;
  font-size: 10px;
  font-weight: 600;
  background: #121212;
  border-radius: 9px;
}


/* LEVEL STATS */

.partner-level__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.partner-level__stats > div {
  min-width: 0;
  padding: 10px;
  background: #121212;
  border-radius: 13px;
}

.partner-level__stats span {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  color: #777;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-level__stats strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accent {
  color: #0c75f7;
}


/* USERS */

.partner-users {
  overflow: hidden;
  margin-top: 7px;
  background: #121212;
  border-radius: 16px;
}

.partner-user {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px;
  gap: 9px;
}

.partner-user + .partner-user {
  border-top: 1px solid #1e1e1e;
}

.partner-user > img {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: cover;
  background: #191919;
  border-radius: 11px;
}

.partner-user__info {
  min-width: 0;
  flex: 1;
}

.partner-user__info strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-user__info span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-user__right {
  flex: 0 0 auto;
  text-align: right;
}

.partner-user__right strong {
  display: block;
  color: #0c75f7;
  font-size: 11px;
  font-weight: 550;
}

.partner-user__right span {
  display: block;
  margin-top: 2px;
  color: #666;
  font-size: 8px;
}


/* MORE */

.partner-level__more {
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  color: #999;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  background: #121212;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}

.partner-level__more:active {
  background: #191919;
}

.partners-list-page {
  width: 100%;
}

.partners-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
  gap: 10px;
}

.partners-list-head > div:first-child {
  min-width: 0;
}

.partners-list-head span {
  display: block;
  color: #666;
  font-size: 8px;
}

.partners-list-head strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 600;
}

.partners-list-head__percent {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #0c75f7;
  font-size: 10px;
  font-weight: 600;
  background: #121212;
  border-radius: 9px;
}


/* stats */

.partners-list-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.partners-list-stats > div {
  min-width: 0;
  padding: 10px;
  background: #121212;
  border-radius: 13px;
}

.partners-list-stats span {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  color: #777;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partners-list-stats strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* full list */

.partners-users--full {
  margin-top: 8px;
}


/* load more */

.partners-load-more {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  color: #aaa;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  background: #121212;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.partners-load-more:active {
  background: #191919;
}

.partners-load-more:disabled {
  color: #555;
  cursor: default;
}

.partners-search {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 10px;
  gap: 8px;
  background: #121212;
  border-radius: 14px;
}

.partners-search > svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #666;
}

.partners-search input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: 0;
}

.partners-search input::placeholder {
  color: #555;
}

.partners-search__clear {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #777;
  background: #191919;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.partners-search__clear svg {
  width: 13px;
  height: 13px;
}


.operation-view {
  width: 100%;
}


/* HEADER */

.operation-view__head {
  padding: 10px 0 20px;
  text-align: center;
}

.operation-view__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 11px;
  color: #888;
  background: #121212;
  border-radius: 17px;
}

.operation-view__icon svg {
  width: 27px;
  height: 27px;
}

.operation-view__icon--success {
  color: #19e68c;
}

.operation-view__icon--error {
  color: #ff4d5e;
}

.operation-view__icon--pending {
  color: #0c75f7;
}

.operation-view__type {
  display: block;
  color: #777;
  font-size: 9px;
}

.operation-view__amount {
  display: block;
  margin-top: 5px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.operation-view__amount small {
  color: #777;
  font-size: 11px;
  font-weight: 500;
}

.operation-view__status {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  padding: 5px 8px;
  color: #888;
  font-size: 9px;
  font-weight: 550;
  background: #121212;
  border-radius: 8px;
}

.operation-view__status--success {
  color: #19e68c;
}

.operation-view__status--error {
  color: #ff4d5e;
}

.operation-view__status--pending {
  color: #0c75f7;
}


/* SUMMARY */

.operation-view__summary {
  padding: 12px;
  background: #121212;
  border-radius: 17px;
}

.operation-view__asset {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-bottom: 12px;
  gap: 9px;
  border-bottom: 1px solid #202020;
}

.operation-view__asset-icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #191919;
  border-radius: 12px;
}

.operation-view__asset-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.operation-view__asset > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.operation-view__asset span {
  display: block;
  color: #777;
  font-size: 8px;
}

.operation-view__asset strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 550;
}

.operation-view__network {
  flex: 0 0 auto !important;
  padding: 5px 8px;
  color: #999;
  font-size: 9px;
  background: #191919;
  border-radius: 8px;
}


/* SUMMARY ROWS */

.operation-view__rows {
  padding-top: 11px;
}

.operation-view__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}

.operation-view__row + .operation-view__row {
  margin-top: 9px;
}

.operation-view__row span {
  color: #777;
  font-size: 9px;
}

.operation-view__row strong {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 500;
  text-align: right;
}


/* DETAILS */

.operation-view__section {
  margin-top: 18px;
}

.operation-view__section-title {
  margin: 0 2px 8px;
  color: #777;
  font-size: 9px;
}

.operation-view__details {
  overflow: hidden;
  background: #121212;
  border-radius: 16px;
}

.operation-view__detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 45px;
  padding: 10px 11px;
  gap: 12px;
}

.operation-view__detail + .operation-view__detail {
  border-top: 1px solid #1e1e1e;
}

.operation-view__detail > span {
  flex: 0 0 auto;
  color: #777;
  font-size: 9px;
}

.operation-view__detail > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operation-view__detail > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.operation-view__detail > div strong {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.operation-view__user img {
  width:24px;
  height:24px;
  flex:0 0 24px;
  object-fit:cover;
  border-radius:50%;
}

.operation-view__user div {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

.operation-view__user small {
  margin-top:2px;
  font-size:11px;
  opacity:.5;
}

.operation-view__hash {
  max-width: 190px;
}


/* COPY */

.operation-copy {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #777;
  background: #191919;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.operation-copy svg {
  width: 13px;
  height: 13px;
}

.operation-copy:active {
  color: #0c75f7;
  background: #202020;
}


.operation-copy {
  transition: background .2s, color .2s, border-color .2s;
}

.operation-copy.is-copied {
  background: #22c55e!important;
  border-color: #22c55e!important;
  color: #2E7D32;
}

.operation-copy.is-copied svg {
  display: block;
  margin: auto;
}



/* EXPLORER */

.operation-view__explorer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-top: 8px;
  gap: 5px;
  color: #999;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  background: #121212;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}

.operation-view__explorer svg {
  width: 14px;
  height: 14px;
}

.operation-view__explorer:active {
  background: #191919;
}


.security {
  color: #fff;
}

.security-summary {
  display: flex;
  align-items: center;
  padding: 13px;
  gap: 11px;
  background: #121212;
  border-radius: 18px;
}

.security-summary__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #0c75f7;
  background: #191919;
  border-radius: 13px;
}

.security-summary__icon svg {
  width: 22px;
  height: 22px;
}

.security-summary__info {
  min-width: 0;
  flex: 1;
}

.security-summary__info span {
  display: block;
  color: #777;
  font-size: 8px;
}

.security-summary__info strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 550;
}

.security-summary__info small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 8px;
  line-height: 1.4;
}


/* SECTION */

.security-section {
  margin-top: 18px;
}

.security-section__title {
  margin: 0 2px 8px;
  color: #666;
  font-size: 9px;
}

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


/* SESSION */

.security-session {
  padding: 12px;
  background: #121212;
  border-radius: 17px;
}

.security-session--current {
  position: relative;
}

.security-session--current::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 6px;
  height: 6px;
  background: #19e68c;
  border-radius: 50%;
}


/* HEAD */

.security-session__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 10px;
}

.security-device {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.security-device__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #888;
  background: #191919;
  border-radius: 12px;
}

.security-device__icon svg {
  width: 20px;
  height: 20px;
}

.security-session--current .security-device__icon {
  color: #0c75f7;
}

.security-device__info {
  min-width: 0;
}

.security-device__info > strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-device__info > small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-device__info > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}

.security-device__info > div strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-current {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #19e68c;
  font-size: 7px;
  font-weight: 550;
  background: rgba(25, 230, 140, .08);
  border-radius: 6px;
}


/* CLOSE */

.security-session__close {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #d76666;
  font: inherit;
  font-size: 8px;
  font-weight: 550;
  background: #191919;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.security-session__close:active {
  background: #202020;
}


/* DETAILS */

.security-session__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 11px;
}

.security-session__details > div {
  min-width: 0;
  padding: 9px 10px;
  background: #191919;
  border-radius: 11px;
}

.security-session__details span {
  display: block;
  overflow: hidden;
  color: #666;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-session__details strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-online {
  color: #19e68c;
}


/* DANGER */

.security-danger {
  margin-top: 18px;
  padding: 13px;
  background: #121212;
  border-radius: 17px;
}

.security-danger__text strong {
  display: block;
  color: #fff;
  font-size: 11px;
  font-weight: 550;
}

.security-danger__text span {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 8px;
  line-height: 1.45;
}

.security-close-all {
  width: 100%;
  margin-top: 11px;
  padding: 11px;
  color: #d76666;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  background: #191919;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.security-close-all:active {
  background: #202020;
}


/* SMALL */

@media (max-width: 360px) {
  .security-session {
    padding: 11px;
  }

  .security-device__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .security-session__close {
    padding: 6px 8px;
    font-size: 7px;
  }
}


.language-select {
  width: 100%;
}

/* LIST */

.language-list {
  overflow: hidden;
  margin-top: 12px;
  background: #121212;
  border-radius: 18px;
}

.language-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 8px 10px;
  gap: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.language-item + .language-item {
  border-top: 1px solid #1e1e1e;
}

.language-item:active {
  background: #171717;
}


/* FLAG */

.language-item__flag {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  font-size: 20px;
  line-height: 1;
  background: #191919;
  border-radius: 11px;
}


/* INFO */

.language-item__info {
  min-width: 0;
  flex: 1;
}

.language-item__info strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-item__info span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* CHECK */

.language-item__check {
  display: flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0;
  color: transparent;
  background: #191919;
  border-radius: 50%;
}

.language-item__check svg {
  width: 14px;
  height: 14px;
}

.language-item.active .language-item__check {
  color: #fff;
  background: #0c75f7;
}


/* SAVE */

.language-save {
  width: 100%;
  padding: 13px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.language-save:active {
  opacity: .85;
}

.language-search {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 10px;
  gap: 8px;
  background: #121212;
  border-radius: 14px;
}

.language-search > svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #666;
}

.language-search input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: 0;
}

.language-search input::placeholder {
  color: #555;
}

.language-search__clear {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #777;
  background: #191919;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.language-search__clear svg {
  width: 13px;
  height: 13px;
}


.notifications {
  color: #fff;
}

/* list */

.notifications-list {
  overflow: hidden;
  background: #121212;
  border-radius: 18px;
}


/* item */

.notification-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  padding: 14px;
}

.notification-item + .notification-item {
  border-top: 1px solid #1c1c1c;
}

.notification-item > div {
  min-width: 0;
  flex: 1;
}

.notification-item strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item span {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 9px;
  line-height: 1.35;
}


/* switch */

.notification-switch {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 24px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.notification-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.notification-switch i {
  position: absolute;
  inset: 0;
  display: block;
  background: #292929;
  border-radius: 20px;
  transition: background .2s ease;
}

.notification-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  content: "";
  background: #888;
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}

.notification-switch input:checked + i {
  background: #0c75f7;
}

.notification-switch input:checked + i::after {
  background: #fff;
  transform: translateX(16px);
}

.profile-switch {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 24px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-switch i {
  position: absolute;
  inset: 0;
  display: block;
  background: #292929;
  border-radius: 20px;
  transition: background .2s ease;
}

.profile-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  content: "";
  background: #888;
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}

.profile-switch input:checked + i {
  background: #0c75f7;
}

.profile-switch input:checked + i::after {
  background: #fff;
  transform: translateX(16px);
}


.early-close {
  padding-top: 14px;
}

.early-close__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 13px;
  color: #888;
  background: #191919;
  border-radius: 13px;
}

.early-close__icon svg {
  width: 22px;
  height: 22px;
}

.early-close .sheet-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.early-close .sheet-desc {
  max-width: 340px;
  margin: 7px auto 18px;
  color: #666;
  font-size: 11px;
  line-height: 1.45;
}


/* details */

.early-close__details {
  overflow: hidden;
  background: #121212;
  border-radius: 15px;
}

.early-close__details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
}

.early-close__details > div + div {
  border-top: 1px solid #1c1c1c;
}

.early-close__details span {
  color: #666;
  font-size: 10px;
}

.early-close__details strong {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.early-close__details .accent {
  color: #0c75f7;
}

.early-close__fee {
  color: #d76666 !important;
}


/* notice */

.early-close__notice {
  margin-top: 8px;
  padding: 10px 12px;
  color: #666;
  font-size: 9px;
  line-height: 1.45;
  background: #121212;
  border-radius: 12px;
}


/* actions */

.early-close__actions {
  display: grid;
  @grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  margin-top: 12px;
}

.early-close__actions button {
  height: 46px;
  padding: 0 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.early-close__cancel {
  color: #aaa;
  background: #191919;
}

.early-close__submit {
  color: #fff;
  background: #0c75f7;
}

.early-close__cancel:active {
  background: #202020;
}

.early-close__submit:active {
  background: #0969dc;
}

.insufficient-funds {
  padding-top: 14px;
}

.insufficient-funds__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 13px;
  color: #0c75f7;
  background: #191919;
  border-radius: 14px;
}

.insufficient-funds__icon svg {
  width: 23px;
  height: 23px;
}

.insufficient-funds .sheet-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.insufficient-funds .sheet-desc {
  max-width: 340px;
  margin: 7px auto 18px;
  color: #666;
  font-size: 11px;
  line-height: 1.45;
}


/* balance */

.insufficient-funds__balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.insufficient-funds__balance > div {
  min-width: 0;
  padding: 11px 12px;
  background: rgba(255,255,255,.02);
  border-radius: 13px;
}

.insufficient-funds__balance span {
  display: block;
  color: #666;
  font-size: 8px;
}

.insufficient-funds__balance strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* missing */

.insufficient-funds__missing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding: 12px;
  gap: 10px;
  background: rgba(255,255,255,.02);
  border-radius: 13px;
}

.insufficient-funds__missing span {
  color: #777;
  font-size: 9px;
}

.insufficient-funds__missing strong {
  color: #d76666;
  font-size: 12px;
  font-weight: 600;
}


/* actions */

.insufficient-funds__actions {
  display: grid;
  @grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  margin-top: 12px;
}

.insufficient-funds__actions button {
  height: 43px;
  padding: 0 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.insufficient-funds__close {
  color: #aaa;
  background: #191919;
}

.insufficient-funds__deposit {
  color: #fff;
  background: #0c75f7;
}

.insufficient-funds__close:active {
  background: #202020;
}

.insufficient-funds__deposit:active {
  background: #0969dc;
}

.modal-loader .modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  padding: 0;
  background: rgba(8, 8, 8, .94);
  overflow: hidden;
}

.app-loader {
  --color-1: #fff;
  --size: 1px;

  width: calc(48 * var(--size));
  height: calc(48 * var(--size));
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}
.app-loader::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: calc(5 * var(--size)) solid var(--color-1);
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}


.toast-container {
  position: fixed;
  top: max(
    12px,
    var(--tg-safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  left: 50%;
  z-index: 999999;
  display: flex;
  width: min(320px, calc(100% - 24px));
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.toast-item {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 9px 32px 9px 10px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity .18s ease,
    transform .22s cubic-bezier(.2, .8, .2, 1);
  pointer-events: auto;
  box-sizing: border-box;
}

.toast-item.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.hide {
  opacity: 0;
  transform: translateY(-6px);
}


/* success */

.toast-success {
  background: #10251c;
  border-color: rgba(50, 215, 130, .16);
}

.toast-success .toast-icon {
  color: #35d98a;
}


/* error */

.toast-error {
  background: #281414;
  border-color: rgba(235, 90, 90, .16);
}

.toast-error .toast-icon {
  color: #eb6262;
}


/* icon */

.toast-icon {
  display: flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  font-weight: 600;
}

.toast-icon svg {
  width: 17px;
  height: 17px;
}


/* message */

.toast-message {
  min-width: 0;
  flex: 1;
  color: rgba(255, 255, 255, .9);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
  overflow-wrap: anywhere;
}


/* close */

.toast-close {
  position: absolute;
  top: 50%;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: rgba(255, 255, 255, .42);
  font: inherit;
  font-size: 15px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-tap-highlight-color: transparent;
}

.toast-close:active {
  color: #fff;
}


.pin-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 8px 4px 20px;
  box-sizing: border-box;
}

.pin-screen__head {
  text-align: center;
}

.pin-screen__head > span {
  color: #666;
  font-size: 9px;
  letter-spacing: .04em;
}

.pin-screen__head h1 {
  margin: 5px 0 7px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.pin-screen__head p {
  max-width: 330px;
  margin: 0 auto;
  color: #777;
  font-size: 10px;
  line-height: 1.45;
}


/* shield */

.pin-screen__shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 28px auto 20px;
  color: #0c75f7;
  background: #121212;
  border: 1px solid #1c1c1c;
  border-radius: 20px;
}

.pin-screen__shield svg {
  width: 30px;
  height: 30px;
}


/* dots */

.pin-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 34px;
}

.pin-dots i {
  width: 9px;
  height: 9px;
  background: #292929;
  border-radius: 50%;
  transition:
    background .15s ease,
    transform .15s ease;
}

.pin-dots i.active {
  background: #0c75f7;
  transform: scale(1.08);
}


/* keypad */

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  justify-content: center;
  gap: 16px 22px;
  margin-top: auto;
}

.pin-keypad button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  background: #121212;
  border: 1px solid #1c1c1c;
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform .12s ease,
    background .12s ease;
  -webkit-tap-highlight-color: transparent;
}

.pin-keypad button:active {
  background: #191919;
  transform: scale(.94);
}

.pin-keypad__bio,
.pin-keypad__remove {
  color: #777 !important;
}

.pin-keypad__bio svg,
.pin-keypad__remove svg {
  width: 23px;
  height: 23px;
}


/* small */

@media (max-height: 700px) {
  .pin-screen__shield {
    margin-top: 18px;
    margin-bottom: 16px;
  }

  .pin-dots {
    margin-bottom: 24px;
  }

  .pin-keypad {
    grid-template-columns: repeat(3, 64px);
    gap: 13px 20px;
  }

  .pin-keypad button {
    width: 64px;
    height: 64px;
  }
}


.channel-invite {
  padding-top: 14px;
}

.channel-invite__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 13px;
  color: #0c75f7;
  background: #191919;
  border-radius: 14px;
}

.channel-invite__icon svg {
  width: 23px;
  height: 23px;
}

.channel-invite .sheet-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.channel-invite .sheet-desc {
  max-width: 340px;
  margin: 7px auto 18px;
  color: #666;
  font-size: 11px;
  line-height: 1.45;
}

.channel-invite__actions {
  display: grid;
  @grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.channel-invite__actions > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.channel-invite__close {
  color: #aaa;
  background: #191919;
}

.channel-invite__join {
  color: #fff;
  background: #0c75f7;
}

.channel-invite__close:active {
  background: #202020;
}

.channel-invite__join:active {
  background: #0969dc;
}


.withdraw-complete {
  padding-top: 14px;
}

.withdraw-complete__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 13px;
  color: #19e68c;
  background: #191919;
  border-radius: 14px;
}

.withdraw-complete__icon svg {
  width: 23px;
  height: 23px;
}

.withdraw-complete__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 18px;
}

.withdraw-complete__info > div {
  padding: 11px 12px;
  background: #121212;
  border-radius: 13px;
}

.withdraw-complete__info span {
  display: block;
  color: #666;
  font-size: 8px;
}

.withdraw-complete__info strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-complete__tx {
  grid-column: 1 / -1;
}

.withdraw-complete__actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.withdraw-complete__actions > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  color: #aaa;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  text-decoration: none;
  background: #191919;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.withdraw-complete__actions a {
  width: 100%;
  color: #fff;
  background: #0c75f7;
}



.promo {
  width: 100%;
}


/* activate */

.promo-activate {
  padding: 14px;
  background: #121212;
  border-radius: 18px;
}

.promo-activate__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
  color: #0c75f7;
  background: #191919;
  border-radius: 13px;
}

.promo-activate__icon svg {
  width: 21px;
  height: 21px;
}

.promo-activate__head strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.promo-activate__head span {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 9px;
  line-height: 1.4;
}


/* input */

.promo-field {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 13px;
  padding: 6px;
  gap: 7px;
  background: #191919;
  border-radius: 14px;
}

.promo-field input {
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 8px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  background: transparent;
  border: 0;
  outline: 0;
  text-transform: uppercase;
}

.promo-field input::placeholder {
  color: #555;
  text-transform: none;
}

.promo-submit {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 550;
  background: #0c75f7;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.promo-submit:active {
  background: #0969dc;
}


/* history title */

.promo-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 20px 2px 9px;
  gap: 10px;
}

.promo-history-head span {
  display: block;
  color: #666;
  font-size: 8px;
}

.promo-history-head strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
}

.promo-history-head small {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  color: #888;
  font-size: 9px;
  background: #121212;
  border-radius: 9px;
}


/* history */

.promo-history {
  overflow: hidden;
  background: #121212;
  border-radius: 17px;
}

.promo-history__item {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px;
  gap: 9px;
}

.promo-history__item + .promo-history__item {
  border-top: 1px solid #1e1e1e;
}

.promo-history__icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #19e68c;
  background: #191919;
  border-radius: 11px;
}

.promo-history__icon svg {
  width: 17px;
  height: 17px;
}

.promo-history__info {
  min-width: 0;
  flex: 1;
}

.promo-history__info strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-history__info span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-history__reward {
  flex: 0 0 auto;
  text-align: right;
}

.promo-history__reward strong {
  display: block;
  color: #0c75f7;
  font-size: 10px;
  font-weight: 600;
}

.promo-history__reward span {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 8px;
}


/* empty */

.promo-history-empty {
  padding: 26px 16px;
  text-align: center;
  background: #121212;
  border-radius: 17px;
}

.promo-history-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 11px;
  color: #666;
  background: #191919;
  border-radius: 13px;
}

.promo-history-empty__icon svg {
  width: 20px;
  height: 20px;
}

.promo-history-empty > strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}

.promo-history-empty > span {
  display: block;
  max-width: 260px;
  margin: 5px auto 0;
  color: #666;
  font-size: 9px;
  line-height: 1.45;
}

.security-sheet__head {
  margin-bottom: 16px;
}

.security-sheet__head > span {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
}

.security-sheet__head h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
}

.security-sheet__head p {
  max-width: 340px;
  margin: 6px 0 0;
  color: #666;
  font-size: 10px;
  line-height: 1.45;
}
.security-menu {
  overflow: hidden;
  background: #121212;
  border-radius: 18px;
}

.security-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 11px;
  gap: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

button.security-menu__item {
  cursor: pointer;
}

button.security-menu__item:active {
  background: #161616;
}

.security-menu__item + .security-menu__item {
  border-top: 1px solid #1e1e1e;
}


/* icon */

.security-menu__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  color: #888;
  background: #191919;
  border-radius: 12px;
}

.security-menu__icon svg {
  width: 20px;
  height: 20px;
}


/* text */

.security-menu__item > div:not(.security-menu__right) {
  min-width: 0;
  flex: 1;
}

.security-menu__item > div:not(.security-menu__right) > strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-menu__item > div:not(.security-menu__right) > span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* right */

.security-menu__right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.security-menu__status {
  padding: 4px 7px;
  color: #19e68c;
  font-size: 7px;
  font-weight: 550;
  background: rgba(25, 230, 140, .08);
  border-radius: 7px;
}

.security-menu__arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #555;
}

.security-menu__info {
  min-width: 0;
  flex: 1;
}

.security-menu__info strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-menu__info span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.support-sheet__head {
  margin-bottom: 14px;
}

.support-sheet__head > span {
  display: block;
  color: #666;
  font-size: 8px;
  letter-spacing: .04em;
}

.support-sheet__head h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}

.support-sheet__head p {
  max-width: 360px;
  margin: 5px 0 0;
  color: #666;
  font-size: 9px;
  line-height: 1.45;
}


/* agent */

.support-agent {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 11px;
  background: #121212;
  border-radius: 17px;
}

.support-agent__avatar {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #0c75f7;
  background: rgba(12, 117, 247, .08);
  border-radius: 13px;
}

.support-agent__avatar svg {
  width: 22px;
  height: 22px;
}

.support-agent__info {
  min-width: 0;
  flex: 1;
}

.support-agent__info > span {
  display: block;
  color: #666;
  font-size: 8px;
}

.support-agent__info > strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-agent__info small {
  display: flex;
  align-items: center;
  margin-top: 4px;
  gap: 4px;
  color: #777;
  font-size: 7px;
}

.support-agent__info small i {
  display: block;
  width: 5px;
  height: 5px;
  background: #22c982;
  border-radius: 50%;
}


/* contacts */

.support-contacts {
  overflow: hidden;
  margin-top: 8px;
  background: #121212;
  border-radius: 17px;
}

.support-contact {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.support-contact + .support-contact {
  border-top: 1px solid #1e1e1e;
}

.support-contact__icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #888;
  background: #191919;
  border-radius: 11px;
}

.support-contact__icon svg {
  width: 18px;
  height: 18px;
}

.support-contact > div {
  min-width: 0;
  flex: 1;
}

.support-contact > div span {
  display: block;
  color: #666;
  font-size: 8px;
}

.support-contact > div strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-contact__arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #444;
}

.support-contact:active {
  background: #161616;
}


/* note */

.support-sheet__note {
  display: flex;
  align-items: flex-start;
  margin-top: 8px;
  padding: 10px 11px;
  gap: 8px;
  color: #666;
  background: #121212;
  border-radius: 13px;
}

.support-sheet__note svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.support-sheet__note span {
  font-size: 8px;
  line-height: 1.45;
}


.documents-sheet__head {
  margin-bottom: 14px;
}

.documents-sheet__head > span {
  display: block;
  color: #666;
  font-size: 8px;
  letter-spacing: .04em;
}

.documents-sheet__head h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}

.documents-sheet__head p {
  max-width: 340px;
  margin: 5px 0 0;
  color: #666;
  font-size: 9px;
  line-height: 1.45;
}


/* list */

.documents-list {
  overflow: hidden;
  background: #121212;
  border-radius: 18px;
}

.documents-item {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  gap: 10px;
}

.documents-item + .documents-item {
  border-top: 1px solid #1e1e1e;
}


/* icon */

.documents-item__icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #888;
  background: #191919;
  border-radius: 12px;
}

.documents-item__icon svg {
  width: 19px;
  height: 19px;
}

.documents-item__icon--certificate {
  color: #0c75f7;
}


/* info */

.documents-item__info {
  min-width: 0;
  flex: 1;
}

.documents-item__info strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.documents-item__info span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* actions */

.documents-item__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.documents-item__download {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #777;
  background: #191919;
  border-radius: 9px;
  text-decoration: none;
}

.documents-item__download svg {
  width: 15px;
  height: 15px;
}

.documents-item__verify {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 9px;
  color: #0c75f7;
  font-size: 8px;
  font-weight: 550;
  text-decoration: none;
  background: rgba(12, 117, 247, .08);
  border-radius: 9px;
}

.documents-item__download:active {
  background: #202020;
}

.documents-item__verify:active {
  background: rgba(12, 117, 247, .13);
}


.onboarding-modal .modal-content {
  padding: 0;
  overflow: hidden;
  background: #080808;
}

.onboarding {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding:
    calc(18px + var(--tg-content-safe-area-inset-top, 0px))
    18px
    calc(18px + var(--tg-safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}


/* brand */

.onboarding-brand {
  display: flex;
  align-items: center;
  height: 32px;
  gap: 7px;
}

.onboarding-brand__icon {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 6px;
}

.onboarding-brand strong {
  font-size: 15px;
  font-weight: 600;
}


/* slides */

.onboarding-slides {
  position: relative;
  flex: 1;
  min-height: 0;
}

.onboarding-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity .3s ease,
    transform .35s cubic-bezier(.2,.8,.2,1),
    visibility .3s;
}

.onboarding-slide.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}


/* visual */

.onboarding-visual {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 18px 0 10px;
}

.onboarding-visual img {
  display: block;
  width: 100%;
  max-width: 390px;
  max-height: 100%;
  object-fit: contain;
}


/* text */

.onboarding-text {
  flex: 0 0 auto;
  max-width: 390px;
  margin: 0 auto;
  text-align: center;
}

.onboarding-text h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.025em;
}

.onboarding-text p {
  max-width: 330px;
  margin: 12px auto 0;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}


/* dots */

.onboarding-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  gap: 5px;
}

.onboarding-dots i {
  display: block;
  width: 6px;
  height: 6px;
  background: #444;
  border-radius: 10px;
  transition:
    width .2s ease,
    background .2s ease;
}

.onboarding-dots i.active {
  width: 20px;
  background: #fff;
}


/* actions */

.onboarding-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.onboarding-skip {
  min-width: 92px;
  height: 48px;
  padding: 0 18px;
  color: #aaa;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  background: #121212;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
}

.onboarding-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #080808;
  background: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s ease;
}

.onboarding-next svg {
  width: 21px;
  height: 21px;
}

.onboarding-next:active {
  transform: scale(.94);
}


@media (max-height: 680px) {
  .onboarding-visual {
    padding-top: 8px;
  }

  .onboarding-text h2 {
    font-size: 23px;
  }

  .onboarding-text p {
    margin-top: 8px;
  }

  .onboarding-dots {
    height: 30px;
  }
}


.button-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.button-loader i {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: buttonLoader .65s linear infinite;
}

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


.modal--web-login {
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal--web-login .modal-content {
  width: 800px;
  max-width: calc(100vw - 40px);

  height: 620px;
  max-height: calc(100dvh - 40px);

  padding: 0;

  overflow: hidden;

  background: #0b0b0b;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;

  box-shadow:
    0 35px 100px rgba(0,0,0,.55);

  animation: webLoginModalShow .3s cubic-bezier(.22,.8,.2,1);
}

.modal--web-login .modal-close {
  top: 16px;
  right: 16px;

  color: #888;

  background: rgba(20,20,20,.78);

  backdrop-filter: blur(12px);

  z-index: 20;
}

.web-login {
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;
  height: 100%;
}


/* MEDIA */

.web-login__media {
  position: relative;

  min-width: 0;

  overflow: hidden;

  background: #080808;
}

.web-login__video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.web-login__media-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.05) 40%,
      rgba(0,0,0,.78) 100%
    ),
    linear-gradient(
      90deg,
      rgba(12,117,247,.10),
      transparent 55%
    );
}

.web-login__media-brand {
  position: absolute;
  top: 24px;
  left: 24px;

  z-index: 3;

  display: flex;
  align-items: center;

  gap: 10px;
}

.web-login__media-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  padding: 6px;

  background: #fff;

  border-radius: 11px;
}

.web-login__media-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.web-login__media-brand strong,
.web-login__media-brand span {
  display: block;
}

.web-login__media-brand strong {
  font-size: 11px;
  font-weight: 600;
}

.web-login__media-brand span {
  margin-top: 3px;

  color: rgba(255,255,255,.55);

  font-size: 6px;
}


.web-login__media-copy {
  position: absolute;

  right: 28px;
  bottom: 32px;
  left: 28px;

  z-index: 3;
}

.web-login__media-copy > span {
  display: block;

  color: #79b8ff;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: .13em;
}

.web-login__media-copy h2 {
  margin: 10px 0 0;

  color: #fff;

  font-size: 32px;
  line-height: 1.04;

  font-weight: 600;

  letter-spacing: -.04em;
}

.web-login__media-copy p {
  max-width: 290px;

  margin: 12px 0 0;

  color: rgba(255,255,255,.58);

  font-size: 9px;
  line-height: 1.55;
}

.web-login__auth {
  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 28px 34px 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.012),
      transparent 35%
    ),
    #101010;
}


.web-login__auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.web-login__auth-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.web-login__language {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  height: 34px;
  padding: 0 10px;
  gap: 6px;

  color: #888;
  font: inherit;

  background: #191919;
  border: 0;
  border-radius: 10px;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.web-login__language svg {
  width: 14px;
  height: 14px;
}

.web-login__language span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
}

.web-login__language:hover {
  color: #fff;
  background: #202020;
}

.web-login__language:active {
  transform: scale(.97);
}

.web-login__auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  padding: 5px;

  background: transparent;

  border-radius: 9px;
}

.web-login__auth-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.web-login__auth-top > span {
  color: #666;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: .13em;
}


/* center */

.web-login__auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;

  flex: 1;
}

.web-login__auth-title > span {
  display: block;

  color: #0c75f7;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: .13em;
}

.web-login__auth-title h2 {
  margin: 9px 0 0;

  font-size: 31px;
  line-height: 1.08;

  font-weight: 600;

  letter-spacing: -.035em;
}

.web-login__auth-title p {
  max-width: 310px;

  margin: 11px 0 0;

  color: #777;

  font-size: 10px;
  line-height: 1.55;
}

.web-login__telegram {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 60px;

  margin-top: 28px;
  padding: 8px 13px 8px 8px;

  gap: 11px;

  color: #fff;

  font: inherit;
  text-align: left;

  background: #0c75f7;

  border: 0;
  border-radius: 15px;

  cursor: pointer;

  box-shadow:
    0 14px 34px rgba(12,117,247,.18);

  transition:
    transform .18s ease,
    background .18s ease;
}

.web-login__telegram:hover {
  background: #1680ff;
}

.web-login__telegram:active {
  transform: scale(.992);
}


.web-login__telegram-icon {
  display: flex;
  flex: 0 0 44px;

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

  width: 44px;
  height: 44px;

  background: rgba(255,255,255,.12);

  border-radius: 12px;
}

.web-login__telegram-icon svg {
  width: 20px;
  height: 20px;
}


.web-login__telegram-text {
  min-width: 0;

  flex: 1;
}

.web-login__telegram-text strong,
.web-login__telegram-text small {
  display: block;
}

.web-login__telegram-text strong {
  font-size: 10px;
  font-weight: 600;
}

.web-login__telegram-text small {
  margin-top: 3px;

  color: rgba(255,255,255,.62);

  font-size: 7px;
}


.web-login__telegram-arrow {
  flex: 0 0 16px;

  width: 16px;
  height: 16px;

  color: rgba(255,255,255,.68);
}

.web-login__security {
  display: flex;
  align-items: center;

  margin-top: 14px;

  gap: 7px;

  color: #5e5e5e;
}

.web-login__security svg {
  flex: 0 0 15px;

  width: 15px;
  height: 15px;
}

.web-login__security span {
  font-size: 7px;
  line-height: 1.4;
}


.web-login__footer {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 8px 14px;
}

.web-login__footer a {
  color: #5f5f5f;

  font-size: 7px;

  text-decoration: none;
}

.web-login__footer a:hover {
  color: #aaa;
}

@media (max-width: 700px) {

  .modal--web-login {
    padding: 0;
    align-items: flex-start;
  }

  .modal--web-login .modal-content {
    width: 100%;
    max-width: none;

    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;

    padding: 0;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;

    border: 0;
    border-radius: 0;
  }


  .web-login {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;

    min-height: 100dvh;
    height: auto;
  }


  /* video becomes full background */

  .web-login__media {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    min-height: 100dvh;

    pointer-events: none;
  }


  .web-login__media-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.08) 0%,
        rgba(0,0,0,.18) 36%,
        rgba(8,8,8,.80) 70%,
        #080808 100%
      );
  }


  .web-login__media-brand,
  .web-login__media-copy {
    display: none;
  }


  /* login content over video */

  .web-login__auth {
    position: relative;

    z-index: 5;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    min-height: 100dvh;
    height: auto;

    margin: 0;

    padding:
      calc(
        20px +
        env(safe-area-inset-top, 0px) +
        var(--tg-safe-area-inset-top, 0px)
      )
      14px
      calc(
        24px +
        env(safe-area-inset-bottom, 0px) +
        var(--tg-safe-area-inset-bottom, 0px)
      );

    background: transparent;

    box-sizing: border-box;
  }


  .web-login__auth-top {
    flex: 0 0 auto;

    margin-top: 10px;
  }


  .web-login__auth-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    flex: 1 0 auto;

    min-height: 420px;

    margin-top: auto;
    padding-top: 90px;
  }


  .web-login__auth-title {
    margin-bottom: 20px;
  }


  .web-login__auth-title h2 {
    max-width: 320px;

    font-size: 27px;
  }


  .web-login__auth-title p {
    max-width: 300px;

    color: #aaa;
  }


  .web-login__telegram {
    flex: 0 0 auto;

    margin-top: 0;
  }


  .web-login__security {
    flex: 0 0 auto;

    justify-content: center;

    color: #777;
  }


  .web-login__footer {
    flex: 0 0 auto;

    margin-top: 18px;
    padding-bottom: 4px;
  }


  .modal--web-login .modal-close {
    position: fixed;

    top: calc(
      14px +
      env(safe-area-inset-top, 0px) +
      var(--tg-safe-area-inset-top, 0px)
    );

    right: 14px;

    background: rgba(10,10,10,.45);

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

    z-index: 30;
  }

}

@keyframes webLoginModalShow {

  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}



/* LIGHT THEME */

html[data-theme="light"] body {
  background: #f5f6f8;
  color: #16181d;
}

html[data-theme="light"] .app {
  color: #16181d;
}


/* NAVIGATION */

html[data-theme="light"] .nav {
  background: rgba(255,255,255,.96);
  border-top-color: #e7e9ed;
}

html[data-theme="light"] .nav button {
  color: #9298a3;
}

html[data-theme="light"] .nav button.active {
  color: #17191e;
}


/* MAIN CARDS */

html[data-theme="light"] .home-card,
html[data-theme="light"] .balance-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .action-card,
html[data-theme="light"] .mini-deposits-empty,
html[data-theme="light"] .home-package,
html[data-theme="light"] .operation,
html[data-theme="light"] .operations-empty,
html[data-theme="light"] .portfolio-summary,
html[data-theme="light"] .portfolio-summary__stats > div,
html[data-theme="light"] .deposit-card,
html[data-theme="light"] .trade-card,
html[data-theme="light"] .analytics-pool,
html[data-theme="light"] .analytics-profit,
html[data-theme="light"] .analytics-pagination,
html[data-theme="light"] .profile-card,
html[data-theme="light"] .profile-overview__main,
html[data-theme="light"] .profile-overview__stats > div,
html[data-theme="light"] .profile-partners,
html[data-theme="light"] .profile-promo,
html[data-theme="light"] .profile-menu,
html[data-theme="light"] .profile-logout,
html[data-theme="light"] .security-summary,
html[data-theme="light"] .security-session,
html[data-theme="light"] .security-danger,
html[data-theme="light"] .notifications-list,
html[data-theme="light"] .language-list,
html[data-theme="light"] .language-search,
html[data-theme="light"] .promo-activate,
html[data-theme="light"] .promo-history,
html[data-theme="light"] .promo-history-empty,
html[data-theme="light"] .promo-history-head small,
html[data-theme="light"] .security-menu {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16,24,40,.025);
}
html[data-theme="light"] .action-card {
  color: #000;
}

/* SECONDARY SURFACES */

html[data-theme="light"] .stat-card__icon,
html[data-theme="light"] .mini-deposits-empty__icon,
html[data-theme="light"] .home-package__icon,
html[data-theme="light"] .operation__icon,
html[data-theme="light"] .operations-empty__icon,
html[data-theme="light"] .deposit-plan,
html[data-theme="light"] .deposit-meta > div,
html[data-theme="light"] .deposit-bottom button,
html[data-theme="light"] .analytics-pool__period,
html[data-theme="light"] .analytics-profit__badge,
html[data-theme="light"] .analytics-profit__bottom > div,
html[data-theme="light"] .analytics-pagination button,
html[data-theme="light"] .profile-avatar,
html[data-theme="light"] .profile-edit,
html[data-theme="light"] .profile-partners__icon,
html[data-theme="light"] .profile-promo__icon,
html[data-theme="light"] .profile-menu__icon,
html[data-theme="light"] .security-summary__icon,
html[data-theme="light"] .security-device__icon,
html[data-theme="light"] .security-session__details > div,
html[data-theme="light"] .security-session__close,
html[data-theme="light"] .security-close-all,
html[data-theme="light"] .language-item__flag,
html[data-theme="light"] .language-item__check,
html[data-theme="light"] .language-search__clear,
html[data-theme="light"] .promo-activate__icon,
html[data-theme="light"] .promo-history__icon,
html[data-theme="light"] .promo-history-empty__icon,
html[data-theme="light"] .security-menu__icon {
  background: #f1f3f6;
}


/* TEXT */

html[data-theme="light"] .home-user__name,
html[data-theme="light"] .home-package,
html[data-theme="light"] .history-header,
html[data-theme="light"] .portfolio,
html[data-theme="light"] .analytics,
html[data-theme="light"] .profile,
html[data-theme="light"] .profile-partners,
html[data-theme="light"] .profile-promo,
html[data-theme="light"] .profile-menu__item,
html[data-theme="light"] .security,
html[data-theme="light"] .notifications,
html[data-theme="light"] .language-item,
html[data-theme="light"] .security-menu__item {
  color: #17191e;
}

html[data-theme="light"] .home-user__hello,
html[data-theme="light"] .home-user__username,
html[data-theme="light"] .history-header span,
html[data-theme="light"] .history-header p,
html[data-theme="light"] .operation__meta,
html[data-theme="light"] .operation__status,
html[data-theme="light"] .portfolio-header span,
html[data-theme="light"] .portfolio-title span,
html[data-theme="light"] .portfolio-header p,
html[data-theme="light"] .portfolio-summary__stats span,
html[data-theme="light"] .deposit-main__info span,
html[data-theme="light"] .deposit-profit span,
html[data-theme="light"] .deposit-progress__top span,
html[data-theme="light"] .analytics-header span,
html[data-theme="light"] .analytics-header p,
html[data-theme="light"] .analytics-pool__head span,
html[data-theme="light"] .analytics-pool__foot span,
html[data-theme="light"] .analytics-profit__head span,
html[data-theme="light"] .analytics-profit__bottom span,
html[data-theme="light"] .analytics-title span,
html[data-theme="light"] .trade-profit span,
html[data-theme="light"] .profile-header span,
html[data-theme="light"] .profile-header p,
html[data-theme="light"] .profile-user span,
html[data-theme="light"] .profile-overview__main > span,
html[data-theme="light"] .profile-partners__info span,
html[data-theme="light"] .profile-promo__info span {
  color: #7b818b;
}

html[data-theme="light"] .mini-deposits-empty__content span,
html[data-theme="light"] .home-package__info span,
html[data-theme="light"] .home-package__progress span,
html[data-theme="light"] .deposit-meta span,
html[data-theme="light"] .trade-time,
html[data-theme="light"] .trade-pair span,
html[data-theme="light"] .trade-info span,
html[data-theme="light"] .profile-section-title,
html[data-theme="light"] .profile-menu__item > div > span,
html[data-theme="light"] .notification-item span,
html[data-theme="light"] .promo-activate__head span,
html[data-theme="light"] .promo-history-head span,
html[data-theme="light"] .promo-history__info span,
html[data-theme="light"] .promo-history__reward span,
html[data-theme="light"] .security-section__title {
  color: #9298a3;
}


/* ACTIVE / TAP */

html[data-theme="light"] .home-package:active,
html[data-theme="light"] .profile-partners:active,
html[data-theme="light"] .profile-promo:active,
html[data-theme="light"] .profile-menu__item:active,
html[data-theme="light"] .profile-logout:active,
html[data-theme="light"] button.security-menu__item:active {
  background: #f5f6f8;
}


/* BORDERS */

html[data-theme="light"] .profile-menu__item + .profile-menu__item,
html[data-theme="light"] .notification-item + .notification-item,
html[data-theme="light"] .language-item + .language-item,
html[data-theme="light"] .early-close__details > div + div,
html[data-theme="light"] .trade-info,
html[data-theme="light"] .analytics-pool__foot,
html[data-theme="light"] .deposit-bottom {
  border-color: #e8eaee;
}


/* PROGRESS */

html[data-theme="light"] .home-package__bar,
html[data-theme="light"] .deposit-progress__bar {
  background: #e8ebef;
}

html[data-theme="light"] .profit-gauge__bg {
  stroke: #e8ebef;
}

html[data-theme="light"] .analytics-day__track {
  background: #eef0f3;
}

html[data-theme="light"] .analytics-day__bar {
  background: #dce0e5;
}

html[data-theme="light"] .analytics-day__bar::after {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,.13) 0,
    rgba(0,0,0,.13) 1px,
    transparent 1px,
    transparent 4px
  );
}

html[data-theme="light"] .analytics-day.active .analytics-day__value {
  color: #17191e;
}

html[data-theme="light"] .analytics-day.active > span {
  color: #555b65;
}


/* MODALS */

html[data-theme="light"] .modal {
  background: #f5f6f8;
}

html[data-theme="light"] .modal-content {
  color: #17191e;
  background: #f5f6f8;
}

html[data-theme="light"] .modal-action {
  background: #f5f6f8;
}

html[data-theme="light"] .modal-head h1,
html[data-theme="light"] .sheet-title {
  color: #17191e;
}

html[data-theme="light"] .modal-head p,
html[data-theme="light"] .sheet-desc {
  color: #7b818b;
}

html[data-theme="light"] .modal-head__eyebrow {
  color: #9298a3;
}

html[data-theme="light"] .modal-close,
html[data-theme="light"] .modal-back {
  color: #747b86;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
}

html[data-theme="light"] .modal-close:active,
html[data-theme="light"] .modal-back:active {
  background: #edf0f4;
}

html[data-theme="light"] .modal-sheet_content {
  color: #17191e;
  background: #ffffff;
}

html[data-theme="light"] .modal-sheet_close,
html[data-theme="light"] .modal-sheet_back {
  color: #747b86;
  background: #f1f3f6;
}


/* COINS */

html[data-theme="light"] .coin-select__current,
html[data-theme="light"] .coin-card,
html[data-theme="light"] .amount-field {
  color: #17191e;
  background: #ffffff;
}

html[data-theme="light"] .coin-select__list {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(16,24,40,.12);
}

html[data-theme="light"] .coin-select__item {
  color: #17191e;
}

html[data-theme="light"] .coin-card.active {
  background: #f2f7ff;
  border-color: rgba(12,117,247,.38);
}

html[data-theme="light"] .coin-card span,
html[data-theme="light"] .coin-select__info small,
html[data-theme="light"] .coin-select__item small {
  color: #858b95;
}


/* DEPOSIT / PAYMENT */

html[data-theme="light"] .deposit-quote,
html[data-theme="light"] .payment-status,
html[data-theme="light"] .payment-asset,
html[data-theme="light"] .payment-field,
html[data-theme="light"] .payment-warning,
html[data-theme="light"] .payment-result {
  background: #ffffff;
}

html[data-theme="light"] .deposit-quote__row span,
html[data-theme="light"] .deposit-quote__result > span,
html[data-theme="light"] .payment-status span,
html[data-theme="light"] .payment-asset span,
html[data-theme="light"] .payment-field > span,
html[data-theme="light"] .payment-warning,
html[data-theme="light"] .payment-result span {
  color: #7b818b;
}


/* INVEST */

html[data-theme="light"] .invest-plan,
html[data-theme="light"] .invest-amount,
html[data-theme="light"] .invest-calc,
html[data-theme="light"] .invest-success__icon,
html[data-theme="light"] .invest-success__amount,
html[data-theme="light"] .invest-success__details > div,
html[data-theme="light"] .invest-success__next {
  background: #ffffff;
  color: #17191e;
}

html[data-theme="light"] .invest-plan.active {
  background: #f2f7ff;
  border-color: #0c75f7;
}

html[data-theme="light"] .invest-plan__icon,
html[data-theme="light"] .invest-amount button,
html[data-theme="light"] .invest-calc__receive {
  background: #f1f3f6;
}

html[data-theme="light"] .invest-amount input {
  color: #17191e;
}

html[data-theme="light"] .invest-plan__info span,
html[data-theme="light"] .invest-plan__rate span,
html[data-theme="light"] .invest-calc__row span,
html[data-theme="light"] .invest-calc__receive span,
html[data-theme="light"] .invest-success__head p,
html[data-theme="light"] .invest-success__details span {
  color: #7b818b;
}


/* WITHDRAW */

html[data-theme="light"] .withdraw-address,
html[data-theme="light"] .withdraw-amount,
html[data-theme="light"] .withdraw-calc,
html[data-theme="light"] .withdraw-warning,
html[data-theme="light"] .withdraw-success__icon,
html[data-theme="light"] .withdraw-success__amount,
html[data-theme="light"] .withdraw-success__details > div,
html[data-theme="light"] .withdraw-success__address,
html[data-theme="light"] .withdraw-request-success__details > div,
html[data-theme="light"] .withdraw-request-success__review {
  background: #ffffff;
}

html[data-theme="light"] .withdraw-address input,
html[data-theme="light"] .withdraw-amount input,
html[data-theme="light"] .withdraw-amount strong,
html[data-theme="light"] .withdraw-calc__row strong,
html[data-theme="light"] .withdraw-calc__spent strong,
html[data-theme="light"] .withdraw-success__head h2,
html[data-theme="light"] .withdraw-success__amount strong,
html[data-theme="light"] .withdraw-success__details strong,
html[data-theme="light"] .withdraw-success__address strong {
  color: #17191e;
}

html[data-theme="light"] .withdraw-address__paste,
html[data-theme="light"] .withdraw-amount button,
html[data-theme="light"] .withdraw-calc__spent,
html[data-theme="light"] .withdraw-request-success__icon,
html[data-theme="light"] .withdraw-request-success__close {
  background: #f1f3f6;
}


/* PARTNERS */

html[data-theme="light"] .partners-summary,
html[data-theme="light"] .partner-inviter,
html[data-theme="light"] .partner-link,
html[data-theme="light"] .partner-level__percent,
html[data-theme="light"] .partner-level__stats > div,
html[data-theme="light"] .partner-users,
html[data-theme="light"] .partner-level__more,
html[data-theme="light"] .partners-list-stats > div,
html[data-theme="light"] .partners-load-more,
html[data-theme="light"] .partners-search {
  background: #ffffff;
}

html[data-theme="light"] .partners-summary__stats > div,
html[data-theme="light"] .partner-inviter__avatar,
html[data-theme="light"] .partner-link__copy,
html[data-theme="light"] .partner-weblink__copy,
html[data-theme="light"] .partner-user > img,
html[data-theme="light"] .partners-search__clear {
  background: #f1f3f6;
}

html[data-theme="light"] .partners-search input {
  color: #17191e;
}


/* HISTORY DETAILS */

html[data-theme="light"] .operation-view__icon,
html[data-theme="light"] .operation-view__status,
html[data-theme="light"] .operation-view__summary,
html[data-theme="light"] .operation-view__details,
html[data-theme="light"] .operation-view__explorer {
  background: #ffffff;
}

html[data-theme="light"] .operation-view__asset-icon,
html[data-theme="light"] .operation-view__network,
html[data-theme="light"] .operation-copy {
  background: #f1f3f6;
}

html[data-theme="light"] .operation-view__type,
html[data-theme="light"] .operation-view__asset span,
html[data-theme="light"] .operation-view__row span,
html[data-theme="light"] .operation-view__section-title,
html[data-theme="light"] .operation-view__detail > span {
  color: #7b818b;
}


/* SECURITY */

html[data-theme="light"] .security-danger__text strong {
  color: #17191e;
}

html[data-theme="light"] .security-summary__info span,
html[data-theme="light"] .security-summary__info small,
html[data-theme="light"] .security-session__details span,
html[data-theme="light"] .security-danger__text span {
  color: #7b818b;
}

html[data-theme="light"] .security-close-all {
  background: #f1f3f6;
}


/* LANGUAGES */

html[data-theme="light"] .language-item {
  color: #17191e;
}

html[data-theme="light"] .language-item:active {
  background: #f4f6f8;
}

html[data-theme="light"] .language-item__info span {
  color: #8a909a;
}

html[data-theme="light"] .language-search input {
  color: #17191e;
}

html[data-theme="light"] .language-search input::placeholder {
  color: #a0a5ad;
}


/* NOTIFICATIONS + SWITCHES */

html[data-theme="light"] .notification-switch i,
html[data-theme="light"] .profile-switch i {
  background: #d9dde3;
}

html[data-theme="light"] .notification-switch i::after,
html[data-theme="light"] .profile-switch i::after {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16,24,40,.18);
}

html[data-theme="light"] .notification-switch input:checked + i,
html[data-theme="light"] .profile-switch input:checked + i {
  background: #0c75f7;
}


/* EARLY CLOSE */

html[data-theme="light"] .early-close__icon,
html[data-theme="light"] .early-close__cancel {
  background: #f1f3f6;
}

html[data-theme="light"] .early-close__details,
html[data-theme="light"] .early-close__notice {
  background: #ffffff;
}

html[data-theme="light"] .early-close__details strong {
  color: #17191e;
}

html[data-theme="light"] .early-close__details span,
html[data-theme="light"] .early-close__notice {
  color: #7b818b;
}


/* PIN */

html[data-theme="light"] .pin-screen__shield {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16,24,40,.05);
}

html[data-theme="light"] .pin-screen__head > span {
  color: #9298a3;
}

html[data-theme="light"] .pin-screen__head p {
  color: #7b818b;
}

html[data-theme="light"] .pin-keypad button {
  color: #17191e;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16,24,40,.04);
}

html[data-theme="light"] .pin-keypad button:active {
  background: #edf0f4;
}


/* PROMO */

html[data-theme="light"] .promo-field {
  background: #f1f3f6;
}

html[data-theme="light"] .promo-field input {
  color: #17191e;
}

html[data-theme="light"] .promo-field input::placeholder {
  color: #9ca2ab;
}

html[data-theme="light"] .promo-history__info span,
html[data-theme="light"] .promo-history__reward span,
html[data-theme="light"] .promo-history-empty > span {
  color: #858b95;
}


/* PLACEHOLDERS */

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #a1a6af;
}


/* TOAST */

html[data-theme="light"] .toast-item {
  box-shadow: 0 8px 28px rgba(16,24,40,.14);
}


/* SMOOTH THEME SWITCH */

body,
.nav,
.modal,
.modal-content,
.modal-action,
.home-card,
.balance-card,
.stat-card,
.action-card,
.home-package,
.operation,
.deposit-card,
.trade-card,
.analytics-pool,
.analytics-profit,
.profile-card,
.profile-menu,
.profile-menu__item,
.profile-partners,
.profile-promo,
.language-list,
.language-search,
.notifications-list,
.security-summary,
.security-session,
.promo-activate,
.promo-history {
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

html[data-theme="light"] .coin-card__icons img + img {
  background: #fff;
  border-color: #fff;
}

html[data-theme="light"] .deposit-quote__result,
html[data-theme="light"] .withdraw-calc__total,
html[data-theme="light"] .invest-calc__total,
html[data-theme="light"] .operation-view__asset,
html[data-theme="light"] .operation-view__detail,
html[data-theme="light"] .partner-user,
html[data-theme="light"] .pin-keypad button,
html[data-theme="light"] .pin-screen__shield,
html[data-theme="light"] .security-menu__item + .security-menu__item {
  border-color: rgba(0, 0, 0, .15);
}

/* =========================================
   LIGHT THEME — MISSED STYLES
   ========================================= */


/* DEPOSIT — NEW CARD */

html[data-theme="light"] .deposit-status > div {
  background: #f1f3f6;
}

html[data-theme="light"] .deposit-status span,
html[data-theme="light"] .deposit-next__info span,
html[data-theme="light"] .deposit-next__amount span,
html[data-theme="light"] .deposit-progress__bottom span {
  color: #858b95;
}

html[data-theme="light"] .deposit-status strong,
html[data-theme="light"] .deposit-next__info strong,
html[data-theme="light"] .deposit-progress__top > b {
  color: #17191e;
}

html[data-theme="light"] .deposit-next {
  background:
    linear-gradient(
      90deg,
      rgba(12,117,247,.055),
      rgba(12,117,247,.015)
    ),
    #f7f9fc;

  border-color: rgba(12,117,247,.12);
}

html[data-theme="light"] .deposit-next__icon {
  background: rgba(12,117,247,.08);
}

html[data-theme="light"] .deposit-progress {
  border-color: #e8eaee;
}


/* ANALYTICS */

html[data-theme="light"] .analytics-pool__head strong,
html[data-theme="light"] .analytics-profit__head strong,
html[data-theme="light"] .analytics-profit__bottom strong,
html[data-theme="light"] .profit-gauge__content strong,
html[data-theme="light"] .trade-pair strong,
html[data-theme="light"] .trade-info strong {
  color: #17191e;
}

html[data-theme="light"] .analytics-day__value,
html[data-theme="light"] .analytics-day > span {
  color: #9298a3;
}

html[data-theme="light"] .trade-route {
  color: #3d424a;
}

html[data-theme="light"] .trade-route svg {
  color: #9aa0a9;
}

html[data-theme="light"] .analytics-pagination button {
  color: #17191e;
}

html[data-theme="light"] .analytics-pagination button:active {
  background: #e7eaee;
}

html[data-theme="light"] .analytics-pagination button:disabled {
  color: #a2a7af;
  background: #f1f3f6;
}


/* MODAL SHEET OVERLAY */

html[data-theme="light"] .modal-sheet {
  background: rgba(20,25,35,.28);
}


/* COIN SELECT */

html[data-theme="light"] .coin-select__icon {
  background: #f1f3f6;
}

html[data-theme="light"] .coin-select__current > svg {
  color: #858b95;
}

html[data-theme="light"] .coin-select__item.active,
html[data-theme="light"] .coin-select__item:active {
  background: #f1f3f6;
}

html[data-theme="light"] .coin-select__item em {
  color: #858b95;
}


/* FORM LABEL */

html[data-theme="light"] .form-label {
  color: #7b818b;
}


/* PARTNERS */

html[data-theme="light"] .partners-summary__main strong,
html[data-theme="light"] .partners-summary__stats strong,
html[data-theme="light"] .partner-inviter__info strong,
html[data-theme="light"] .partner-link strong,
html[data-theme="light"] .partner-level__head strong,
html[data-theme="light"] .partner-level__stats strong,
html[data-theme="light"] .partner-user__info strong,
html[data-theme="light"] .partners-list-head strong,
html[data-theme="light"] .partners-list-stats strong {
  color: #17191e;
}

html[data-theme="light"] .partners-summary__main span,
html[data-theme="light"] .partners-summary__stats span,
html[data-theme="light"] .partner-inviter__info span,
html[data-theme="light"] .partner-inviter__info small,
html[data-theme="light"] .partner-link span,
html[data-theme="light"] .partner-level__head span,
html[data-theme="light"] .partner-level__stats span,
html[data-theme="light"] .partner-user__info span,
html[data-theme="light"] .partner-user__right span,
html[data-theme="light"] .partners-list-head span,
html[data-theme="light"] .partners-list-stats span {
  color: #858b95;
}

html[data-theme="light"] .partner-user + .partner-user {
  border-color: #eceef1;
}

html[data-theme="light"] .partner-level__more:active,
html[data-theme="light"] .partners-load-more:active {
  background: #f1f3f6;
}

html[data-theme="light"] .partners-search > svg {
  color: #858b95;
}


/* DOCUMENTS */

html[data-theme="light"] .documents-sheet__head h2,
html[data-theme="light"] .documents-item__info strong {
  color: #17191e;
}

html[data-theme="light"] .documents-sheet__head > span,
html[data-theme="light"] .documents-sheet__head p,
html[data-theme="light"] .documents-item__info span {
  color: #7b818b;
}

html[data-theme="light"] .documents-list {
  background: #ffffff;
}

html[data-theme="light"] .documents-item + .documents-item {
  border-color: #eceef1;
}

html[data-theme="light"] .documents-item__icon,
html[data-theme="light"] .documents-item__download {
  background: #f1f3f6;
}

html[data-theme="light"] .documents-item__download {
  color: #747b86;
}

html[data-theme="light"] .documents-item__download:active {
  background: #e7eaee;
}


/* SUPPORT */

html[data-theme="light"] .support-contact {
  color: #17191e;
  background: #ffffff;
}

html[data-theme="light"] .support-contact__icon {
  background: #f1f3f6;
}

html[data-theme="light"] .support-contact > div span {
  color: #7b818b;
}

html[data-theme="light"] .support-contact > div strong {
  color: #17191e;
}

html[data-theme="light"] .support-contact__arrow {
  color: #9aa0a9;
}

html[data-theme="light"] .support-contact:active {
  background: #f5f6f8;
}

html[data-theme="light"] .support-sheet__note {
  color: #7b818b;
  background: #f1f3f6;
}


/* ONBOARDING */

html[data-theme="light"] .onboarding-modal .modal-content {
  background: #f5f6f8;
}

html[data-theme="light"] .onboarding-brand strong,
html[data-theme="light"] .onboarding-text h2 {
  color: #17191e;
}

html[data-theme="light"] .onboarding-text p {
  color: #7b818b;
}

html[data-theme="light"] .onboarding-dots i {
  background: #d8dce2;
}

html[data-theme="light"] .onboarding-dots i.active {
  background: #0c75f7;
}

html[data-theme="light"] .onboarding-skip {
  color: #7b818b;
}


/* WEB LOGIN — DESKTOP */

html[data-theme="light"] .modal--web-login {
  background: rgba(225,229,235,.78);
}

html[data-theme="light"] .modal--web-login .modal-content {
  background: #ffffff;
  border-color: rgba(0,0,0,.07);

  box-shadow:
    0 35px 100px rgba(16,24,40,.18);
}

html[data-theme="light"] .web-login__auth {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.012),
      transparent 35%
    ),
    #ffffff;
}

html[data-theme="light"] .web-login__auth-top > span {
  color: #858b95;
}

html[data-theme="light"] .web-login__auth-title h2 {
  color: #17191e;
}

html[data-theme="light"] .web-login__auth-title p {
  color: #7b818b;
}

html[data-theme="light"] .web-login__security {
  color: #858b95;
}

html[data-theme="light"] .web-login__footer a {
  color: #858b95;
}

html[data-theme="light"] .web-login__footer a:hover {
  color: #4f555e;
}

html[data-theme="light"] .web-login__language {
  color: #666;
  background: #f1f3f6;
}

html[data-theme="light"] .web-login__language:hover {
  color: #17191e;
  background: #e8ebef;
}
/*
 * На mobile web-login видео остаётся тёмным намеренно.
 * Иначе белые надписи/Telegram CTA потеряют контраст.
 */
@media (max-width: 700px) {

  html[data-theme="light"] .web-login__auth {
    background: transparent;
  }

  html[data-theme="light"] .web-login__auth-title h2 {
    color: #ffffff;
  }

  html[data-theme="light"] .web-login__auth-title p {
    color: rgba(255,255,255,.68);
  }

  html[data-theme="light"] .web-login__security,
  html[data-theme="light"] .web-login__footer a {
    color: rgba(255,255,255,.58);
  }

  html[data-theme="light"] .modal--web-login .modal-close {
    color: #ffffff;
    background: rgba(10,10,10,.45);
  }

}


/* SKELETON */

html[data-theme="light"] .skeleton-box,
html[data-theme="light"] .skeleton-line,
html[data-theme="light"] .skeleton-bar {
  background: #e7eaee;
}

html[data-theme="light"] .skeleton-box::after,
html[data-theme="light"] .skeleton-line::after,
html[data-theme="light"] .skeleton-bar::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.28) 35%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,.28) 65%,
    transparent 100%
  );
}

html[data-theme="light"] .operation--skeleton .operation__icon,
html[data-theme="light"] .deposit-card--skeleton .deposit-plan,
html[data-theme="light"] .deposit-card--skeleton .deposit-meta > div {
  background: #eef0f3;
}

html[data-theme="light"] .deposit-card--skeleton .deposit-bottom {
  border-color: #e8eaee;
}

html[data-theme="light"] .deposit-card--skeleton .skeleton-bar {
  background: #e7eaee;
}


/* A FEW MISSED TEXT COLORS */

html[data-theme="light"] .balance-card__value,
html[data-theme="light"] .stat-card__value,
html[data-theme="light"] .section-title,
html[data-theme="light"] .operation__title,
html[data-theme="light"] .operation__amount,
html[data-theme="light"] .portfolio-summary__stats strong {
  color: #17191e;
}

html[data-theme="light"] .balance-card__value span,
html[data-theme="light"] .balance-card__label,
html[data-theme="light"] .stat-card__label,
html[data-theme="light"] .section-more {
  color: #7b818b;
}


/* ACTIVE SECONDARY BUTTONS */

html[data-theme="light"] .deposit-bottom button:active,
html[data-theme="light"] .analytics-pagination button:active,
html[data-theme="light"] .withdraw-address__paste:active,
html[data-theme="light"] .withdraw-amount button:active {
  background: #e7eaee;
}

/* EXSCAN — LIGHT THEME ADDITIONS
   Place after the existing CSS, including the skeleton rules. */

/* Portfolio segmented tabs */
html[data-theme="light"] .portfolio-tabs { background:#fff; border-color:#e7e9ed; }
html[data-theme="light"] .portfolio-tab { color:#858c97; }
html[data-theme="light"] .portfolio-tab:hover { color:#4e5866; }
html[data-theme="light"] .portfolio-tab.active { color:#16181d; background:#f0f3f7; }
html[data-theme="light"] .portfolio-tab b { color:#7b8490; background:#f4f6f9; border-color:#e6eaf0; }
html[data-theme="light"] .portfolio-tab.active b { color:#0c75f7; background:rgba(12,117,247,.08); border-color:rgba(12,117,247,.18); }
html[data-theme="light"] .portfolio-tab:focus-visible { outline:2px solid #0c75f7; outline-offset:2px; }

/* Completed deposit */
html[data-theme="light"] .deposit-card--completed { opacity:.86; }
html[data-theme="light"] .deposit-card--completed:hover { opacity:1; }
html[data-theme="light"] .deposit-card--completed .deposit-plan { color:#89919d; }
html[data-theme="light"] .deposit-card--completed .deposit-status strong,
html[data-theme="light"] .deposit-status__completed { color:#737d89 !important; }
html[data-theme="light"] .deposit-status__completed i { background:#9aa3ae !important; box-shadow:none !important; }
html[data-theme="light"] .deposit-completed { background:#f6f8fa; border-color:#e7e9ed; }
html[data-theme="light"] .deposit-completed > div + div { border-left-color:#e7e9ed; }
html[data-theme="light"] .deposit-completed span { color:#77818e; }
html[data-theme="light"] .deposit-completed strong { color:#252b34; }
html[data-theme="light"] .deposit-completed strong.accent { color:#138b5b; }

/* Empty state inside portfolio tab */
html[data-theme="light"] .portfolio-tab-empty { background:#fff; border-color:#e7e9ed; }
html[data-theme="light"] .portfolio-tab-empty__icon { color:#7c8795; background:#f3f5f8; border-color:#e7e9ed; }
html[data-theme="light"] .portfolio-tab-empty strong { color:#252b34; }
html[data-theme="light"] .portfolio-tab-empty span { color:#7b8490; }

/* Deposit card details missed by the existing light theme */
html[data-theme="light"] .deposit-card { background:linear-gradient(180deg,rgba(12,117,247,.015),transparent),#fff; }
html[data-theme="light"] .deposit-main__info strong,
html[data-theme="light"] .deposit-status strong,
html[data-theme="light"] .deposit-next__info strong,
html[data-theme="light"] .deposit-progress__top > b { color:#16181d; }
html[data-theme="light"] .deposit-main__info span,
html[data-theme="light"] .deposit-profit span,
html[data-theme="light"] .deposit-status span,
html[data-theme="light"] .deposit-next__info span,
html[data-theme="light"] .deposit-next__amount span,
html[data-theme="light"] .deposit-progress__top span,
html[data-theme="light"] .deposit-progress__bottom span { color:#7b8490; }
html[data-theme="light"] .deposit-status > div { background:#f4f6f9; }
html[data-theme="light"] .deposit-next { background:linear-gradient(90deg,rgba(12,117,247,.075),rgba(12,117,247,.018)),#f8fbff; border-color:rgba(12,117,247,.14); }
html[data-theme="light"] .deposit-next__icon { background:rgba(12,117,247,.09); }
html[data-theme="light"] .deposit-progress { border-top-color:#e8eaee; }
html[data-theme="light"] .deposit-progress__top strong { color:#626d7a; }
html[data-theme="light"] .deposit-bottom button { color:#3b4655; background:#f1f3f6; }

/* Home, transactions, headings */
html[data-theme="light"] .home-user__name,
html[data-theme="light"] .history-header,
html[data-theme="light"] .portfolio,
html[data-theme="light"] .analytics,
html[data-theme="light"] .portfolio-header h1,
html[data-theme="light"] .analytics-header h1,
html[data-theme="light"] .history-header h1 { color:#16181d; }
html[data-theme="light"] .home-user__hello,
html[data-theme="light"] .home-user__username,
html[data-theme="light"] .history-header span,
html[data-theme="light"] .history-header p,
html[data-theme="light"] .portfolio-header span,
html[data-theme="light"] .portfolio-header p,
html[data-theme="light"] .analytics-header span,
html[data-theme="light"] .analytics-header p { color:#7b8490; }
html[data-theme="light"] .home-user__avatar { background:#e9edf2; }
html[data-theme="light"] .balance-card__open { color:#788392; }
html[data-theme="light"] .action-card__badge { color:#fff; background:#16181d; }
html[data-theme="light"] .home-package__info span,
html[data-theme="light"] .home-package__progress span,
html[data-theme="light"] .home-package__profit span { color:#7b8490; }
html[data-theme="light"] .home-package__info strong,
html[data-theme="light"] .home-package__progress strong { color:#252b34; }
html[data-theme="light"] .operation__meta,
html[data-theme="light"] .operation__status,
html[data-theme="light"] .operations-empty__text { color:#7b8490; }
html[data-theme="light"] .operations-empty__title { color:#252b34; }
html[data-theme="light"] .operation__amount--success,
html[data-theme="light"] .operation__status--success { color:#138b5b; }
html[data-theme="light"] .operation__amount--error,
html[data-theme="light"] .operation__status--error { color:#d63d50; }

/* Analytics details */
html[data-theme="light"] .analytics-pool__head strong,
html[data-theme="light"] .analytics-pool__foot strong,
html[data-theme="light"] .analytics-profit__head strong,
html[data-theme="light"] .analytics-profit__bottom strong,
html[data-theme="light"] .profit-gauge__content strong,
html[data-theme="light"] .analytics-title h2 { color:#16181d; }
html[data-theme="light"] .analytics-day__value,
html[data-theme="light"] .analytics-day > span,
html[data-theme="light"] .analytics-title span,
html[data-theme="light"] .analytics-title a,
html[data-theme="light"] .profit-gauge__content span,
html[data-theme="light"] .profit-gauge__min,
html[data-theme="light"] .profit-gauge__max { color:#77818e; }
html[data-theme="light"] .analytics-day.active .analytics-day__bar { background:linear-gradient(180deg,#f5f5f5 0%,#ffd2bd 22%,#4eb7ff 56%,#0c75f7 78%,#8b6cff 100%); }

/* Loader on light secondary buttons */
html[data-theme="light"] .button-loader i { border-color:rgba(22,24,29,.18); border-top-color:currentColor; }

@media (prefers-reduced-motion:reduce) {
  html[data-theme="light"] .portfolio-tab,
  html[data-theme="light"] .portfolio-tab b { transition:none; }
}

html[data-theme="light"] .support-contact + .support-contact {
  border-top: 1px solid rgba(0, 0, 0, .1);
}

html[data-theme="light"] .security-sheet__head h2,
html[data-theme="light"] .support-sheet__head h2 { color: #000; }

html[data-theme="light"] .security-sheet__head .payment-status__icon,
html[data-theme="light"] .security-sheet__head .payment-asset__icon,
html[data-theme="light"] .security-sheet__head .payment-asset__network,
html[data-theme="light"] .security-sheet__head .copy-btn {
  background: #f1f3f6;
}

html[data-theme="light"] .amount-field input {
  color: #000;
}


.skeleton-box,
.skeleton-line,
.skeleton-bar {
  position: relative;
  overflow: hidden;
  background: #1b1b1b;
}

.skeleton-box::after,
.skeleton-line::after,
.skeleton-bar::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .035) 35%,
    rgba(255, 255, 255, .07) 50%,
    rgba(255, 255, 255, .035) 65%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: skeletonShimmer 1.6s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-line {
  display: block !important;
  border-radius: 6px;
}

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

.operation--skeleton {
  pointer-events: none;
}

.operation--skeleton .operation__icon {
  background: #191919;
}

.operation--skeleton .operation__info {
  flex: 1;
}

.operation-skeleton__title {
  width: 92px;
  height: 9px;
}

.operation-skeleton__meta {
  width: 118px;
  height: 7px;
  margin-top: 6px;
}

.operation-skeleton__amount {
  width: 70px;
  height: 9px;
  margin-left: auto;
}

.operation-skeleton__status {
  width: 48px;
  height: 7px;
  margin-top: 6px;
  margin-left: auto;
}

.deposit-card--skeleton {
  pointer-events: none;
}

.deposit-card--skeleton .deposit-plan {
  background: #191919;
}

.deposit-card--skeleton .deposit-meta > div {
  background: #191919;
}

.deposit-card--skeleton .deposit-bottom {
  border-top-color: #1e1e1e;
}


/* head */

.deposit-skeleton__name {
  width: 72px;
  height: 7px;
  margin-bottom: 6px !important;
}

.deposit-skeleton__amount {
  width: 58px;
  height: 11px;
}

.deposit-skeleton__profit-label {
  width: 42px;
  height: 6px;
  margin-left: auto;
  margin-bottom: 6px !important;
}

.deposit-skeleton__profit {
  width: 52px;
  height: 9px;
  margin-left: auto;
}


/* meta */

.deposit-skeleton__meta-label {
  width: 52px;
  height: 6px;
}

.deposit-skeleton__meta-label--short {
  width: 34px;
}

.deposit-skeleton__meta-value {
  width: 76px;
  height: 8px;
  margin-top: 6px !important;
}

.deposit-skeleton__meta-value--short {
  width: 34px;
}

.deposit-skeleton__next-label {
  width: 70px;
  height: 6px;
}

.deposit-skeleton__timer {
  width: 54px;
  height: 8px;
}


/* progress */

.deposit-skeleton__progress-text {
  width: 86px;
  height: 6px;
}

.deposit-skeleton__progress-percent {
  width: 24px;
  height: 6px;
}

.deposit-card--skeleton .skeleton-bar {
  height: 5px;
  background: #1b1b1b;
}


/* button */

.deposit-skeleton__button {
  width: 100%;
  height: 36px;
  border-radius: 12px;
}


.trade-card--skeleton {
  pointer-events: none;
}

.trade-skeleton__exchange {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
}

.trade-skeleton__exchange-name {
  width: 42px;
  height: 7px;
}

.trade-skeleton__arrow {
  width: 12px;
  height: 5px;
  margin: 0 2px;
}

.trade-skeleton__time {
  width: 34px;
  height: 7px;
}


/* pair */

.trade-skeleton__coin {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}

.trade-pair__icons .trade-skeleton__coin + .trade-skeleton__coin {
  margin-left: -7px;
}

.trade-skeleton__pair {
  width: 72px;
  height: 9px;
}

.trade-skeleton__route {
  width: 110px;
  height: 7px;
  margin-top: 6px !important;
}


/* profit */

.trade-skeleton__profit {
  width: 58px;
  height: 10px;
  margin-left: auto;
}

.trade-skeleton__percent {
  width: 38px;
  height: 7px;
  margin-top: 6px !important;
  margin-left: auto;
}


/* info */

.trade-skeleton__label {
  width: 40px;
  height: 6px;
}

.trade-skeleton__label--short {
  width: 24px;
}

.trade-skeleton__value {
  width: 68px;
  height: 8px;
  margin-top: 6px !important;
}

.trade-skeleton__value--short {
  width: 42px;
}






