/*
 * /revolut/ — вывод USDT на Revolut в евро (seo-1108, зона payouts-2).
 * Только токены r26 (assets/r26.css): тёмная тема — без атрибута, светлая — html[data-theme="light"].
 * Приставка rv-. Телефон: 899 / 719 / 359 px, без боковой прокрутки на 320. RTL — логические свойства.
 */

.rv .r-wrap :is(h1, h2) { text-wrap: balance; }
.rv-top { padding-top: 12px; }
.rv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rv bdi { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.rv .r-btn svg { flex: none; }

/* ══ Первый экран: карточка заявки ════════════════════════════════════════ */
.rv-hero { grid-template-columns: 1.15fr 0.85fr; }
.rv-chips { padding-top: 4px; }
.rv-hero-art { min-width: 0; }
.rv-tk {
  width: 100%; max-width: 340px; box-sizing: border-box; padding: 20px; border-radius: 24px;
  background: var(--r-surface-3); border: 1px solid var(--r-line-2); box-shadow: var(--r-pop-shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.rv-tk-top { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.rv-tk-ico {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--r-brand-tint); color: var(--r-link);
}
.rv-tk-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-tk-tt b { font-size: 16px; font-weight: 800; }
.rv-tk-tt > span { font-size: 12px; color: var(--r-muted); }
.rv-tk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--r-muted); }
.rv-tk-row b { color: var(--r-text); font-weight: 800; }
.rv-tk-cur { padding-top: 12px; border-top: 1px dashed var(--r-line-3); color: var(--r-text); font-weight: 700; }
.rv-tk-cur b { font-size: 20px; color: var(--r-green); }
.rv-tk-st {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--r-text); border: 1px solid var(--r-brand-2);
}
.rv-tk-st i { width: 7px; height: 7px; border-radius: 99px; background: var(--r-accent); }

/* ══ Короткий ответ ═══════════════════════════════════════════════════════ */
.rv-ans {
  padding: 28px 32px; display: flex; flex-direction: column; gap: 12px;
  border-inline-start: 4px solid var(--r-brand);
}
.rv-ans-q { margin: 0; font-size: clamp(22px, 1.2vw + 14px, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--r-text); }
.rv-ans-a { margin: 0; font-size: 17px; line-height: 1.65; color: var(--r-text-2); max-width: 880px; }

/* ══ Путь денег: четыре узла со стрелками ═════════════════════════════════ */
.rv-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.rv-node { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-node:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; inset-inline-end: -22px; width: 16px; height: 16px;
  border-top: 2.5px solid var(--r-accent); border-inline-end: 2.5px solid var(--r-accent);
  transform: rotate(45deg);
}
[dir="rtl"] .rv-node:not(:last-child)::after { transform: rotate(-45deg); }
.rv-node:last-child { border-color: var(--r-green); }
.rv-node:last-child .rv-ico { background: var(--r-green-tint); color: var(--r-green); }
.rv-node-top { display: flex; justify-content: space-between; align-items: center; }
.rv-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--r-brand-tint); color: var(--r-link);
}
.rv-node-n { font-size: 13px; font-weight: 800; color: var(--r-accent); letter-spacing: 0.08em; }
.rv-node-t { font-size: 18px; font-weight: 800; color: var(--r-text); line-height: 1.25; }
.rv-node-d { font-size: 14px; color: var(--r-muted); line-height: 1.55; }

/* ══ Шаги: нумерованный список в блоке ════════════════════════════════════ */
.rv-steps {
  list-style: none; margin: 0; padding: 12px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.rv-step { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--r-line); min-width: 0; }
.rv-step:nth-last-child(-n+2) { border-bottom: 0; }
.rv-step-n {
  flex: none; width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-brand); color: #FFFFFF; font-size: 15px; font-weight: 800;
}
.rv-step-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rv-step-t { font-size: 17px; font-weight: 800; color: var(--r-text); line-height: 1.3; }
.rv-step-d { font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }

