/* Desktop latest-address popup: Figma 49040:354431. */

body.addr-pop-open {
  overflow: hidden;
}

.addr-pop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.addr-pop--open {
  display: flex;
}

.addr-pop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.addr-pop__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(400px, calc(100vw - 32px));
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.addr-pop__panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-height: calc(100vh - 92px);
  max-height: calc(100svh - 92px);
  flex-direction: column;
  gap: 18px;
  padding: 24px 12px;
  overflow: auto;
  border-radius: 20px;
  background: #0b0d0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 16px 48px rgba(0, 0, 0, .38);
  color: rgba(255, 255, 255, .9);
  scrollbar-width: none;
}

.addr-pop__panel::-webkit-scrollbar {
  display: none;
}

.addr-pop__capture {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px 0;
  background: #0b0d0e;
}

.addr-pop__title {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
}

.addr-pop__divider {
  width: 100%;
  height: 0;
  position: relative;
  flex: none;
}

.addr-pop__divider img {
  position: absolute;
  top: -.25px;
  left: 0;
  display: block;
}

.addr-pop__details {
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.addr-pop__details p,
.addr-pop__warning,
.addr-pop__countdown {
  margin: 0;
}

.addr-pop__details a {
  color: inherit;
  text-decoration: none;
}

.addr-pop__details a:hover,
.addr-pop__links a:hover {
  text-decoration: underline;
}

.addr-pop__warning {
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.addr-pop__warning strong,
.addr-pop__warning span {
  color: #f52c56;
  font-weight: 400;
}

.addr-pop__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.addr-pop__links a {
  display: flex;
  min-width: 0;
  height: 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px 12px;
  border: .5px solid #ffc000;
  border-radius: 999px;
  color: #ffc000;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addr-pop__footer {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.addr-pop__save {
  width: 100%;
  height: 44px;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: #ffc000;
  color: #292929;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}

.addr-pop__countdown {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.addr-pop__countdown strong {
  color: #f52c56;
  font-weight: 400;
}

.addr-pop__close {
  display: block;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.addr-pop__close img {
  display: block;
}

.addr-pop__save:focus-visible,
.addr-pop__close:focus-visible {
  outline: 2px solid #ffc000;
  outline-offset: 4px;
}
