:root{
  --bg:#f2f5f7; 
  --card:#fff; 
  --text:#111; 
  --muted:#6b7280;
  --accent:#08a652; 
  --primary: #2f78ff;
  --gost: #dfe3ee;
  --line:#e5e7eb; 
  --radius:24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);

  --rc-blue: #2f78ff;
  --rc-blue-soft: rgba(10, 132, 255, 0.25);
}
/* 1) Скролл РАЗРЕШЁН, полосы скрыты глобально */
html, body {
  height: 100%;
  overflow: auto;                 /* прокрутка страницы работает */
  overscroll-behavior: none;      /* без эластичности/PTR (по желанию) */
  -webkit-overflow-scrolling: touch;
}
* { 
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/старый Edge */
}
*::-webkit-scrollbar {            /* Blink/WebKit */
  width: 0;
  height: 0;
  display: none;
}
html, body, #app {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;   
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: pan-x pan-y;   
}
a, button, img, svg, canvas {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
  user-drag: none;
}
input, textarea, select, button {
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  -webkit-tap-highlight-color: transparent; 
  user-select: none;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; 
  overscroll-behavior: none; 
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
  font-size: 16px;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
a {
  text-decoration: none;
  color: var(--text);
}
a, button, .btn { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

a, button {
  color: var(--text);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
body.modal-open {
  overflow: hidden;
}
#app {
  padding-top: var(--safe-top);
  @height: calc(64px + var(--safe-bot));
}
.contents {
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
}
.content-item {
  padding: 16px;
  min-height: 100dvh;
  padding-bottom: calc(94px + var(--safe-bot));
}
.content-item[hidden] {
  display:none!important;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
}
/* loading */

/* Pin - code */
.pincode {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
  height: 100dvh;
}
.pincode-head {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.pincode-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 14px;
}
.pincode-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
}
.pincode-cells {
  display:flex;
  gap: 8px;
  margin: 22px 0;
}
.pincode-cell {
  position: relative;
  height: 48px;
  width: 48px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
}
.pincode-cell[data-focused="true"] {
    border: 2px solid #3390ec;
}
.pincode-cell:after {
  background-color: #000;
  border-radius: 50%;
  content: "";
  display: none;
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
}
.pincode-cell[data-full="true"]:after {
    display: block;
}

.pincode-keyboard {
  display: grid;
  grid-template-columns: repeat(3, 94px)
}
.pincode-keyboard_button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
.pincode-keyboard_button span {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
}
.pincode-keyboard_button:active{
  transform: scale(0.98);
}
.pincode-cells.shake { animation: pshake .35s; }
@keyframes pshake{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}
/* Pin - code */

/* Панель управления */
.wallet {
  background: #fff;
  min-height: 100dvh;
}
.wallet-card {
  padding: 8px;
  background: #fff;
  border-radius: 24px;
}
.wallet-balance {
  padding: 16px;
  background: var(--bg);
  border-radius: 24px;
}
.wallet-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.wallet-user_box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-head_right {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
.user-head_right {
  justify-content: end;
}
.user-head_right button {
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 26px;
  width: fit-content;
  height: 26px;
  border-radius: 26px;
  background: #fff;
  outline: none;
  border: none;
  font-size: 12px;
  color: var(--text);
}
.user-head_right button svg {
  width: 14px;
}
.user-head_avatar {
  width: 26px;
  height: 26px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.user-head_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-head_name {}
.user-head_name big {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.user-head_name p {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #111;
}
.user-balance {
  padding: 6px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0px;
  line-height: 1;
}
.user-balance_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
}
.user-balance_content {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 34px;
  font-weight: 600;
  line-height: 38px;
  margin-top: 4px;
  vertical-align: middle;
}
.user-balance_num {
  display: flex;
}
.user-balance_curr button {
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 24px;
  background: transparent;
  outline: none;
  border: none;
  color: var(--text);
  opacity: .65;
}
.user-balance_curr button svg {
  width: 24px;
}
.user-balance_btn {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 26px;
  background: var(--bg);
  font-size: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}
.user-nav {
  padding: 8px;
  padding-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}
.balance-card .user-nav {
  border-top: 1px solid var(--bg);
  padding: 16px;
}
.user-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  color: var(--text);
  outline: none;
  border: none;
  margin: 0;
  padding: 0;
}
.user-nav button i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: #000;
  color: #fff;
  border-radius: 16px;
}
.balance-card .user-nav i {
  background: #000;
}
.user-nav button span {
  font-size: 11px;
}
/* Панель управления */

/* балансы или баланс */
.assets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.assets-head big {
  font-size: 18px;
  font-weight: 500;
}
.assets-head button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.assets-list {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  background: #fff;
  border-radius: var(--radius);
}
.asset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  line-height: 1.4;
  border-bottom: 1px solid var(--bg);
}
.asset-item:last-child {
  border-bottom: none;
}
.asset-item_left {}
.asset-item_right {
  justify-content: end;
  text-align: right;
}
.asset-item_coin {
  display: flex;
  align-items: center;
  gap: 12px;
}
.coin-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: grid;
  place-items: center;
}
.coin-icon img:not(.coin-network) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coin-network {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  border: 2px solid #fff;
}
.coin-data big,
.coin-balance big {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.coin-data p,
.coin-balance p {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: .5;
}
.send-detail,
.balance-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}
.balance-detail {
  padding: 16px;
  background:var(--bg);
  margin:0px;
  border-radius: 16px;
}
.send-detail_icon,
.balance-detail_icon {
  margin-bottom: 10px;
}
.send-detail_icon,
.balance-detail_icon img {
  width: 64px;
  height: 64px;
}
.send-detail_amount,
.balance-detail_coin {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
}
.send-detail_fiat,
.balance-detail_fiat {
  font-size: 18px;
  letter-spacing: .15px;
  line-height: 24px;
}
/* балансы или баланс */

/* Операции */
.operations {
  background: #fff;
  min-height: 100vmax;
}

.oper-open_filters {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: auto;
  min-width: 100%;
  margin: 24px -16px;
  padding: 0 16px;
}
.oper-open_filters button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 6px;
  padding: 0 12px;
  width: fit-content;
  height: 36px;
  background: var(--bg);
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 36px;
}
.oper-open_filters button svg {
  flex: 0 0 16px;
  width: 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
}
.oper-open_filters button.active {
  background: #000;
  color: #fff;
}

.oper-types {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  margin-bottom: 10px;
}
.oper-types::-webkit-scrollbar {
  display: none; /* убираем скроллбар */
}
.oper-types button {
  flex: 0 0 auto;
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  outline: none;
}
.oper-types button:active {
  transform: translateY(1px);
}
.oper-types button.active {
  background: #000;
  color: #fff;
}

.balance-detail_lasts,
.oper-list {
  display: flex;
  gap: 14px;
  flex-direction: column;
}
.oper-date {
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 1.4;
  color: #b3bdc8;
  font-weight: 600;
}
.oper-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oper-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.oper-items .oper-item:last-child {
  border-bottom: none;
}
.oper-data {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;                    /* чтобы работал ellipsis */
}
.oper-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 44px;
  background: var(--bg);                /* как было */
  color: var(--text);
  font-weight: 700;
  flex: 0 0 auto;
}
.oper-icon.failed {
  background: #ff3b301a;
  color: #ff3b30;
}
.oper-icon svg,
.oper-icon img {
  width: 24px;
}
.oper-info, 
.oper-value {
  line-height: 1.45;               /* плотнее и читабельнее */
  min-width: 0;                    /* важно для обрезки текста */
}
.oper-info big,
.oper-value big {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;                 /* на 1px крупнее */
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}
.oper-info big svg,
.oper-value big svg {
  height: 14px;
}
.oper-info span,
.oper-value span {
  display: block;
  font-size: 10px;                 /* на 2px крупнее */
  color: var(--muted);
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}
.oper-value {
  text-align: right;
  flex: 0 0 auto;
}

