/* Land overrides + AML callback modal (AMLBot design) */

/* FAQ accordion */
.nc-faq-a {
  display: none;
  padding: 1.2rem 6rem 0 0;
  color: #637381;
  font-size: 1.6rem;
  line-height: 1.45;
}

.nc-faq-a p {
  margin: 0;
}

.mKywor._0Fi6eB .nc-faq-a {
  display: block;
}

.yfNkfQ:focus-visible {
  outline: 2px solid rgba(0, 87, 255, 0.35);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

@media (max-width: 767px) {
  .nc-faq-a {
    padding-right: 0;
    font-size: 1.4rem;
  }
}

/* —— Mobile header: logo | EN + burger (like amlbot.com) —— */
.nc-burger {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  color: #111;
}

.nc-burger span {
  display: block;
  width: 1.7rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nc-burger.is-open span:nth-child(1) {
  transform: translateY(0.55rem) rotate(45deg);
}

.nc-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nc-burger.is-open span:nth-child(3) {
  transform: translateY(-0.55rem) rotate(-45deg);
}

.nc-mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  header.rIYD0d,
  header.JEqozV,
  header.JEqozV.OTaZH4,
  header._1POjMs {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: calc(0.9rem + env(safe-area-inset-top, 0px)) !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  header.JEqozV:before,
  header.JEqozV.OTaZH4:before {
    display: none !important;
    opacity: 0 !important;
  }

  header .eOD671 {
    height: 5.6rem;
    gap: 0.6rem;
    padding: 0 1.6rem;
    box-sizing: border-box;
  }

  header .Zcp_6V,
  header .Zcp_6V svg {
    max-width: 9.6rem !important;
  }

  /* hide desktop link row — was showing as white pill on mobile */
  header .ZQfMnc {
    display: none !important;
  }

  header .wlQLLs {
    margin-left: auto;
    margin-right: 0;
  }

  /* EN + chevron: keep room so arrow doesn’t sit on letters */
  header .Dg63SU {
    min-width: 4.4rem;
    padding: 0.55rem 2.2rem 0.55rem 0.85rem;
    font-size: 1.4rem;
    line-height: 1.2;
    background: transparent;
  }

  header .Dg63SU:before {
    top: 50%;
    right: 0.75rem;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: -0.2rem;
    transform: rotate(45deg);
  }

  header .wlQLLs.GlV_O8 .Dg63SU:before {
    top: 50%;
    margin-top: -0.05rem;
    transform: rotate(225deg);
  }

  .nc-burger {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
  }

  .nc-mobile-nav {
    display: none;
    position: fixed;
    top: calc(6.6rem + env(safe-area-inset-top, 0px));
    right: 1rem;
    left: 1rem;
    z-index: 1001;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(248, 251, 255, 0.97);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
    flex-direction: column;
    gap: 0.15rem;
  }

  .nc-mobile-nav.is-open,
  .nc-mobile-nav:not([hidden]).is-open {
    display: flex;
  }

  .nc-mobile-nav[hidden] {
    display: none !important;
  }

  .nc-mobile-nav a,
  .nc-mobile-nav__cta {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 1.55rem;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .nc-mobile-nav a:hover,
  .nc-mobile-nav__cta:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .nc-mobile-nav__cta {
    margin-top: 0.4rem;
    justify-content: center;
    background: #0057ff;
    color: #fff;
    font-weight: 600;
  }

  .nc-mobile-nav__cta:hover {
    background: #0046d4;
    color: #fff;
  }

  body.nc-nav-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .nc-burger,
  .nc-mobile-nav {
    display: none !important;
  }
}

/* Boost Security / Stay Legal — round shots, clip black JPEG edges */
.DEe49_.EPdvDp .ol5YXZ,
.DEe49_.I2PFJh .ol5YXZ {
  overflow: hidden;
  border-radius: 2.52rem;
}

.DEe49_.EPdvDp .ol5YXZ img,
.DEe49_.I2PFJh .ol5YXZ img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.52rem;
}

@media (max-width: 767px) {
  .DEe49_.EPdvDp .ol5YXZ,
  .DEe49_.I2PFJh .ol5YXZ {
    border-radius: 1.68rem;
  }

  .DEe49_.EPdvDp .ol5YXZ img,
  .DEe49_.I2PFJh .ol5YXZ img {
    border-radius: 1.68rem;
  }
}

button.LmFXKJ,
button.DyRl8I {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

button.LmFXKJ {
  width: 100%;
  height: 100%;
  justify-content: center;
  background: transparent;
}

button.LmFXKJ span {
  padding-right: 0;
}

/* FAQ accordion */
.nc-faq-a {
  display: none;
  padding: 1.2rem 6rem 0 0;
  color: #637381;
  font-size: 1.6rem;
  line-height: 1.45;
}

.nc-faq-a p {
  margin: 0;
}

.mKywor._0Fi6eB .nc-faq-a {
  display: block;
}

@media (max-width: 767px) {
  .nc-faq-a {
    padding-right: 0;
    font-size: 1.4rem;
  }
}

/* —— Risk report modal —— */
.ab-aml-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 18, 28, 0.55);
  backdrop-filter: blur(6px);
}

.ab-aml-overlay.is-open {
  display: flex;
}

.ab-aml-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 1.6rem 1.45rem 1.35rem;
  border-radius: 1.35rem;
  background: #fff;
  color: #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ab-aml-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #98a2b3;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.ab-aml-close:hover {
  color: #111;
}

