/* баланс сверху — кнопка, ведёт в кошелёк */
.balance { cursor: pointer; transition: transform .15s; }
.balance:active { transform: scale(.97); }

/* ---------- Кошелёк ---------- */
.wal { gap: 14px; padding-bottom: 8px; }

.wal__addr {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px; border-radius: 24px;
  font-size: 13px; font-weight: 600;
}
.wal__addr b { color: #ff7ab8; font-weight: 700; }
.wal__addrtxt { position: relative; flex: 1; min-width: 0; }
.wal__link {
  position: relative; flex: none; height: 30px; padding: 0 14px; border-radius: 15px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: #fff; font: 700 12px inherit; font-family: inherit;
}
.wal__link--white { border: 0; background: #fff; color: #000; }
.wal__link:active { transform: scale(.95); }
.wal__calc { margin: 0 2px 10px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.7); }
.wal__calc:empty { display: none; }
.wal__addrico { position: relative; display: flex; }
.wal__addrico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wal__card {
  padding: 18px 18px 16px; border-radius: 28px;
  display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(247,37,133,.38), rgba(247,37,133,0) 60%),
    linear-gradient(135deg, rgba(27,36,56,.6), rgba(27,36,56,.3));
}
.wal__card > * { position: relative; }
.wal__cardlabel { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.wal__big { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.wal__big b { font: 700 38px 'Unbounded', system-ui, sans-serif; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wal__big span { font: 700 20px 'Unbounded', system-ui, sans-serif; color: rgba(255,255,255,.5); }
.wal__tonico { align-self: center; display: flex; margin-left: 2px; }
.wal__tonico svg { width: 26px; height: 26px; }
.wal__stars { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.wal__stars b { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 500; color: #fff; }

.wal__btns { display: flex; gap: 10px; margin-top: 12px; }
.wal__btn {
  flex: 1; height: 52px; border-radius: 26px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px inherit; font-family: inherit; color: #fff;
  transition: transform .15s, opacity .2s;
}
.wal__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wal__btn:active { transform: scale(.97); }
.wal__btn:disabled { opacity: .45; cursor: default; }
.wal__btn--white { background: #fff; color: #000; }
.wal__btn--glass {
  border: 1px solid rgba(247,37,133,.6);
  background: linear-gradient(180deg, rgba(247,37,133,.75), rgba(247,37,133,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 8px 22px rgba(247,37,133,.3);
}

.wal__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.wal__chips::-webkit-scrollbar { display: none; }
.wal__chip {
  flex: none; height: 40px; padding: 0 18px; border-radius: 20px; cursor: pointer;
  font: 700 13px inherit; font-family: inherit; color: rgba(255,255,255,.75);
}
.wal__chip.is-on { color: #fff; border-color: rgba(247,37,133,.7); background: linear-gradient(180deg, rgba(247,37,133,.55), rgba(247,37,133,.3)); }

.wal__title { font: 700 22px 'Unbounded', system-ui, sans-serif; margin: 4px 2px 0; }
.wal__hist { border-radius: 28px; padding: 6px 14px 10px; }
.wal__hist > * { position: relative; }
.wal__day { padding: 12px 2px 4px; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.wal__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.wal__ico {
  flex: none; width: 46px; height: 46px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.wal__ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wal__ico.is-in svg { stroke: #4ade80; }
.wal__what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wal__what b { font: 700 15px 'Unbounded', system-ui, sans-serif; }
.wal__what small { font-size: 12px; color: rgba(255,255,255,.55); }
.wal__st { display: inline-block; margin-top: 3px; font-style: normal; font-size: 11px; font-weight: 700; }
.wal__st.is-wait { color: #fbbf24; }
.wal__st.is-ok { color: #4ade80; }
.wal__st.is-bad { color: #f87171; }
.wal__row.is-rej .wal__amt { text-decoration: line-through; opacity: .6; }
.wal__adm { display: flex; gap: 6px; margin-top: 6px; }
.wal__adm button {
  height: 28px; padding: 0 12px; border-radius: 14px; cursor: pointer; border: 0;
  background: #fff; color: #000; font: 700 11px inherit; font-family: inherit;
}
.wal__adm button[data-a="no"] { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.wal__amt {font: 700 14px 'Unbounded', system-ui, sans-serif; white-space: nowrap; }
.wal__amt.is-in { color: #4ade80; }
.wal__amt.is-out { color: #f87171; }
.wal__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 24px; color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; }
.wal__empty svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* модалка пополнения / вывода */
.wal__cur { display: flex; gap: 8px; margin-bottom: 10px; }
.wal__cur button {
  flex: 1; height: 40px; border-radius: 20px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75); font: 700 13px inherit; font-family: inherit;
}
.wal__cur button.is-on { color: #fff; border-color: rgba(247,37,133,.7); background: rgba(247,37,133,.4); }
.wal__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; }
.wal__hint { flex: 1; min-width: 0; margin: 0 2px; font-size: 12px; color: rgba(255,255,255,.55); }
.wal__max {
  flex: none; height: 30px; padding: 0 14px; border-radius: 15px; cursor: pointer;
  border: 0; background: #fff; color: #000;
  font: 700 12px inherit; font-family: inherit; letter-spacing: .5px;
}
.wal__max:active { transform: scale(.95); }