.oper-details{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 24px;
}
.oper-details_date{
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  margin-bottom: 24px;
}
.oper-details_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, .05);
  border-radius: 60px;
  margin-bottom: 16px;
}
.oper-details_icon svg,
.oper-details_icon img {
  width: 28px;
}
.oper-details_amount {
  text-align: center;
}
.oper-details_amount big {
  display: block;
  font-size:22px;
  font-weight:700;
  letter-spacing:.2px;
}
.oper-details_amount span {
  display: block;
  font-size:16px;
  font-weight:500;
  letter-spacing:.2px;
}
.oper-details_status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 24px;
  margin-top: 10px;
}
.oper-details_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oper-details_foot{
  padding:6px 16px;
  background: #fff;
  border-radius: 24px;
}

.oper-details_foot ul{
  list-style:none;
  padding:0;
  margin:0;
}

.oper-details_foot li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px dashed rgba(0,0,0,.08);
}

.oper-details_foot li:last-child{
  border-bottom:0;
}

.oper-details_foot li span:first-child{
  font-size:12px;
  font-weight:800;
  opacity:.6;
}

.oper-details_foot li span:last-child{
  font-size:13px;
  font-weight:700;
  text-align:right;
  word-break:break-word;
}

.oper-details_foot small{
  font-size:12px;
  opacity:.8;
}

.oper-filter_list {
  display: flex;
  flex-direction: column;
  margin: 14px 0;
  overflow: hidden;
  background:var(--bg);
  border-radius: 16px;
}
.oper-filter_item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0px 14px;
  height: 54px;
  cursor:pointer;
  user-select:none;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.oper-filter_item:last-child {
  border-bottom: none;
}
.oper-filter_item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.oper-filter_text{
  display:flex;
  align-items: center;
  gap: 8px;
  font-size:14px;
  line-height:1.2;
  font-weight: 600;
}
.oper-filter_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 34px;
  background: #fff;
}
.oper-filter_icon svg {
  width: 18px;
}
.oper-filter_icon img {
  object-fit: cover;
}
.oper-filter_mark{
  width:16px;
  height:16px;
  border-radius:999px;
  border:5px solid #fff;
  background:#fff;
  flex:0 0 16px;
}
.oper-filter_item input:checked ~ .oper-filter_mark{
  border-color: #0373ff;
  background: #0373ff;
}
.oper-filter_footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc {
  max-width: 440px;
  user-select: none;
}
.rc__top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  margin-bottom: 10px;
}
.rc__title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.rc__btn {
  position: absolute;
  top: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc__btn:disabled {
  cursor: default;
  opacity: 0.35;
}
.rc__btn:active {
  transform: scale(0.98);
}
.rc__btn svg {
  width: 18px;
  height: 18px;
}
.rc__btn--prev {
  left: 0;
}
.rc__btn--next {
  right: 0;
}
.rc__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 10px;
}
.rc__dow div {
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}
.rc__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0px;
  padding-left: 6px;
  padding-right: 6px;
}
.rc__cell {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border-radius: 14px;
}
.rc__cell.is-other {
  color: var(--muted);
  font-weight: 700;
  cursor: default;
}
.rc__cell > span {
  position: relative;
  z-index: 1;
}
.rc__cell.in-range::before {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  background: var(--rc-blue-soft);
  z-index: 0;
}
.rc__cell.range-start::before,
.rc__cell.range-end::before {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  background: var(--rc-blue);
  z-index: 0;
}
.rc__cell.range-start::before {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
.rc__cell.range-end::before {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.rc__cell.range-start.range-end::before {
  border-radius: 999px;
}
.rc__cell.range-start,
.rc__cell.range-end {
  color: #ffffff;
}
/* Операции */


/* topup */
.pay-status {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.pay-status_text {
  text-align: center;
}
.pay-status_text big {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
  text-align: center;
}
.pay-status_text p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}
.pay-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pay-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.pay-title {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}
.pay-amount {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
}
.pay-card {
  background: var(--bg);
  border-radius: var(--radius);
}
.pay-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.pay-item:last-child {
  border-bottom: none;
}
.pay-item_left {}
.pay-item_right {}
.pay-item p {
  font-size: 14px;
  font-weight: 400;
}
.pay-item big {
  font-size: 16px;
  font-weight: 600;
}

.pay-currency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  outline: none;
}

.svg-timer{
  width:40px;
  height:40px;
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.svg-timer__svg{
  width:100%;
  height:100%;
  transform:rotate(-90deg); /* старт сверху */
}
.svg-timer__track{
  fill:none;
  stroke:#DADAE0;
  stroke-width:6;
}
.svg-timer__progress{
  fill:none;
  stroke:#2F7BFF;
  stroke-width:6;
  stroke-linecap:round;
  stroke-dasharray:0;
  stroke-dashoffset:0;
}
.svg-timer__num{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:12px;
  color:#8E8E93;
  line-height:1;
}

.btn-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  padding: 10px;
  border-radius: 24px;
}
.btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px;
  background: #fff;
  width: 100%;
  min-height: 68px;
  border-radius: 24px;
  border: none;
  outline: none;
}
.btn-card_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6f0ff;
  border-radius: 16px;
  color: #0c75f7;
  height: 46px;
  width: 46px;
}
.btn-card_data {
  flex: 1;
  text-align: left;
}
.btn-card_data big {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.btn-card_data p {
  display: block;
  font-size: 14px;
  letter-spacing: .15px;
  line-height: 18px;
  color: #9c9da4;
}
.btn-card_action {
  text-align: right;
}

.network-list,
.psys-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.network-item,
.psys-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 16px;
  background: transparent;
  border: none;
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  height: 62px;
}
.psys-item:last-child {
  border-bottom: none;
}
.psys-item_icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 36px;
  height: 36px;
  width: 36px;
}
.psys-item_icon img:not(.coin-network) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.psys-item_name {
  flex: 1;
  text-align: left;
}
.psys-item_action big,
.psys-item_name big {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.psys-item_name big small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: .5;
  line-height: 1;
}
.psys-item_action p,
.psys-item_name p {
  display: block;
  font-size: 14px;
  letter-spacing: .15px;
  line-height: 18px;
  color: #9c9da4;
}
.psys-item_action {
  text-align: right;
  line-height: 1;
}

