/* Обмен and P2P. */
.ex-screen .screen-body { gap: 10px; }
.ex-form { display: flex; flex-direction: column; gap: 10px; padding-bottom: 96px; }
.ex-slots { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ex-slot { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 72px; padding: 10px 12px; border-radius: var(--r-field); background: var(--fill); color: var(--text); text-align: left; }
.ex-slot[data-slot="get"] { padding-left: 22px; }
.ex-slot-main { display: flex; flex-direction: column; min-width: 0; }
.ex-slot-role { font-size: 12px; line-height: 15px; color: var(--hint); }
.ex-slot-main b { font-size: 16px; line-height: 21px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-slot-sub { font-size: 12px; line-height: 15px; color: var(--hint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-flip { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--bg); color: var(--link); box-shadow: 0 0 0 .5px var(--sep), 0 2px 8px rgba(0, 0, 0, .1); }
.ex-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: var(--fill); }
.ex-logo img { display: block; }
.ex-logo--blank { font-weight: 600; color: var(--hint); }
.ex-steps { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: var(--r-field); background: var(--fill); }
.ex-steps[hidden] { display: none; }
.ex-step { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; line-height: 17px; color: var(--text); }
.ex-step > i { display: grid; flex: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sep); font-size: 12px; font-style: normal; color: var(--hint); }
.ex-step.is-here > i { background: var(--link); color: #fff; }
.ex-step > span { flex: 1; min-width: 0; }
.ex-step > em { flex: none; font-size: 12px; font-style: normal; color: var(--link); }
.ex-step-go { flex: none; padding: 5px 10px; border-radius: 12px; background: var(--bg); font-size: 13px; color: var(--link); }
.ex-card { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: var(--r-field); background: var(--fill); }
.ex-card[hidden], .ex-terms[hidden], .ex-swipe[hidden], .ex-open[hidden], .ex-line[hidden] { display: none; }
.ex-card-top, .ex-get { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 17px; color: var(--hint); }
.ex-give-label, .ex-get-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-max { flex: none; color: var(--link); font-size: 13px; }
.ex-input { width: 100%; height: 44px; min-width: 0; border: 0; background: none; outline: 0; font: inherit; font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.ex-get { padding-top: 6px; box-shadow: 0 -.5px 0 var(--sep); }
.ex-out { flex: none; font-size: 16px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; transition: opacity .18s ease; }
.ex-out.is-loading { opacity: .45; }
.ex-terms { display: flex; flex-direction: column; padding: 2px 12px; border-radius: var(--r-field); background: var(--fill); }
.ex-term { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; font-size: 14px; line-height: 19px; color: var(--hint); }
.ex-term + .ex-term { box-shadow: 0 -.5px 0 var(--sep); }
.ex-term > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-term > b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.ex-slip { flex: none; width: 156px; }
.ex-line { margin: 0; padding: 0 2px; font-size: 13px; line-height: 18px; color: var(--hint); }
.ex-line.is-down { color: var(--down, #e5484d); }
.ex-open { width: 100%; }
.ex-pass { margin-bottom: 12px; font-size: 18px; border-bottom: .5px solid var(--sep); }
.ex-pass-go { width: 100%; }
.ex-found { width: 100%; }
.ex-found-sub { display: block; font-size: 13px; line-height: 17px; color: var(--hint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 64px; text-align: center; }
.ex-soon h2 { margin: 12px 0 0; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; }
.ex-soon p { margin: 0; max-width: 300px; font-size: 15px; line-height: 21px; color: var(--hint); }
.ex-soon-mark { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--fill); color: var(--link); }
@media (max-width: 374px) {
  .ex-slot { gap: 6px; padding: 8px 8px; }
  .ex-slot[data-slot="get"] { padding-left: 20px; }
  .ex-slot-main b { font-size: 15px; }
  .ex-input { font-size: 24px; }
  .ex-slot-sub { white-space: normal; }
  .ex-term { gap: 8px; font-size: 13px; }
  .ex-slip { width: 128px; }
}
