[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

header .lang__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

header .lang__toggle img {
  width: 24px;
  height: 24px;
}

header .user {
  position: relative;
}

.auth_btns {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(231, 70, 39, 0.25);
  border-radius: 14px;
  background: rgba(20, 5, 3, 0.96);
  backdrop-filter: blur(20px);
}

.auth_btns::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 10px;
}

header .user:hover .auth_btns,
header .user:focus-within .auth_btns {
  display: block;
}

header .auth_btns a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

header .auth_btns a:hover {
  background: rgba(231, 70, 39, 0.15);
}

.header__overlay {
  display: none;
}

.zerotrace-home {
  position: relative;
}

.zerotrace-exchange-form .coin-select__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.zerotrace-exchange-form .coin-select__trigger-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.zerotrace-exchange-form .coin-select__symbol {
  font-size: 24px;
}

.zerotrace-exchange-form .coin-select__arrow {
  width: 14px;
  height: 8px;
}

.zerotrace-exchange-form .swap {
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.zerotrace-exchange-form .swap img {
  width: 52px;
  height: 52px;
}

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

.zt-personal-grid .inp_group,
.exchange_page_block .inp_group,
.profile_page .inp_group {
  position: relative;
}

.zt-personal-grid input,
.exchange_page_block .inp_group input,
.profile_page .inp_group input {
  width: 100%;
  height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(231, 70, 39, 0.2);
  border-radius: 15px;
  background: rgba(231, 70, 39, 0.1);
  color: #fff;
  font-size: 14px;
}

.zt-personal-grid input::placeholder,
.profile_page .inp_group input::placeholder {
  color: rgba(231, 70, 39, 0.42);
}

@media (min-width: 701px) {
  .profile_page .inp_flex1_with_btn > .col:last-child,
  .profile_page .inp_flex2_with_btn > .col:last-child,
  .profile_page .inp_flex3_with_btn > .col:last-child {
    align-items: flex-start;
    padding-top: 27px;
  }
}

.inp_group.has-error input {
  border-color: #e74627;
}

.help-block,
.form-status.is-error,
.exchange-result.is-error {
  margin-top: 8px;
  color: #e74627;
  font-size: 11px;
  line-height: 1.4;
}

.form-status,
.exchange-result {
  min-height: 16px;
  font-size: 12px;
}

.about .about_text .more_text__toggle {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about .about_text .more.more_text__toggle {
  background: none;
  cursor: pointer;
}

.order-confirm-page .form .inp,
.order-confirm-page .form .exchange-result {
  margin-top: 18px;
}

.order-confirm-page .form .send {
  margin-top: 22px;
}

@media (max-width: 960px) {
  .otherpage.exchange .box,
  .otherpage.exchange .box .left,
  .otherpage.exchange .box .right,
  .otherpage.exchange .box .form,
  .otherpage.exchange .box .inp_flex2,
  .otherpage.exchange .box .col {
    min-width: 0;
  }

  .otherpage.exchange .box {
    gap: 24px;
    overflow: hidden;
  }

  .otherpage.exchange .box input,
  .otherpage.exchange .box .send {
    min-width: 0;
    max-width: 100%;
  }

  .otherpage.exchange .box .left .etaps .etap .name,
  .otherpage.exchange .box .right .top .item .amount,
  .otherpage.exchange .box .right .bottom_text {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 470px) {
  .otherpage.exchange .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .otherpage.exchange h2.title {
    padding: 0 4px;
    font-size: 24px;
    line-height: 1.3;
  }

  .otherpage.exchange .box {
    padding: 18px;
    border-radius: 36px;
  }

  .otherpage.exchange .box .right {
    padding: 16px;
    border-radius: 36px;
  }
}

.form-status.is-success {
  color: #78d99c;
}

.exchange-result {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(231, 70, 39, 0.08);
}

.main-agree-rules {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.maintenance-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 65px;
  background: rgba(6, 6, 6, 0.86);
  color: #e74627;
  text-align: center;
}

.crypto_modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.crypto_modal[aria-hidden="false"] {
  display: flex;
}

.crypto_modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.crypto_modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 54px 48px 48px;
  border: 1px solid rgba(231, 70, 39, 0.25);
  border-radius: 65px;
  background: #130907;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.crypto_modal__close {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.crypto_modal__search {
  position: relative;
  margin: 18px 0 30px;
}

.crypto_modal__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.crypto_modal__input {
  width: 100%;
  height: 58px;
  padding: 0 20px 0 52px;
  border: 1px solid rgba(231, 70, 39, 0.2);
  border-radius: 16px;
  background: rgba(231, 70, 39, 0.08);
  color: #fff;
  font-size: 14px;
}

.crypto_modal__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.crypto_modal__item {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(231, 70, 39, 0.12);
  border-radius: 24px;
  background: rgba(231, 70, 39, 0.06);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.crypto_modal__item:hover {
  border-color: #e74627;
  background: rgba(231, 70, 39, 0.14);
}

.crypto_modal__item-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.crypto_modal__item-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.crypto_modal__item-name {
  font-size: 12px;
  line-height: 1.35;
}

.crypto_modal__item-ticker {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.auth .form-title {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  text-align: center;
}

.auth .form .inp_flex2 {
  align-items: start;
}

.auth .form .flex {
  margin-top: 8px;
  text-align: right;
}

.auth .form .flex a {
  color: #e74627;
  font-size: 12px;
  text-decoration: underline;
}

.exchange_page_block .copy,
.profile_page .form .copy {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  cursor: pointer;
}

.exchange_page_block .copy img,
.profile_page .form .copy img {
  width: 100%;
  height: 100%;
}

.exchange_page_block .inp_group:has(.copy) input,
.profile_page .form .inp_group:has(.copy) input {
  padding-right: 48px;
}

.exchange_page_block .order-status-message p {
  margin-bottom: 12px;
  color: inherit;
}

.exchange_page_block .check_block {
  margin: 20px 0;
}

.exchange_page_block .check_block .btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 65px;
  background: #e74627;
  font-size: 13px;
}

.exchange_page_block .paid_hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-align: center;
}

.exchange_page_block .right .top.exchange_flex {
  flex-wrap: wrap;
}

.exchange_page_block .order-summary-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.otherpage.exchange .box .right .qr.order-payment-qr {
  width: 247px;
  height: 247px;
  padding: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
}

.otherpage.exchange .box .right .qr.order-payment-qr img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.lk .box .body.profile_page {
  min-width: 0;
}

.profile_table {
  overflow-x: auto;
}

.profile_table a {
  color: #e74627;
}

.partner-pages {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.partner-pages a {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 70, 39, 0.25);
  border-radius: 50%;
  font-size: 11px;
}

.partner-pages a.is-active {
  background: #e74627;
  color: #fff;
}

.wallet-account-cell {
  max-width: 520px;
  overflow-wrap: anywhere;
}

.wallet-actions-cell {
  width: 120px;
}

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

.wallet-action {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231, 70, 39, 0.55);
  border-radius: 50%;
  color: #e74627;
  background: rgba(231, 70, 39, 0.08);
  cursor: pointer;
}

.wallet-action:hover,
.wallet-action:focus-visible {
  color: #fff;
  background: #e74627;
}

.wallet-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wallet-action:disabled {
  opacity: 0.5;
  cursor: wait;
}

.wallet-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate_modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  place-items: center;
  padding: 24px;
}