.status{
  --s:44px;                 /* size */
  --w:4px;                  /* stroke width */
  --c:#4a86ff;              /* loading color */
  --ok:#2ecc71;             /* success color */
  --err:#ff4d4f;            /* error color */
  width:var(--s); height:var(--s);
  display:inline-block;
}
.st{ fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-width:var(--w); }
.status.is-loading{ color:var(--c); animation:rot .9s linear infinite; }
.status.is-loading .st--arc{
  stroke:currentColor;
  stroke-dasharray:70 60;     /* дуга */
}
.status.is-loading .st--circle,
.status.is-loading .st--check,
.status.is-loading .st--x1,
.status.is-loading .st--x2{ opacity:0; }
.status.is-success{ color:var(--ok); animation:none; }
.status.is-success .st--arc{ opacity:0; }
.status.is-success .st--circle{
  stroke:currentColor;
  stroke-dasharray:126;       /* 2*pi*20 ≈ 126 */
  stroke-dashoffset:126;
  animation:drawCircle .35s ease-out forwards;
}
.status.is-success .st--check{
  stroke:currentColor;
  stroke-dasharray:40;
  stroke-dashoffset:40;
  animation:drawMark .25s .25s ease-out forwards;
}
.status.is-success .st--x1,
.status.is-success .st--x2{ opacity:0; }
.status.is-error{ color:var(--err); animation:none; }
.status.is-error .st--arc{ opacity:0; }
.status.is-error .st--circle{
  stroke:currentColor;
  stroke-dasharray:126;
  stroke-dashoffset:126;
  animation:drawCircle .35s ease-out forwards;
}
.status.is-error .st--check{ opacity:0; }
.status.is-error .st--x1,
.status.is-error .st--x2{
  stroke:currentColor;
  stroke-dasharray:28;
  stroke-dashoffset:28;
  animation:drawMark .2s .25s ease-out forwards;
}
@keyframes rot{ to{ transform:rotate(360deg) } }
@keyframes drawCircle{ to{ stroke-dashoffset:0 } }
@keyframes drawMark{ to{ stroke-dashoffset:0 } }
/* topup */


/* Affiliate */
.inviter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.inviter-photo {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  overflow: hidden;
}
.inviter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inviter-name {
  flex: 1;
}
.inviter-name big {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.inviter-name p {
  display: block;
  font-size: 14px;
  font-weight: 400;
}
.inviter-pm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  outline: none;
  border: none;
}

.card-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  height: 61px;
}
.ref_link {
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}
.ref_link-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  outline: none;
  border: none;
  border-radius: 6px;
}

.aff_stats-box {
  padding: 14px!important;
}
.aff_stats-title {
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.aff_stats-title button {
  background: transparent;
  outline: none;
  border: none;
  color: var(--primary);
}
.aff_stats-active {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
}
.aff_stats-active svg {
  width: 16px;
  color: green;
}

.aff_levels {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: auto;
  min-width: 100%;
  padding-right: 16px;
  background: #fff;
  border-radius: 16px;
}
.aff_levels button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  width: fit-content;
  min-width: calc(33.3% - 6px);
  height: 36px;
  background: var(--bg);
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 36px;
}
.aff_levels button.active {
  background: #000;
  color: #fff;
}

.ref-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ref-avas{margin-top:14px;display:flex;gap:10px}
.ref-ava{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#eee;display:flex;align-items:center;justify-content:center;font-size:12px}
.ref-ava img{width:100%;height:100%;object-fit:cover;display:block}
.ref-ava_more{background:#fff}
.ref-avas_empty {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
}

.aff_earn .earn-row{display:flex;align-items:center;justify-content:space-between;padding:8px;font-size: 14px;font-weight: 500;}
.aff_earn .earn-coin{display:flex;align-items:center;gap:8px}
.aff_earn .earn-coin img{width:20px;height:20px;border-radius:50%}
.aff_earn .earn-amt{font-variant-numeric:tabular-nums}
.aff_earn.loading{opacity:.6;pointer-events:none}

/* Affiliate */

/* Profile */
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
}
.avatar-wrap{
  width:100px;
  height:100px;
  position:relative;
  border-radius:50%;
}
.profile-avatar{
  width:100%;
  height:100%;
  border-radius:50%;
  overflow:hidden;
  background:#f1f1f1;
  border:1px solid rgba(0,0,0,.1);
}
.profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.profile-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.profile-info big {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.profile-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}
/* Profile */


/* Deposit */
.deposit {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 360px;
}
.deposit-qr{
  margin: 16px auto;
  display: flex;
  justify-content: center;
  width: min(240px, 70vw);
  background: #fff;
  border-radius: 24px;
}
.deposit-qr img{
  width:min(240px, 70vw);
  height:auto;
  display:block;
}
.deposit-label{
  font-size:13px;
  color:#000;
  margin-top:2px;
  opacity: .7;
}
.deposit-address{
  font-size:16px;
  font-weight:800;
  line-height:1.25;
  margin:6px 0 10px;
  letter-spacing:.2px;
  word-break:break-word;
}
.hint{
  font-size:12.5px;
  color:#000;
  line-height:1.35;
  margin:0 6px 14px;
  opacity: .6;
}
.alert{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#fff6ec;
  border-radius:18px;
  padding:14px 14px;
  text-align:left;
  margin-top:10px;
}
.icon{
  width:18px;
  height:18px;
  border-radius:999px;
  background:#f0a554;
  color:#fff;
  font-weight:800;
  font-size:12px;
  line-height:18px;
  text-align:center;
  flex:0 0 18px;
  margin-top:2px;
}
.alert p{
  margin:0;
  font-size:13.5px;
  line-height:1.3;
}

.deposit-data {
  max-width: 360px;
  padding: 16px;
  background: #fff;
  border-radius: 24px;
}
.deposit-data_addr {
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  padding: 10px 0;
  margin: 10px 0;
}
/* Deposit */

/* Status BG */
.status-bg:before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.status-bg.failed:before {
  background-image: linear-gradient(180deg, #ff20450d 16.78%, #ff204526 60.79%, #ff204500 97.41%);
}
.status-bg.completed:before {
  background-image: linear-gradient(
    180deg,
    #22c55e0d 16.78%,
    #22c55e26 60.79%,
    #22c55e00 97.41%
  );

}
.status-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: calc(100vh - 242px);
}
.status-content_head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.status-content_foot {
  width: 100%;
}
.status-content_title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}
.send-status_coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.send-status_coin big {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.send-status_coin span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #fff;
  border-radius: 20px;
}
.send-status_coin p {
  text-align: center;
  font-size: 12px;
  padding: 16px;
}

.pay-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.pay-status_text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.pay-status_text big {}
.pay-status_text p {}
/* Status BG */

