.exchange-button {
  background: linear-gradient(90deg, #38b9a8, #20a090);
  cursor: pointer;
  font-size: 17px;
}

.exchange-modal label {
  color: #cbd2de;
  display: block;
  margin: 15px 0 7px;
}

.exchange-modal input {
  background: #303a4e;
  border: 1px solid #4b566b;
  border-radius: 7px;
  color: #fff;
  padding: 13px;
  width: 100%;
}

.flow-steps {
  color: #758097;
  display: flex;
  justify-content: space-between;
  margin: 4px 28px 24px;
}

.flow-steps b { color: #4fd0bc; }

.text-button {
  background: transparent;
  border: 0;
  color: #54d1be;
  cursor: pointer;
  display: block;
  margin-top: 13px;
  width: 100%;
}

.captcha-row {
  display: flex;
  align-items: stretch;
}

.exchange-modal .captcha-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}

.captcha-code {
  align-items: center;
  background: repeating-linear-gradient(135deg, #263248, #263248 8px, #303d56 8px, #303d56 16px);
  border: 1px solid #526078;
  border-radius: 7px;
  color: #75e0cf;
  display: flex;
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 19px;
  justify-content: center;
  letter-spacing: 3px;
  min-width: 116px;
  margin-left: 8px;
  padding: 0 10px;
  -webkit-user-select: none;
  user-select: none;
}

.captcha-refresh {
  background: #28354c;
  border: 1px solid #526078;
  border-radius: 7px;
  color: #75e0cf;
  cursor: pointer;
  font-size: 24px;
  margin-left: 8px;
  min-width: 46px;
}

.captcha-error {
  color: #ff7185;
  font-size: 13px;
  margin-top: 7px;
}

.captcha-error[hidden] { display: none; }

.privacy-note {
  color: #778196;
  display: none;
  line-height: 1.5;
  margin-top: 18px;
}

.claim-modal { text-align: center; }

.claim-icon {
  align-items: center;
  background: #28a898;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 30px;
  height: 70px;
  justify-content: center;
  margin: 18px auto;
  width: 70px;
}

.claim-icon.success {
  background: linear-gradient(145deg, #70e3bc, #28a97d);
  box-shadow: 0 0 0 0 rgba(82, 220, 174, .45), 0 14px 38px rgba(32, 186, 139, .28);
  position: relative;
  -webkit-animation: claim-pop .7s cubic-bezier(.2,.9,.25,1.25) both, claim-pulse 2.4s 1s ease-in-out infinite;
  animation: claim-pop .7s cubic-bezier(.2,.9,.25,1.25) both, claim-pulse 2.4s 1s ease-in-out infinite;
}

.claim-icon.success:before,
.claim-icon.success:after {
  color: #79f1cd;
  content: '✦';
  font-size: 18px;
  position: absolute;
  text-shadow: 0 0 12px rgba(121, 241, 205, .8);
  -webkit-animation: claim-spark 1.8s .45s ease-in-out infinite;
  animation: claim-spark 1.8s .45s ease-in-out infinite;
}

.claim-icon.success:before { left: -34px; top: 2px; }
.claim-icon.success:after { bottom: -8px; right: -34px; -webkit-animation-delay: .9s; animation-delay: .9s; }

.claim-icon.success + h2 {
  background: linear-gradient(90deg, #fff, #8ce8d0, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
  -webkit-text-fill-color: transparent;
  -webkit-animation: claim-rise .55s .18s ease-out both;
  animation: claim-rise .55s .18s ease-out both;
}

.claim-icon.success + h2 + p {
  background: rgba(64, 207, 167, .08);
  border: 1px solid rgba(91, 224, 187, .2);
  border-radius: 10px;
  color: #c8d6d4;
  margin: 18px 0 4px;
  padding: 14px 16px;
  -webkit-animation: claim-rise .55s .32s ease-out both;
  animation: claim-rise .55s .32s ease-out both;
}

.claim-icon.success ~ .primary {
  background: linear-gradient(90deg, #2db487, #50cbb0);
  box-shadow: 0 10px 24px rgba(38, 182, 137, .2);
  cursor: pointer;
  -webkit-animation: claim-rise .55s .44s ease-out both;
  animation: claim-rise .55s .44s ease-out both;
}

@-webkit-keyframes claim-pop {
  0% { opacity: 0; -webkit-transform: scale(.35) rotate(-18deg); transform: scale(.35) rotate(-18deg); }
  70% { opacity: 1; -webkit-transform: scale(1.12) rotate(3deg); transform: scale(1.12) rotate(3deg); }
  100% { -webkit-transform: scale(1) rotate(0); transform: scale(1) rotate(0); }
}
@keyframes claim-pop {
  0% { opacity: 0; -webkit-transform: scale(.35) rotate(-18deg); transform: scale(.35) rotate(-18deg); }
  70% { opacity: 1; -webkit-transform: scale(1.12) rotate(3deg); transform: scale(1.12) rotate(3deg); }
  100% { -webkit-transform: scale(1) rotate(0); transform: scale(1) rotate(0); }
}
@-webkit-keyframes claim-pulse { 50% { box-shadow: 0 0 0 14px rgba(82,220,174,0), 0 16px 42px rgba(32,186,139,.34); } }
@keyframes claim-pulse { 50% { box-shadow: 0 0 0 14px rgba(82,220,174,0), 0 16px 42px rgba(32,186,139,.34); } }
@-webkit-keyframes claim-spark { 0%,100% { opacity: .2; -webkit-transform: scale(.6) rotate(0); transform: scale(.6) rotate(0); } 50% { opacity: 1; -webkit-transform: scale(1.15) rotate(70deg); transform: scale(1.15) rotate(70deg); } }
@keyframes claim-spark { 0%,100% { opacity: .2; -webkit-transform: scale(.6) rotate(0); transform: scale(.6) rotate(0); } 50% { opacity: 1; -webkit-transform: scale(1.15) rotate(70deg); transform: scale(1.15) rotate(70deg); } }
@-webkit-keyframes claim-rise { from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); } to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }
@keyframes claim-rise { from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); } to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .claim-icon.success,
  .claim-icon.success:before,
  .claim-icon.success:after,
  .claim-icon.success + h2,
  .claim-icon.success + h2 + p,
  .claim-icon.success ~ .primary {
    -webkit-animation: none;
    animation: none;
  }
}

.brand {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 900px) {
  .captcha-row { flex-wrap: wrap; }
  .exchange-modal .captcha-input { flex-basis: 100%; }
  .captcha-code { flex: 1; margin-left: 0; margin-top: 8px; min-height: 46px; }
  .captcha-refresh { margin-top: 8px; }
  .mobile-actions {
    flex: 1;
    justify-content: flex-end;
    margin-left: 2px;
    min-width: 0;
  }

  .mobile-actions button,
  .mobile-actions a {
    flex: 0 1 45px;
    line-height: 1.05;
    margin-left: 2px;
    min-width: 0;
    overflow: hidden;
    padding: 4px 1px;
    white-space: normal;
    width: 45px;
  }

  .mobile-actions .wallet-mini {
    padding: 6px 1px;
  }

  .toast + main .hero {
    padding-top: 124px;
  }

  .table {
    table-layout: fixed;
    width: 100%;
  }

  .table th,
  .table td {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
