/* ALT-DEPOSIT (22.11.2026) — экран пополнения в НАШЕМ стиле.
   Структура из их живых экранов: RubUP «Пополнить баланс» (GRAM / Stars / Подарком, сумма,
   быстрые суммы, «Бонусы за пополнение»), Rocket Gift (большие плитки способов с бонусами
   +15 % / +5 %, «Привязать кошелек», промокод, «Пополнение не пришло?»), «Внести подарком»
   (_gift-wallet.js).
   Цвета — наши (палитра лого): #ef02cb / #b602ce / #75027f / #f9b5cc. */

.dp-wrap { display: flex; flex-direction: column; gap: 14px; }

.dp-card {
  background: linear-gradient(180deg, #16101c 0%, #12121a 100%);
  border: 1px solid rgba(239, 2, 203, .22);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ── большие плитки способов оплаты (их экран Rocket Gift) ── */
.dp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dp-tile {
  position: relative; aspect-ratio: 1 / 1.06; border: 0; border-radius: 18px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 6px 12px; color: #fff; overflow: hidden;
  font: 800 12px/1 "Unbounded", system-ui, sans-serif; letter-spacing: .4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 20px rgba(0, 0, 0, .35);
  transition: transform .12s, box-shadow .15s, filter .15s;
  -webkit-tap-highlight-color: transparent;
}
.dp-tile:active { transform: scale(.97); }
.dp-tile__icon { display: grid; place-items: center; width: 68%; aspect-ratio: 1; }
.dp-tile__icon img { width: 100%; height: 100%; object-fit: contain; }
.dp-tile__name { font: 800 12px/1 "Unbounded", system-ui, sans-serif; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.dp-tile__badge {
  position: absolute; top: 7px; left: 7px; z-index: 2; border-radius: 9px; padding: 3px 7px;
  font: 800 10px/1 "Unbounded", system-ui, sans-serif; color: #14141b;
  background: #b6ff3d; box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.dp-tile__check {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 20px; height: 20px; border-radius: 50%;
  display: none; align-items: center; justify-content: center; color: #14141b;
  background: #b6ff3d; font: 800 12px/1 system-ui, sans-serif;
}
.dp-tile.is-on .dp-tile__check { display: flex; }

/* градиенты способов: GRAM — синий (как у них TON), Stars — золотой, Подарок — тёмный */
.dp-tile--ton { background: radial-gradient(120% 90% at 50% 0%, #4fc0ff 0%, #1f8bf5 45%, #0a55b6 100%); }
.dp-tile--ton .dp-tile__icon { background: #fff; border-radius: 50%; width: 62%; padding: 6%; }
.dp-tile--stars { background: radial-gradient(120% 90% at 50% 0%, #ffd764 0%, #f7a41a 50%, #d97a00 100%); }
.dp-tile--stars .dp-tile__icon img { filter: drop-shadow(0 6px 14px rgba(120, 60, 0, .45)); }
.dp-tile--gift { background: radial-gradient(120% 90% at 50% 0%, #3d3d49 0%, #23232c 55%, #14141b 100%); }
.dp-tile--gift .dp-tile__icon img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.dp-tile.is-on { box-shadow: inset 0 0 0 2.5px #b6ff3d, 0 10px 26px rgba(0, 0, 0, .45); }
.dp-tile:not(.is-on) { filter: saturate(.9) brightness(.92); }

/* ── сумма ── */
.dp-label { font: 700 12px/1 "Unbounded", system-ui, sans-serif; color: #8a8a9e; margin: 16px 2px 8px; letter-spacing: .3px; }
.dp-sum {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px; padding: 14px 12px; cursor: text;
}
.dp-sum input {
  width: 100%; max-width: 240px; background: transparent; border: 0; outline: 0;
  color: #fff; text-align: center;
  font: 800 34px/1.1 "Unbounded", system-ui, sans-serif; letter-spacing: .5px;
}
.dp-sum input::placeholder { color: rgba(255, 255, 255, .25); }
.dp-sum img { width: 26px; height: 26px; object-fit: contain; }
.dp-under { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dp-bonus { font: 800 13px/1 "Unbounded", system-ui, sans-serif; color: #b6ff3d; }
.dp-conv { font: 600 12px/1.2 system-ui, sans-serif; color: #8a8a9e; }

/* ── быстрые суммы ── */
.dp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.dp-quick button {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04);
  color: #e9e9f4; border-radius: 11px; padding: 10px 4px; cursor: pointer;
  font: 700 13px/1 system-ui, sans-serif; transition: border-color .15s, background .15s;
}
.dp-quick button img { width: 13px; height: 13px; object-fit: contain; }
.dp-quick button:active { background: rgba(239, 2, 203, .22); border-color: #ef02cb; }

/* ── кошелёк и кнопки ── */
.dp-wallet {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 13px; padding: 11px 12px; margin-top: 12px;
}
.dp-wallet b { font: 700 12px/1.35 system-ui, sans-serif; color: #e9e9f4; }
.dp-wallet span { font: 600 11px/1.35 system-ui, sans-serif; color: #8a8a9e; }
.dp-wallet button {
  border: 1px solid rgba(239, 2, 203, .5); background: transparent; color: #f9b5cc;
  border-radius: 10px; padding: 7px 10px; cursor: pointer; font: 700 11px/1 system-ui, sans-serif;
  white-space: nowrap;
}
.dp-go {
  width: 100%; margin-top: 12px; border: 0; border-radius: 14px; cursor: pointer;
  padding: 16px; color: #fff; font: 800 15px/1 "Unbounded", system-ui, sans-serif;
  background: linear-gradient(135deg, #7b6cff, #5a4bea);
  box-shadow: 0 10px 26px rgba(90, 75, 234, .38);
}
.dp-go[disabled] { opacity: .55; cursor: default; box-shadow: none; }
.dp-note { margin-top: 10px; font: 600 12px/1.45 system-ui, sans-serif; color: #ffb4d8; text-align: center; }
.dp-note.is-ok { color: #7ef0b2; }
.dp-fine { margin-top: 8px; text-align: center; font: 600 11.5px/1.4 system-ui, sans-serif; color: #8a8a9e; }

/* ── промокод и поддержка ── */
.dp-promo { display: flex; gap: 8px; }
.dp-promo input {
  flex: 1; min-width: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px; padding: 13px 12px; color: #fff; outline: 0;
  font: 700 13px/1 "Unbounded", system-ui, sans-serif; letter-spacing: .6px; text-transform: uppercase;
}
.dp-promo input::placeholder { color: rgba(255, 255, 255, .28); text-transform: none; letter-spacing: 0; }
.dp-promo button {
  border: 1px solid rgba(249, 181, 204, .5); background: rgba(239, 2, 203, .16); color: #fff;
  border-radius: 12px; padding: 0 16px; cursor: pointer; font: 800 12px/1 "Unbounded", system-ui, sans-serif;
}
.dp-support { margin-top: 10px; text-align: center; font: 600 12px/1.4 system-ui, sans-serif; color: #8a8a9e; }
.dp-support a { color: #f9b5cc; text-decoration: none; }

/* ── бонусы за пополнение: их карточки ── */
.dp-bonus-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dp-bonus-head b { font: 800 15px/1 "Unbounded", system-ui, sans-serif; color: #fff; }
.dp-bonus-ask {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); color: #cfcfe0;
  font: 800 13px/1 system-ui, sans-serif;
}
.dp-tiers {
  display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 10px;
  overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none;
}
.dp-tiers::-webkit-scrollbar { display: none; }
.dp-tier {
  position: relative; border-radius: 18px; padding: 12px 10px 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #1d1727, #141420);
  display: flex; flex-direction: column; gap: 6px;
}
.dp-tier__badge {
  align-self: flex-start; border-radius: 9px; padding: 3px 8px; margin-bottom: 2px;
  font: 800 10px/1 "Unbounded", system-ui, sans-serif; color: #fff;
  background: linear-gradient(135deg, #7b6cff, #5a4bea);
}
.dp-tier__art {
  border-radius: 12px; background: radial-gradient(120% 100% at 50% 0%, #2b2b3d, #1a1a26);
  padding: 6px; display: grid; place-items: center; min-height: 88px;
}
.dp-tier__art img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
.dp-tier__cap { font: 600 11px/1.2 system-ui, sans-serif; color: #8a8a9e; margin-top: 2px; }
.dp-tier__need { font: 800 17px/1 "Unbounded", system-ui, sans-serif; color: #fff; }
.dp-tier__bar { height: 3px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dp-tier__bar i { display: block; height: 100%; background: linear-gradient(90deg, #ef02cb, #b602ce); }
.dp-tier button {
  border: 0; border-radius: 11px; padding: 10px 6px; cursor: pointer; margin-top: 2px;
  font: 800 12px/1 "Unbounded", system-ui, sans-serif; color: #fff;
  background: linear-gradient(135deg, #7b6cff, #5a4bea);
}
.dp-tier button[disabled] { background: rgba(255, 255, 255, .08); color: #8a8a9e; cursor: default; }
.dp-tier.is-claimed { opacity: .6; }

/* ── «Подарком»: карточки NFT / обычные подарки (их живой экран, _gift-wallet.js) ── */
.dp-gift { display: grid; gap: 10px; margin-top: 14px; }
.dp-gift__card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; gap: 14px; padding: 14px 14px 14px 12px; border-radius: 20px;
}
.dp-gift__card.is-yes {
  background: linear-gradient(120deg, rgba(53, 214, 140, .2), rgba(53, 214, 140, .06));
  box-shadow: inset 0 0 0 1.5px rgba(53, 214, 140, .55);
}
.dp-gift__card.is-no {
  background: linear-gradient(120deg, rgba(255, 59, 92, .18), rgba(255, 59, 92, .05));
  box-shadow: inset 0 0 0 1.5px rgba(255, 59, 92, .5);
}
.dp-gift__pics { position: relative; display: flex; align-items: center; padding-left: 14px; }
.dp-gift__pics img {
  width: 46px; height: 46px; margin-left: -16px; object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}
.dp-gift__pics img:nth-child(2) { position: relative; z-index: 1; width: 56px; height: 56px; }
.dp-gift__card.is-no .dp-gift__pics img { opacity: .55; filter: grayscale(.35) drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.dp-gift__ban { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding-left: 6px; }
.dp-mark { display: block; }
.dp-mark.is-yes { position: absolute; left: 96px; top: 50%; z-index: 2; width: 26px; height: 26px; transform: translateY(4px); }
.dp-mark.is-yes circle { fill: #22c27a; stroke: #0f1a17; stroke-width: 3; }
.dp-mark.is-yes path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dp-mark.is-no { width: 54px; height: 54px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45)); }
.dp-mark.is-no circle { fill: rgba(255, 59, 92, .12); stroke: #ff3b5c; stroke-width: 5; }
.dp-mark.is-no path { stroke: #ff3b5c; stroke-width: 5; stroke-linecap: round; }
.dp-gift__t { display: grid; gap: 3px; min-width: 0; }
.dp-gift__t b { font: 800 16px/1.2 "Unbounded", system-ui, sans-serif; color: #fff; }
.dp-gift__t span { font: 700 13.5px/1.3 system-ui, sans-serif; }
.dp-gift__card.is-yes .dp-gift__t span { color: #5ff0b6; }
.dp-gift__card.is-no .dp-gift__t span { color: #ff7b93; }
.dp-gift__steps { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.dp-gift__steps li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 12px;
  font: 700 15px/1.35 system-ui, sans-serif; color: #e9e9f4;
}
.dp-gift__steps b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 800 13px/1 "Unbounded", system-ui, sans-serif; color: #fff;
  background: linear-gradient(135deg, #ef02cb, #75027f);
}

/* ── раздел «Вывести» (ALT-WITHDRAW, их живая структура) ── */
.dp-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.dp-tile__sub {
  font: 600 10px/1.15 system-ui, sans-serif; color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.dp-tile--ton.dp-tile--ton { background: radial-gradient(120% 90% at 50% 0%, #2ad3a5 0%, #1f8f9f 45%, #1c2f6e 100%); }
.wd-h { font: 700 12px/1 "Unbounded", system-ui, sans-serif; color: #8a8a9e; margin: 16px 2px 8px; }
.wd-sum-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 2px 8px; }
.wd-avail { font: 600 12px/1 system-ui, sans-serif; color: #8a8a9e; }
.wd-connect {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 15px; cursor: pointer;
  font: 800 14px/1 "Unbounded", system-ui, sans-serif; color: #fff;
  background: linear-gradient(135deg, #2fa8f5, #1f74d8);
  box-shadow: 0 10px 24px rgba(31, 116, 216, .35);
}
.wd-connect img { width: 22px; height: 22px; object-fit: contain; }
.dp-go.is-second {
  background: rgba(255, 255, 255, .07); color: #e9e9f4; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .12); margin-top: 8px;
}
.wd-quote {
  background: linear-gradient(180deg, #16101c 0%, #12121a 100%);
  border: 1px solid rgba(239, 2, 203, .22); border-radius: 18px; padding: 16px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.wd-quote__art { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.wd-quote__name { font: 800 16px/1.2 "Unbounded", system-ui, sans-serif; color: #fff; text-align: center; }
.wd-quote__price { font: 800 26px/1 "Unbounded", system-ui, sans-serif; color: #fff; margin-bottom: 6px; }
.wd-quote__price span { color: #f9b5cc; }
.wd-quote__row {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font: 600 12.5px/1.4 system-ui, sans-serif; color: #8a8a9e; padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.wd-quote__row b { color: #e9e9f4; text-align: right; font-weight: 700; }
.wd-quote .dp-go { margin-top: 12px; }

@media (min-width: 720px) {
  .dp-tiers { grid-auto-columns: 190px; }
  .dp-sum input { font-size: 40px; max-width: 300px; }
  .dp-tile { aspect-ratio: 1 / 0.86; }
}

/* ALT-DEP-COMPACT-PC (12.12.2026): на ПК плитки способов растягивались по ширине контента
   (~490 × 420 px каждая) — «Пополнить/Вывести» выглядели как три рекламных щита на весь
   экран. Слово владельца: «как на телефоне, только плитки меньше, по три в строку».
   Поэтому на ПК плитка — фиксированной высоты, содержимое колонки — не шире 920 px.
   Телефон (< 1024 px) не меняется вообще. */
@media (min-width: 1024px) {
  .dp-wrap > .dp-card > * { max-width: 920px; width: 100%; margin-left: auto; margin-right: auto; }
  .dp-card { padding: 16px 18px; }
  .dp-tiles { gap: 10px; }
  .dp-tile { aspect-ratio: auto; height: 132px; border-radius: 16px; gap: 8px; }
  .dp-tile__icon { width: 56px; }
  .dp-tile--ton .dp-tile__icon { width: 52px; }
  .dp-tile__name { font-size: 13px; }
  .dp-tile__sub { font-size: 11px; }
  .dp-sum { padding: 10px 14px; }
  .dp-sum input { font-size: 32px; max-width: 240px; }
  .dp-tier__art img { width: 64px; height: 64px; }
}

/* ALT-FLATFRAMES (29.11.2026): карточки пополнения — без розовой обводки; кнопки оставляем как есть. */
.dp-card { border: 1px solid rgba(255, 255, 255, .12); }

/* ═══════════════════════════════════════════════════════════════════════
   ALT-DEP-RAIL + GLASS (03.12.2026) — слово владельца: «вкладки Пополнить/Вывести/История
   сделать боковыми кнопками как на скрине, кнопки стеклянные, в стиле разделов Друзья/Лидеры,
   и наш живой фон».

   • Вкладки кошелька: на ПК (≥768 px) — вертикальная колонка слева, контент справа
     (как на их живом экране); на телефоне — те же кнопки в ряд сверху.
   • Стекло — те же слои, что у `.fr-tier` в «Друзьях» (style.css, ALT-BGMENU-СТИЛЬ):
     блик сверху-слева, маджентовый дымок, тёмная база + blur. Под карточками видно наш
     живой фон (assets/live-bg.js), читаемость держит подложка из assets/live-bg.css.
   • Бонус-бейджи и кнопки перекрашены из их лайма/фиолета в нашу палитру (d0498).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── стеклянные карточки ── */
.dp-card,
.wd-quote {
  background:
    linear-gradient(146deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .04) 34%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(120% 130% at -6% -18%, rgba(255, 155, 230, .22), rgba(239, 2, 203, .10) 42%, rgba(117, 2, 127, 0) 70%),
    linear-gradient(180deg, rgba(40, 10, 38, .78) 0%, rgba(14, 6, 20, .84) 100%);
  border: 2px solid rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1px rgba(249, 181, 204, .2), 0 14px 30px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  backdrop-filter: blur(10px) saturate(1.12);
}

/* ── стеклянные блоки внутри карточек ── */
.dp-sum,
.dp-wallet,
.dp-tier,
.dp-amount__cell {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .03) 40%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(46, 12, 44, .62) 0%, rgba(14, 6, 20, .70) 100%);
  border: 1px solid rgba(249, 181, 204, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* пресеты сумм и промокод — тоже стекло, как кнопки в «Друзьях» */
.dp-quick button,
.dp-promo input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .03) 100%),
    linear-gradient(180deg, rgba(46, 12, 44, .55), rgba(14, 6, 20, .6));
  border: 1px solid rgba(249, 181, 204, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

/* главная кнопка и «Забрать» — наша маджента (было их фиолетовое #7b6cff) */
.dp-go,
.dp-tier button {
  background: linear-gradient(135deg, #f236ea 0%, #ef02cb 46%, #75027f 100%);
  box-shadow: 0 12px 28px rgba(239, 2, 203, .38), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.dp-go[disabled] { background: linear-gradient(135deg, rgba(80, 40, 74, .7), rgba(30, 12, 28, .8)); }
.dp-promo button {
  border: 1px solid rgba(249, 181, 204, .55);
  background: linear-gradient(135deg, #f236ea 0%, #ef02cb 50%, #75027f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* бонус-бейджи: их лайм (#b6ff3d) → наша маджента с белым текстом (палитра d0498) */
.dp-tile__badge {
  color: #fff;
  background: linear-gradient(135deg, #f236ea, #b602ce);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.dp-tile__check {
  color: #fff;
  background: linear-gradient(135deg, #f236ea, #b602ce);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.dp-tile.is-on { box-shadow: inset 0 0 0 2.5px #ef02cb, 0 10px 26px rgba(239, 2, 203, .35); }
.dp-bonus { color: #f9b5cc; }

/* ── строка «сумма | бонус | курс и к зачислению» (их раскладка) ── */
.dp-amount { display: grid; gap: 10px; margin-top: 14px; }
.dp-amount__main .dp-label { margin-top: 0; }
.dp-amount__side { display: grid; gap: 10px; }
.dp-amount__cell { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 14px; min-width: 0; }
.dp-amount__cell.dp-amount__bonus { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.dp-amount__k { font: 700 12px/1 "Unbounded", system-ui, sans-serif; color: #f9b5cc; letter-spacing: .3px; }
.dp-amount__val { font: 800 20px/1 "Unbounded", system-ui, sans-serif; color: #fff; }
.dp-amount__sub { font: 600 11.5px/1 system-ui, sans-serif; color: #f9b5cc; }
.dp-amount__calc .dp-conv { margin: 0; text-align: left; }
.dp-amount__to { font: 700 13px/1.35 system-ui, sans-serif; color: #cfcfe0; }
.dp-amount__to b { color: #fff; }

@media (min-width: 900px) {
  .dp-amount { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; gap: 14px; }
  .dp-amount__main { display: flex; flex-direction: column; }
  .dp-amount__main .dp-sum { flex: 1 1 auto; }
  .dp-amount__side { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
  .dp-amount__cell { justify-content: center; }
}

/* ── вкладки кошелька: боковая колонка на ПК ── */
@media (min-width: 768px) {
  /* `.wallet.wallet` — чтобы перебить инъекцию их кита (assets/cow/wallet-kit.css) */
  #screen-wallet .wallet.wallet { position: relative; padding-left: 140px; }
  #screen-wallet .wallet > .w-tabs {
    position: absolute; left: 14px; top: 14px;
    width: 114px; max-width: 114px; margin: 0;
  }
  #screen-wallet .wallet > .w-tabs .seg {
    display: flex; flex-direction: column; gap: 10px;
    height: auto; padding: 0; border: 0; border-radius: 0; background: none;
  }
  #screen-wallet .wallet > .w-tabs .seg__item {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    min-height: 96px; padding: 12px 5px;
    border-radius: 20px;
    font: 800 11px/1.25 "Unbounded", system-ui, sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-align: center;
    color: #e9e9f4;
    border: 2px solid rgba(0, 0, 0, .5);
    background:
      linear-gradient(146deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 34%, rgba(255, 255, 255, 0) 60%),
      radial-gradient(120% 130% at -10% -20%, rgba(255, 155, 230, .26), rgba(239, 2, 203, .10) 44%, rgba(117, 2, 127, 0) 72%),
      linear-gradient(180deg, rgba(46, 12, 44, .78), rgba(14, 6, 20, .84));
    box-shadow: inset 0 0 0 1px rgba(249, 181, 204, .24), 0 10px 22px rgba(0, 0, 0, .38);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    backdrop-filter: blur(10px) saturate(1.1);
  }
  #screen-wallet .wallet > .w-tabs .seg__item[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(160deg, #f236ea 0%, #ef02bc 44%, #75027f 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 214, 242, .6), 0 12px 28px rgba(239, 2, 203, .45);
  }
}

/* на телефоне вкладки остаются в ряд, но тоже стеклянные */
@media (max-width: 767.98px) {
  #screen-wallet .wallet > .w-tabs .seg {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(249, 181, 204, .2);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  #screen-wallet .wallet > .w-tabs .seg__item {
    border-radius: 14px;
    color: #e9e9f4;
  }
  #screen-wallet .wallet > .w-tabs .seg__item[aria-selected="true"] {
    background: linear-gradient(135deg, #f236ea 0%, #ef02cb 46%, #75027f 100%);
    box-shadow: 0 6px 18px rgba(239, 2, 203, .4), inset 0 1px 0 rgba(255, 255, 255, .3);
  }
}


/* Полный адрес привязанного кошелька: мелкий монокод, ломается по строкам, копируется */
.dp-wallet__addr {
  display: inline-block;
  max-width: 100%;
  font: 600 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #f9b5cc;
  word-break: break-all;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dp-wallet__addr:active { opacity: .7; }

/* ═══════════════════════════════════════════════════════════════════════
   ALT-DEP-FRAMELESS (03.12.2026) — слово владельца: «уберите эти большие рамки,
   сделайте по логике разделов Друзья/Лидеры, больше стекла; на ПК кнопка съехала».

   • Внешние КРУПНЫЕ рамки (карточка способов, промокод, «Бонусы за пополнение»)
     больше не рисуются: остаются только сами блоки-стёкла — сумма, ячейки
     «+ Бонус» и курса, пресеты, кошелёк, промокод, карточки подарков.
   • Стекла внутри стало больше: blur 8→14 px и светлее блик сверху.
   • Кнопка оплаты была `inline-block` (у <button> это по умолчанию), поэтому
     `margin:auto` её не центрировал: на ПК она уезжала влево и была уже блоков.
     Теперь это блочный элемент шириной колонки контента (920 px на ПК).
   ═══════════════════════════════════════════════════════════════════════ */

/* 1) убираем большие рамки-карточки */
.dp-wrap > .dp-card {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
}

/* 2) сами блоки — плотнее стекло */
.dp-wrap .dp-sum,
.dp-wrap .dp-wallet,
.dp-wrap .dp-tier,
.dp-wrap .dp-amount__cell {
  border-color: rgba(249, 181, 204, .26);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  backdrop-filter: blur(14px) saturate(1.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 0, 0, .28);
}

.dp-wrap .dp-quick button,
.dp-wrap .dp-promo input {
  border-color: rgba(249, 181, 204, .24);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
}

/* 3) кнопка оплаты — в колонке контента, а не «съехавшая» влево */
.dp-wrap > .dp-card > .dp-go {
  display: block;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* телефон: та же колонка, край в край с блоками */
@media (max-width: 1023.98px) {
  .dp-wrap > .dp-card > .dp-go { max-width: none; }
}

/* промокод и «пополнение не пришло?» — без рамки, читаемо на живом фоне */
.dp-wrap > .dp-card > .dp-label { padding-left: 2px; }


/* ═══════════════════════════════════════════════════════════════════════
   ALT-DEP-BWP (03.12.2026) — слово владельца: «стекло сделай в стилях чёрный / белый /
   розовый, приятное для глаз».

   Было: маджентовый дымок в каждом блоке (фиолетово-розовая каша).
   Стало: чёрное стекло (сажа с прозрачностью) + белый блик сверху и тонкая светлая
   обводка; розовый остаётся только акцентом — подписи, бейджи, главная кнопка,
   наведение/нажатие. Живой фон под стеклом читается, текст не «плывёт».
   ═══════════════════════════════════════════════════════════════════════ */

/* блоки: чёрное стекло с белым бликом */
.dp-wrap .dp-sum,
.dp-wrap .dp-wallet,
.dp-wrap .dp-amount__cell,
.dp-wrap .dp-tier {
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 26%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(22, 19, 24, .72) 0%, rgba(7, 6, 9, .80) 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -18px 40px rgba(0, 0, 0, .35),
    0 10px 24px rgba(0, 0, 0, .34);
  -webkit-backdrop-filter: blur(16px) saturate(1.06);
  backdrop-filter: blur(16px) saturate(1.06);
}

/* пресеты сумм и поле промокода — то же стекло, чуть тоньше */
.dp-wrap .dp-quick button,
.dp-wrap .dp-promo input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .02) 100%),
    linear-gradient(180deg, rgba(20, 17, 22, .68), rgba(7, 6, 9, .78));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
  color: #f3eef5;
}

/* акценты — розовый только там, где нужен фокус */
.dp-wrap .dp-quick button:hover,
.dp-wrap .dp-quick button:active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .04) 100%),
    linear-gradient(180deg, rgba(96, 12, 84, .66), rgba(30, 8, 30, .8));
  border-color: rgba(239, 2, 203, .62);
  color: #fff;
}

.dp-wrap .dp-promo input:focus {
  border-color: rgba(239, 2, 203, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 3px rgba(239, 2, 203, .16);
}

/* карточки подарков: убираем фиолетовый дымок изнутри, оставляем чёрное стекло */
.dp-wrap .dp-tier__art { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }

/* ═══════════════════════════════════════════════════════════════════════
   ALT-DEP-COLUMN (03.12.2026) — «этот ряд сделай прямым столбиком, второй скрин
   вправо кучкуем, а то слишком растянуто».

   На ПК (≥1024 px) первая карточка становится сеткой: слева узкий столбик способов
   оплаты (GRAM / STARS / ПОДАРОК друг под другом), справа — сумма, ячейки бонуса и
   курса, быстрые суммы, кошелёк и кнопка. Телефон не меняется: там плитки в ряд.
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* вся колонка кошелька — 920 px, карточки внутри не шире */
  .dp-wrap > .dp-card {
    max-width: 920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .dp-wrap > .dp-card > * { max-width: none; margin-left: 0; margin-right: 0; }

  .dp-wrap > .dp-card:first-child {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .dp-wrap > .dp-card:first-child .dp-tiles {
    grid-column: 1;
    grid-row: 1 / span 8;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(74px, 1fr);   /* плитки тянутся по высоте правой колонки */
    gap: 10px;
    align-content: stretch;
    align-self: stretch;
  }
  .dp-wrap > .dp-card:first-child .dp-tile {
    height: auto;
    min-height: 74px;
    aspect-ratio: auto;
    border-radius: 16px;
    gap: 4px;
  }
  .dp-wrap > .dp-card:first-child .dp-tile__icon { width: 42px; }
  .dp-wrap > .dp-card:first-child > :not(.dp-tiles) { grid-column: 2; }

  /* правая колонка: сумма и ячейки — в одну строку, как на их экране */
  .dp-wrap > .dp-card:first-child > .dp-amount { margin-top: 0; }
  .dp-wrap > .dp-card:first-child > .dp-go { margin-top: 12px; }
}

@media (max-width: 1023.98px) {
  /* телефон: столбик не нужен — плитки остаются в ряд */
  .dp-wrap .dp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ALT-SUMSTAR (03.12.2026): в поле суммы и пресетах — звезда (вводим ⭐), а слово «GRAM»
   в строке курса заменено на иконку GRAM. */
.dp-conv__ico {
  width: 13px;
  height: 13px;
  object-fit: contain;
  vertical-align: -2px;
  margin-right: 1px;
  display: inline-block;
}
.dp-sum img,
.dp-quick button img { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .dp-quick button img { width: 15px; height: 15px; }
}