/* Nav */
.nav_row {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-bot));
  transform: translateX(-50%);
  width: min(400px, calc(100% - 24px));
  display: flex;
  gap: 10px;
  z-index: 2;
}
.nav-btn {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(30px) saturate(10);
  backdrop-filter: blur(30px) saturate(10);
  background: rgb(from #ffffff r g b / 84%);
  box-shadow: 0 1px 2px 0 #00000014, 0 2px 16px 1px #0000001a;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  border: none;
  outline: none;
}
.nav{
  width: 100%;
  flex: 1;
  height: 62px;
  display: flex;
  gap: 6px;
  padding: 4px;
  -webkit-backdrop-filter: blur(30px) saturate(10);
  backdrop-filter: blur(30px) saturate(10);
  background: rgb(from #ffffff r g b / 84%);
  box-shadow: 0 1px 2px 0 #00000014, 0 2px 16px 1px #0000001a;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  user-select: none;
  z-index: 2;
}
.nav .indicator{
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 0; 
  background: rgba(0, 0, 0, .04);
  border-radius: 999px;
  transition: transform .25s ease, width .25s ease;
  z-index: 0;
}
.nav .item{
  position: relative;
  z-index: 1;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 6px;
  border-radius: 999px;
  font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: #111;
  -webkit-tap-highlight-color: transparent;
}
.nav .item.active{
  color: #2f78ff;
}
.nav .ico{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.nav .txt{
  display: block;
  text-align: center;
  opacity: .9;
  font-size: 10px;
}
/* Nav */




/* button */
.btn {
  display:flex; 
  align-items:center; 
  justify-content:center; 
  gap:8px; 
  appearance:none; 
  border: none; 
  border-radius:12px; 
  font-weight:600; 
  cursor:pointer;
  width: 100%;
  height: 48px;
}
.btn.primary {
  background-color: #0373ff;
  color: #fff;
}
.btn.primary {
  background-color: #0373ff;
  color: #fff;
}
.btn.secondary {
  background-color: #f2f4f7;
  color: #101828;
}

.btn.outline {
  background-color: transparent;
  color: #0373ff;
}

.btn.soft {
  background-color: #e6f0ff;
  color: #0373ff;
}

.btn.success {
  background-color: #12b76a;
  color: #fff;
}

.btn.danger {
  background-color: #f04438;
  color: #fff;
}

.btn.warning {
  background-color: #f79009;
  color: #111827;
}

.btn.dark {
  background-color: #0b1220;
  color: #fff;
}

.btn.ghost {
  background-color: transparent;
  color: #101828;
}

/* button */

/* modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  @background: rgba(0, 0, 0, 0.6); /* затемнение */
  background: var(--bg);
  display: none; /* скрыто по умолчанию */
  justify-content: center;
  align-items: flex-start;
  z-index: 9999;
  transition: opacity 0.3s ease;
  overflow: auto;
}
.step:has(.form-actions){
  padding-bottom: 132px;
}
.modal.active:has(.form-actions){
  padding-bottom: 116px;
}
.modal.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  background: var(--bg);
  width: 100%;
  @height: 100%;
  height: calc(fit-content + var(--safe-bot));
  max-width: 460px;
  padding: 0 20px;
  position: relative;
  @animation: slideDown 0.3s ease;
  padding-top: calc(36px + var(--safe-top));
  padding-bottom: calc(16px + var(--safe-bot));
  @padding-bottom: calc(36px + var(--safe-bot));
  min-height: calc(100dvh + var(--safe-bot));
}
.modal-back {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  height: 32px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  z-index: 2;
  border: none;
  outline: none;
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* modal */

/* sheet */
.modal-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.modal-sheet.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-sheet_content {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 460px;
  background: #fff;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -12px 48px rgba(0,0,0,.15);
  visibility: hidden;
  transition: 
    transform 0.6s cubic-bezier(.22,1,.36,1),
    visibility 0.6s;
  transform: translateY(100%);
  z-index: 999999;
  padding: 0;
  color: var(--text);
  pointer-events: none;
  max-height: 100dvh;
  overflow: auto;
}
.modal-sheet.active .modal-sheet_content {
  transform: translateY(0);
  visibility: visible;
  pointer-events: all;
}
.modal-sheet_body {
  padding: 32px 16px calc(32px + var(--safe-bot));
  height: 100%;
  overflow: auto;
}
.modal-sheet_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  border: none;
  outline: none;
}
.modal-sheet_close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  height: 32px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  z-index: 2;
  border: none;
  outline: none;
}
.modal-sheet_close svg {
  width: 16px;
}
.modal-title,
.sheet-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
  text-align: center;
}
.modal-desc,
.sheet-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  margin-bottom: 24px;
}

/* sheet */



/* input */
.input {
  position:relative;
  max-width:620px
}
.input-field {
  width:100%;
  height:48px;
  padding:0 18px 0 52px;
  border:1px solid rgba(0, 0, 0, .1);
  border-radius:24px;
  outline:0;
  font:16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
.input-field::placeholder {
  color:#b9b9b9
}
.input-icon {
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  fill:#c6c6c6;
  pointer-events:none;
}
/* input */


/* UI Elements */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.menu_item {
  border-bottom: 1px solid #e5e7eb;
}
.menu_item:last-child {
  border-bottom: none;
}
.menu_btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}
.menu_badge {
  width: 36px;
  height: 36px;
  display: grid;
  align-items: start;
  place-items: center;
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.09);
  color: #2f78ff;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
}
.menu_badge img {
  object-fit: cover;
  object-position: left top;
  width: 100%;
  height: 100%;
  display: block;
}
.menu_content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.menu_text {
  font-weight: 600;
  color: #111827;
}
.menu_right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu_icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

.card {
  padding: 14px;
  background: #fff;
  border-radius: 24px;
}
.card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.card label {
  display: block;
  margin-bottom: 8px;
}
.card .card-item {
  padding: 8px;
  background: var(--bg);
  border-radius: 24px;
}
.card .card-line {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.card .card-line span:first-child {
    color: #9c9da4;
}
/* UI Elements */


/* Auth web */
.auth-web {
  padding: 48px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
}
.auth-web_logo {
  width: 100px;
  margin-bottom: 16px;
}
.auth-web big {
  display: block;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}
.auth-web p {
  display: block;
  font-size: 16px;
  opacity: .65;
  text-align: center;
}
.auth-web_action {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
/* Auth web */


/* Dispute start */
.dispute-step {
  max-width: 540px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  text-align: center;
}

.dispute-step_icon {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, .05);
  border-radius: 60px;
  margin-bottom: 16px;
}

.dispute-step_title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 20px;
}

.dispute-step_desc {
  font-size: 16px;
  line-height: 1.45;
  color: #374151;
  margin-bottom: 20px;
}

.dispute-step_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.dispute-step_item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  background: #fff;
  border-radius: 18px;
  text-align: left;
}

.dispute-step_num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef0f3;
  color: #6b7280;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.dispute-step_text {
  font-size: 16px;
  line-height: 1.35;
  color: #1f2937;
}

.dispute-step_alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 470px;
  margin: 0 auto;
  text-align: left;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.45;
}

.dispute_progressbar {
  margin: 0 auto;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 55%;
}
.dispute_progressbar-line {
  flex: 1 1 calc(50% - 5px);
  height: 3px;
  background: rgba(0, 0, 0, .05);
}
.dispute_progressbar-line.active {
  background: #0373ff;
}

.dispute_label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px;
}

.dispute_oper {
  margin-bottom: 14px;
}
.dispute_oper .oper-item {
  height: fit-content;
}
.dispute-files {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dispute-files input {
  display: none;
  opacity: 0;
}
.dispute-add_file {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  background: #000;
  color: #fff;
  border-radius: 16px;
  outline: none;
  border: none;
}
.dispute_previews {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
}
.dispute_preview_item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f3f4;
  border-radius: 16px;
  height: 80px;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  overflow: hidden;
}
.dispute_preview_item img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  border-radius: 16px;
}
.dispute_preview_remove {
  position: absolute;
  top: -11px;
  right: -11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  outline: none;
  width: 22px;
  height: 22px;
  border-radius: 22px;
  border: none;
}

.dispute-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.dispute-status_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, .05);
  border-radius: 60px;
  margin-bottom: 16px;
}
.dispute-status_title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .2px;
}
.dispute-status_desc {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .2px;
  text-align: center;
  margin-top: 6px;
  padding: 0 24px;
}

.dispute-step_alert-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  margin-top: 1px;
}
.textarea__box{
  position:relative;
  background:#ffffff;
  border:1px solid #e7ebf3;
  border-radius:16px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.textarea__field{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  font-size:14px;
  font-weight:500;
  color:#111827;
  resize: vertical; /* можно убрать, если не нужно */
  line-height:1.4;
}

.textarea__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:6px;
  border-top:1px solid #eef2f7;
}

.textarea__hint{
  color:#c0c7d4;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  text-transform: uppercase;
}

