body:not(.relay-platform-ios):not(.relay-platform-android) .relay-mobile-download,
body.relay-platform-ios .relay-desktop-download,
body.relay-platform-ios .relay-android-download,
body.relay-platform-android .relay-desktop-download,
body.relay-platform-android .relay-ios-download {
  display: none !important;
}

.relay-download-btn {
  -webkit-tap-highlight-color: transparent;
}

.relay-download-btn img {
  display: block;
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
}

.relay-runtime-captcha {
  display: none;
  width: min(420px, 100%);
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 16px;
  background: rgba(4, 13, 24, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.relay-runtime-captcha.show {
  display: grid;
  gap: 10px;
}

.relay-captcha {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.85), rgba(79, 142, 255, 0.85));
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.relay-captcha:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.2);
}

.relay-captcha:disabled {
  cursor: progress;
  opacity: 0.78;
}

.relay-captcha:focus-visible {
  outline: 3px solid rgba(0, 212, 255, 0.34);
  outline-offset: 3px;
}

.relay-captcha__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.relay-captcha__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.relay-captcha__loader {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: relay-spin 700ms linear infinite;
}

.relay-captcha.is-loading .relay-captcha__loader {
  display: inline-block;
}

.captcha-msg {
  margin: 0;
  color: rgba(226, 239, 255, 0.74);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

@keyframes relay-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .relay-runtime-captcha {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 639px) {
  html,
  body,
  #root {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  #root section,
  #root main,
  #root .relative,
  #root .grid,
  #root .flex {
    min-width: 0;
  }

  #root .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #root .w-full,
  #root .max-w-7xl,
  #root .max-w-6xl,
  #root .max-w-4xl,
  #root .max-w-xl,
  #root .max-w-lg {
    max-width: 100% !important;
  }

  #root .relative.z-10.w-full.max-w-7xl.mx-auto,
  #root .grid.lg\:grid-cols-2,
  #root .grid.lg\:grid-cols-2 > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  #root .relative.z-10.w-full.max-w-7xl.mx-auto {
    width: 100vw !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #root .grid.lg\:grid-cols-2 {
    overflow: visible;
  }

  #root p.max-w-lg,
  #root p.max-w-xl {
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem) !important;
    overflow-wrap: break-word;
    white-space: normal;
  }

  #root .inline-flex.items-center.gap-2.px-4.py-2.rounded-full {
    max-width: 100%;
    white-space: normal;
  }

  #root .px-6 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  #root .py-20,
  #root .py-32,
  #root .py-40 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  #root .pt-16 {
    padding-top: 4.75rem !important;
  }

  #root .mb-16 {
    margin-bottom: 2.5rem !important;
  }

  #root .mb-12 {
    margin-bottom: 2rem !important;
  }

  #root .mt-14 {
    margin-top: 2.5rem !important;
  }

  #root .text-5xl {
    font-size: 2.65rem !important;
    line-height: 1.05 !important;
  }

  #root .text-4xl {
    font-size: 2.05rem !important;
    line-height: 1.12 !important;
  }

  #root .text-xl {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
  }

  #root .text-lg {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  #root .h-\[500px\] {
    height: 360px !important;
  }

  #root .gap-12,
  #root .gap-16 {
    gap: 2rem !important;
  }

  #root .rounded-3xl {
    border-radius: 1rem !important;
  }

  #root .p-8 {
    padding: 1.1rem !important;
  }

  #root .p-6 {
    padding: 1.1rem !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none {
    width: 100% !important;
    max-width: calc(100vw - 3rem) !important;
    gap: 0.8rem !important;
    padding: 1rem !important;
  }

  #root .rounded-2xl.overflow-hidden.select-none {
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem) !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none img[alt="RELAY"] {
    width: 78px !important;
    height: 78px !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none span.font-black.text-white.leading-none {
    font-size: 1.45rem !important;
    letter-spacing: 0.18em !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none span.mt-2.font-semibold.uppercase {
    max-width: 190px;
    font-size: 0.48rem !important;
    letter-spacing: 0.12em !important;
    white-space: normal;
  }

  #root .flex.flex-wrap.gap-4.pt-2 {
    width: 100%;
    max-width: calc(100vw - 3rem) !important;
    gap: 0.75rem !important;
  }

  #root .flex.flex-wrap.gap-4.pt-2 .relay-download-btn {
    flex: 0 1 calc((100% - 0.75rem) / 2);
    min-width: 0;
    max-width: calc((100% - 0.75rem) / 2);
    padding: 0.9rem 0.95rem !important;
    gap: 0.65rem !important;
  }

  #root .flex.flex-wrap.gap-4.pt-2 .relay-download-btn span:first-child {
    flex: 0 0 auto;
  }

  #root .flex.flex-wrap.gap-4.pt-2 .relay-download-btn .text-\[15px\] {
    font-size: 14px !important;
  }

  #root .flex.flex-col.sm\:flex-row.items-center.justify-center.gap-5.mb-8 .relay-download-btn {
    width: min(100%, 290px);
    padding: 1rem 1.25rem !important;
  }

  body.relay-platform-ios #root .relay-mobile-download,
  body.relay-platform-android #root .relay-mobile-download {
    flex-basis: 100%;
    max-width: 100%;
  }

  #root .glass.rounded-3xl > .flex.items-center.justify-between.mb-5 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  #root .glass.rounded-3xl > .flex.items-center.justify-between.mb-5 > .flex {
    flex-wrap: wrap;
    max-width: 100%;
  }

  #root .glass.rounded-3xl .grid.grid-cols-2.gap-2 {
    grid-template-columns: 1fr;
  }

  #root footer .tracking-\[0\.15em\],
  #root nav .tracking-\[0\.15em\] {
    letter-spacing: 0.1em !important;
  }

  #root [class*="flex"][class*="flex-col"][class*="gap-6"] {
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem) !important;
    overflow: visible;
  }

  #root [class*="select-none"][class*="overflow-hidden"][class*="rounded-2xl"] {
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem) !important;
  }

  #root [class*="flex-wrap"][class*="gap-4"][class*="pt-2"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem) !important;
    gap: 0.75rem !important;
  }

  #root [class*="flex-wrap"][class*="gap-4"][class*="pt-2"] > .relay-download-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-right: 0.85rem !important;
    padding-left: 0.85rem !important;
  }

  body.relay-platform-ios #root [class*="flex-wrap"][class*="gap-4"][class*="pt-2"],
  body.relay-platform-android #root [class*="flex-wrap"][class*="gap-4"][class*="pt-2"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 374px) {
  #root .text-5xl {
    font-size: 2.35rem !important;
  }

  #root .text-4xl {
    font-size: 1.85rem !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none {
    gap: 0.65rem !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none img[alt="RELAY"] {
    width: 66px !important;
    height: 66px !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none span.font-black.text-white.leading-none {
    font-size: 1.25rem !important;
    letter-spacing: 0.14em !important;
  }

  #root .relative.flex.items-center.gap-5.rounded-2xl.overflow-hidden.px-6.py-5.select-none span.mt-2.font-semibold.uppercase {
    font-size: 0.44rem !important;
    letter-spacing: 0.08em !important;
  }

  #root .flex.flex-wrap.gap-4.pt-2 .relay-download-btn {
    flex-basis: 100%;
    max-width: 100%;
  }
}
