/* Current frames: H5 45153:340107; PC 45835:209153. Address data stay API driven. */
.mobile-lost-notice[hidden] { display: none; }

:is(.mobile-lost-notice, .addr-pop) {
  position: fixed;
  inset: 0;
  z-index: var(--layer-notice);
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--site-font-family, "PingFang SC", "Microsoft YaHei", sans-serif);
}

:is(.mobile-lost-notice__backdrop, .addr-pop__backdrop) {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

:is(.mobile-lost-notice__panel, .addr-pop__panel) {
  position: relative;
  z-index: 1;
  isolation: isolate;
  box-sizing: border-box;
  width: min(311px, calc(100vw - 32px));
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  overflow: auto;
  border-radius: var(--site-radius, 12px);
  background: var(--color-surface-modal);
  color: var(--color-text-primary-dark);
  scrollbar-width: none;
}

:is(.mobile-lost-notice__panel, .addr-pop__panel)::-webkit-scrollbar { display: none; }

:is(.mobile-lost-notice__close, .addr-pop__close) {
  position: relative;
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

:is(.mobile-lost-notice__close, .addr-pop__close) svg { width: 16px; height: 16px; }
:is(.mobile-lost-notice__close, .addr-pop__close):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

:is(.mobile-lost-notice__capture, .addr-pop__capture) {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px 0;
}

:is(.mobile-lost-notice__title, .addr-pop__title) {
  margin: 0;
  color: var(--color-text-primary-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
}

:is(.mobile-lost-notice__divider, .addr-pop__divider) {
  position: relative;
  width: 100%;
  height: 0;
  flex: none;
}

:is(.mobile-lost-notice__divider, .addr-pop__divider)::after {
  position: absolute;
  top: -.25px;
  left: 0;
  width: 100%;
  height: .5px;
  background: var(--color-divider-dark);
  content: "";
}

:is(.mobile-lost-notice__details, .addr-pop__details) {
  min-height: 100px;
  overflow-wrap: anywhere;
  color: var(--color-text-secondary-dark);
  font-size: 14px;
  line-height: 20px;
}

:is(.mobile-lost-notice__details, .addr-pop__details) p,
:is(.mobile-lost-notice__warning, .addr-pop__warning),
:is(.mobile-lost-notice__countdown, .addr-pop__countdown) { margin: 0; }

.mobile-lost-notice__details a,
.addr-pop__details [data-lost-notice-open-window] {
  color: var(--color-accent-cyan);
  text-decoration: none;
}

.addr-pop__details a,
.mobile-lost-notice__details :is([data-lost-notice-field="newUrlAddr"], [data-lost-notice-field="foreverUrlAddr"], [data-lost-notice-field="gmailAddr"]) a {
  color: inherit;
  text-decoration: none;
}

.addr-pop__details [data-lost-notice-open-window] { color: var(--color-accent-cyan); }

:is(.mobile-lost-notice__warning, .addr-pop__warning) {
  min-height: 40px;
  color: var(--color-text-secondary-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

:is(.mobile-lost-notice__warning, .addr-pop__warning) :is(strong, span),
:is(.mobile-lost-notice__countdown, .addr-pop__countdown) strong {
  color: var(--color-status-warning);
  font-weight: 400;
}

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

:is(.mobile-lost-notice__links, .addr-pop__links) a {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px 12px;
  border: 0;
  box-shadow: inset 0 0 0 .5px var(--color-accent-cyan);
  border-radius: 999px;
  color: var(--color-accent-cyan);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.mobile-lost-notice__links, .addr-pop__links) a[hidden] { display: none; }

:is(.mobile-lost-notice__footer, .addr-pop__footer) {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 122px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

:is(.mobile-lost-notice__save, .addr-pop__save) {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  flex: none;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent-cyan);
  color: #292929;
  cursor: pointer;
  font: 500 16px/22px "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
}

:is(.mobile-lost-notice__save, .addr-pop__save):disabled { cursor: wait; opacity: .7; }
:is(.mobile-lost-notice__save, .addr-pop__save):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

:is(.mobile-lost-notice__countdown, .addr-pop__countdown) {
  color: var(--color-text-secondary-dark);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

/* 45835:209153/157/198: desktop layout and type differ from H5. */
.addr-pop__backdrop { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.addr-pop__panel { display: flex; width: min(400px, calc(100vw - 32px)); flex-direction: column; align-items: center; gap: 18px; padding: 24px 12px; border-radius: 20px; box-shadow: 0 0 0 1px #ffffff33; }
@media(max-width:768px) { .mobile-lost-notice__panel { transform:translateY(-22px); } }
.addr-pop__details { min-height: 110px; font-size: 16px; line-height: 22px; }
.addr-pop__warning { min-height: 44px; font-size: 16px; line-height: 22px; }
.addr-pop__capture > .addr-pop__divider:nth-of-type(3) { display: none; }
.addr-pop__links a { height: 36px; font-size: 14px; line-height: 20px; }
.addr-pop__footer { min-height: 124px; }
.addr-pop__countdown { font-size: 14px; line-height: 20px; }
.mobile-lost-notice__close { display: none; }