.textarea__counter{
  color:#c0c7d4;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

.textarea__box.is-limit .textarea__counter{
  color:#ef4444; /* красным, когда достигнут лимит */
}
/* Dispute end */


/* Quick Card start */
.quick_cards {
  display:flex;
  gap:12px;
  padding:12px 16px;
  margin: 0 -16px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scroll-padding-inline: 16px;
}
.quick_cards::-webkit-scrollbar{ height:0; }

.quick_card {
  --w: 100px;
  --h: 100px;
  width:var(--w);
  height:var(--h);
  flex:0 0 auto;

  border-radius:24px;
  position:relative;
  overflow:hidden;
  scroll-snap-align:start;

  background: #ccc var(--bg) center / cover no-repeat;
  opacity: none;
  text-decoration:none;
  border:1px solid #0373ff;
}
.quick_card-title {
  position:absolute;
  top:10px;
  left:10px;
  right:10px;
  font: 600 11px/1.15 system-ui, -apple-system, "SF Pro Text", "SF Pro Display", Arial, sans-serif;
  letter-spacing: -0.2px;
  color:var(--text);
  text-align: left;
  text-wrap: balance;
}
/* ===== QUICK MODAL (stories) ===== */

.modal[data-modal="quick"] .modal-content.quick{
  padding: 0;
  max-width: 440px;
}

.quick-wrap{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0b0b0f;
}

/* bars */
.quick-bars{
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.quick-bar{
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}

.quick-bar_fill{
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
}

/* media */
.quick-media{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.quick-img,
.quick-video{
  width: 100%;
  height: calc(100% - var(--safe-bot));
  display: block;
  object-fit: cover;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* bottom gradient + text */
.quick-bottom{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 14px 14px 16px;
  padding-bottom: calc(16px + var(--safe-bot));
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.22) 55%, rgba(0,0,0,0));
}

.quick-title{
  font: 700 16px/1.2 system-ui, -apple-system, "SF Pro Text", "SF Pro Display", Arial, sans-serif;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.quick-text{
  font: 500 13px/1.35 system-ui, -apple-system, "SF Pro Text", "SF Pro Display", Arial, sans-serif;
  opacity: .92;
}

/* actions placeholder */
.quick-actions{
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

/* prev/next hit areas */
.quick-nav{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  z-index: 7;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.quick-prev{ left: 0; }
.quick-next{ right: 0; }

.quick-nav:active{
  background: rgba(255,255,255,.03);
}

/* optional: hide nav buttons on desktop hover style */
@media (hover:hover){
  .quick-nav{ opacity: .0; transition: opacity .18s ease; }
  .quick-wrap:hover .quick-nav{ opacity: 1; }
}

/* make modal-back visible on dark content if needed */
.modal[data-modal="quick"] .modal-back{
  position: absolute;
  z-index: 10;
  top: 20px;
  right: 10px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}



/* Form */
.form-sheet {
  padding: 0 16px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.form.full {
  min-height: 100dvh;
}

/* Инфо-блок сверху */
.info-list {
  display: grid;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  margin-bottom: 14px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.2;
  opacity: .9;
}

.info-value {
  text-align: right;
  opacity: 1;
  font-weight: 600;
}
.form-actions {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: min(460px, 100vw); 
  padding: 0 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}
.input{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#111827;
  width:100%;
  margin-bottom: 14px;
}
.input.no-mg {
  margin-bottom: 0;
}

.input__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:6px;
}
.input__label{
  font-size:16px;
  font-weight:500;
  letter-spacing:-0.2px;
}
.input__right{
  display:flex;
  align-items:center;
  gap:8px;
}
.input__box {
  position: relative;
  background: #ffffff;
  border: 1px solid #e3e8f2;
  border-radius: 14px;
  height: 48px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.input__field {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: #111827;
  height: 100%;
}
.input__field::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.input__suffix {
  color: #98a2b3;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.suffix__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.input__btn {
  border: 0;
  background: #eef5ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.12s ease;
}
.input__btn:active {
  transform: scale(0.97);
}
.input__btn:hover {
  background: #dbeafe;
}
.input__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.input-clear {
  background: transparent;
  border: none;
  outline: none;
  color: #9c9da4;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.input-clear svg {
  width: 16px;
}
.input-clear.show {
  opacity: 1;
  visibility: visible;
}
.input__hint{
  margin-top:6px;
  color:#c0c7d4;
  font-size:12px;
  font-weight:400;
}
.input.error .input__box {
  border-color: #ff3b30;
  background: #ff3b301a;
}
.input.error .input__box .input__field {
  color: #ff3b30;
}
.input.error .input__box .input__field::placeholder {
  color: #ff3b30;
  opacity: .65;
}

.input__picked{
  position:absolute;
  inset:0px;         
  border-radius:16px;
  background:#fff;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  gap:12px;
}
.picked__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.picked__ava{
  width:30px;
  height:30px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 auto;
}
.picked__name{
  font-weight:500;
  font-size:16px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.picked__clear{
  display: flex;
  align-items: center;
  justify-content: center;
  width:34px;
  height:34px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--text);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
/* Form */

/* Banks */
.btn-coin {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0px;
  width: fit-content;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 10px;
}
.btn-coin img {
  height: 16px;
  width: 16px;
  margin-right: 4px;
}

.bank-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
  margin-bottom: 14px;
}
.bank-item{
  border-radius: 16px;
  display: flex!important;
  flex-direction: column;
  gap: 6px;
  height: 110px;
  flex: 0 0 110px;
  width: 110px;
  min-width: 110px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255,255,255,.10);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  scroll-snap-align: start;
}
.bank-item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.bank-icon{
  width: 34px;
  margin-top: 2px;
}
.bank-name {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
  max-width: 96px;
  overflow: hidden;
  white-space: nowrap;
}
.bank-item:has(input:checked){
  border-color: #0373ff;
}
.bank-radio {
  position: absolute;
  top: 10px;
  right: 10px;
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 22px;
}
.bank-item:has(input:checked) .bank-radio:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 14px;
  height: 14px;
  background: #0373ff;
  border-radius: 14px;
}
.sbppsb        { background: #FDECEF; } /* ПСБ — светло-розовый (фирменный красный) */
.sbpakbars     { background: #E9F7F0; } /* Ак Барс — светло-зелёный */
.sbprnkb       { background: #E6F0FF; } /* РНКБ — светло-синий */
.sbpotp        { background: #F3E6FF; } /* ОТП — светло-фиолетовый */
.sbpozon       { background: #E8EEFF; } /* Ozon — светло-синий */
.sbpmtc        { background: #FFE8F0; } /* МТС — светло-розовый */
.sbppochtabank { background: #E9F3FF; } /* Почта Банк — светло-сине-голубой */
.sbpumoney     { background: #FFF3D6; } /* ЮMoney — светло-оранжевый */
.sbptinkoff    { background: #FFF6CC; } /* Т-Банк (Tinkoff) — светло-жёлтый */
.sbpsber       { background: #E9F7F0; } /* Сбер — светло-зелёный */
.sbpraif       { background: #FFF2CC; } /* Райффайзен — тёплый светло-жёлтый */
.sbpalfa       { background: #FFE6E8; } /* Альфа — светло-красный/розовый */
.sbpotkritie   { background: #E6F2FF; } /* Открытие — светло-голубой */
.sbpvtb        { background: #E7F1FF; } /* ВТБ — светло-синий */
.sbpsovkombank { background: #E7F1FF; } /* Совкомбанк — светло-синий */
.sbpgazprom    { background: #E6F2FF; } /* Газпромбанк — светло-голубой */
.sbprosbank    { background: #EAF7EA; } /* Росбанк — светло-зелёный */
.sbpyandexbank { background: #FFF3D6; } /* Яндекс Банк — светло-оранжевый */

.operators-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
  margin-bottom: 14px;
}
.operator-item{
  border-radius: 16px;
  display: flex!important;
  flex-direction: column;
  gap: 6px;
  height: 110px;
  flex: 0 0 110px;
  width: 110px;
  min-width: 110px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255,255,255,.10);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  scroll-snap-align: start;
}
.operator-item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.operator-icon{
  width: 34px;
  margin-top: 2px;
}
.operator-name {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
  max-width: 96px;
  overflow: hidden;
  @white-space: nowrap;
}
.operator-item:has(input:checked){
  border-color: #0373ff;
}
.operator-radio {
  position: absolute;
  top: 10px;
  right: 10px;
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 22px;
}
.operator-item:has(input:checked) .operator-radio:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 14px;
  height: 14px;
  background: #0373ff;
  border-radius: 14px;
}
/* Russia */
.beeline_ru {
  background: #FFF6D6;
} /* Билайн — светло-жёлтый */

.mts_ru {
  background: #FFE8E8;
} /* МТС — светло-красный */

.megafon_ru {
  background: #E9F7F0;
} /* МегаФон — светло-зелёный */

.tele2_ru {
  background: #E8F6FF;
} /* Tele2 — светло-голубой */

.yota_ru {
  background: #F1F1F1;
} /* Yota — светло-серый */

.volna_mobile_ru {
  background: #E8F6FF;
} /* Волна Мобайл — светло-голубой */

.lyca_mobile_ru {
  background: #FFF4D8;
} /* Lyca Mobile — светло-жёлто-оранжевый */

.matrix_mobile_ru {
  background: #F0F0F0;
} /* Matrix Mobile — светло-серый */

.next_mobile_ru {
  background: #EAF3FF;
} /* Next Mobile — светло-синий */

.ttk_mobile_ru {
  background: #FFEDE0;
} /* ТТК Мобайл — светло-оранжевый */

.tmobile_ru {
  background: #FFE6F3;
} /* T-Mobile — светло-розовый */


/* Kazakhstan */
.kcell_kz {
  background: #E8F4FF;
} /* Kcell — светло-синий */

.beeline_kz {
  background: #FFF6D6;
} /* Билайн — светло-жёлтый */

.active_kz {
  background: #FFF4D8;
} /* Activ — светло-оранжевый */

.tele2_kz {
  background: #E8F6FF;
} /* Tele2 — светло-голубой */

.altel_kz {
  background: #F3ECFF;
} /* Altel — светло-фиолетовый */


/* UAE */
.du_ae {
  background: #E8F7FA;
} /* du — светло-бирюзовый */

.etisalat_ae {
  background: #EAF8E8;
} /* Etisalat — светло-зелёный */


/* Uzbekistan */
.beeline_usd_uz {
  background: #FFF6D6;
} /* Билайн USD — светло-жёлтый */

.ucell_usd_uz {
  background: #F1E8FF;
} /* Ucell USD — светло-фиолетовый */

.perfectum_mobile_uz {
  background: #E8F8EE;
} /* Perfectum Mobile — светло-зелёный */

.uzmobile_uz {
  background: #E8F2FF;
} /* UzMobile — светло-синий */

.mobiuz_uz {
  background: #FFE8E8;
} /* Mobiuz — светло-красный */

.beeline_uzs_uz {
  background: #FFF6D6;
} /* Билайн UZS — светло-жёлтый */

.ucell_uzs_uz {
  background: #F1E8FF;
} /* Ucell UZS — светло-фиолетовый */


/* Tajikistan */
.megafon_tj {
  background: #E9F7F0;
} /* МегаФон — светло-зелёный */

.zet_mobile_tj {
  background: #E8F2FF;
} /* Zet-Mobile — светло-синий */

.tcell_tj {
  background: #FFE8F1;
} /* Tcell — светло-розовый */

.babilon_m_tj {
  background: #EAF8E8;
} /* Babilon-M — светло-зелёный */

.o_mobile_tj {
  background: #FFF1E6;
} /* O Mobile — светло-оранжевый */


/* China */
.china_mobile_cn {
  background: #E8F6FF;
} /* China Mobile — светло-голубой */

.china_telecom_cn {
  background: #E8F2FF;
} /* China Telecom — светло-синий */

.china_unicom_cn {
  background: #FFE8E8;
} /* China Unicom — светло-красный */


/* USA */
.att_us {
  background: #E8F6FF;
} /* AT&T — светло-голубой */

.t_mobile_us {
  background: #FFE6F3;
} /* T-Mobile — светло-розовый */


/* Kyrgyzstan */
.sky_mobile_kg {
  background: #FFF6D6;
} /* Билайн — светло-жёлтый */

.megacom_kg {
  background: #E8F8EE;
} /* MegaCom — светло-зелёный */

.o_kg {
  background: #FFF1E6;
} /* О! — светло-оранжевый */

.mobile_topup-amount_span {
  padding-right: 5px;
}
.mobile-topup_fiat img {
  width: 16px;
  height: 16px;
}
.mobile_topup-recived_prices {
  display: none;
}
.mobile_prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}
.mobile_prices button {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  padding: 14px 8px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  font-family: inherit;
  text-align: center;
}
.mobile_prices button:hover {
  border-color: #000;
  background: rgba(0, 0, 0, .02);
}
.mobile_prices button.active {
  border-color: #000;
  background: rgba(0, 0, 0, .02);
}

.input-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.input-card .input__box {
  flex: 1;
}
.mobile-code,
.card-fiat {
  border: 1px solid #e7ebf3;
  border-radius: 16px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  background: transparent;
}
.mobile-code img,
.card-fiat img {
  width: 20px;
  height: 20px;
}
.mobile-code svg,
.card-fiat svg {
  color: #9c9da4;
  height: 16px;
  width: 16px;
}
.card-icon {
  height: 20px;
}

/* опционально, для визуального фидбэка */
.input__box.is-valid   { @border: 1px solid #2e7d32; }
.input__box.is-invalid { border: 1px solid #c62828; }
.card-hint { display:block; margin-top:6px; opacity:.8; }

.mobile-topup_pair,
.sbp-send_pair,
.card-send_pair {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}
.mobile-topup_pair-icon,
.sbp-send_pair-icon,
.card-send_pair-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-topup_pair-icon img,
.sbp-send_pair-icon img,
.card-send_pair-icon img {
  width: 60px;
  height: 60px;
  border: 4px solid var(--bg);
  border-radius: 60px;
}
.mobile-topup_pair-icon img:first-child,
.sbp-send_pair-icon img:first-child,
.card-send_pair-icon img:first-child {
  margin-right: -10px;
}
.mobile-topup_pair-icon img:last-child,
.sbp-send_pair-icon img:last-child,
.card-send_pair-icon img:last-child {
  margin-left: -10px;
}
.mobile-topup_pair-name,
.sbp-send_pair-name,
.card-send_pair-name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.mobile-topup_pair-name big,
.sbp-send_pair-name big,
.card-send_pair-name big {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 600;
}
.mobile-topup_pair-name p,
.sbp-send_pair-name p,
.card-send_pair-name p {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
}
/* Banks */


/* Sessions */
.sessions,
.sessions_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sessions-item {
  display: flex;
  gap: 12px;
}
.sessions-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  border-radius: 16px;
}
.sessions-data {
  flex: 1;
  text-align: left;
}
.sessions-data big {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.sessions-data p {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: .7;
}
.session-btn {
  height: 36px;
  margin-top: 8px;
}
/* Sessions */

/* Partners */
.partner-item {
  margin-bottom: 14px;
}
.partner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.partner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  overflow: hidden;
}
.partner-avatar img {
  object-fit: cover;
}
.partner-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.partner-name {
  overflow: hidden;
}
.partner-name big {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.partner-name span {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.partner-date {
  font-size: 10px;
  opacity: .65;
}
[data-modal="partner-profile"].loading{opacity:.6;pointer-events:none}
.partner-profile_body .pp-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.partner-profile_body .pp-ava img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.partner-profile_body .pp-ava_ph{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.06)}
.partner-profile_body .pp-name{font-weight:600}
.partner-profile_body .pp-sub{opacity:.7;font-size:13px;margin-top:2px}
.partner-profile_body .pp-block{padding-top:12px}
.partner-profile_body .pp-title{font-weight:600;margin-bottom:8px}
.partner-profile_body .pp-row{display:flex;justify-content:space-between;align-items:center;padding:8px;font-size: 14px;font-weight: 500}
.partner-profile_body .pp-coin{display:flex;align-items:center;gap:8px}
.partner-profile_body .pp-coin img{width:18px;height:18px;border-radius:50%}
.partner-profile_body .pp-amt{font-variant-numeric:tabular-nums}
.partner-profile_body .pp-empty{opacity:.7;padding:10px 0}
/* Partners */

/* Toast */
.tg-toast-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  z-index: 99999999999999999999;
}
.tg-toast {
  max-width: 560px;
  width: fit-content;
  pointer-events: none;

  background: rgba(28, 28, 30, 0.86);
  color: rgba(255, 255, 255, 0.96);
  border-radius: 999px;

  padding: 10px 14px;
  font: 15px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease;
  will-change: transform, opacity;

  /* iOS-ish colored accent */
  border: 1px solid rgba(255,255,255,0.10);
}

/* Success/Error accents */
.tg-toast--success {
  border-color: rgba(48, 209, 88, 0.35);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(48, 209, 88, 0.18) inset;
}
.tg-toast--error {
  border-color: rgba(255, 69, 58, 0.35);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 69, 58, 0.16) inset;
}

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

.tg-toast__text {
  white-space: pre-wrap;
  word-break: break-word;
  text-align: center;
}
/* Toast */


/* Mail code */
.mailcode-cells{
  display:flex;
  gap: 8px;
  margin: 22px 0;
}
.mailcode-cell{
  position: relative;
  height: 48px;
  width: 48px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
}
.mailcode-cell[data-focused="true"]{
  border: 2px solid #3390ec;
}
.mailcode-cell[data-full="true"]{
  /* можно оставить пустым, или добавить стиль */
}
.mailcode-input{
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;

  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 48px;
  color: #000;

  -moz-appearance: textfield;
}
.mailcode-input::-webkit-outer-spin-button,
.mailcode-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mail-code {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.sign-send-again {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #000;
  font-weight: 600;
}
/* Mail code */


/* Pay menthod */
.pay-method_list {
  display: flex;
  flex-direction: column;
}
.pay-method_amount {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.pay-method_amount span {
  display: block;
  font-size: 14px;
}
.pay-method_title {
  margin: 8px 0;
  font-size: 14px;
  opacity: .85;
  text-align: center;
}
.coin-choose_list,
.pay-method_card {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}
.coin-choose_btn,
.pay-method_item {
  background: var(--bg);
  border-radius: 0px;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.pay-method_item:last-child {
  border-bottom: none;
}
.pay-method_item:disabled {
  opacity: .65;
  cursor: not-allowed;  
  pointer-events: none; 
}
.pay-method_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 16px;
  height: 62px;
}
.pay-method_item.disabled {
  opacity: 0.5;
}
.pay-method_item .radio {
  position: relative;
  background-color: #fff;
  border-radius: 50%;
  color: transparent;
  display: block;
  height: 24px;
  margin: 0;
  width: 24px;
}
.pay-method_item.active .radio:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 14px;
  background-color: #0373ff;
  color: #fff;
  transition: .2s ease-in-out;
}
.pay-method_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 16px;
  height: 28px;
  font-size: 10px;
  font-weight: 400;
  border-top: 1px solid rgba(0, 0, 0, .05);
}
.pay-method_change {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 16px;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  height: 62px;
}
.btn-loader{
  --s: 22px;          /* size */
  --w: 4px;           /* stroke width */
  width:var(--s);
  height:var(--s);
  color:#fff;      /* currentColor */
  display:inline-block;
  animation:loader-rot .9s linear infinite;
}
.loader__ring{
  fill:none;
  stroke:currentColor;
  stroke-width:var(--w);
  stroke-linecap:round;
  stroke-dasharray:90 140;
  stroke-dashoffset:0;
}
@keyframes loader-rot{to{transform:rotate(360deg)}}

.empty {
  display:grid;
  gap:.5rem;
  place-items:center;
  text-align:center;
  padding:36px 20px;
}
.empty.bg {
  border:1px dashed rgba(0,0,0,.15);
  border-radius:14px;
  background: rgba(0,0,0,.02);
}
.empty__icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  font-size:28px;
  border-radius:16px;
  background: rgba(0,0,0,.06);
}
.empty__title{
  margin:.25rem 0 0;
  font:600 1.05rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.empty__text{
  margin:0;
  max-width:42ch;
  color: rgba(0,0,0,.65);
  font:400 .95rem/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.empty__action{
  margin-top:.5rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.6rem .95rem;
  border-radius:12px;
  text-decoration:none;
  font:600 .95rem/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: rgba(0,0,0,.86);
  color:#fff;
}
.empty__action:focus-visible{
  outline:3px solid rgba(0,0,0,.25);
  outline-offset:3px;
}

/* Pay method */


/* TG stars/premium */
.tgpremium_list,
.tgstars_list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
  margin-bottom: 14px;
}
.tgpremium_item,
.tgstars_item{
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 110px;
  flex: 0 0 calc((100% - 16px) / 3);
  width: calc((100% - 16px) / 3);
  min-width: 110px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 2px solid rgba(255,255,255,.10);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  scroll-snap-align: start;
}
.stars-myself,
.premium-myself {
  background: transparent;
  border: none;
  font-weight: 600;
  color: #0373ff;
  outline: none;
}
.tgpremium_item input,
.tgstars_item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.tgpremium_icon,
.tgstars_icon{
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
}
.tgpremium_count,
.tgstars_count{
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
  max-width: 96px;
  overflow: hidden;
  white-space: nowrap;
}
.tgpremium_price,
.tgstars_price{
  font-size: 12px;
  font-weight: 500;
  opacity: .78;
  line-height: 1.1;
  max-width: 96px;
  overflow: hidden;
  white-space: nowrap;
}
.tgpremium_item:has(input:checked),
.tgstars_item:has(input:checked){
  border-color: #0373ff;
}
.tgpremium_radio,
.tgstars_radio {
  position: absolute;
  top: 10px;
  right: 10px;
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 22px;
}
.tgpremium_item:has(input:checked) .tgpremium_radio:after,
.tgstars_item:has(input:checked) .tgstars_radio:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 14px;
  height: 14px;
  background: #0373ff;
  border-radius: 14px;
}
/* TG stars/premium */

/* Switch */

.a-toggle-switch {
    cursor: pointer;
}
.a-toggle-switch .input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border-width: 0;
}
.a-toggle-switch .switch {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 24px;
    background-color: rgba(8, 9, 28, 0.05);
    transition: background-color 0.25s ease-in-out;
}
.a-toggle-switch .switch::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    filter:
        drop-shadow(0 1px 2px rgba(16, 24, 40, 0.06))
        drop-shadow(0 1px 3px rgba(16, 24, 40, 0.1));
    transition: transform 0.375s ease-in-out;
}
.a-toggle-switch .input:checked + .switch {
    background-color: #2f78ff;
}
.a-toggle-switch .input:checked + .switch::before {
    transform: translateX(20px);
}
.a-toggle-switch .input:checked:disabled + .switch {
    background-color: #9c9da4;
}
.a-toggle-switch .input:checked:disabled + .switch::before {
    background-color: #e9eaee;
}

/* Switch */


/* chart */
.balance-card {
  position: relative;
  margin: 0 -20px;
  box-sizing: border-box;
  color: #08090c;
  overflow: hidden;
  isolation: isolate;
}

.balance-card__top {
  position: relative;
  z-index: 2;
  padding: 0 22px;
}

.balance-card__label {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  color: #9aa3b2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.balance-card__amount {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
  font-size: clamp(31px, 8vw, 38px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: #07080b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.balance-card__amount span {
  position: relative;
  top: -3px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #7f8998;
}

.balance-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
  min-height: 26px;
}

.balance-card__rate {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.15;
  color: #667085;
  letter-spacing: -0.018em;
  font-variant-numeric: tabular-nums;
}

.balance-card__change {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 58px;
  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #8b95a5;
  background: rgba(15, 23, 42, 0.045);
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

.balance-card__change.is-up {
  color: #057a55;
  background: rgba(7, 148, 85, 0.105);
}

.balance-card__change.is-down {
  color: #d92d20;
  background: rgba(217, 45, 32, 0.095);
}

.balance-card__change.is-flat {
  color: #667085;
  background: rgba(15, 23, 42, 0.045);
}

.balance-card__chart {
  position: relative;
  width: 100%;
  height: 116px;
  opacity: 1;
  transform: translateZ(0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.balance-card__chart.is-loading {
  opacity: 0.42;
  transform: translateY(2px);
}

.balance-card__chart.is-hidden {
  display: none;
}

.balance-card__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 380px) {

  .balance-card__amount {
    font-size: clamp(29px, 9vw, 34px);
  }

  .balance-card__amount span {
    font-size: 13px;
  }

  .balance-card__chart {
    height: 108px;
    margin-top: 14px;
  }
}
/* chart */



/* =========================================================
   APP SMOOTHNESS — CLASSIC MINIMAL VERSION
   Только необходимые анимации
   Без лишних эффектов
========================================================= */

:root {
  --app-ease: cubic-bezier(.22, 1, .36, 1);
  --app-ease-soft: cubic-bezier(.16, 1, .3, 1);
  --app-ease-press: cubic-bezier(.2, 0, 0, 1);

  --app-duration-fast: 140ms;
  --app-duration-base: 240ms;
  --app-duration-page: 360ms;

  --app-page-offset: 12px;
  --app-press-scale: .99;
}

/* На мобильных анимации чуть заметнее, но без перебора */
@media (hover: none) and (pointer: coarse) {
  :root {
    --app-duration-fast: 150ms;
    --app-duration-base: 260ms;
    --app-duration-page: 400ms;
    --app-page-offset: 14px;
    --app-press-scale: .975;
  }
}

/* Pages */
/* Pages — только мягкое появление без движения */
.content-item {
  animation: appPageFade var(--app-duration-page) var(--app-ease) both;
  will-change: opacity;
  backface-visibility: hidden;
}

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

@keyframes appPageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Modal — как page, спокойно и классически */
.modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity var(--app-duration-base) var(--app-ease),
    visibility var(--app-duration-base) var(--app-ease);
}

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

.modal-content {
  opacity: 0;
  transform: translate3d(0, var(--app-page-offset), 0);

  transition:
    opacity var(--app-duration-page) var(--app-ease-soft),
    transform var(--app-duration-page) var(--app-ease-soft);

  will-change: opacity, transform;
  backface-visibility: hidden;
}

.modal.active .modal-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Нажатия — только интерактивные элементы */
button,
a,
.btn,
.nav .item,
.nav-btn,
.menu_btn,
.asset-item,
.oper-item,
.btn-card,
.psys-item,
.network-item,
.oper-filter_item,
.quick_card,
.user-nav button,
.aff_levels button,
.oper-types button,
.oper-open_filters button,
.rc__cell,
.rc__btn,
.modal-back,
.modal-sheet_close,
.ref_link-copy,
.inviter-pm,
.dispute-add_file {
  transition:
    transform var(--app-duration-fast) var(--app-ease-press),
    opacity var(--app-duration-fast) ease,
    background-color var(--app-duration-base) var(--app-ease),
    color var(--app-duration-base) var(--app-ease),
    border-color var(--app-duration-base) var(--app-ease);

  backface-visibility: hidden;
}

button:active,
a:active,
.btn:active,
.nav .item:active,
.nav-btn:active,
.menu_btn:active,
.asset-item:active,
.oper-item:active,
.btn-card:active,
.psys-item:active,
.network-item:active,
.oper-filter_item:active,
.quick_card:active,
.user-nav button:active,
.aff_levels button:active,
.oper-types button:active,
.oper-open_filters button:active,
.rc__cell:active,
.rc__btn:active,
.modal-back:active,
.modal-sheet_close:active,
.ref_link-copy:active,
.inviter-pm:active,
.dispute-add_file:active {
  transform: scale(var(--app-press-scale));
  opacity: .9;
}

/* Disabled */
button:disabled,
.btn:disabled {
  opacity: .45;
  pointer-events: none;
  transform: none !important;
}

/* Bottom nav */
.nav .indicator {
  transition:
    transform 300ms var(--app-ease-soft),
    width 300ms var(--app-ease-soft),
    left 300ms var(--app-ease-soft);
}

.nav .item {
  transition:
    transform var(--app-duration-fast) var(--app-ease-press),
    color var(--app-duration-base) var(--app-ease),
    opacity var(--app-duration-base) var(--app-ease);
}

/* Tabs / filters */
.oper-types button,
.aff_levels button,
.oper-open_filters button {
  transition:
    transform var(--app-duration-fast) var(--app-ease-press),
    background-color var(--app-duration-base) var(--app-ease),
    color var(--app-duration-base) var(--app-ease),
    opacity var(--app-duration-fast) ease;
}

/* Inputs */
.input-field,
.textarea__box {
  transition:
    border-color var(--app-duration-base) var(--app-ease),
    background-color var(--app-duration-base) var(--app-ease);
}

.input-field:focus {
  border-color: rgba(47, 120, 255, .55);
}

.textarea__box:focus-within {
  border-color: rgba(47, 120, 255, .55);
}

.input:focus-within .input-icon {
  fill: var(--primary);
  transition: fill var(--app-duration-base) var(--app-ease);
}

/* Pin-code */
.pincode-cell {
  transition:
    border-color var(--app-duration-base) var(--app-ease),
    background-color var(--app-duration-base) var(--app-ease);
}

.pincode-cell[data-full="true"]:after {
  animation: appDotIn 160ms var(--app-ease-soft) both;
}

.pincode-keyboard_button:active {
  transform: scale(.97);
  background-color: rgba(0, 0, 0, .03);
}

/* Progress / status */
.quick-bar_fill,
.svg-timer__progress,
.dispute_progressbar-line {
  transition:
    width 220ms linear,
    stroke-dashoffset 220ms linear,
    background-color var(--app-duration-base) var(--app-ease);
}


/* Pin dot */
@keyframes appDotIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Системное отключение */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Ручное отключение для старых устройств */
.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation-duration: 1ms !important;
  animation-delay: 0ms !important;
  transition-duration: 1ms !important;
  scroll-behavior: auto !important;
}