.affiliate_modal[aria-hidden="false"] {
  display: grid;
}

.affiliate_modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.affiliate_modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 36px;
  border: 1px solid rgba(231, 70, 39, 0.25);
  border-radius: 32px;
  background: #130907;
}

.affiliate_modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  cursor: pointer;
}

.affiliate_modal__title {
  margin: 0 34px 26px 0;
  font-size: 22px;
}

.affiliate_modal__field {
  position: relative;
  margin-top: 18px;
}

.affiliate_modal__label {
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.affiliate_modal__select,
.affiliate_modal__input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(231, 70, 39, 0.2);
  border-radius: 14px;
  background: rgba(231, 70, 39, 0.08);
}

.affiliate_modal__select,
.affiliate_modal__select-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.affiliate_modal__select-icon img,
.affiliate_modal__option img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.affiliate_modal__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 2;
  display: none;
  padding: 6px;
  border: 1px solid rgba(231, 70, 39, 0.25);
  border-radius: 14px;
  background: #130907;
}

.affiliate_modal__field.is-open .affiliate_modal__menu {
  display: block;
}

.affiliate_modal__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.affiliate_modal__option:hover {
  background: rgba(231, 70, 39, 0.12);
}

.affiliate_modal__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  border-radius: 65px;
  background: #e74627;
  cursor: pointer;
}

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(231, 70, 39, 0.45);
  background: #e74627;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.chat-launcher::before {
  content: "...";
  position: absolute;
  inset: 14px 11px 16px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 190;
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(231, 70, 39, 0.3);
  border-radius: 26px;
  background: #130907;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(231, 70, 39, 0.12);
}

.chat-head strong {
  font-size: 14px;
}

.chat-head .icon-btn {
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.chat-operator,
.chat-status-note {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(231, 70, 39, 0.12);
}

.chat-operator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-operator img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-operator span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-operator strong,
.chat-operator small,
.chat-status-note {
  font-size: 11px;
  line-height: 1.45;
}

.chat-operator small,
.chat-status-note {
  color: rgba(255, 255, 255, 0.55);
}

.chat-log {
  min-height: 220px;
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.chat-line {
  width: fit-content;
  max-width: 84%;
  margin: 0 0 10px auto;
  padding: 10px 12px;
  border-radius: 14px 14px 4px 14px;
  background: #e74627;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.chat-line.operator {
  margin-right: auto;
  margin-left: 0;
  border-radius: 14px 14px 14px 4px;
  background: rgba(231, 70, 39, 0.15);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(231, 70, 39, 0.15);
}

.chat-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(231, 70, 39, 0.1);
}

.chat-form button {
  padding: 0 15px;
  border-radius: 12px;
  background: #e74627;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .crypto_modal__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 1269px) {
  header .header-menu {
    padding-top: 120px;
  }
}

@media (max-width: 740px) {
  .zt-personal-grid,
  .crypto_modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto_modal {
    padding: 12px;
  }

  .crypto_modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 50px 18px 24px;
    border-radius: 28px;
  }

}

@media (max-width: 520px) {
  .zt-personal-grid,
  .crypto_modal__grid {
    grid-template-columns: 1fr;
  }

  .crypto_modal__item {
    min-height: 110px;
  }

  .chat-launcher {
    right: 16px;
    bottom: 16px;
  }

  .chat-widget {
    right: 16px;
    bottom: 84px;
  }
}
