/* WYDSP 电脑端防走失弹窗，地址和倒计时由站点配置提供。 */

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, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.addr-pop__inner { position: relative; z-index: 1; display: flex; max-height: calc(100dvh - 48px); flex-direction: column; align-items: center; gap: 24px; }

.addr-pop__panel {
  position: relative;
  z-index: 1;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100dvh - 108px);
  overflow: auto;
  border-radius: 20px;
  background: #0d0e0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
  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: 56px 36px 0;
}

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

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

.addr-pop__divider::before {
  position: absolute;
  inset: -.25px 0 auto;
  height: .5px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.addr-pop__details {
  min-height: 110px;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  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 [data-lost-notice-open-window] {
  color: inherit;
}

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

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

.addr-pop__warning strong,
.addr-pop__warning span {
  color: #fd2d55;
  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: 0;
  box-shadow: inset 0 0 0 .5px #fd2d55;
  border-radius: 999px;
  color: #fd2d55;
  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%;
  min-height: 166px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 42px 36px 48px;
}

.addr-pop__links a > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.addr-pop__save:disabled {
  cursor: wait;
  opacity: .7;
}

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

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

.addr-pop__close { display: flex; width: 36px; height: 36px; flex: none; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.addr-pop__close img { display: block; }
.addr-pop__close:hover { opacity: .85; }
.addr-pop__close:focus-visible,
.addr-pop__save:focus-visible { outline: 2px solid #fd2d55; outline-offset: 3px; }

@media (max-height: 680px) {
  .addr-pop {
    align-items: flex-start;
  }
}
