/*
 * Зона wallets-africa (SEO-волна 25.11.2026): вывод USDT на MTN MoMo, Airtel Money, Orange Money (+ Wave), OPay и PalmPay.
 * Только токены r26 (assets/r26.css): тёмная тема — без атрибута, светлая — html[data-theme="light"] (через токены).
 * Приставка wa-. Телефон: 1199 / 899 / 719 / 379 / 359 px, без боковой прокрутки на 320. RTL — логические свойства.
 */

.wa .r-wrap :is(h1, h2) { text-wrap: balance; }
.wa-top { padding-top: 12px; }
.wa bdi { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.wa-iso {
  flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; box-sizing: border-box;
  border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--r-link); background: var(--r-brand-tint);
}
.wa .r-btn svg { flex: none; }

/* ══ Первый экран ═════════════════════════════════════════════════════════ */
.wa-hero { grid-template-columns: 1.1fr 0.9fr; }
.wa-hero-art { min-width: 0; }
.wa-art {
  width: 100%; max-width: 360px; box-sizing: border-box; padding: 20px; border-radius: 28px;
  background: var(--r-surface-3); border: 1px solid var(--r-line-2); box-shadow: var(--r-pop-shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.wa-art-top { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.wa-art-top b { font-size: 17px; font-weight: 800; flex: 1 1 auto; min-width: 0; }
.wa-art-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--r-green-tint); color: var(--r-green); }
.wa-art-eta { flex: none; height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: var(--r-green); background: var(--r-green-tint); white-space: nowrap; }
.wa-art-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--r-fill-2); border: 1px solid var(--r-line-2); font-size: 14px;
}
.wa-art-row--on { border-color: var(--r-brand-2); background: var(--r-brand-tint); }
.wa-art-n { flex: 1 1 auto; min-width: 0; font-weight: 700; color: var(--r-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-art-c { color: var(--r-muted); font-size: 13px; }
.wa-art-row b { font-weight: 800; color: var(--r-text); min-width: 36px; text-align: end; }
.wa-art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wa-art-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px; border-radius: 14px;
  background: var(--r-fill-2); border: 1px solid var(--r-line-2); min-width: 0;
}
.wa-art-chip b { font-size: 14px; font-weight: 800; color: var(--r-text); }
.wa-art-chip span { font-size: 12px; font-weight: 700; color: var(--r-muted); }
.wa-art-chip--on { border-color: var(--r-brand-2); background: var(--r-brand-tint); }
.wa-art-sub { font-size: 12px; font-weight: 800; color: var(--r-faint); letter-spacing: .04em; text-transform: uppercase; padding-top: 4px; }

/* ══ Короткий ответ ═══════════════════════════════════════════════════════ */
.wa-short { padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.wa-h2s { font-size: clamp(24px, 1.4vw + 14px, 34px); }
.wa-short-p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--r-text-2); }

/* ══ Таблицы ══════════════════════════════════════════════════════════════ */
.wa-tbl-wrap {
  overflow-x: auto; border-radius: 24px; border: 1px solid var(--r-line); background: var(--r-surface);
  box-shadow: var(--r-block-shadow); -webkit-overflow-scrolling: touch;
}
.wa-tbl-wrap:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.wa-tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.wa-tbl :is(th, td) { padding: 15px 18px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--r-line); }
.wa-tbl tbody tr:last-child :is(th, td) { border-bottom: 0; }
.wa-tbl thead th { font-size: 13px; font-weight: 800; color: var(--r-muted); background: var(--r-fill-1); }
.wa-tbl tbody th { font-weight: 800; color: var(--r-text); }
.wa-tbl td { color: var(--r-text-2); }
.wa-tbl b { color: var(--r-text); font-weight: 800; }
.wa-cn { display: inline-flex; align-items: center; gap: 10px; }
.wa-td-l { display: none; }
.wa-foot { margin: 12px 0 0; font-size: 13px; color: var(--r-faint); line-height: 1.5; }
.wa-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.wa-tag--fast { color: var(--r-green); background: var(--r-green-tint); }
.wa-tag--slow { color: var(--r-text-2); background: var(--r-fill-3); }