/* ══ Калькулятор ══════════════════════════════════════════════════════════ */
.rv-calc { display: grid; grid-template-columns: 1fr 1fr; }
.rv-form { padding: 32px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.rv-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rv-f-l { font-size: 13px; font-weight: 800; color: var(--r-text-2); line-height: 1.35; }
.rv-in {
  width: 100%; box-sizing: border-box; height: 58px; 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: 22px; font-weight: 800; text-align: start;
}
.rv-in:focus { outline: 2px solid var(--r-accent); outline-offset: 1px; border-color: transparent; }
.rv-in[aria-invalid="true"] { border-color: var(--r-red); }
.rv-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rv-q {
  height: 44px; border-radius: 12px; border: 1px solid var(--r-line-3); background: var(--r-fill-2);
  color: var(--r-text-2); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.rv-q:hover { background: var(--r-hover); color: var(--r-text); }
.rv-q[aria-pressed="true"] { background: var(--r-brand); border-color: var(--r-brand); color: #FFFFFF; }
.rv-q:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.rv-rule { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.rv-rule-i {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px;
  background: var(--r-fill-1); border: 1px dashed var(--r-line-3); min-width: 0;
}
.rv-rule-i b { font-size: 16px; font-weight: 800; color: var(--r-text); }
.rv-rule-i span { font-size: 13px; color: var(--r-muted); line-height: 1.4; }
.rv-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);
}
.rv-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--r-muted); }
.rv-out-row b { color: var(--r-text); font-size: 17px; font-weight: 800; }
.rv-out-total { padding-top: 14px; border-top: 1px solid var(--r-line-3); color: var(--r-text); font-weight: 700; }
.rv-out-total b { font-size: clamp(22px, 2vw + 10px, 30px); color: var(--r-green); }
.rv-msg { margin: 0; font-size: 13px; line-height: 1.5; color: var(--r-muted); min-height: 2.9em; }
.rv-msg.is-warn { color: var(--r-red); }
.rv-out-btn { align-self: flex-start; margin-top: 4px; }

/* ══ Поле получателя и проверка ═══════════════════════════════════════════ */
.rv-duo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 12px; }
.rv-duo-b { padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rv-h2s { font-size: clamp(26px, 1.6vw + 14px, 34px); }
.rv-p { margin: 0; font-size: 15.5px; color: var(--r-text-2); line-height: 1.65; }
.rv-chk { display: flex; gap: 12px; align-items: flex-start; }
.rv-chk p { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }
.rv-chk b { color: var(--r-text); }
.rv-chk-i {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-green-tint); color: var(--r-green);
}

/* ══ Таблица сравнения ════════════════════════════════════════════════════ */
.rv-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;
}
.rv-tbl-wrap:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.rv-tbl { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.rv-tbl :is(th, td) { padding: 16px 22px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--r-line); }
.rv-tbl tbody tr:last-child :is(th, td) { border-bottom: 0; }
.rv-tbl thead th { font-size: 14px; font-weight: 800; color: var(--r-muted); background: var(--r-fill-1); }
.rv-tbl tbody th { width: 18%; font-size: 14px; font-weight: 800; color: var(--r-muted); }
.rv-tbl td { color: var(--r-text-2); }
.rv-tbl thead .rv-th-on { color: var(--r-link); background: var(--r-brand-tint); }
.rv-tbl .rv-td-on { color: var(--r-text); font-weight: 700; background: var(--r-brand-tint); }
.rv-foot { margin: -8px 0 0; font-size: 13.5px; color: var(--r-faint); line-height: 1.6; }
.rv-foot a { color: var(--r-link); font-weight: 700; text-decoration: none; }
.rv-foot a:hover { color: var(--r-link-hover); text-decoration: underline; }

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

