/* PC 防走失弹窗：对齐 Figma 51065:410866（节点 51065:409682 内应用弹窗） */

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

.addr-pop__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 100%;
}

.addr-pop__panel {
  position: relative;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 96px);
  max-height: calc(100svh - 96px);
  overflow: hidden auto;
  border-radius: 12px;
  background: #0d0e0f;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .38);
  color: rgba(255, 255, 255, .9);
  scrollbar-width: none;
}

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

/* 四角光晕：对齐稿内 Ellipse 模糊层 */
.addr-pop__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.addr-pop__glow::before,
.addr-pop__glow::after {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  filter: blur(150px);
}

.addr-pop__glow::before {
  top: -75px;
  left: -25px;
  background: rgba(255, 45, 85, .9);
}

.addr-pop__glow::after {
  top: -70px;
  right: -40px;
  background: rgba(255, 184, 0, .95);
}

.addr-pop__glow-spot {
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.addr-pop__glow-spot--br {
  right: -40px;
  bottom: -20px;
  background: rgba(255, 45, 85, .55);
  filter: blur(180px);
}

.addr-pop__glow-spot--bl {
  left: -47px;
  bottom: -50px;
  background: rgba(255, 184, 0, .7);
}

.addr-pop__capture {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 32px 24px 0;
  background: #0d0e0f;
}

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

.addr-pop__divider {
  width: 100%;
  height: .5px;
  flex: none;
  background: rgba(255, 255, 255, .05);
}

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

.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 {
  width: 100%;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

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

.addr-pop__links {
  display: grid;
  width: 100%;
  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 #ffb800;
  border-radius: 999px;
  color: #ffb800;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addr-pop__footer {
  position: relative;
  z-index: 1;
  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: #ffb800;
  color: #fff;
  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 {
  width: 100%;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

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

.addr-pop__close {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.addr-pop__close-ring {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

.addr-pop__close-ring::before,
.addr-pop__close-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2.25px;
  border-radius: 999px;
  background: #fff;
}

.addr-pop__close-ring::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.addr-pop__close-ring::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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