/* ══ Проверка и расчёт ════════════════════════════════════════════════════ */
.wa-calc { display: grid; grid-template-columns: 1fr 1fr; }
.wa-form { padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wa-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wa-f-l { font-size: 13px; font-weight: 800; color: var(--r-text-2); line-height: 1.35; }
.wa-in {
  width: 100%; box-sizing: border-box; height: 54px; padding: 0 16px; border-radius: 14px;
  background: var(--r-fill-2); border: 1px solid var(--r-line-3); color: var(--r-text);
  font: inherit; font-size: 17px; font-weight: 700; text-align: start;
}
.wa-sel { appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 40px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
[dir="rtl"] .wa-sel { background-position: 16px 50%, 22px 50%; }
.wa-sel option { background: var(--r-surface); color: var(--r-text); }
.wa-in--amt { font-size: 18px; font-weight: 800; }
.wa-in::placeholder { color: var(--r-faint); font-size: 15px; font-weight: 600; }
.wa-in:focus { outline: 2px solid var(--r-accent); outline-offset: 1px; border-color: transparent; }
.wa-in[aria-invalid="true"] { border-color: var(--r-red); }
.wa-in.is-ok { border-color: var(--r-green); }
.wa-hint { font-size: 13px; line-height: 1.45; color: var(--r-muted); min-height: 2.9em; }
.wa-hint.is-warn { color: var(--r-red); }
.wa-hint.is-ok { color: var(--r-green); }
.wa-out {
  padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0;
  background: var(--r-fill-1); border-inline-start: 1px solid var(--r-line-2);
}
.wa-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--r-muted); }
.wa-out-row b { color: var(--r-text); font-size: 17px; font-weight: 800; text-align: end; }
.wa-out-total { padding-top: 14px; border-top: 1px solid var(--r-line-3); color: var(--r-text); font-weight: 700; }
.wa-out-total b { font-size: clamp(22px, 2vw + 10px, 30px); color: var(--r-green); }
.wa-msg { margin: 0; font-size: 13px; line-height: 1.5; color: var(--r-muted); min-height: 2.9em; }
.wa-msg.is-warn { color: var(--r-red); }
.wa-out-foot { margin: 0; font-size: 13px; line-height: 1.55; color: var(--r-faint); }
.wa-out-btn { align-self: flex-start; margin-top: 4px; }

/* ══ Карточки ═════════════════════════════════════════════════════════════ */
.wa-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wa-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wa-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wa-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wa-card-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--r-green-tint); color: var(--r-green); }
.wa-card-t { margin: 0; font-size: 17px; font-weight: 800; color: var(--r-text); line-height: 1.3; }
.wa-card-d { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.6; }

/* ══ Валюты (сетка) ═══════════════════════════════════════════════════════ */
.wa-curs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.wa-cur { padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wa-cur-code { font-size: 26px; font-weight: 800; line-height: 1; color: var(--r-accent); letter-spacing: .02em; }
.wa-cur-n { font-size: 15px; font-weight: 800; color: var(--r-text); }
.wa-cur-c { font-size: 14px; color: var(--r-muted); line-height: 1.5; }

/* ══ Сравнение двух-трёх способов ═════════════════════════════════════════ */
.wa-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.wa-vs-i { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wa-vs-h { display: flex; align-items: center; gap: 12px; }
.wa-vs-h .wa-card-ico { flex: none; }
.wa-vs-h b { font-size: 19px; font-weight: 800; color: var(--r-text); flex: 1 1 auto; min-width: 0; }
.wa-vs-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wa-vs-l li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--r-text-2); }
.wa-vs-l li svg { flex: none; margin-top: 3px; color: var(--r-green); }
.wa-vs-a { margin-top: auto; align-self: flex-start; font-size: 14.5px; font-weight: 800; color: var(--r-link); text-decoration: none; }
.wa-vs-a:hover { color: var(--r-link-hover); text-decoration: underline; }

/* ══ Пример номера ════════════════════════════════════════════════════════ */
.wa-num { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.wa-num-i { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wa-num-t { margin: 0; font-size: 16px; font-weight: 800; color: var(--r-text); }
.wa-num-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.wa-num-row bdi { padding: 6px 10px; border-radius: 10px; background: var(--r-fill-2); border: 1px solid var(--r-line-2); font-weight: 800; color: var(--r-text); }
.wa-num-row .wa-num-ok { border-color: var(--r-green); color: var(--r-green); }
.wa-num-row svg { flex: none; color: var(--r-muted); }
[dir="rtl"] .wa-num-row .wa-arr { transform: scaleX(-1); }
.wa-num-d { margin: 0; font-size: 14px; line-height: 1.55; color: var(--r-muted); }

/* ══ Совет ════════════════════════════════════════════════════════════════ */
.wa-tip {
  margin-top: 12px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 20px;
  background: var(--r-brand-tint); border: 1px solid var(--r-line-2); max-width: 900px;
}
.wa-tip-ico { flex: none; color: var(--r-accent); margin-top: 2px; }
.wa-tip-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--r-text); }

/* ══ Шаги ═════════════════════════════════════════════════════════════════ */
.wa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--r-line); background: var(--r-surface); }
.wa-step { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-inline-start: 1px solid var(--r-line); margin-inline-start: -1px; border-top: 1px solid var(--r-line); margin-top: -1px; }
.wa-step-n { font-size: 34px; font-weight: 800; line-height: 1; color: var(--r-accent); }
.wa-step-t { font-size: 17px; font-weight: 800; color: var(--r-text); }
.wa-step-d { font-size: 14px; color: var(--r-muted); line-height: 1.55; }