.ab-aml-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  color: #98a2b3;
  font-size: 0.78rem;
}

.ab-aml-brand strong {
  color: #111;
  font-weight: 700;
}

.ab-aml-modal > h2 {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ab-aml-wallet {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.35rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f2f4f7;
}

.ab-aml-balance {
  color: #344054;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.ab-aml-address {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ab-aml-gauge {
  position: relative;
  margin: 0 0.25rem 1.25rem;
  padding-bottom: 1.85rem;
}

.ab-aml-gauge__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.ab-aml-gauge__labels .is-bad {
  color: #f04438;
}

.ab-aml-gauge__labels .is-good {
  color: #12b76a;
}

.ab-aml-gauge__track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f04438 0%, #f79009 48%, #12b76a 100%);
}

.ab-aml-gauge__pointer {
  position: absolute;
  left: 0;
  top: 1.7rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-aml-gauge__pointer i {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #101828;
}

.ab-aml-gauge__pointer span {
  margin-top: 0.2rem;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 600;
}

.ab-aml-status {
  text-align: center;
  margin-bottom: 1.1rem;
}

.ab-aml-status__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.ab-aml-badge,
.ab-aml-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.7rem;
  background: #fff;
  border: 1px solid #eaecf0;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  color: #101828;
}

.ab-aml-badge.is-danger {
  color: #f04438;
}

.ab-aml-badge.is-trusted {
  color: #12b76a;
}

.ab-aml-badge.is-warn {
  color: #f79009;
}

.ab-aml-chip em {
  font-style: normal;
  color: #f04438;
}

.ab-aml-chip em.is-good {
  color: #12b76a;
}

.ab-aml-chip em.is-warn {
  color: #f79009;
}

.ab-aml-status h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.ab-aml-status h3.is-danger {
  color: #f04438;
}

.ab-aml-status h3.is-warn {
  color: #f79009;
}

.ab-aml-status h3.is-trusted {
  color: #12b76a;
}

.ab-aml-status p {
  margin: 0 auto 0.95rem;
  max-width: 34ch;
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ab-aml-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ab-aml-meta div {
  padding: 0.65rem 0.5rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  text-align: center;
}

.ab-aml-meta span {
  display: block;
  margin-bottom: 0.2rem;
  color: #98a2b3;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ab-aml-meta strong {
  display: block;
  color: #101828;
  font-size: 0.78rem;
  word-break: break-word;
}

.ab-aml-rows {
  display: grid;
  gap: 0.55rem;
}

.ab-aml-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid #eaecf0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.ab-aml-row__pct {
  min-width: 3.1rem;
  padding: 0.28rem 0.45rem;
  border-radius: 0.45rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.ab-aml-row__pct.is-bad {
  background: #fee4e2;
  color: #f04438;
}

.ab-aml-row__pct.is-good {
  background: #d1fadf;
  color: #039855;
}

.ab-aml-row__pct.is-warn {
  background: #fef0c7;
  color: #dc6803;
}

.ab-aml-row__name {
  color: #344054;
  font-size: 0.9rem;
  font-weight: 600;
}

.ab-aml-row__usd {
  color: #101828;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .ab-aml-modal {
    padding: 1.35rem 1.1rem 1.15rem;
  }

  .ab-aml-meta {
    grid-template-columns: 1fr;
  }
}