/* ══ Вопросы ══════════════════════════════════════════════════════════════ */
.rv-qa { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.rv-qa-i { border-radius: 20px; background: var(--r-surface); border: 1px solid var(--r-line); }
.rv-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;
}
.rv-qa-i summary::-webkit-details-marker { display: none; }
.rv-qa-i summary:focus-visible { outline: 2px solid var(--r-accent); outline-offset: -2px; border-radius: 20px; }
.rv-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;
}
.rv-qa-i[open] .rv-qa-ic { transform: rotate(45deg); }
.rv-qa-i p { margin: 0; padding: 0 22px 20px; font-size: 15px; color: var(--r-text-2); line-height: 1.65; max-width: 75ch; }

/* ══ Страны Европы ════════════════════════════════════════════════════════ */
.rv-eu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.rv-eu-a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 16px;
  background: var(--r-surface); border: 1px solid var(--r-line-2); color: var(--r-text); font-size: 15px; font-weight: 800;
  text-decoration: none; transition: border-color .16s ease;
}
.rv-eu-a:hover { border-color: var(--r-brand-2); color: var(--r-text); }
.rv-eu-a .rv-arr { flex: none; color: var(--r-link); }
[dir="rtl"] .rv-arr { transform: scaleX(-1); }

/* ══ Блог и связанные ═════════════════════════════════════════════════════ */
.rv-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rv-link {
  position: relative; padding: 22px; padding-inline-end: 52px; display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--r-text); min-width: 0; transition: border-color .16s ease;
}
.rv-link:hover { border-color: var(--r-brand-2); }
.rv-link b { font-size: 16px; font-weight: 800; line-height: 1.35; }
.rv-link span { font-size: 14px; color: var(--r-muted); line-height: 1.5; }
.rv-link .rv-arr { position: absolute; inset-inline-end: 22px; top: 24px; color: var(--r-link); }
.sx-next.rv-rel { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }

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

/* ══ Планшет и телефон ════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .rv-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-node:nth-child(2)::after { display: none; }
}
@media (max-width: 899px) {
  .rv-hero { grid-template-columns: 1fr; }
  .rv-hero-art { justify-content: flex-start; }
  .rv-steps { grid-template-columns: 1fr; }
  .rv-step:nth-last-child(2) { border-bottom: 1px solid var(--r-line); }
  .rv-calc { grid-template-columns: 1fr; }
  .rv-out { border-inline-start: 0; border-top: 1px solid var(--r-line-2); }
  .rv-duo { grid-template-columns: 1fr; }
  .rv-lim { grid-template-columns: 1fr; }
  .rv-links { grid-template-columns: 1fr; }
  .rv-final { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 719px) {
  .rv-tk { max-width: none; }
  .rv-tk.r-float { animation: none; }
  .rv-flow { grid-template-columns: 1fr; gap: 26px; }
  .rv-node:not(:last-child)::after {
    display: block; top: auto; bottom: -19px; inset-inline-end: auto; inset-inline-start: 34px; transform: rotate(135deg);
  }
  [dir="rtl"] .rv-node:not(:last-child)::after { transform: rotate(135deg); }
  .rv-node { padding: 20px; }
  .rv-ans { padding: 22px 20px; }
  .rv-ans-a { font-size: 16px; }
  .rv-steps { padding: 4px 20px; }
  .rv-form, .rv-out { padding: 22px 20px; }
  .rv-out-btn, .rv-final .r-btns, .rv-final .r-btn { align-self: stretch; width: 100%; }
  .rv .r-hero-txt .r-btns .r-btn { flex: 1 1 100%; }
  .rv-duo-b { padding: 24px 20px; }
  .rv-tbl :is(th, td) { padding: 14px 16px; font-size: 14px; }
  .rv-final { padding: 28px 20px; }
  .rv-qa-i summary { padding: 16px 18px; font-size: 15px; }
  .rv-qa-i p { padding: 0 18px 18px; }
  .rv-lim-i { padding: 18px; }
}
@media (max-width: 379px) {
  main .rv .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) {
  .rv-tk { padding: 16px; }
  .rv-tk-row { font-size: 13px; }
  .rv-form, .rv-out { padding: 18px 16px; }
  .rv-in { font-size: 18px; }
  .rv-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv .r-chip { white-space: normal; height: auto; min-height: 34px; padding: 6px 12px; }
}