/* ══ Ограничения ══════════════════════════════════════════════════════════ */
.wa-risk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wa-risk-i {
  display: flex; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 20px;
  background: var(--r-surface); border: 1px solid var(--r-red-line); min-width: 0;
}
.wa-risk-ic { flex: none; color: var(--r-red); margin-top: 2px; }
.wa-risk-i p { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }
.wa-risk-i b { color: var(--r-text); }

/* ══ Вопросы ══════════════════════════════════════════════════════════════ */
.wa-qa { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.wa-qa-i { border-radius: 20px; background: var(--r-surface); border: 1px solid var(--r-line); }
.wa-qa-i summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 16px; font-weight: 800; color: var(--r-text); line-height: 1.4;
}
.wa-qa-i summary::-webkit-details-marker { display: none; }
.wa-qa-i summary:focus-visible { outline: 2px solid var(--r-accent); outline-offset: -2px; border-radius: 20px; }
.wa-qa-ic {
  flex: none; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-fill-3); color: var(--r-text-2); transition: transform .2s ease;
}
.wa-qa-i[open] .wa-qa-ic { transform: rotate(45deg); }
.wa-qa-i p { margin: 0; padding: 0 22px 20px; font-size: 15px; color: var(--r-text-2); line-height: 1.65; max-width: 75ch; }

/* ══ Ссылки ═══════════════════════════════════════════════════════════════ */
.wa-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wa-link {
  position: relative; padding: 22px 52px 22px 22px; display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--r-text); min-width: 0; transition: border-color .16s ease;
}
[dir="rtl"] .wa-link { padding: 22px 22px 22px 52px; }
.wa-link:hover { border-color: var(--r-brand-2); }
.wa-link b { font-size: 16px; font-weight: 800; line-height: 1.35; }
.wa-link span { font-size: 14px; color: var(--r-muted); line-height: 1.5; }
.wa-link .wa-arr { position: absolute; inset-inline-end: 22px; top: 24px; color: var(--r-link); }
[dir="rtl"] .wa-arr { transform: scaleX(-1); }
.sx-next.wa-rel { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }

/* ══ Финальный призыв ═════════════════════════════════════════════════════ */
.wa-final { padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wa-final-txt { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 640px; min-width: 0; }
.wa-final .r-btns { position: relative; flex: none; }

/* ══ Планшет и телефон ════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .wa-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .wa-hero { grid-template-columns: 1fr; }
  .wa-hero-art { justify-content: flex-start; }
  .wa-short { grid-template-columns: 1fr; gap: 14px; }
  .wa-calc { grid-template-columns: 1fr; }
  .wa-out { border-inline-start: 0; border-top: 1px solid var(--r-line-2); }
  .wa-links { grid-template-columns: 1fr; }
  .wa-risk { grid-template-columns: 1fr; }
  .wa-final { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 719px) {
  .wa-art { max-width: none; }
  .wa-art.r-float { animation: none; }
  .wa-short { padding: 24px 20px; }
  .wa-short-p { font-size: 16px; }
  .wa-cards, .wa-cards--4, .wa-cards--2 { grid-template-columns: 1fr; }
  .wa-card { padding: 20px; }
  .wa-step { padding: 20px; }
  .wa-form, .wa-out { padding: 22px 20px; }
  .wa-out-btn, .wa-final .r-btns, .wa-final .r-btn { align-self: stretch; width: 100%; }
  .wa .r-hero-txt .r-btns .r-btn { flex: 1 1 100%; }
  .wa-tbl :is(th, td) { padding: 12px 14px; font-size: 14px; }
  /* Таблицы-карточки на телефоне: подпись столбца над значением. */
  .wa-tbl--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-tbl--cards, .wa-tbl--cards tbody, .wa-tbl--cards tr, .wa-tbl--cards th, .wa-tbl--cards td { display: block; width: auto; }
  .wa-tbl--cards tr { padding: 12px 0; border-bottom: 1px solid var(--r-line); }
  .wa-tbl--cards tbody tr:last-child { border-bottom: 0; }
  .wa-tbl--cards :is(th, td) { border-bottom: 0; padding: 3px 16px; }
  .wa-tbl--cards th { padding-bottom: 8px; }
  .wa-tbl--cards td { padding-top: 5px; padding-bottom: 5px; }
  .wa-tbl--cards .wa-td-l { display: block; font-size: 12px; font-weight: 800; color: var(--r-faint); letter-spacing: .02em; }
  .wa-final { padding: 28px 20px; }
  .wa-qa-i summary { padding: 16px 18px; font-size: 15px; }
  .wa-qa-i p { padding: 0 18px 18px; }
}
@media (max-width: 379px) {
  .wa .r-btn { white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; line-height: 1.25; text-align: center; }
}
@media (max-width: 359px) {
  .wa-art { padding: 16px; }
  .wa-art-row { padding: 8px 10px; gap: 8px; font-size: 13px; }
  .wa-art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-form, .wa-out { padding: 18px 16px; }
  .wa-in { font-size: 16px; }
  .wa-tbl:not(.wa-tbl--cards) :is(th, td) { padding: 10px 8px; font-size: 13px; }
}
